@0to1pay/fulfillment-sdk 3.1.1 → 3.1.3
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 +39 -3
- package/dist/contracts/openapi.yaml +17 -4
- package/dist/packages/server-sdk/schema.d.ts +29 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,13 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
Verify signed payment webhooks, commit them to a PostgreSQL inbox, and grant a digital entitlement with the matching order in a single merchant transaction. Node.js 22.20.0+.
|
|
4
4
|
|
|
5
|
+
## Next.js quickstart
|
|
6
|
+
|
|
7
|
+
Start with the [integration quickstart](https://0to1pay.com/docs#nextjs-quickstart) or [빠른 시작](https://0to1pay.com/docs?lang=ko#nextjs-quickstart).
|
|
8
|
+
|
|
9
|
+
- **See the result first.** Inspect the chain transaction, signed webhook and grant for a completed test payment. No wallet is required. [Completed order](https://0to1pay.com/guides/nextjs-base-usdc#completed-order)
|
|
10
|
+
- **Make a test purchase.** Connect a Base Sepolia wallet with 0.01 test USDC and test ETH for gas. If you already sent the payment, recover that order and sign its proof. [Live checkout](https://0to1pay.com/demo/base-usdc)
|
|
11
|
+
|
|
12
|
+
To run the same merchant on your server, prepare Node.js 22.20+, writable PostgreSQL, a public HTTPS webhook and a separate continuously running worker. Create a test project and issue a scoped server key. [Merchant dashboard](https://pay.0to1pay.com/merchant)
|
|
13
|
+
|
|
5
14
|
```sh
|
|
6
|
-
|
|
15
|
+
curl -fsSLO https://0to1pay.com/examples/nextjs-base-usdc.zip
|
|
16
|
+
unzip nextjs-base-usdc.zip
|
|
17
|
+
cd nextjs-base-usdc
|
|
18
|
+
npm ci
|
|
19
|
+
cp .env.example .env
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Set `DATABASE_URL`, `ZERO_TO_ONE_PAY_API_KEY`, `MERCHANT_ID` and `PROJECT_ID`. Use the exact browser origin for `APP_ORIGIN` (local default `http://localhost:3000`) and the public HTTPS URL forwarding the original request bytes to `POST /api/webhooks/0to1pay` for `WEBHOOK_URL`. Run the app in one terminal and the worker in another, from the same directory.
|
|
23
|
+
|
|
24
|
+
```sh
|
|
25
|
+
npm run setup
|
|
26
|
+
npm run dev
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
npm run worker
|
|
7
31
|
```
|
|
8
32
|
|
|
9
|
-
|
|
33
|
+
Preserve the merchant database and private `.merchant/` directory. The example associates one entitlement with its original order and guest. A signed recovery challenge lets the original paying wallet regain access after cookie loss. [Guide, setup measurements and recovery](https://0to1pay.com/guides/nextjs-base-usdc) · [Machine-readable guide](https://0to1pay.com/guides/nextjs-base-usdc.md)
|
|
34
|
+
|
|
35
|
+
## Add signed fulfillment to an existing app
|
|
10
36
|
|
|
11
|
-
|
|
37
|
+
```sh
|
|
38
|
+
npm install @0to1pay/server-sdk @0to1pay/fulfillment-sdk pg
|
|
39
|
+
```
|
|
12
40
|
|
|
13
41
|
1. Register an HTTPS webhook endpoint for `fulfillment.requested`. Save the returned signing key ID and base64url secret in your backend's secret store. Configure `FulfillmentInbox` with the merchant ID, project ID and environment of the same project, and decode the signing secret with `Buffer.from(secret, 'base64url')`.
|
|
14
42
|
2. Call `migrateFulfillmentInbox(pool)` on your merchant database. Pass the original HTTP body bytes and headers to `FulfillmentInbox.receive`. Acknowledge delivery after the call resolves.
|
|
@@ -18,4 +46,12 @@ Apply each command at most once and keep entitlements for distinct orders indepe
|
|
|
18
46
|
|
|
19
47
|
For direct USDC and USDT orders, the platform emits fulfillment commands after it verifies the buyer-approved transfer or records an authorized review. Integrate the [buyer approval steps in the public server SDK guide](https://www.npmjs.com/package/@0to1pay/server-sdk#buyer-approval-for-on-chain-checkout) before offering checkout.
|
|
20
48
|
|
|
49
|
+
## Beta pricing and verification
|
|
50
|
+
|
|
51
|
+
The project can use Sandbox for free with 1,000 metered requests per UTC calendar month. Prepay for 30 days with Starter (9 test tokens / 1,000 requests), Growth (29 / 5,000), or Scale (99 / 25,000). The beta accepts test USDC or USDT at zero real cost. All paid plans include Ethereum Sepolia, Base Sepolia, TRON Nile, the core APIs, webhooks and recovery. Pricing is independent of settled volume and successful payment count.
|
|
52
|
+
|
|
53
|
+
One order creation plus one quote creation uses two requests. With no other metered calls, 500 fresh checkouts consume Starter’s 1,000 requests. Include metered list/configuration reads in your estimate. Same-project, same-key, same-content creation retries count once. At 80% and 95% the API flags usage. At 100%, new starts stop and existing verification, fulfillment and redelivery continue. A manual upgrade charges the difference and retains usage and expiry. Renewals require a manual payment. The service does not bill overages. [Estimate your 30-day cost](https://0to1pay.com/pricing)
|
|
54
|
+
|
|
55
|
+
A single controlled run on Node 22.23.5/PostgreSQL 17 measured 6.534 s for cold-cache package installation and 10.810 s from setup to ready HTTP with database, HTTPS and credentials prepared. Three public Base Sepolia purchases granted three original-buyer passes with zero duplicate grants. First-merchant self-install time remains unmeasured. [Completed-order evidence](https://0to1pay.com/guides/nextjs-base-usdc#completed-order)
|
|
56
|
+
|
|
21
57
|
The SDK is available under the MIT license. See the `LICENSE` file included in the package.
|
|
@@ -31,7 +31,10 @@ paths:
|
|
|
31
31
|
x-required-scope: billing:read
|
|
32
32
|
description: >
|
|
33
33
|
Plan prices, included API requests, and available subscription collection options for USDC on Ethereum or Base and USDT on TRON.
|
|
34
|
-
|
|
34
|
+
Sandbox includes 1000 metered requests per UTC calendar month at no charge. A project can prepay for
|
|
35
|
+
30 days of Starter (9 tokens for 1000 requests), Growth (29 for 5000) or Scale (99 for 25000).
|
|
36
|
+
Beta uses test USDC or USDT with zero real charge. All three paid plans include the three beta networks,
|
|
37
|
+
payment APIs, signed webhooks and recovery. No transaction-volume fee, automatic renewal or automatic overage.
|
|
35
38
|
responses:
|
|
36
39
|
'200':
|
|
37
40
|
description: Successful scoped billing response.
|
|
@@ -51,7 +54,10 @@ paths:
|
|
|
51
54
|
summary: Read the scoped subscription and request usage
|
|
52
55
|
tags: [Billing]
|
|
53
56
|
x-required-scope: billing:read
|
|
54
|
-
description:
|
|
57
|
+
description: >
|
|
58
|
+
Current project period, usage and limit. Display usage notices at 80% and 95%. At 100%, new metered calls
|
|
59
|
+
return 429; existing payment verification, fulfillment and webhook redelivery remain available.
|
|
60
|
+
The free test allowance follows UTC calendar months.
|
|
55
61
|
responses:
|
|
56
62
|
'200':
|
|
57
63
|
description: Successful scoped billing response.
|
|
@@ -90,7 +96,11 @@ paths:
|
|
|
90
96
|
summary: Create a stablecoin subscription invoice and payer challenge
|
|
91
97
|
tags: [Billing]
|
|
92
98
|
x-required-scope: billing:write
|
|
93
|
-
description:
|
|
99
|
+
description: >
|
|
100
|
+
Select an offered collection network or use the default. The invoice fixes the six-decimal token and amount.
|
|
101
|
+
During an active paid period, selecting a higher tier charges the difference between current catalog prices.
|
|
102
|
+
Settlement raises the limit while preserving period start, expiry and request count. Choosing the same or a lower
|
|
103
|
+
tier purchases a subsequent 30-day term at full price. Payment is manual in both cases.
|
|
94
104
|
parameters:
|
|
95
105
|
- $ref: '#/components/parameters/IdempotencyKey'
|
|
96
106
|
requestBody:
|
|
@@ -383,6 +393,7 @@ paths:
|
|
|
383
393
|
x-required-scope: payments:write
|
|
384
394
|
description: Same scoped order_ref/order_revision and identical specification returns the existing resource.
|
|
385
395
|
Changed snapshot requires explicit revision but retains the same business grant identity.
|
|
396
|
+
Creating the order consumes one request. An identical retry with the same Idempotency-Key is counted only once.
|
|
386
397
|
For new payments, every allowed connection must support the price denomination in listChainAssets.
|
|
387
398
|
parameters:
|
|
388
399
|
- $ref: '#/components/parameters/IdempotencyKey'
|
|
@@ -527,6 +538,7 @@ paths:
|
|
|
527
538
|
- Quotes
|
|
528
539
|
x-required-scope: payments:write
|
|
529
540
|
description: Reserve a unique recipient for the selected network and freeze the amount and token.
|
|
541
|
+
Creating the quote consumes one request. An identical retry with the same Idempotency-Key is counted only once.
|
|
530
542
|
Quote expiry cannot exceed the payment expiry. New quotes use the selected network's matching asset from listChainAssets.
|
|
531
543
|
parameters:
|
|
532
544
|
- $ref: '#/components/parameters/IdempotencyKey'
|
|
@@ -1542,6 +1554,7 @@ components:
|
|
|
1542
1554
|
in: header
|
|
1543
1555
|
required: true
|
|
1544
1556
|
description: Stable per logical caller mutation, scoped to bound merchant/project/environment + operation.
|
|
1557
|
+
An admitted metered mutation consumes one request across retries, including after a lost response or at the limit.
|
|
1545
1558
|
Same key with different canonical request -> 409. Claim responses dynamically revalidate validity.
|
|
1546
1559
|
schema:
|
|
1547
1560
|
type: string
|
|
@@ -1676,7 +1689,7 @@ components:
|
|
|
1676
1689
|
schema:
|
|
1677
1690
|
$ref: '#/components/schemas/Error'
|
|
1678
1691
|
BillingInvoiceConflict:
|
|
1679
|
-
description: Idempotency payload mismatch, another pending or reconciling invoice (BILLING_INVOICE_IN_PROGRESS), an already scheduled renewal (BILLING_RENEWAL_SCHEDULED), or unavailable recipient capacity.
|
|
1692
|
+
description: Idempotency payload mismatch, another pending or reconciling invoice (BILLING_INVOICE_IN_PROGRESS), an already scheduled renewal (BILLING_RENEWAL_SCHEDULED), less than one minute left for an upgrade (BILLING_UPGRADE_WINDOW_CLOSED), or unavailable recipient capacity.
|
|
1680
1693
|
content:
|
|
1681
1694
|
application/json:
|
|
1682
1695
|
schema:
|
|
@@ -12,7 +12,7 @@ export interface paths {
|
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* List request plans and subscription prices
|
|
15
|
-
* @description Plan prices, included API requests, and available subscription collection options for USDC on Ethereum or Base and USDT on TRON.
|
|
15
|
+
* @description Plan prices, included API requests, and available subscription collection options for USDC on Ethereum or Base and USDT on TRON. Sandbox includes 1000 metered requests per UTC calendar month at no charge. A project can prepay for 30 days of Starter (9 tokens for 1000 requests), Growth (29 for 5000) or Scale (99 for 25000). Beta uses test USDC or USDT with zero real charge. All three paid plans include the three beta networks, payment APIs, signed webhooks and recovery. No transaction-volume fee, automatic renewal or automatic overage.
|
|
16
16
|
*/
|
|
17
17
|
get: operations["listBillingPlans"];
|
|
18
18
|
put?: never;
|
|
@@ -32,7 +32,7 @@ export interface paths {
|
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* Read the scoped subscription and request usage
|
|
35
|
-
* @description Current
|
|
35
|
+
* @description Current project period, usage and limit. Display usage notices at 80% and 95%. At 100%, new metered calls return 429; existing payment verification, fulfillment and webhook redelivery remain available. The free test allowance follows UTC calendar months.
|
|
36
36
|
*/
|
|
37
37
|
get: operations["getBillingSubscription"];
|
|
38
38
|
put?: never;
|
|
@@ -58,7 +58,7 @@ export interface paths {
|
|
|
58
58
|
put?: never;
|
|
59
59
|
/**
|
|
60
60
|
* Create a stablecoin subscription invoice and payer challenge
|
|
61
|
-
* @description Select an offered collection network
|
|
61
|
+
* @description Select an offered collection network or use the default. The invoice fixes the six-decimal token and amount. During an active paid period, selecting a higher tier charges the difference between current catalog prices. Settlement raises the limit while preserving period start, expiry and request count. Choosing the same or a lower tier purchases a subsequent 30-day term at full price. Payment is manual in both cases.
|
|
62
62
|
*/
|
|
63
63
|
post: operations["createBillingInvoice"];
|
|
64
64
|
delete?: never;
|
|
@@ -244,7 +244,7 @@ export interface paths {
|
|
|
244
244
|
put?: never;
|
|
245
245
|
/**
|
|
246
246
|
* Create immutable order payment obligation
|
|
247
|
-
* @description Same scoped order_ref/order_revision and identical specification returns the existing resource. Changed snapshot requires explicit revision but retains the same business grant identity. For new payments, every allowed connection must support the price denomination in listChainAssets.
|
|
247
|
+
* @description Same scoped order_ref/order_revision and identical specification returns the existing resource. Changed snapshot requires explicit revision but retains the same business grant identity. Creating the order consumes one request. An identical retry with the same Idempotency-Key is counted only once. For new payments, every allowed connection must support the price denomination in listChainAssets.
|
|
248
248
|
*/
|
|
249
249
|
post: operations["createPayment"];
|
|
250
250
|
delete?: never;
|
|
@@ -307,7 +307,7 @@ export interface paths {
|
|
|
307
307
|
put?: never;
|
|
308
308
|
/**
|
|
309
309
|
* Freeze stablecoin payable terms
|
|
310
|
-
* @description Reserve a unique recipient for the selected network and freeze the amount and token. Quote expiry cannot exceed the payment expiry. New quotes use the selected network's matching asset from listChainAssets.
|
|
310
|
+
* @description Reserve a unique recipient for the selected network and freeze the amount and token. Creating the quote consumes one request. An identical retry with the same Idempotency-Key is counted only once. Quote expiry cannot exceed the payment expiry. New quotes use the selected network's matching asset from listChainAssets.
|
|
311
311
|
*/
|
|
312
312
|
post: operations["createQuote"];
|
|
313
313
|
delete?: never;
|
|
@@ -1657,7 +1657,7 @@ export interface components {
|
|
|
1657
1657
|
"application/json": components["schemas"]["Error"];
|
|
1658
1658
|
};
|
|
1659
1659
|
};
|
|
1660
|
-
/** @description Idempotency payload mismatch, another pending or reconciling invoice (BILLING_INVOICE_IN_PROGRESS), an already scheduled renewal (BILLING_RENEWAL_SCHEDULED), or unavailable recipient capacity. */
|
|
1660
|
+
/** @description Idempotency payload mismatch, another pending or reconciling invoice (BILLING_INVOICE_IN_PROGRESS), an already scheduled renewal (BILLING_RENEWAL_SCHEDULED), less than one minute left for an upgrade (BILLING_UPGRADE_WINDOW_CLOSED), or unavailable recipient capacity. */
|
|
1661
1661
|
BillingInvoiceConflict: {
|
|
1662
1662
|
headers: {
|
|
1663
1663
|
[name: string]: unknown;
|
|
@@ -1686,7 +1686,7 @@ export interface components {
|
|
|
1686
1686
|
};
|
|
1687
1687
|
};
|
|
1688
1688
|
parameters: {
|
|
1689
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1689
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1690
1690
|
IdempotencyKey: string;
|
|
1691
1691
|
Cursor: string;
|
|
1692
1692
|
Limit: number;
|
|
@@ -1779,7 +1779,7 @@ export interface operations {
|
|
|
1779
1779
|
parameters: {
|
|
1780
1780
|
query?: never;
|
|
1781
1781
|
header: {
|
|
1782
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1782
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1783
1783
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1784
1784
|
};
|
|
1785
1785
|
path?: never;
|
|
@@ -1837,7 +1837,7 @@ export interface operations {
|
|
|
1837
1837
|
parameters: {
|
|
1838
1838
|
query?: never;
|
|
1839
1839
|
header: {
|
|
1840
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1840
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1841
1841
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1842
1842
|
};
|
|
1843
1843
|
path: {
|
|
@@ -1872,7 +1872,7 @@ export interface operations {
|
|
|
1872
1872
|
parameters: {
|
|
1873
1873
|
query?: never;
|
|
1874
1874
|
header: {
|
|
1875
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1875
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1876
1876
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1877
1877
|
};
|
|
1878
1878
|
path: {
|
|
@@ -1907,7 +1907,7 @@ export interface operations {
|
|
|
1907
1907
|
parameters: {
|
|
1908
1908
|
query?: never;
|
|
1909
1909
|
header: {
|
|
1910
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1910
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1911
1911
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1912
1912
|
};
|
|
1913
1913
|
path?: never;
|
|
@@ -1939,7 +1939,7 @@ export interface operations {
|
|
|
1939
1939
|
parameters: {
|
|
1940
1940
|
query?: never;
|
|
1941
1941
|
header: {
|
|
1942
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1942
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
1943
1943
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1944
1944
|
};
|
|
1945
1945
|
path?: never;
|
|
@@ -2003,7 +2003,7 @@ export interface operations {
|
|
|
2003
2003
|
parameters: {
|
|
2004
2004
|
query?: never;
|
|
2005
2005
|
header: {
|
|
2006
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2006
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2007
2007
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2008
2008
|
};
|
|
2009
2009
|
path?: never;
|
|
@@ -2035,7 +2035,7 @@ export interface operations {
|
|
|
2035
2035
|
parameters: {
|
|
2036
2036
|
query?: never;
|
|
2037
2037
|
header: {
|
|
2038
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2038
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2039
2039
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2040
2040
|
};
|
|
2041
2041
|
path: {
|
|
@@ -2100,7 +2100,7 @@ export interface operations {
|
|
|
2100
2100
|
parameters: {
|
|
2101
2101
|
query?: never;
|
|
2102
2102
|
header: {
|
|
2103
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2103
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2104
2104
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2105
2105
|
};
|
|
2106
2106
|
path?: never;
|
|
@@ -2192,7 +2192,7 @@ export interface operations {
|
|
|
2192
2192
|
parameters: {
|
|
2193
2193
|
query?: never;
|
|
2194
2194
|
header: {
|
|
2195
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2195
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2196
2196
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2197
2197
|
};
|
|
2198
2198
|
path: {
|
|
@@ -2259,7 +2259,7 @@ export interface operations {
|
|
|
2259
2259
|
parameters: {
|
|
2260
2260
|
query?: never;
|
|
2261
2261
|
header: {
|
|
2262
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2262
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2263
2263
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2264
2264
|
};
|
|
2265
2265
|
path: {
|
|
@@ -2295,7 +2295,7 @@ export interface operations {
|
|
|
2295
2295
|
parameters: {
|
|
2296
2296
|
query?: never;
|
|
2297
2297
|
header: {
|
|
2298
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2298
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2299
2299
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2300
2300
|
};
|
|
2301
2301
|
path: {
|
|
@@ -2332,7 +2332,7 @@ export interface operations {
|
|
|
2332
2332
|
parameters: {
|
|
2333
2333
|
query?: never;
|
|
2334
2334
|
header: {
|
|
2335
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2335
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2336
2336
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2337
2337
|
};
|
|
2338
2338
|
path: {
|
|
@@ -2402,7 +2402,7 @@ export interface operations {
|
|
|
2402
2402
|
parameters: {
|
|
2403
2403
|
query?: never;
|
|
2404
2404
|
header: {
|
|
2405
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2405
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2406
2406
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2407
2407
|
};
|
|
2408
2408
|
path: {
|
|
@@ -2468,7 +2468,7 @@ export interface operations {
|
|
|
2468
2468
|
parameters: {
|
|
2469
2469
|
query?: never;
|
|
2470
2470
|
header: {
|
|
2471
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2471
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2472
2472
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2473
2473
|
};
|
|
2474
2474
|
path: {
|
|
@@ -2505,7 +2505,7 @@ export interface operations {
|
|
|
2505
2505
|
parameters: {
|
|
2506
2506
|
query?: never;
|
|
2507
2507
|
header: {
|
|
2508
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2508
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2509
2509
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2510
2510
|
};
|
|
2511
2511
|
path: {
|
|
@@ -2542,7 +2542,7 @@ export interface operations {
|
|
|
2542
2542
|
parameters: {
|
|
2543
2543
|
query?: never;
|
|
2544
2544
|
header: {
|
|
2545
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2545
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2546
2546
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2547
2547
|
};
|
|
2548
2548
|
path: {
|
|
@@ -2680,7 +2680,7 @@ export interface operations {
|
|
|
2680
2680
|
parameters: {
|
|
2681
2681
|
query?: never;
|
|
2682
2682
|
header: {
|
|
2683
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2683
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2684
2684
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2685
2685
|
};
|
|
2686
2686
|
path: {
|
|
@@ -2716,7 +2716,7 @@ export interface operations {
|
|
|
2716
2716
|
parameters: {
|
|
2717
2717
|
query?: never;
|
|
2718
2718
|
header: {
|
|
2719
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2719
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2720
2720
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2721
2721
|
};
|
|
2722
2722
|
path?: never;
|
|
@@ -2780,7 +2780,7 @@ export interface operations {
|
|
|
2780
2780
|
parameters: {
|
|
2781
2781
|
query?: never;
|
|
2782
2782
|
header: {
|
|
2783
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2783
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2784
2784
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2785
2785
|
};
|
|
2786
2786
|
path: {
|
|
@@ -2877,7 +2877,7 @@ export interface operations {
|
|
|
2877
2877
|
parameters: {
|
|
2878
2878
|
query?: never;
|
|
2879
2879
|
header: {
|
|
2880
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2880
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2881
2881
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2882
2882
|
};
|
|
2883
2883
|
path: {
|
|
@@ -2914,7 +2914,7 @@ export interface operations {
|
|
|
2914
2914
|
parameters: {
|
|
2915
2915
|
query?: never;
|
|
2916
2916
|
header: {
|
|
2917
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2917
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2918
2918
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2919
2919
|
};
|
|
2920
2920
|
path: {
|
|
@@ -2961,7 +2961,7 @@ export interface operations {
|
|
|
2961
2961
|
parameters: {
|
|
2962
2962
|
query?: never;
|
|
2963
2963
|
header: {
|
|
2964
|
-
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2964
|
+
/** @description Stable per logical caller mutation, scoped to bound merchant/project/environment + operation. An admitted metered mutation consumes one request across retries, including after a lost response or at the limit. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2965
2965
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2966
2966
|
};
|
|
2967
2967
|
path: {
|