@capxul/cli 4.20.0-beta.21 → 4.20.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/dist/browser/signer.js.map +1 -1
- package/dist/main.mjs +14 -10
- package/dist/main.mjs.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -209,8 +209,10 @@ Issue accepts a basic payment request or an Invoice request JSON object from
|
|
|
209
209
|
`amount`. A basic request requires an explicit `reference` and accepts an
|
|
210
210
|
optional private `memo`. An Invoice request also supplies `invoice`.
|
|
211
211
|
Issue saves available document PDFs in the common directory by default.
|
|
212
|
-
Human and JSON output include `checkoutUrl` for an Invoice
|
|
213
|
-
|
|
212
|
+
Human and JSON output include `checkoutUrl` for an Invoice or Memo request
|
|
213
|
+
instruction with a link token. Invoice requests keep `/checkout/invoices/`.
|
|
214
|
+
Basic requests use `/checkout/requests/`. Movement documents do not create
|
|
215
|
+
request links.
|
|
214
216
|
The PDF includes the checkout link from the authorized backend render context.
|
|
215
217
|
For a custom deployment, set `CAPXUL_CHECKOUT_FRONTEND_ORIGIN` in both the CLI
|
|
216
218
|
and backend environments. Use the same frontend origin for both.
|
|
@@ -1061,9 +1063,9 @@ revision, quantity, price, asset, network, and recipient for that purchase.
|
|
|
1061
1063
|
Changing the URL cannot change a saved purchase. Refresh retains its checkout
|
|
1062
1064
|
reference. Separate purchasers receive separate checkout and settlement IDs.
|
|
1063
1065
|
|
|
1064
|
-
##
|
|
1066
|
+
## Request and document flow
|
|
1065
1067
|
|
|
1066
|
-
Alice issues an Invoice to Bob with `request issue`. For an Organization issuer,
|
|
1068
|
+
Alice issues a basic request or an Invoice to Bob with `request issue`. For an Organization issuer,
|
|
1067
1069
|
Alice uses `org request issue --org ORGANIZATION_ID`. Issuance saves Alice's PDF
|
|
1068
1070
|
by default and returns the request ID, document references, and checkout URL.
|
|
1069
1071
|
Bob runs `inbox list`, then `inbox get --request-id REQUEST_ID`. An Organization
|
|
@@ -1094,11 +1096,11 @@ payment. Retry `document render` with the existing document references.
|
|
|
1094
1096
|
|
|
1095
1097
|
## Checkout links
|
|
1096
1098
|
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
+
A basic request URL has the form `/checkout/requests/LINK_TOKEN`. Existing Invoice
|
|
1100
|
+
URLs use `/checkout/invoices/LINK_TOKEN`. An offer URL uses `/checkout/offers/OFFER_ID`. Use the complete `checkoutUrl` returned by the
|
|
1099
1101
|
CLI. Do not build a payment by sending funds directly to the printed Safe.
|
|
1100
1102
|
|
|
1101
|
-
A valid
|
|
1103
|
+
A valid request link holder can fund its fixed obligation. The named debtor and
|
|
1102
1104
|
actual sender remain separate. Public checkout shows the approved payment
|
|
1103
1105
|
summary. It does not expose private billing details or original document bytes.
|
|
1104
1106
|
Only authorized participants can open the private Invoice document.
|