@0to1pay/fulfillment-sdk 1.0.1 → 2.1.0
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 +5 -5
- package/dist/contracts/openapi.yaml +710 -706
- package/dist/packages/domain/contract.d.ts +0 -1
- package/dist/packages/domain/contract.js +0 -3
- package/dist/packages/domain/shared.js +0 -37
- package/dist/packages/server-sdk/index.d.ts +33 -19
- package/dist/packages/server-sdk/schema.d.ts +717 -511
- package/package.json +1 -1
|
@@ -3,6 +3,156 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
+
"/billing/plans": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* List request plans and subscription prices
|
|
15
|
+
* @description Plan prices, included API requests, and configured USDC collection options with available recipients. Live collection options use Ethereum or Base connections. Paid periods last 30 days.
|
|
16
|
+
*/
|
|
17
|
+
get: operations["listBillingPlans"];
|
|
18
|
+
put?: never;
|
|
19
|
+
post?: never;
|
|
20
|
+
delete?: never;
|
|
21
|
+
options?: never;
|
|
22
|
+
head?: never;
|
|
23
|
+
patch?: never;
|
|
24
|
+
trace?: never;
|
|
25
|
+
};
|
|
26
|
+
"/billing/subscription": {
|
|
27
|
+
parameters: {
|
|
28
|
+
query?: never;
|
|
29
|
+
header?: never;
|
|
30
|
+
path?: never;
|
|
31
|
+
cookie?: never;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Read the scoped subscription and request usage
|
|
35
|
+
* @description Current prepaid period and admitted API requests. The test allowance follows UTC calendar months.
|
|
36
|
+
*/
|
|
37
|
+
get: operations["getBillingSubscription"];
|
|
38
|
+
put?: never;
|
|
39
|
+
post?: never;
|
|
40
|
+
delete?: never;
|
|
41
|
+
options?: never;
|
|
42
|
+
head?: never;
|
|
43
|
+
patch?: never;
|
|
44
|
+
trace?: never;
|
|
45
|
+
};
|
|
46
|
+
"/billing/invoices": {
|
|
47
|
+
parameters: {
|
|
48
|
+
query?: never;
|
|
49
|
+
header?: never;
|
|
50
|
+
path?: never;
|
|
51
|
+
cookie?: never;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* List recent subscription invoices to resume checkout or reconciliation
|
|
55
|
+
* @description Returns up to 20 invoices for the caller's project and current collection environment, newest first. Open, reconciling and scheduled invoices are retained ahead of older history.
|
|
56
|
+
*/
|
|
57
|
+
get: operations["listBillingInvoices"];
|
|
58
|
+
put?: never;
|
|
59
|
+
/**
|
|
60
|
+
* Create a USDC subscription invoice and payer challenge
|
|
61
|
+
* @description Select an offered USDC network with network_id, or omit it for the configured default. The server snapshots the selected plan terms and network.
|
|
62
|
+
*/
|
|
63
|
+
post: operations["createBillingInvoice"];
|
|
64
|
+
delete?: never;
|
|
65
|
+
options?: never;
|
|
66
|
+
head?: never;
|
|
67
|
+
patch?: never;
|
|
68
|
+
trace?: never;
|
|
69
|
+
};
|
|
70
|
+
"/billing/invoices/{invoice_id}": {
|
|
71
|
+
parameters: {
|
|
72
|
+
query?: never;
|
|
73
|
+
header?: never;
|
|
74
|
+
path: {
|
|
75
|
+
invoice_id: components["parameters"]["invoice_id"];
|
|
76
|
+
};
|
|
77
|
+
cookie?: never;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Read the scoped subscription invoice
|
|
81
|
+
* @description Returns the invoice, frozen quote, wallet authorization message and entitlement state.
|
|
82
|
+
*/
|
|
83
|
+
get: operations["getBillingInvoice"];
|
|
84
|
+
put?: never;
|
|
85
|
+
post?: never;
|
|
86
|
+
delete?: never;
|
|
87
|
+
options?: never;
|
|
88
|
+
head?: never;
|
|
89
|
+
patch?: never;
|
|
90
|
+
trace?: never;
|
|
91
|
+
};
|
|
92
|
+
"/billing/invoices/{invoice_id}/authorize": {
|
|
93
|
+
parameters: {
|
|
94
|
+
query?: never;
|
|
95
|
+
header?: never;
|
|
96
|
+
path: {
|
|
97
|
+
invoice_id: components["parameters"]["invoice_id"];
|
|
98
|
+
};
|
|
99
|
+
cookie?: never;
|
|
100
|
+
};
|
|
101
|
+
get?: never;
|
|
102
|
+
put?: never;
|
|
103
|
+
/**
|
|
104
|
+
* Authorize the subscription invoice with the payer wallet
|
|
105
|
+
* @description Sign the exact invoice intent signing_message with the wallet that will pay.
|
|
106
|
+
*/
|
|
107
|
+
post: operations["authorizeBillingInvoice"];
|
|
108
|
+
delete?: never;
|
|
109
|
+
options?: never;
|
|
110
|
+
head?: never;
|
|
111
|
+
patch?: never;
|
|
112
|
+
trace?: never;
|
|
113
|
+
};
|
|
114
|
+
"/billing/invoices/{invoice_id}/submit": {
|
|
115
|
+
parameters: {
|
|
116
|
+
query?: never;
|
|
117
|
+
header?: never;
|
|
118
|
+
path: {
|
|
119
|
+
invoice_id: components["parameters"]["invoice_id"];
|
|
120
|
+
};
|
|
121
|
+
cookie?: never;
|
|
122
|
+
};
|
|
123
|
+
get?: never;
|
|
124
|
+
put?: never;
|
|
125
|
+
/**
|
|
126
|
+
* Submit the signed subscription transaction claim
|
|
127
|
+
* @description Submit a second signature binding the claimed transaction ID to the authorization. The worker independently verifies the payment.
|
|
128
|
+
*/
|
|
129
|
+
post: operations["submitBillingInvoice"];
|
|
130
|
+
delete?: never;
|
|
131
|
+
options?: never;
|
|
132
|
+
head?: never;
|
|
133
|
+
patch?: never;
|
|
134
|
+
trace?: never;
|
|
135
|
+
};
|
|
136
|
+
"/billing/keys": {
|
|
137
|
+
parameters: {
|
|
138
|
+
query?: never;
|
|
139
|
+
header?: never;
|
|
140
|
+
path?: never;
|
|
141
|
+
cookie?: never;
|
|
142
|
+
};
|
|
143
|
+
get?: never;
|
|
144
|
+
put?: never;
|
|
145
|
+
/**
|
|
146
|
+
* Issue a scoped server key for the active subscription
|
|
147
|
+
* @description Requires an active subscription. Keep the returned secret server-side and reuse the same idempotency key if the response is lost.
|
|
148
|
+
*/
|
|
149
|
+
post: operations["issueBillingKey"];
|
|
150
|
+
delete?: never;
|
|
151
|
+
options?: never;
|
|
152
|
+
head?: never;
|
|
153
|
+
patch?: never;
|
|
154
|
+
trace?: never;
|
|
155
|
+
};
|
|
6
156
|
"/chain/assets": {
|
|
7
157
|
parameters: {
|
|
8
158
|
query?: never;
|
|
@@ -10,7 +160,10 @@ export interface paths {
|
|
|
10
160
|
path?: never;
|
|
11
161
|
cookie?: never;
|
|
12
162
|
};
|
|
13
|
-
/**
|
|
163
|
+
/**
|
|
164
|
+
* List supported USDC and USDT deployments on configured networks
|
|
165
|
+
* @description Live checkout supports Ethereum native USDC and USDT, TRON USDT, and Base native USDC. Only configured networks in the caller's environment are returned.
|
|
166
|
+
*/
|
|
14
167
|
get: operations["listChainAssets"];
|
|
15
168
|
put?: never;
|
|
16
169
|
post?: never;
|
|
@@ -29,7 +182,10 @@ export interface paths {
|
|
|
29
182
|
};
|
|
30
183
|
get?: never;
|
|
31
184
|
put?: never;
|
|
32
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* Create a watch-only chain connection for the scoped merchant
|
|
187
|
+
* @description Select a network returned by listChainAssets for this environment.
|
|
188
|
+
*/
|
|
33
189
|
post: operations["createChainConnection"];
|
|
34
190
|
delete?: never;
|
|
35
191
|
options?: never;
|
|
@@ -68,7 +224,7 @@ export interface paths {
|
|
|
68
224
|
put?: never;
|
|
69
225
|
/**
|
|
70
226
|
* Create immutable order payment obligation
|
|
71
|
-
* @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.
|
|
227
|
+
* @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.
|
|
72
228
|
*/
|
|
73
229
|
post: operations["createPayment"];
|
|
74
230
|
delete?: never;
|
|
@@ -108,8 +264,8 @@ export interface paths {
|
|
|
108
264
|
get?: never;
|
|
109
265
|
put?: never;
|
|
110
266
|
/**
|
|
111
|
-
* Freeze
|
|
112
|
-
* @description
|
|
267
|
+
* Freeze stablecoin payable terms
|
|
268
|
+
* @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.
|
|
113
269
|
*/
|
|
114
270
|
post: operations["createQuote"];
|
|
115
271
|
delete?: never;
|
|
@@ -137,86 +293,110 @@ export interface paths {
|
|
|
137
293
|
patch?: never;
|
|
138
294
|
trace?: never;
|
|
139
295
|
};
|
|
140
|
-
"/
|
|
296
|
+
"/quotes/{quote_id}/chain-intents": {
|
|
141
297
|
parameters: {
|
|
142
298
|
query?: never;
|
|
143
299
|
header?: never;
|
|
144
300
|
path: {
|
|
145
|
-
|
|
301
|
+
quote_id: components["parameters"]["quote_id"];
|
|
146
302
|
};
|
|
147
303
|
cookie?: never;
|
|
148
304
|
};
|
|
149
|
-
|
|
150
|
-
get: operations["listAttempts"];
|
|
305
|
+
get?: never;
|
|
151
306
|
put?: never;
|
|
152
307
|
/**
|
|
153
|
-
* Create a
|
|
154
|
-
* @description
|
|
308
|
+
* Create a wallet approval challenge for a buyer checkout
|
|
309
|
+
* @description The merchant server must first authenticate the buyer and authorize access to the quote. Supply a stable opaque reference for that authenticated checkout. Never send the session credential itself.
|
|
155
310
|
*/
|
|
156
|
-
post: operations["
|
|
311
|
+
post: operations["createChainIntent"];
|
|
157
312
|
delete?: never;
|
|
158
313
|
options?: never;
|
|
159
314
|
head?: never;
|
|
160
315
|
patch?: never;
|
|
161
316
|
trace?: never;
|
|
162
317
|
};
|
|
163
|
-
"/
|
|
318
|
+
"/quotes/{quote_id}/chain-intents/{intent_id}/authorize": {
|
|
164
319
|
parameters: {
|
|
165
320
|
query?: never;
|
|
166
321
|
header?: never;
|
|
167
322
|
path: {
|
|
168
|
-
|
|
323
|
+
quote_id: components["parameters"]["quote_id"];
|
|
324
|
+
intent_id: components["parameters"]["intent_id"];
|
|
169
325
|
};
|
|
170
326
|
cookie?: never;
|
|
171
327
|
};
|
|
172
328
|
get?: never;
|
|
173
329
|
put?: never;
|
|
174
330
|
/**
|
|
175
|
-
*
|
|
176
|
-
* @description
|
|
331
|
+
* Authorize the frozen quote with the chosen payer wallet
|
|
332
|
+
* @description Verify the signature over the exact signing_message returned by createChainIntent.
|
|
177
333
|
*/
|
|
178
|
-
post: operations["
|
|
334
|
+
post: operations["authorizeChainIntent"];
|
|
179
335
|
delete?: never;
|
|
180
336
|
options?: never;
|
|
181
337
|
head?: never;
|
|
182
338
|
patch?: never;
|
|
183
339
|
trace?: never;
|
|
184
340
|
};
|
|
185
|
-
"/
|
|
341
|
+
"/quotes/{quote_id}/chain-intents/{intent_id}/submit": {
|
|
186
342
|
parameters: {
|
|
187
343
|
query?: never;
|
|
188
344
|
header?: never;
|
|
189
345
|
path: {
|
|
190
|
-
|
|
346
|
+
quote_id: components["parameters"]["quote_id"];
|
|
347
|
+
intent_id: components["parameters"]["intent_id"];
|
|
191
348
|
};
|
|
192
349
|
cookie?: never;
|
|
193
350
|
};
|
|
194
|
-
|
|
195
|
-
get: operations["getAttempt"];
|
|
351
|
+
get?: never;
|
|
196
352
|
put?: never;
|
|
197
|
-
|
|
353
|
+
/**
|
|
354
|
+
* Bind a broadcast transaction to its authorized checkout
|
|
355
|
+
* @description Submit a second wallet signature over signing_message followed by a newline and Transaction, a colon, a space and the canonical transaction ID. The Worker verifies the actual token source and finalized transfer.
|
|
356
|
+
*/
|
|
357
|
+
post: operations["submitChainIntent"];
|
|
198
358
|
delete?: never;
|
|
199
359
|
options?: never;
|
|
200
360
|
head?: never;
|
|
201
361
|
patch?: never;
|
|
202
362
|
trace?: never;
|
|
203
363
|
};
|
|
204
|
-
"/
|
|
364
|
+
"/payments/{payment_id}/attempts": {
|
|
205
365
|
parameters: {
|
|
206
366
|
query?: never;
|
|
207
367
|
header?: never;
|
|
208
368
|
path: {
|
|
209
|
-
|
|
369
|
+
payment_id: components["parameters"]["payment_id"];
|
|
210
370
|
};
|
|
211
371
|
cookie?: never;
|
|
212
372
|
};
|
|
213
|
-
|
|
373
|
+
/** List every payment attempt */
|
|
374
|
+
get: operations["listAttempts"];
|
|
214
375
|
put?: never;
|
|
215
376
|
/**
|
|
216
|
-
*
|
|
217
|
-
* @description
|
|
377
|
+
* Get or open the transfer attempt for an assigned chain quote
|
|
378
|
+
* @description Chain quotes open a transfer attempt when assigned. Repeating this call returns that attempt.
|
|
218
379
|
*/
|
|
219
|
-
post: operations["
|
|
380
|
+
post: operations["createAttempt"];
|
|
381
|
+
delete?: never;
|
|
382
|
+
options?: never;
|
|
383
|
+
head?: never;
|
|
384
|
+
patch?: never;
|
|
385
|
+
trace?: never;
|
|
386
|
+
};
|
|
387
|
+
"/attempts/{attempt_id}": {
|
|
388
|
+
parameters: {
|
|
389
|
+
query?: never;
|
|
390
|
+
header?: never;
|
|
391
|
+
path: {
|
|
392
|
+
attempt_id: components["parameters"]["attempt_id"];
|
|
393
|
+
};
|
|
394
|
+
cookie?: never;
|
|
395
|
+
};
|
|
396
|
+
/** Get current execution state */
|
|
397
|
+
get: operations["getAttempt"];
|
|
398
|
+
put?: never;
|
|
399
|
+
post?: never;
|
|
220
400
|
delete?: never;
|
|
221
401
|
options?: never;
|
|
222
402
|
head?: never;
|
|
@@ -280,7 +460,7 @@ export interface paths {
|
|
|
280
460
|
put?: never;
|
|
281
461
|
/**
|
|
282
462
|
* Record a narrow audited fulfillment decision
|
|
283
|
-
* @description Compare expected_resource_version under lock. accept_late_payment requires independent valid evidence, bound order, correct full amount/asset/payee/account and timing-only hold; all other blockers fail with 409. It does not reopen collection, manufacture money, clear refunds/disputes, change provenance, or reissue an existing grant. keep_on_hold and reject_fulfillment record persistent business restrictions; reconciliation must not silently discard them. If an effect is already claimed/applied/unknown, preserve that fact and return conflict or review without pretending to undo it. Actor comes from auth; reason and prior/new decision are immutable audit data. New command/outbox, if justified, uses the existing order/action grant identity.
|
|
463
|
+
* @description Compare expected_resource_version under lock. accept_unattributed_chain_payment requires the ID of one verified exact chain movement and reviewed evidence. accept_late_payment requires independent valid evidence, bound order, correct full amount/asset/payee/account and timing-only hold; all other blockers fail with 409. It does not reopen collection, manufacture money, clear refunds/disputes, change provenance, or reissue an existing grant. keep_on_hold and reject_fulfillment record persistent business restrictions; reconciliation must not silently discard them. If an effect is already claimed/applied/unknown, preserve that fact and return conflict or review without pretending to undo it. Actor comes from auth; reason and prior/new decision are immutable audit data. New command/outbox, if justified, uses the existing order/action grant identity.
|
|
284
464
|
*/
|
|
285
465
|
post: operations["reviewPayment"];
|
|
286
466
|
delete?: never;
|
|
@@ -308,28 +488,6 @@ export interface paths {
|
|
|
308
488
|
patch?: never;
|
|
309
489
|
trace?: never;
|
|
310
490
|
};
|
|
311
|
-
"/operations/{operation_id}/recover": {
|
|
312
|
-
parameters: {
|
|
313
|
-
query?: never;
|
|
314
|
-
header?: never;
|
|
315
|
-
path: {
|
|
316
|
-
operation_id: components["parameters"]["operation_id"];
|
|
317
|
-
};
|
|
318
|
-
cookie?: never;
|
|
319
|
-
};
|
|
320
|
-
get?: never;
|
|
321
|
-
put?: never;
|
|
322
|
-
/**
|
|
323
|
-
* Recover the same unknown operation
|
|
324
|
-
* @description Never change provider identity/key just to make unknown work look failed. Recovery consults provider idempotency retention/capabilities and requires review when safety cannot be established.
|
|
325
|
-
*/
|
|
326
|
-
post: operations["recoverOperation"];
|
|
327
|
-
delete?: never;
|
|
328
|
-
options?: never;
|
|
329
|
-
head?: never;
|
|
330
|
-
patch?: never;
|
|
331
|
-
trace?: never;
|
|
332
|
-
};
|
|
333
491
|
"/connections": {
|
|
334
492
|
parameters: {
|
|
335
493
|
query?: never;
|
|
@@ -337,14 +495,10 @@ export interface paths {
|
|
|
337
495
|
path?: never;
|
|
338
496
|
cookie?: never;
|
|
339
497
|
};
|
|
340
|
-
/** List
|
|
498
|
+
/** List chain connections and historical connection records */
|
|
341
499
|
get: operations["listConnections"];
|
|
342
500
|
put?: never;
|
|
343
|
-
|
|
344
|
-
* Register provisional merchant provider configuration
|
|
345
|
-
* @description Do not return/log credentials. Creation may persist encrypted provisional configuration WITHOUT reserving canonical provider_accounts identity. Caller expected_provider_account_id alone never reserves another merchant account. No ready/create/attach is allowed before actual identity and remaining readiness checks succeed. Operator-only secret references must already be tenant bound. Canonical account reservation occurs only after credentials and authoritative evidence establish actual account/environment/authority; then identity is shared across the same merchant projects.
|
|
346
|
-
*/
|
|
347
|
-
post: operations["createConnection"];
|
|
501
|
+
post?: never;
|
|
348
502
|
delete?: never;
|
|
349
503
|
options?: never;
|
|
350
504
|
head?: never;
|
|
@@ -370,50 +524,6 @@ export interface paths {
|
|
|
370
524
|
patch?: never;
|
|
371
525
|
trace?: never;
|
|
372
526
|
};
|
|
373
|
-
"/connections/{connection_id}/validate": {
|
|
374
|
-
parameters: {
|
|
375
|
-
query?: never;
|
|
376
|
-
header?: never;
|
|
377
|
-
path: {
|
|
378
|
-
connection_id: components["parameters"]["connection_id"];
|
|
379
|
-
};
|
|
380
|
-
cookie?: never;
|
|
381
|
-
};
|
|
382
|
-
get?: never;
|
|
383
|
-
put?: never;
|
|
384
|
-
/**
|
|
385
|
-
* Validate actual account/environment and permissions
|
|
386
|
-
* @description Use official allowlisted endpoints. Optional identity_evidence references a controlled merchant-created PayPal Order/Capture retrieved with these credentials. Verify authoritative payee against expected identity and these credentials seller context/default payee or independently established provider authority; a caller string or arbitrary readable order is insufficient. Reserve canonical provider account only after verified identity, under uniqueness/ownership transaction. No automatic real payment/capture is made for validation. Unavailable/insufficient evidence leaves identity_verified=false and no canonical reservation.
|
|
387
|
-
*/
|
|
388
|
-
post: operations["validateConnection"];
|
|
389
|
-
delete?: never;
|
|
390
|
-
options?: never;
|
|
391
|
-
head?: never;
|
|
392
|
-
patch?: never;
|
|
393
|
-
trace?: never;
|
|
394
|
-
};
|
|
395
|
-
"/connections/{connection_id}/credentials": {
|
|
396
|
-
parameters: {
|
|
397
|
-
query?: never;
|
|
398
|
-
header?: never;
|
|
399
|
-
path: {
|
|
400
|
-
connection_id: components["parameters"]["connection_id"];
|
|
401
|
-
};
|
|
402
|
-
cookie?: never;
|
|
403
|
-
};
|
|
404
|
-
get?: never;
|
|
405
|
-
put?: never;
|
|
406
|
-
/**
|
|
407
|
-
* Rotate encrypted provider credentials
|
|
408
|
-
* @description Old in-flight webhook secret support follows an explicit rotation window. Secrets are never read back.
|
|
409
|
-
*/
|
|
410
|
-
post: operations["rotateConnectionCredentials"];
|
|
411
|
-
delete?: never;
|
|
412
|
-
options?: never;
|
|
413
|
-
head?: never;
|
|
414
|
-
patch?: never;
|
|
415
|
-
trace?: never;
|
|
416
|
-
};
|
|
417
527
|
"/connections/{connection_id}/disable": {
|
|
418
528
|
parameters: {
|
|
419
529
|
query?: never;
|
|
@@ -497,28 +607,6 @@ export interface paths {
|
|
|
497
607
|
patch?: never;
|
|
498
608
|
trace?: never;
|
|
499
609
|
};
|
|
500
|
-
"/webhooks/providers/{connection_id}": {
|
|
501
|
-
parameters: {
|
|
502
|
-
query?: never;
|
|
503
|
-
header?: never;
|
|
504
|
-
path: {
|
|
505
|
-
connection_id: components["parameters"]["connection_id"];
|
|
506
|
-
};
|
|
507
|
-
cookie?: never;
|
|
508
|
-
};
|
|
509
|
-
get?: never;
|
|
510
|
-
put?: never;
|
|
511
|
-
/**
|
|
512
|
-
* Receive original provider webhook bytes
|
|
513
|
-
* @description Provider-specific cryptographic authentication is mandatory despite no bearer scheme. Preserve exact raw body; validate signature, canonical account and environment. Stripe-Signature or the PayPal transmission headers are interpreted by the selected adapter. No 0to1Pay Idempotency-Key is required. Return 2xx only after authenticated inbox persistence (including dedup). Do not synchronously fulfill. Never proxy arbitrary certificate URLs.
|
|
514
|
-
*/
|
|
515
|
-
post: operations["ingestProviderWebhook"];
|
|
516
|
-
delete?: never;
|
|
517
|
-
options?: never;
|
|
518
|
-
head?: never;
|
|
519
|
-
patch?: never;
|
|
520
|
-
trace?: never;
|
|
521
|
-
};
|
|
522
610
|
"/events": {
|
|
523
611
|
parameters: {
|
|
524
612
|
query?: never;
|
|
@@ -571,7 +659,7 @@ export interface paths {
|
|
|
571
659
|
put?: never;
|
|
572
660
|
/**
|
|
573
661
|
* Request fresh execution permission
|
|
574
|
-
* @description Idempotency binds request/claim identity but bypasses generic cached-success replay. Always recheck claim expiry/revocation, current decision and same grant desired_version. claim validity is time-of-check;
|
|
662
|
+
* @description Idempotency binds request/claim identity but bypasses generic cached-success replay. Always recheck claim expiry/revocation, current decision and same grant desired_version. claim validity is time-of-check; a chain reorganization can require compensation. Same key cannot create a new lease after expiry.
|
|
575
663
|
*/
|
|
576
664
|
post: operations["claimFulfillment"];
|
|
577
665
|
delete?: never;
|
|
@@ -657,7 +745,7 @@ export interface components {
|
|
|
657
745
|
* @description EVM or TRON chain ID, or a local or Solana selector. Use network_id for the network reference.
|
|
658
746
|
* @enum {integer}
|
|
659
747
|
*/
|
|
660
|
-
ChainSelectorId: 1 | 999 | 8453 | 42161 |
|
|
748
|
+
ChainSelectorId: 1 | 999 | 8453 | 42161 | 31337 | 31338 | 31339 | 31340 | 900001 | 900002 | 728126428 | 900003;
|
|
661
749
|
/** @description Decimal TRON identifiers are emitted. The hexadecimal TRON mainnet alias is accepted on connection creation. */
|
|
662
750
|
ChainNetworkId: string;
|
|
663
751
|
/** @enum {string} */
|
|
@@ -673,7 +761,7 @@ export interface components {
|
|
|
673
761
|
*/
|
|
674
762
|
ChainTokenSymbol: "USDC" | "USDT" | "USDT0";
|
|
675
763
|
/**
|
|
676
|
-
* @description Token deployment type. USDT0
|
|
764
|
+
* @description Token deployment type. Historical quotes can include USDT0 or a Standard Bridge token. New live quotes use native tokens.
|
|
677
765
|
* @enum {string}
|
|
678
766
|
*/
|
|
679
767
|
ChainAssetRepresentation: "native" | "usdt0" | "standard_bridge" | "fixture";
|
|
@@ -690,7 +778,7 @@ export interface components {
|
|
|
690
778
|
/** @description First block or slot eligible for observation. */
|
|
691
779
|
start_block: string;
|
|
692
780
|
anchor_hash: components["schemas"]["EvmHash"];
|
|
693
|
-
/** @description Earliest eligible
|
|
781
|
+
/** @description Earliest eligible transfer time, as a UTC Unix timestamp in seconds. */
|
|
694
782
|
starts_at_epoch: number;
|
|
695
783
|
};
|
|
696
784
|
ChainAssets: {
|
|
@@ -736,9 +824,9 @@ export interface components {
|
|
|
736
824
|
/** @description Address pool entries. On Solana these are associated token accounts for the selected mint. */
|
|
737
825
|
addresses: components["schemas"]["ChainAddress"][];
|
|
738
826
|
};
|
|
739
|
-
/** @description The asset registry
|
|
827
|
+
/** @description The asset registry confirms scale. USDC 10.00 is amount_atomic="10000000", scale=6. */
|
|
740
828
|
Money: {
|
|
741
|
-
/** @description
|
|
829
|
+
/** @description A stablecoin denomination or exact registered chain asset. Historical responses may contain fiat prices. */
|
|
742
830
|
asset: string;
|
|
743
831
|
/** @description Positive integer in the asset minor unit; never a float. */
|
|
744
832
|
amount_atomic: string;
|
|
@@ -779,7 +867,12 @@ export interface components {
|
|
|
779
867
|
order_ref: string;
|
|
780
868
|
order_revision: number;
|
|
781
869
|
customer_ref: string;
|
|
782
|
-
price: components["schemas"]["Money"]
|
|
870
|
+
price: components["schemas"]["Money"] & {
|
|
871
|
+
/** @enum {unknown} */
|
|
872
|
+
asset?: "stable:USDC" | "stable:USDT";
|
|
873
|
+
/** @constant */
|
|
874
|
+
scale?: 6;
|
|
875
|
+
};
|
|
783
876
|
allowed_connections: string[];
|
|
784
877
|
policy_ref: string;
|
|
785
878
|
/** @default 1800 */
|
|
@@ -872,7 +965,7 @@ export interface components {
|
|
|
872
965
|
CreateQuote: {
|
|
873
966
|
/** Format: uuid */
|
|
874
967
|
connection_id: string;
|
|
875
|
-
/** @description
|
|
968
|
+
/** @description Use the payment’s stablecoin denomination or the exact registered asset for the selected network. */
|
|
876
969
|
presentment_asset: string;
|
|
877
970
|
/** @default 900 */
|
|
878
971
|
expires_in_seconds: number;
|
|
@@ -910,64 +1003,9 @@ export interface components {
|
|
|
910
1003
|
connection_id: string;
|
|
911
1004
|
/** Format: uuid */
|
|
912
1005
|
quote_id: string;
|
|
913
|
-
/**
|
|
914
|
-
* Format: uri
|
|
915
|
-
* @description Required for Stripe and PayPal. Omit for an EVM transfer instruction.
|
|
916
|
-
*/
|
|
917
|
-
return_url?: string;
|
|
918
|
-
/** Format: uri */
|
|
919
|
-
cancel_url?: string;
|
|
920
|
-
};
|
|
921
|
-
AttachExternalAttempt: {
|
|
922
|
-
/** Format: uuid */
|
|
923
|
-
connection_id: string;
|
|
924
|
-
/** Format: uuid */
|
|
925
|
-
quote_id: string;
|
|
926
|
-
resource: components["schemas"]["ExternalResource"];
|
|
927
|
-
/** @description Merchant backend creation-operation reference; never a standalone proof. */
|
|
928
|
-
binding_ref: string;
|
|
929
|
-
/**
|
|
930
|
-
* @description Historical imports never emit a grant in R1.
|
|
931
|
-
* @enum {string}
|
|
932
|
-
*/
|
|
933
|
-
import_mode: "current" | "historical_observe_only";
|
|
934
1006
|
};
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
* @description discriminator enum property added by openapi-typescript
|
|
938
|
-
* @enum {string}
|
|
939
|
-
*/
|
|
940
|
-
type: "redirect";
|
|
941
|
-
/** Format: uri */
|
|
942
|
-
url: string;
|
|
943
|
-
expires_at: string | null;
|
|
944
|
-
};
|
|
945
|
-
ProviderClientAction: {
|
|
946
|
-
/**
|
|
947
|
-
* @description discriminator enum property added by openapi-typescript
|
|
948
|
-
* @enum {string}
|
|
949
|
-
*/
|
|
950
|
-
type: "provider_client";
|
|
951
|
-
/** @enum {string} */
|
|
952
|
-
provider: "stripe" | "paypal";
|
|
953
|
-
/** @description Scoped provider client secret. Never a server API credential. */
|
|
954
|
-
client_capability: string;
|
|
955
|
-
expires_at: string | null;
|
|
956
|
-
};
|
|
957
|
-
/** @description Reserved for Release 2; R1 adapters must not emit. */
|
|
958
|
-
WalletRequestAction: {
|
|
959
|
-
/**
|
|
960
|
-
* @description discriminator enum property added by openapi-typescript
|
|
961
|
-
* @enum {string}
|
|
962
|
-
*/
|
|
963
|
-
type: "wallet_request";
|
|
964
|
-
chain_id: string;
|
|
965
|
-
request: {
|
|
966
|
-
[key: string]: unknown;
|
|
967
|
-
};
|
|
968
|
-
};
|
|
969
|
-
/** @description Watch-only stablecoin payment with the exact registered deployment and permanently assigned recipient in the quote. */
|
|
970
|
-
TransferInstructionAction: {
|
|
1007
|
+
/** @description Watch-only stablecoin payment with the exact registered deployment and permanently assigned recipient in the quote. */
|
|
1008
|
+
TransferInstructionAction: {
|
|
971
1009
|
/**
|
|
972
1010
|
* @description discriminator enum property added by openapi-typescript
|
|
973
1011
|
* @enum {string}
|
|
@@ -983,7 +1021,7 @@ export interface components {
|
|
|
983
1021
|
symbol?: components["schemas"]["ChainTokenSymbol"];
|
|
984
1022
|
representation?: components["schemas"]["ChainAssetRepresentation"];
|
|
985
1023
|
recipient_owner?: components["schemas"]["ChainAddress"];
|
|
986
|
-
/** @description Earliest eligible
|
|
1024
|
+
/** @description Earliest eligible transfer time, as a UTC Unix timestamp in seconds. */
|
|
987
1025
|
starts_at_epoch: number;
|
|
988
1026
|
/** Format: date-time */
|
|
989
1027
|
expires_at: string;
|
|
@@ -998,7 +1036,7 @@ export interface components {
|
|
|
998
1036
|
*/
|
|
999
1037
|
type: "none";
|
|
1000
1038
|
};
|
|
1001
|
-
NextAction: components["schemas"]["
|
|
1039
|
+
NextAction: components["schemas"]["TransferInstructionAction"] | components["schemas"]["NoAction"];
|
|
1002
1040
|
Binding: {
|
|
1003
1041
|
/** @enum {string} */
|
|
1004
1042
|
status: "bound" | "unbound" | "ambiguous";
|
|
@@ -1009,7 +1047,7 @@ export interface components {
|
|
|
1009
1047
|
registered_at: string;
|
|
1010
1048
|
verified_at: string | null;
|
|
1011
1049
|
};
|
|
1012
|
-
/** @description
|
|
1050
|
+
/** @description A transfer instruction identifies the registered asset and assigned recipient for an unfinished quote. The Worker verifies funds from finalized chain evidence. Historical fiat attempts return no action. */
|
|
1013
1051
|
Attempt: {
|
|
1014
1052
|
/** Format: uuid */
|
|
1015
1053
|
merchant_id: string;
|
|
@@ -1066,9 +1104,119 @@ export interface components {
|
|
|
1066
1104
|
attempt: components["schemas"]["Attempt"];
|
|
1067
1105
|
operation: components["schemas"]["Operation"] | null;
|
|
1068
1106
|
};
|
|
1069
|
-
/** @
|
|
1070
|
-
|
|
1071
|
-
|
|
1107
|
+
/** @enum {string} */
|
|
1108
|
+
BillingPlanId: "sandbox" | "starter" | "growth" | "scale";
|
|
1109
|
+
/** @enum {string} */
|
|
1110
|
+
PaidBillingPlanId: "starter" | "growth" | "scale";
|
|
1111
|
+
BillingPrice: {
|
|
1112
|
+
/** @constant */
|
|
1113
|
+
asset: "stable:USDC";
|
|
1114
|
+
amount_atomic: string;
|
|
1115
|
+
/** @constant */
|
|
1116
|
+
scale: 6;
|
|
1117
|
+
};
|
|
1118
|
+
BillingPlan: {
|
|
1119
|
+
plan_id: components["schemas"]["BillingPlanId"];
|
|
1120
|
+
environment: components["schemas"]["Environment"];
|
|
1121
|
+
price: components["schemas"]["BillingPrice"];
|
|
1122
|
+
request_limit: number;
|
|
1123
|
+
/**
|
|
1124
|
+
* @description The free test plan uses UTC calendar months.
|
|
1125
|
+
* @enum {integer|null}
|
|
1126
|
+
*/
|
|
1127
|
+
period_days: 30 | null;
|
|
1128
|
+
};
|
|
1129
|
+
BillingPlans: {
|
|
1130
|
+
plans: components["schemas"]["BillingPlan"][];
|
|
1131
|
+
/** @description Currently offered USDC networks. Existing servers may omit this field. */
|
|
1132
|
+
collection_options?: components["schemas"]["BillingCollectionOption"][];
|
|
1133
|
+
};
|
|
1134
|
+
BillingCollectionOption: {
|
|
1135
|
+
network_id: components["schemas"]["ChainNetworkId"];
|
|
1136
|
+
network_name: string;
|
|
1137
|
+
/** @enum {string} */
|
|
1138
|
+
family: "evm" | "solana";
|
|
1139
|
+
is_default: boolean;
|
|
1140
|
+
};
|
|
1141
|
+
BillingSubscription: {
|
|
1142
|
+
environment: components["schemas"]["Environment"];
|
|
1143
|
+
/** @enum {string} */
|
|
1144
|
+
status: "active" | "inactive";
|
|
1145
|
+
plan_id: components["schemas"]["BillingPlanId"] | null;
|
|
1146
|
+
/** Format: date-time */
|
|
1147
|
+
period_start: string | null;
|
|
1148
|
+
/** Format: date-time */
|
|
1149
|
+
period_end: string | null;
|
|
1150
|
+
request_limit: number;
|
|
1151
|
+
requests_used: number;
|
|
1152
|
+
};
|
|
1153
|
+
CreateBillingInvoice: {
|
|
1154
|
+
plan_id: components["schemas"]["PaidBillingPlanId"];
|
|
1155
|
+
payer_address: components["schemas"]["ChainAddress"];
|
|
1156
|
+
checkout_session_ref: components["schemas"]["ChainCheckoutSessionRef"];
|
|
1157
|
+
/** @description USDC collection network offered in BillingPlans. The deployment's default connection is used when omitted. */
|
|
1158
|
+
network_id?: components["schemas"]["ChainNetworkId"];
|
|
1159
|
+
};
|
|
1160
|
+
BillingInvoice: {
|
|
1161
|
+
/** Format: uuid */
|
|
1162
|
+
invoice_id: string;
|
|
1163
|
+
plan_id: components["schemas"]["PaidBillingPlanId"];
|
|
1164
|
+
environment: components["schemas"]["Environment"];
|
|
1165
|
+
/**
|
|
1166
|
+
* @description Reconciling means a wallet-authorized invoice still awaits final reconciliation after transaction submission or quote expiry. Resume that invoice and wait before paying another one.
|
|
1167
|
+
* @enum {string}
|
|
1168
|
+
*/
|
|
1169
|
+
status: "pending" | "reconciling" | "active" | "scheduled" | "expired" | "revoked";
|
|
1170
|
+
quote: components["schemas"]["Quote"];
|
|
1171
|
+
intent: components["schemas"]["ChainIntent"];
|
|
1172
|
+
/** Format: date-time */
|
|
1173
|
+
period_start: string | null;
|
|
1174
|
+
/** Format: date-time */
|
|
1175
|
+
period_end: string | null;
|
|
1176
|
+
};
|
|
1177
|
+
BillingInvoiceList: {
|
|
1178
|
+
invoices: components["schemas"]["BillingInvoice"][];
|
|
1179
|
+
};
|
|
1180
|
+
BillingKeyRequest: Record<string, never>;
|
|
1181
|
+
BillingKey: {
|
|
1182
|
+
/** Format: uuid */
|
|
1183
|
+
key_id: string;
|
|
1184
|
+
token: string;
|
|
1185
|
+
environment: components["schemas"]["Environment"];
|
|
1186
|
+
};
|
|
1187
|
+
/** @description Stable opaque reference assigned by the merchant server to the authenticated buyer checkout. */
|
|
1188
|
+
ChainCheckoutSessionRef: string;
|
|
1189
|
+
/** @description Use a 0x-prefixed wallet signature. Encode raw Solana Ed25519 signature bytes as hex. */
|
|
1190
|
+
ChainIntentSignature: string;
|
|
1191
|
+
/** @description EVM and TRON IDs are canonicalized to lowercase 0x-prefixed hex. TRON accepts bare hex. Solana signatures remain case-sensitive base58. */
|
|
1192
|
+
ChainIntentTransactionId: string;
|
|
1193
|
+
CreateChainIntent: {
|
|
1194
|
+
checkout_session_ref: components["schemas"]["ChainCheckoutSessionRef"];
|
|
1195
|
+
payer_address: components["schemas"]["ChainAddress"];
|
|
1196
|
+
};
|
|
1197
|
+
AuthorizeChainIntent: {
|
|
1198
|
+
checkout_session_ref: components["schemas"]["ChainCheckoutSessionRef"];
|
|
1199
|
+
signature: components["schemas"]["ChainIntentSignature"];
|
|
1200
|
+
};
|
|
1201
|
+
SubmitChainIntent: {
|
|
1202
|
+
checkout_session_ref: components["schemas"]["ChainCheckoutSessionRef"];
|
|
1203
|
+
transaction_id: components["schemas"]["ChainIntentTransactionId"];
|
|
1204
|
+
signature: components["schemas"]["ChainIntentSignature"];
|
|
1205
|
+
};
|
|
1206
|
+
ChainIntent: {
|
|
1207
|
+
/** Format: uuid */
|
|
1208
|
+
intent_id: string;
|
|
1209
|
+
/** Format: uuid */
|
|
1210
|
+
quote_id: string;
|
|
1211
|
+
family: components["schemas"]["ChainFamily"];
|
|
1212
|
+
payer_address: components["schemas"]["ChainAddress"];
|
|
1213
|
+
/** Format: date-time */
|
|
1214
|
+
expires_at: string;
|
|
1215
|
+
/** @description Exact UTF-8 message to sign for this checkout and payer. Preserve line endings and spacing. */
|
|
1216
|
+
signing_message: string;
|
|
1217
|
+
/** @enum {string} */
|
|
1218
|
+
status: "pending" | "authorized" | "submitted";
|
|
1219
|
+
transaction_id: components["schemas"]["ChainIntentTransactionId"] | null;
|
|
1072
1220
|
};
|
|
1073
1221
|
VerifyRequest: {
|
|
1074
1222
|
/** Format: uuid */
|
|
@@ -1076,23 +1224,26 @@ export interface components {
|
|
|
1076
1224
|
/** @enum {string} */
|
|
1077
1225
|
reason: "buyer_return" | "merchant_request" | "reconciliation" | "support_retry";
|
|
1078
1226
|
};
|
|
1079
|
-
/** @description Stops new attempts immediately.
|
|
1227
|
+
/** @description Stops new transfer attempts immediately. Previously sent or in-flight transfers can still settle on-chain. */
|
|
1080
1228
|
CancelPayment: {
|
|
1081
1229
|
expected_resource_version: number;
|
|
1082
1230
|
reason: string;
|
|
1083
1231
|
};
|
|
1084
|
-
/** @description
|
|
1085
|
-
RecoverOperation: {
|
|
1086
|
-
reason: string;
|
|
1087
|
-
};
|
|
1088
|
-
/** @description Narrow audited business exception. accept_late_payment only accepts independently valid, bound, correctly funded evidence held for timing; it cannot override amount, payee, account, asset, evidence integrity or duplicate allocation. No paid=true or evidence mutation. */
|
|
1232
|
+
/** @description Narrow audited business exception. accept_late_payment only accepts independently valid, bound, correctly funded evidence held for timing. accept_unattributed_chain_payment can override missing wallet approval only for the named verified movement. Neither action overrides amount, payee, account, asset, evidence integrity or duplicate allocation. */
|
|
1089
1233
|
ReviewRequest: {
|
|
1090
1234
|
expected_resource_version: number;
|
|
1091
1235
|
/** @enum {string} */
|
|
1092
|
-
action: "accept_late_payment" | "keep_on_hold" | "reject_fulfillment";
|
|
1236
|
+
action: "accept_late_payment" | "accept_unattributed_chain_payment" | "keep_on_hold" | "reject_fulfillment";
|
|
1237
|
+
/**
|
|
1238
|
+
* Format: uuid
|
|
1239
|
+
* @description Verified on-chain receipt to apply when accepting an unattributed payment.
|
|
1240
|
+
*/
|
|
1241
|
+
movement_id?: string;
|
|
1242
|
+
/** @description Explicit operator approval for the specified movement after expiry. */
|
|
1243
|
+
allow_late_payment?: boolean;
|
|
1093
1244
|
/** @description Required human/business justification; not a replacement payment proof. */
|
|
1094
1245
|
reason: string;
|
|
1095
|
-
};
|
|
1246
|
+
} & unknown;
|
|
1096
1247
|
/** @description Immutable review/audit record plus resulting decision committed together. review_id may be the audit_events primary key. Existing grant identity is reused; no duplicate grant or automatic compensation is manufactured. */
|
|
1097
1248
|
ReviewResult: {
|
|
1098
1249
|
/** Format: uuid */
|
|
@@ -1100,7 +1251,7 @@ export interface components {
|
|
|
1100
1251
|
/** Format: uuid */
|
|
1101
1252
|
payment_id: string;
|
|
1102
1253
|
/** @enum {string} */
|
|
1103
|
-
action: "accept_late_payment" | "keep_on_hold" | "reject_fulfillment";
|
|
1254
|
+
action: "accept_late_payment" | "accept_unattributed_chain_payment" | "keep_on_hold" | "reject_fulfillment";
|
|
1104
1255
|
/** Format: uuid */
|
|
1105
1256
|
previous_decision_id: string;
|
|
1106
1257
|
decision: components["schemas"]["Decision"];
|
|
@@ -1121,42 +1272,7 @@ export interface components {
|
|
|
1121
1272
|
enforce_expiry: boolean;
|
|
1122
1273
|
binding_methods: string[];
|
|
1123
1274
|
};
|
|
1124
|
-
|
|
1125
|
-
/** @constant */
|
|
1126
|
-
kind: "stripe_secret";
|
|
1127
|
-
/** @description Validated and encrypted before persistence; never logged. */
|
|
1128
|
-
restricted_api_key: string;
|
|
1129
|
-
/** @description For the exact registered 0to1Pay ingress endpoint. May be omitted only at unvalidated bootstrap; ready validation requires it. */
|
|
1130
|
-
webhook_signing_secret?: string;
|
|
1131
|
-
};
|
|
1132
|
-
PayPalCredentials: {
|
|
1133
|
-
/** @constant */
|
|
1134
|
-
kind: "paypal_secret";
|
|
1135
|
-
/** @description PayPal application client ID; returned Connection omits it. */
|
|
1136
|
-
client_id: string;
|
|
1137
|
-
/** @description Encrypted before persistence. */
|
|
1138
|
-
client_secret: string;
|
|
1139
|
-
/** @description Registered PayPal webhook ID. Not a signing key; may be omitted only at unvalidated bootstrap. Ready validation requires it. */
|
|
1140
|
-
webhook_id?: string;
|
|
1141
|
-
};
|
|
1142
|
-
SecretReference: {
|
|
1143
|
-
/** @constant */
|
|
1144
|
-
kind: "preprovisioned_secret_ref";
|
|
1145
|
-
/** @description Operator-only preallocated reference bound to this tenant/project/environment. No arbitrary filesystem or URL lookup. */
|
|
1146
|
-
credential_ref: string;
|
|
1147
|
-
};
|
|
1148
|
-
/** @description Provider/credential kind must agree. Auth key determines tenant/environment. Validation compares actual resource/account/env against expected identity. Preprovisioned reference requires operator permission; regular tenants supply writeOnly credentials. */
|
|
1149
|
-
CreateConnection: {
|
|
1150
|
-
/** @enum {string} */
|
|
1151
|
-
provider: "stripe" | "paypal";
|
|
1152
|
-
display_name: string;
|
|
1153
|
-
/** @enum {string} */
|
|
1154
|
-
mode: "observe" | "initiate";
|
|
1155
|
-
expected_provider_account_id: string;
|
|
1156
|
-
credentials: components["schemas"]["StripeCredentials"] | components["schemas"]["PayPalCredentials"] | components["schemas"]["SecretReference"];
|
|
1157
|
-
return_origins: string[];
|
|
1158
|
-
};
|
|
1159
|
-
/** @description Provisional connections have identity_verified=false and provider_account_id=null and reserve no canonical account. No credentials, webhook secrets or credential references are returned. Only identity-verified and otherwise-ready connections may create/attach attempts. */
|
|
1275
|
+
/** @description Ready chain connections can be used for new payments. Historical connection records remain available for reads. */
|
|
1160
1276
|
Connection: {
|
|
1161
1277
|
/** Format: uuid */
|
|
1162
1278
|
merchant_id: string;
|
|
@@ -1180,7 +1296,8 @@ export interface components {
|
|
|
1180
1296
|
status: "unvalidated" | "ready" | "disabled" | "error";
|
|
1181
1297
|
capabilities: components["schemas"]["Capabilities"];
|
|
1182
1298
|
return_origins: string[];
|
|
1183
|
-
|
|
1299
|
+
/** @description Retained for historical reads. */
|
|
1300
|
+
webhook_url: null;
|
|
1184
1301
|
validated_at: string | null;
|
|
1185
1302
|
/** Format: date-time */
|
|
1186
1303
|
created_at: string;
|
|
@@ -1188,21 +1305,6 @@ export interface components {
|
|
|
1188
1305
|
updated_at: string;
|
|
1189
1306
|
resource_version: number;
|
|
1190
1307
|
} & (unknown & unknown);
|
|
1191
|
-
/** @description Optional controlled merchant-created resource, retrieved with supplied credentials. Must establish these credentials seller context/default payee or independently verified provider authorization; a matching caller string/arbitrary readable order alone is insufficient. No automatic real charge/capture is performed for identity validation. */
|
|
1192
|
-
IdentityEvidence: {
|
|
1193
|
-
/** @enum {string} */
|
|
1194
|
-
type: "paypal_order" | "paypal_capture";
|
|
1195
|
-
id: string;
|
|
1196
|
-
};
|
|
1197
|
-
/** @description Optional PayPal order/capture evidence enables provisional bootstrap. Retrieve authoritative resource and payee with these credentials, compare expected identity and verified seller context before canonical account reservation. Unsupported evidence/provider combinations are rejected. */
|
|
1198
|
-
ConnectionValidation: {
|
|
1199
|
-
reason?: string;
|
|
1200
|
-
identity_evidence?: components["schemas"]["IdentityEvidence"];
|
|
1201
|
-
};
|
|
1202
|
-
RotateConnectionCredentials: {
|
|
1203
|
-
credentials: components["schemas"]["StripeCredentials"] | components["schemas"]["PayPalCredentials"] | components["schemas"]["SecretReference"];
|
|
1204
|
-
expected_resource_version: number;
|
|
1205
|
-
};
|
|
1206
1308
|
ConnectionDisable: {
|
|
1207
1309
|
reason: string;
|
|
1208
1310
|
expected_resource_version: number;
|
|
@@ -1432,7 +1534,7 @@ export interface components {
|
|
|
1432
1534
|
"application/json": components["schemas"]["Error"];
|
|
1433
1535
|
};
|
|
1434
1536
|
};
|
|
1435
|
-
/** @description Missing
|
|
1537
|
+
/** @description Missing or invalid server credential. */
|
|
1436
1538
|
Unauthorized: {
|
|
1437
1539
|
headers: {
|
|
1438
1540
|
[name: string]: unknown;
|
|
@@ -1441,7 +1543,7 @@ export interface components {
|
|
|
1441
1543
|
"application/json": components["schemas"]["Error"];
|
|
1442
1544
|
};
|
|
1443
1545
|
};
|
|
1444
|
-
/** @description Scope, environment, account or resource ownership denied. */
|
|
1546
|
+
/** @description Scope, environment, account or resource ownership denied, or an active subscription is required. */
|
|
1445
1547
|
Forbidden: {
|
|
1446
1548
|
headers: {
|
|
1447
1549
|
[name: string]: unknown;
|
|
@@ -1478,6 +1580,33 @@ export interface components {
|
|
|
1478
1580
|
"application/json": components["schemas"]["Error"];
|
|
1479
1581
|
};
|
|
1480
1582
|
};
|
|
1583
|
+
/** @description BILLING_KEY_REQUIRED for a non-billing credential or SUBSCRIPTION_REQUIRED when key issuance requires an active paid period. */
|
|
1584
|
+
BillingForbidden: {
|
|
1585
|
+
headers: {
|
|
1586
|
+
[name: string]: unknown;
|
|
1587
|
+
};
|
|
1588
|
+
content: {
|
|
1589
|
+
"application/json": components["schemas"]["Error"];
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
/** @description Idempotency payload mismatch, another pending or reconciling invoice (BILLING_INVOICE_IN_PROGRESS), an already scheduled renewal (BILLING_RENEWAL_SCHEDULED), or unavailable recipient capacity. */
|
|
1593
|
+
BillingInvoiceConflict: {
|
|
1594
|
+
headers: {
|
|
1595
|
+
[name: string]: unknown;
|
|
1596
|
+
};
|
|
1597
|
+
content: {
|
|
1598
|
+
"application/json": components["schemas"]["Error"];
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
1601
|
+
/** @description API_REQUEST_LIMIT_REACHED. The current request budget is exhausted. */
|
|
1602
|
+
RequestBudgetExhausted: {
|
|
1603
|
+
headers: {
|
|
1604
|
+
[name: string]: unknown;
|
|
1605
|
+
};
|
|
1606
|
+
content: {
|
|
1607
|
+
"application/json": components["schemas"]["Error"];
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1481
1610
|
/** @description Required service unavailable. An external mutation may still have executed; retain/poll operation ID instead of creating a new payment. */
|
|
1482
1611
|
Unavailable: {
|
|
1483
1612
|
headers: {
|
|
@@ -1489,13 +1618,15 @@ export interface components {
|
|
|
1489
1618
|
};
|
|
1490
1619
|
};
|
|
1491
1620
|
parameters: {
|
|
1492
|
-
/** @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.
|
|
1621
|
+
/** @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. */
|
|
1493
1622
|
IdempotencyKey: string;
|
|
1494
1623
|
Cursor: string;
|
|
1495
1624
|
Limit: number;
|
|
1496
1625
|
payment_id: string;
|
|
1497
1626
|
attempt_id: string;
|
|
1498
1627
|
quote_id: string;
|
|
1628
|
+
invoice_id: string;
|
|
1629
|
+
intent_id: string;
|
|
1499
1630
|
connection_id: string;
|
|
1500
1631
|
operation_id: string;
|
|
1501
1632
|
command_id: string;
|
|
@@ -1507,7 +1638,7 @@ export interface components {
|
|
|
1507
1638
|
}
|
|
1508
1639
|
export type $defs = Record<string, never>;
|
|
1509
1640
|
export interface operations {
|
|
1510
|
-
|
|
1641
|
+
listBillingPlans: {
|
|
1511
1642
|
parameters: {
|
|
1512
1643
|
query?: never;
|
|
1513
1644
|
header?: never;
|
|
@@ -1516,317 +1647,335 @@ export interface operations {
|
|
|
1516
1647
|
};
|
|
1517
1648
|
requestBody?: never;
|
|
1518
1649
|
responses: {
|
|
1519
|
-
/** @description
|
|
1650
|
+
/** @description Successful scoped billing response. */
|
|
1520
1651
|
200: {
|
|
1521
1652
|
headers: {
|
|
1522
1653
|
[name: string]: unknown;
|
|
1523
1654
|
};
|
|
1524
1655
|
content: {
|
|
1525
|
-
"application/json": components["schemas"]["
|
|
1656
|
+
"application/json": components["schemas"]["BillingPlans"];
|
|
1526
1657
|
};
|
|
1527
1658
|
};
|
|
1528
1659
|
401: components["responses"]["Unauthorized"];
|
|
1529
|
-
403: components["responses"]["
|
|
1660
|
+
403: components["responses"]["BillingForbidden"];
|
|
1661
|
+
503: components["responses"]["Unavailable"];
|
|
1530
1662
|
};
|
|
1531
1663
|
};
|
|
1532
|
-
|
|
1664
|
+
getBillingSubscription: {
|
|
1533
1665
|
parameters: {
|
|
1534
1666
|
query?: never;
|
|
1535
|
-
header
|
|
1536
|
-
/** @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. Never required on provider webhook ingress. */
|
|
1537
|
-
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1538
|
-
};
|
|
1667
|
+
header?: never;
|
|
1539
1668
|
path?: never;
|
|
1540
1669
|
cookie?: never;
|
|
1541
1670
|
};
|
|
1542
|
-
requestBody
|
|
1543
|
-
|
|
1544
|
-
|
|
1671
|
+
requestBody?: never;
|
|
1672
|
+
responses: {
|
|
1673
|
+
/** @description Successful scoped billing response. */
|
|
1674
|
+
200: {
|
|
1675
|
+
headers: {
|
|
1676
|
+
[name: string]: unknown;
|
|
1677
|
+
};
|
|
1678
|
+
content: {
|
|
1679
|
+
"application/json": components["schemas"]["BillingSubscription"];
|
|
1680
|
+
};
|
|
1545
1681
|
};
|
|
1682
|
+
401: components["responses"]["Unauthorized"];
|
|
1683
|
+
403: components["responses"]["BillingForbidden"];
|
|
1684
|
+
503: components["responses"]["Unavailable"];
|
|
1685
|
+
};
|
|
1686
|
+
};
|
|
1687
|
+
listBillingInvoices: {
|
|
1688
|
+
parameters: {
|
|
1689
|
+
query?: never;
|
|
1690
|
+
header?: never;
|
|
1691
|
+
path?: never;
|
|
1692
|
+
cookie?: never;
|
|
1546
1693
|
};
|
|
1694
|
+
requestBody?: never;
|
|
1547
1695
|
responses: {
|
|
1548
|
-
/** @description
|
|
1549
|
-
|
|
1696
|
+
/** @description Successful scoped billing response. */
|
|
1697
|
+
200: {
|
|
1550
1698
|
headers: {
|
|
1551
1699
|
[name: string]: unknown;
|
|
1552
1700
|
};
|
|
1553
1701
|
content: {
|
|
1554
|
-
"application/json": components["schemas"]["
|
|
1702
|
+
"application/json": components["schemas"]["BillingInvoiceList"];
|
|
1555
1703
|
};
|
|
1556
1704
|
};
|
|
1557
|
-
400: components["responses"]["BadRequest"];
|
|
1558
1705
|
401: components["responses"]["Unauthorized"];
|
|
1559
|
-
403: components["responses"]["
|
|
1560
|
-
409: components["responses"]["Conflict"];
|
|
1706
|
+
403: components["responses"]["BillingForbidden"];
|
|
1561
1707
|
503: components["responses"]["Unavailable"];
|
|
1562
1708
|
};
|
|
1563
1709
|
};
|
|
1564
|
-
|
|
1710
|
+
createBillingInvoice: {
|
|
1565
1711
|
parameters: {
|
|
1566
1712
|
query?: never;
|
|
1567
1713
|
header: {
|
|
1568
|
-
/** @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.
|
|
1714
|
+
/** @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. */
|
|
1569
1715
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1570
1716
|
};
|
|
1571
|
-
path
|
|
1572
|
-
connection_id: components["parameters"]["connection_id"];
|
|
1573
|
-
};
|
|
1717
|
+
path?: never;
|
|
1574
1718
|
cookie?: never;
|
|
1575
1719
|
};
|
|
1576
1720
|
requestBody: {
|
|
1577
1721
|
content: {
|
|
1578
|
-
"application/json": components["schemas"]["
|
|
1722
|
+
"application/json": components["schemas"]["CreateBillingInvoice"];
|
|
1579
1723
|
};
|
|
1580
1724
|
};
|
|
1581
1725
|
responses: {
|
|
1582
|
-
/** @description
|
|
1726
|
+
/** @description Successful scoped billing response. */
|
|
1583
1727
|
201: {
|
|
1584
1728
|
headers: {
|
|
1585
1729
|
[name: string]: unknown;
|
|
1586
1730
|
};
|
|
1587
1731
|
content: {
|
|
1588
|
-
"application/json": components["schemas"]["
|
|
1732
|
+
"application/json": components["schemas"]["BillingInvoice"];
|
|
1589
1733
|
};
|
|
1590
1734
|
};
|
|
1591
1735
|
400: components["responses"]["BadRequest"];
|
|
1592
1736
|
401: components["responses"]["Unauthorized"];
|
|
1593
|
-
403: components["responses"]["
|
|
1594
|
-
|
|
1595
|
-
|
|
1737
|
+
403: components["responses"]["BillingForbidden"];
|
|
1738
|
+
409: components["responses"]["BillingInvoiceConflict"];
|
|
1739
|
+
503: components["responses"]["Unavailable"];
|
|
1596
1740
|
};
|
|
1597
1741
|
};
|
|
1598
|
-
|
|
1742
|
+
getBillingInvoice: {
|
|
1599
1743
|
parameters: {
|
|
1600
|
-
query?:
|
|
1601
|
-
cursor?: components["parameters"]["Cursor"];
|
|
1602
|
-
limit?: components["parameters"]["Limit"];
|
|
1603
|
-
};
|
|
1744
|
+
query?: never;
|
|
1604
1745
|
header?: never;
|
|
1605
|
-
path
|
|
1746
|
+
path: {
|
|
1747
|
+
invoice_id: components["parameters"]["invoice_id"];
|
|
1748
|
+
};
|
|
1606
1749
|
cookie?: never;
|
|
1607
1750
|
};
|
|
1608
1751
|
requestBody?: never;
|
|
1609
1752
|
responses: {
|
|
1610
|
-
/** @description
|
|
1753
|
+
/** @description Successful scoped billing response. */
|
|
1611
1754
|
200: {
|
|
1612
1755
|
headers: {
|
|
1613
|
-
"X-Request-Id"?: string;
|
|
1614
1756
|
[name: string]: unknown;
|
|
1615
1757
|
};
|
|
1616
1758
|
content: {
|
|
1617
|
-
"application/json": components["schemas"]["
|
|
1759
|
+
"application/json": components["schemas"]["BillingInvoice"];
|
|
1618
1760
|
};
|
|
1619
1761
|
};
|
|
1620
|
-
400: components["responses"]["BadRequest"];
|
|
1621
1762
|
401: components["responses"]["Unauthorized"];
|
|
1622
|
-
403: components["responses"]["
|
|
1763
|
+
403: components["responses"]["BillingForbidden"];
|
|
1623
1764
|
404: components["responses"]["NotFound"];
|
|
1624
|
-
409: components["responses"]["Conflict"];
|
|
1625
|
-
429: components["responses"]["RateLimited"];
|
|
1626
1765
|
503: components["responses"]["Unavailable"];
|
|
1627
1766
|
};
|
|
1628
1767
|
};
|
|
1629
|
-
|
|
1768
|
+
authorizeBillingInvoice: {
|
|
1630
1769
|
parameters: {
|
|
1631
1770
|
query?: never;
|
|
1632
1771
|
header: {
|
|
1633
|
-
/** @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.
|
|
1772
|
+
/** @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. */
|
|
1634
1773
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1635
1774
|
};
|
|
1636
|
-
path
|
|
1775
|
+
path: {
|
|
1776
|
+
invoice_id: components["parameters"]["invoice_id"];
|
|
1777
|
+
};
|
|
1637
1778
|
cookie?: never;
|
|
1638
1779
|
};
|
|
1639
1780
|
requestBody: {
|
|
1640
1781
|
content: {
|
|
1641
|
-
"application/json": components["schemas"]["
|
|
1782
|
+
"application/json": components["schemas"]["AuthorizeChainIntent"];
|
|
1642
1783
|
};
|
|
1643
1784
|
};
|
|
1644
1785
|
responses: {
|
|
1645
|
-
/** @description
|
|
1646
|
-
|
|
1786
|
+
/** @description Successful scoped billing response. */
|
|
1787
|
+
200: {
|
|
1647
1788
|
headers: {
|
|
1648
|
-
"X-Request-Id"?: string;
|
|
1649
1789
|
[name: string]: unknown;
|
|
1650
1790
|
};
|
|
1651
1791
|
content: {
|
|
1652
|
-
"application/json": components["schemas"]["
|
|
1792
|
+
"application/json": components["schemas"]["BillingInvoice"];
|
|
1653
1793
|
};
|
|
1654
1794
|
};
|
|
1655
1795
|
400: components["responses"]["BadRequest"];
|
|
1656
1796
|
401: components["responses"]["Unauthorized"];
|
|
1657
|
-
403: components["responses"]["
|
|
1797
|
+
403: components["responses"]["BillingForbidden"];
|
|
1658
1798
|
404: components["responses"]["NotFound"];
|
|
1659
1799
|
409: components["responses"]["Conflict"];
|
|
1660
|
-
429: components["responses"]["RateLimited"];
|
|
1661
1800
|
503: components["responses"]["Unavailable"];
|
|
1662
1801
|
};
|
|
1663
1802
|
};
|
|
1664
|
-
|
|
1803
|
+
submitBillingInvoice: {
|
|
1665
1804
|
parameters: {
|
|
1666
1805
|
query?: never;
|
|
1667
|
-
header
|
|
1806
|
+
header: {
|
|
1807
|
+
/** @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. */
|
|
1808
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1809
|
+
};
|
|
1668
1810
|
path: {
|
|
1669
|
-
|
|
1811
|
+
invoice_id: components["parameters"]["invoice_id"];
|
|
1670
1812
|
};
|
|
1671
1813
|
cookie?: never;
|
|
1672
1814
|
};
|
|
1673
|
-
requestBody
|
|
1815
|
+
requestBody: {
|
|
1816
|
+
content: {
|
|
1817
|
+
"application/json": components["schemas"]["SubmitChainIntent"];
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1674
1820
|
responses: {
|
|
1675
|
-
/** @description
|
|
1821
|
+
/** @description Successful scoped billing response. */
|
|
1676
1822
|
200: {
|
|
1677
1823
|
headers: {
|
|
1678
|
-
"X-Request-Id"?: string;
|
|
1679
1824
|
[name: string]: unknown;
|
|
1680
1825
|
};
|
|
1681
1826
|
content: {
|
|
1682
|
-
"application/json": components["schemas"]["
|
|
1827
|
+
"application/json": components["schemas"]["BillingInvoice"];
|
|
1683
1828
|
};
|
|
1684
1829
|
};
|
|
1685
1830
|
400: components["responses"]["BadRequest"];
|
|
1686
1831
|
401: components["responses"]["Unauthorized"];
|
|
1687
|
-
403: components["responses"]["
|
|
1832
|
+
403: components["responses"]["BillingForbidden"];
|
|
1688
1833
|
404: components["responses"]["NotFound"];
|
|
1689
1834
|
409: components["responses"]["Conflict"];
|
|
1690
|
-
429: components["responses"]["RateLimited"];
|
|
1691
1835
|
503: components["responses"]["Unavailable"];
|
|
1692
1836
|
};
|
|
1693
1837
|
};
|
|
1694
|
-
|
|
1838
|
+
issueBillingKey: {
|
|
1695
1839
|
parameters: {
|
|
1696
1840
|
query?: never;
|
|
1697
1841
|
header: {
|
|
1698
|
-
/** @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.
|
|
1842
|
+
/** @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. */
|
|
1699
1843
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1700
1844
|
};
|
|
1701
|
-
path
|
|
1702
|
-
payment_id: components["parameters"]["payment_id"];
|
|
1703
|
-
};
|
|
1845
|
+
path?: never;
|
|
1704
1846
|
cookie?: never;
|
|
1705
1847
|
};
|
|
1706
1848
|
requestBody: {
|
|
1707
1849
|
content: {
|
|
1708
|
-
"application/json": components["schemas"]["
|
|
1850
|
+
"application/json": components["schemas"]["BillingKeyRequest"];
|
|
1709
1851
|
};
|
|
1710
1852
|
};
|
|
1711
1853
|
responses: {
|
|
1712
|
-
/** @description
|
|
1854
|
+
/** @description Successful scoped billing response. */
|
|
1713
1855
|
201: {
|
|
1714
1856
|
headers: {
|
|
1715
|
-
"X-Request-Id"?: string;
|
|
1716
1857
|
[name: string]: unknown;
|
|
1717
1858
|
};
|
|
1718
1859
|
content: {
|
|
1719
|
-
"application/json": components["schemas"]["
|
|
1860
|
+
"application/json": components["schemas"]["BillingKey"];
|
|
1720
1861
|
};
|
|
1721
1862
|
};
|
|
1722
1863
|
400: components["responses"]["BadRequest"];
|
|
1723
1864
|
401: components["responses"]["Unauthorized"];
|
|
1724
|
-
403: components["responses"]["
|
|
1725
|
-
404: components["responses"]["NotFound"];
|
|
1865
|
+
403: components["responses"]["BillingForbidden"];
|
|
1726
1866
|
409: components["responses"]["Conflict"];
|
|
1727
|
-
429: components["responses"]["RateLimited"];
|
|
1728
1867
|
503: components["responses"]["Unavailable"];
|
|
1729
1868
|
};
|
|
1730
1869
|
};
|
|
1731
|
-
|
|
1870
|
+
listChainAssets: {
|
|
1732
1871
|
parameters: {
|
|
1733
1872
|
query?: never;
|
|
1734
1873
|
header?: never;
|
|
1735
|
-
path
|
|
1736
|
-
quote_id: components["parameters"]["quote_id"];
|
|
1737
|
-
};
|
|
1874
|
+
path?: never;
|
|
1738
1875
|
cookie?: never;
|
|
1739
1876
|
};
|
|
1740
1877
|
requestBody?: never;
|
|
1741
1878
|
responses: {
|
|
1742
|
-
/** @description
|
|
1879
|
+
/** @description Allowlisted assets in rollout order */
|
|
1743
1880
|
200: {
|
|
1744
1881
|
headers: {
|
|
1745
|
-
"X-Request-Id"?: string;
|
|
1746
1882
|
[name: string]: unknown;
|
|
1747
1883
|
};
|
|
1748
1884
|
content: {
|
|
1749
|
-
"application/json": components["schemas"]["
|
|
1885
|
+
"application/json": components["schemas"]["ChainAssets"];
|
|
1750
1886
|
};
|
|
1751
1887
|
};
|
|
1752
|
-
400: components["responses"]["BadRequest"];
|
|
1753
1888
|
401: components["responses"]["Unauthorized"];
|
|
1754
1889
|
403: components["responses"]["Forbidden"];
|
|
1755
|
-
|
|
1756
|
-
409: components["responses"]["Conflict"];
|
|
1757
|
-
429: components["responses"]["RateLimited"];
|
|
1758
|
-
503: components["responses"]["Unavailable"];
|
|
1890
|
+
429: components["responses"]["RequestBudgetExhausted"];
|
|
1759
1891
|
};
|
|
1760
1892
|
};
|
|
1761
|
-
|
|
1893
|
+
createChainConnection: {
|
|
1762
1894
|
parameters: {
|
|
1763
|
-
query?:
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
header?: never;
|
|
1768
|
-
path: {
|
|
1769
|
-
payment_id: components["parameters"]["payment_id"];
|
|
1895
|
+
query?: never;
|
|
1896
|
+
header: {
|
|
1897
|
+
/** @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. */
|
|
1898
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1770
1899
|
};
|
|
1900
|
+
path?: never;
|
|
1771
1901
|
cookie?: never;
|
|
1772
1902
|
};
|
|
1773
|
-
requestBody
|
|
1903
|
+
requestBody: {
|
|
1904
|
+
content: {
|
|
1905
|
+
"application/json": components["schemas"]["CreateChainConnection"];
|
|
1906
|
+
};
|
|
1907
|
+
};
|
|
1774
1908
|
responses: {
|
|
1775
|
-
/** @description
|
|
1776
|
-
|
|
1909
|
+
/** @description Ready connection for a configured chain */
|
|
1910
|
+
201: {
|
|
1777
1911
|
headers: {
|
|
1778
|
-
"X-Request-Id"?: string;
|
|
1779
1912
|
[name: string]: unknown;
|
|
1780
1913
|
};
|
|
1781
1914
|
content: {
|
|
1782
|
-
"application/json": components["schemas"]["
|
|
1915
|
+
"application/json": components["schemas"]["Connection"];
|
|
1783
1916
|
};
|
|
1784
1917
|
};
|
|
1785
1918
|
400: components["responses"]["BadRequest"];
|
|
1786
1919
|
401: components["responses"]["Unauthorized"];
|
|
1787
1920
|
403: components["responses"]["Forbidden"];
|
|
1788
|
-
404: components["responses"]["NotFound"];
|
|
1789
1921
|
409: components["responses"]["Conflict"];
|
|
1790
|
-
429: components["responses"]["RateLimited"];
|
|
1791
1922
|
503: components["responses"]["Unavailable"];
|
|
1792
1923
|
};
|
|
1793
1924
|
};
|
|
1794
|
-
|
|
1925
|
+
registerChainRecipients: {
|
|
1795
1926
|
parameters: {
|
|
1796
1927
|
query?: never;
|
|
1797
1928
|
header: {
|
|
1798
|
-
/** @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.
|
|
1929
|
+
/** @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. */
|
|
1799
1930
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1800
1931
|
};
|
|
1801
1932
|
path: {
|
|
1802
|
-
|
|
1933
|
+
connection_id: components["parameters"]["connection_id"];
|
|
1803
1934
|
};
|
|
1804
1935
|
cookie?: never;
|
|
1805
1936
|
};
|
|
1806
1937
|
requestBody: {
|
|
1807
1938
|
content: {
|
|
1808
|
-
"application/json": components["schemas"]["
|
|
1939
|
+
"application/json": components["schemas"]["RegisterChainRecipients"];
|
|
1809
1940
|
};
|
|
1810
1941
|
};
|
|
1811
1942
|
responses: {
|
|
1812
|
-
/** @description
|
|
1943
|
+
/** @description Registered recipients. Signing material is never returned. */
|
|
1813
1944
|
201: {
|
|
1814
1945
|
headers: {
|
|
1815
|
-
"X-Request-Id"?: string;
|
|
1816
1946
|
[name: string]: unknown;
|
|
1817
1947
|
};
|
|
1818
1948
|
content: {
|
|
1819
|
-
"application/json": components["schemas"]["
|
|
1949
|
+
"application/json": components["schemas"]["ChainRecipients"];
|
|
1820
1950
|
};
|
|
1821
1951
|
};
|
|
1822
|
-
|
|
1823
|
-
|
|
1952
|
+
400: components["responses"]["BadRequest"];
|
|
1953
|
+
401: components["responses"]["Unauthorized"];
|
|
1954
|
+
403: components["responses"]["Forbidden"];
|
|
1955
|
+
404: components["responses"]["NotFound"];
|
|
1956
|
+
409: components["responses"]["Conflict"];
|
|
1957
|
+
};
|
|
1958
|
+
};
|
|
1959
|
+
listPayments: {
|
|
1960
|
+
parameters: {
|
|
1961
|
+
query?: {
|
|
1962
|
+
cursor?: components["parameters"]["Cursor"];
|
|
1963
|
+
limit?: components["parameters"]["Limit"];
|
|
1964
|
+
};
|
|
1965
|
+
header?: never;
|
|
1966
|
+
path?: never;
|
|
1967
|
+
cookie?: never;
|
|
1968
|
+
};
|
|
1969
|
+
requestBody?: never;
|
|
1970
|
+
responses: {
|
|
1971
|
+
/** @description Success */
|
|
1972
|
+
200: {
|
|
1824
1973
|
headers: {
|
|
1825
1974
|
"X-Request-Id"?: string;
|
|
1826
1975
|
[name: string]: unknown;
|
|
1827
1976
|
};
|
|
1828
1977
|
content: {
|
|
1829
|
-
"application/json": components["schemas"]["
|
|
1978
|
+
"application/json": components["schemas"]["PaymentList"];
|
|
1830
1979
|
};
|
|
1831
1980
|
};
|
|
1832
1981
|
400: components["responses"]["BadRequest"];
|
|
@@ -1834,36 +1983,34 @@ export interface operations {
|
|
|
1834
1983
|
403: components["responses"]["Forbidden"];
|
|
1835
1984
|
404: components["responses"]["NotFound"];
|
|
1836
1985
|
409: components["responses"]["Conflict"];
|
|
1837
|
-
429: components["responses"]["
|
|
1986
|
+
429: components["responses"]["RequestBudgetExhausted"];
|
|
1838
1987
|
503: components["responses"]["Unavailable"];
|
|
1839
1988
|
};
|
|
1840
1989
|
};
|
|
1841
|
-
|
|
1990
|
+
createPayment: {
|
|
1842
1991
|
parameters: {
|
|
1843
1992
|
query?: never;
|
|
1844
1993
|
header: {
|
|
1845
|
-
/** @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.
|
|
1994
|
+
/** @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. */
|
|
1846
1995
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1847
1996
|
};
|
|
1848
|
-
path
|
|
1849
|
-
payment_id: components["parameters"]["payment_id"];
|
|
1850
|
-
};
|
|
1997
|
+
path?: never;
|
|
1851
1998
|
cookie?: never;
|
|
1852
1999
|
};
|
|
1853
2000
|
requestBody: {
|
|
1854
2001
|
content: {
|
|
1855
|
-
"application/json": components["schemas"]["
|
|
2002
|
+
"application/json": components["schemas"]["CreatePayment"];
|
|
1856
2003
|
};
|
|
1857
2004
|
};
|
|
1858
2005
|
responses: {
|
|
1859
|
-
/** @description
|
|
2006
|
+
/** @description Payment persisted. No money has been charged. */
|
|
1860
2007
|
201: {
|
|
1861
2008
|
headers: {
|
|
1862
2009
|
"X-Request-Id"?: string;
|
|
1863
2010
|
[name: string]: unknown;
|
|
1864
2011
|
};
|
|
1865
2012
|
content: {
|
|
1866
|
-
"application/json": components["schemas"]["
|
|
2013
|
+
"application/json": components["schemas"]["Payment"];
|
|
1867
2014
|
};
|
|
1868
2015
|
};
|
|
1869
2016
|
400: components["responses"]["BadRequest"];
|
|
@@ -1871,16 +2018,16 @@ export interface operations {
|
|
|
1871
2018
|
403: components["responses"]["Forbidden"];
|
|
1872
2019
|
404: components["responses"]["NotFound"];
|
|
1873
2020
|
409: components["responses"]["Conflict"];
|
|
1874
|
-
429: components["responses"]["
|
|
2021
|
+
429: components["responses"]["RequestBudgetExhausted"];
|
|
1875
2022
|
503: components["responses"]["Unavailable"];
|
|
1876
2023
|
};
|
|
1877
2024
|
};
|
|
1878
|
-
|
|
2025
|
+
getPayment: {
|
|
1879
2026
|
parameters: {
|
|
1880
2027
|
query?: never;
|
|
1881
2028
|
header?: never;
|
|
1882
2029
|
path: {
|
|
1883
|
-
|
|
2030
|
+
payment_id: components["parameters"]["payment_id"];
|
|
1884
2031
|
};
|
|
1885
2032
|
cookie?: never;
|
|
1886
2033
|
};
|
|
@@ -1893,7 +2040,7 @@ export interface operations {
|
|
|
1893
2040
|
[name: string]: unknown;
|
|
1894
2041
|
};
|
|
1895
2042
|
content: {
|
|
1896
|
-
"application/json": components["schemas"]["
|
|
2043
|
+
"application/json": components["schemas"]["Payment"];
|
|
1897
2044
|
};
|
|
1898
2045
|
};
|
|
1899
2046
|
400: components["responses"]["BadRequest"];
|
|
@@ -1905,32 +2052,62 @@ export interface operations {
|
|
|
1905
2052
|
503: components["responses"]["Unavailable"];
|
|
1906
2053
|
};
|
|
1907
2054
|
};
|
|
1908
|
-
|
|
2055
|
+
createQuote: {
|
|
1909
2056
|
parameters: {
|
|
1910
2057
|
query?: never;
|
|
1911
2058
|
header: {
|
|
1912
|
-
/** @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.
|
|
2059
|
+
/** @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. */
|
|
1913
2060
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1914
2061
|
};
|
|
1915
2062
|
path: {
|
|
1916
|
-
|
|
2063
|
+
payment_id: components["parameters"]["payment_id"];
|
|
1917
2064
|
};
|
|
1918
2065
|
cookie?: never;
|
|
1919
2066
|
};
|
|
1920
2067
|
requestBody: {
|
|
1921
2068
|
content: {
|
|
1922
|
-
"application/json": components["schemas"]["
|
|
2069
|
+
"application/json": components["schemas"]["CreateQuote"];
|
|
1923
2070
|
};
|
|
1924
2071
|
};
|
|
1925
2072
|
responses: {
|
|
1926
|
-
/** @description
|
|
1927
|
-
|
|
2073
|
+
/** @description Immutable quote created. */
|
|
2074
|
+
201: {
|
|
1928
2075
|
headers: {
|
|
1929
2076
|
"X-Request-Id"?: string;
|
|
1930
2077
|
[name: string]: unknown;
|
|
1931
2078
|
};
|
|
1932
2079
|
content: {
|
|
1933
|
-
"application/json": components["schemas"]["
|
|
2080
|
+
"application/json": components["schemas"]["Quote"];
|
|
2081
|
+
};
|
|
2082
|
+
};
|
|
2083
|
+
400: components["responses"]["BadRequest"];
|
|
2084
|
+
401: components["responses"]["Unauthorized"];
|
|
2085
|
+
403: components["responses"]["Forbidden"];
|
|
2086
|
+
404: components["responses"]["NotFound"];
|
|
2087
|
+
409: components["responses"]["Conflict"];
|
|
2088
|
+
429: components["responses"]["RequestBudgetExhausted"];
|
|
2089
|
+
503: components["responses"]["Unavailable"];
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
getQuote: {
|
|
2093
|
+
parameters: {
|
|
2094
|
+
query?: never;
|
|
2095
|
+
header?: never;
|
|
2096
|
+
path: {
|
|
2097
|
+
quote_id: components["parameters"]["quote_id"];
|
|
2098
|
+
};
|
|
2099
|
+
cookie?: never;
|
|
2100
|
+
};
|
|
2101
|
+
requestBody?: never;
|
|
2102
|
+
responses: {
|
|
2103
|
+
/** @description Success */
|
|
2104
|
+
200: {
|
|
2105
|
+
headers: {
|
|
2106
|
+
"X-Request-Id"?: string;
|
|
2107
|
+
[name: string]: unknown;
|
|
2108
|
+
};
|
|
2109
|
+
content: {
|
|
2110
|
+
"application/json": components["schemas"]["Quote"];
|
|
1934
2111
|
};
|
|
1935
2112
|
};
|
|
1936
2113
|
400: components["responses"]["BadRequest"];
|
|
@@ -1942,32 +2119,31 @@ export interface operations {
|
|
|
1942
2119
|
503: components["responses"]["Unavailable"];
|
|
1943
2120
|
};
|
|
1944
2121
|
};
|
|
1945
|
-
|
|
2122
|
+
createChainIntent: {
|
|
1946
2123
|
parameters: {
|
|
1947
2124
|
query?: never;
|
|
1948
2125
|
header: {
|
|
1949
|
-
/** @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.
|
|
2126
|
+
/** @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. */
|
|
1950
2127
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1951
2128
|
};
|
|
1952
2129
|
path: {
|
|
1953
|
-
|
|
2130
|
+
quote_id: components["parameters"]["quote_id"];
|
|
1954
2131
|
};
|
|
1955
2132
|
cookie?: never;
|
|
1956
2133
|
};
|
|
1957
2134
|
requestBody: {
|
|
1958
2135
|
content: {
|
|
1959
|
-
"application/json": components["schemas"]["
|
|
2136
|
+
"application/json": components["schemas"]["CreateChainIntent"];
|
|
1960
2137
|
};
|
|
1961
2138
|
};
|
|
1962
2139
|
responses: {
|
|
1963
|
-
/** @description
|
|
1964
|
-
|
|
2140
|
+
/** @description The checkout's payer and wallet approval message. */
|
|
2141
|
+
200: {
|
|
1965
2142
|
headers: {
|
|
1966
|
-
"X-Request-Id"?: string;
|
|
1967
2143
|
[name: string]: unknown;
|
|
1968
2144
|
};
|
|
1969
2145
|
content: {
|
|
1970
|
-
"application/json": components["schemas"]["
|
|
2146
|
+
"application/json": components["schemas"]["ChainIntent"];
|
|
1971
2147
|
};
|
|
1972
2148
|
};
|
|
1973
2149
|
400: components["responses"]["BadRequest"];
|
|
@@ -1979,32 +2155,32 @@ export interface operations {
|
|
|
1979
2155
|
503: components["responses"]["Unavailable"];
|
|
1980
2156
|
};
|
|
1981
2157
|
};
|
|
1982
|
-
|
|
2158
|
+
authorizeChainIntent: {
|
|
1983
2159
|
parameters: {
|
|
1984
2160
|
query?: never;
|
|
1985
2161
|
header: {
|
|
1986
|
-
/** @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.
|
|
2162
|
+
/** @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. */
|
|
1987
2163
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
1988
2164
|
};
|
|
1989
2165
|
path: {
|
|
1990
|
-
|
|
2166
|
+
quote_id: components["parameters"]["quote_id"];
|
|
2167
|
+
intent_id: components["parameters"]["intent_id"];
|
|
1991
2168
|
};
|
|
1992
2169
|
cookie?: never;
|
|
1993
2170
|
};
|
|
1994
2171
|
requestBody: {
|
|
1995
2172
|
content: {
|
|
1996
|
-
"application/json": components["schemas"]["
|
|
2173
|
+
"application/json": components["schemas"]["AuthorizeChainIntent"];
|
|
1997
2174
|
};
|
|
1998
2175
|
};
|
|
1999
2176
|
responses: {
|
|
2000
|
-
/** @description
|
|
2001
|
-
|
|
2177
|
+
/** @description Wallet approval is recorded. */
|
|
2178
|
+
200: {
|
|
2002
2179
|
headers: {
|
|
2003
|
-
"X-Request-Id"?: string;
|
|
2004
2180
|
[name: string]: unknown;
|
|
2005
2181
|
};
|
|
2006
2182
|
content: {
|
|
2007
|
-
"application/json": components["schemas"]["
|
|
2183
|
+
"application/json": components["schemas"]["ChainIntent"];
|
|
2008
2184
|
};
|
|
2009
2185
|
};
|
|
2010
2186
|
400: components["responses"]["BadRequest"];
|
|
@@ -2016,42 +2192,102 @@ export interface operations {
|
|
|
2016
2192
|
503: components["responses"]["Unavailable"];
|
|
2017
2193
|
};
|
|
2018
2194
|
};
|
|
2019
|
-
|
|
2195
|
+
submitChainIntent: {
|
|
2020
2196
|
parameters: {
|
|
2021
2197
|
query?: never;
|
|
2022
2198
|
header: {
|
|
2023
|
-
/** @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.
|
|
2199
|
+
/** @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. */
|
|
2024
2200
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2025
2201
|
};
|
|
2026
2202
|
path: {
|
|
2027
|
-
|
|
2203
|
+
quote_id: components["parameters"]["quote_id"];
|
|
2204
|
+
intent_id: components["parameters"]["intent_id"];
|
|
2028
2205
|
};
|
|
2029
2206
|
cookie?: never;
|
|
2030
2207
|
};
|
|
2031
2208
|
requestBody: {
|
|
2032
2209
|
content: {
|
|
2033
|
-
"application/json": components["schemas"]["
|
|
2210
|
+
"application/json": components["schemas"]["SubmitChainIntent"];
|
|
2034
2211
|
};
|
|
2035
2212
|
};
|
|
2036
2213
|
responses: {
|
|
2037
|
-
/** @description
|
|
2214
|
+
/** @description The transaction claim is recorded for verification. Check the payment for the resulting decision. */
|
|
2215
|
+
200: {
|
|
2216
|
+
headers: {
|
|
2217
|
+
[name: string]: unknown;
|
|
2218
|
+
};
|
|
2219
|
+
content: {
|
|
2220
|
+
"application/json": components["schemas"]["ChainIntent"];
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
400: components["responses"]["BadRequest"];
|
|
2224
|
+
401: components["responses"]["Unauthorized"];
|
|
2225
|
+
403: components["responses"]["Forbidden"];
|
|
2226
|
+
404: components["responses"]["NotFound"];
|
|
2227
|
+
409: components["responses"]["Conflict"];
|
|
2228
|
+
429: components["responses"]["RateLimited"];
|
|
2229
|
+
503: components["responses"]["Unavailable"];
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2232
|
+
listAttempts: {
|
|
2233
|
+
parameters: {
|
|
2234
|
+
query?: {
|
|
2235
|
+
cursor?: components["parameters"]["Cursor"];
|
|
2236
|
+
limit?: components["parameters"]["Limit"];
|
|
2237
|
+
};
|
|
2238
|
+
header?: never;
|
|
2239
|
+
path: {
|
|
2240
|
+
payment_id: components["parameters"]["payment_id"];
|
|
2241
|
+
};
|
|
2242
|
+
cookie?: never;
|
|
2243
|
+
};
|
|
2244
|
+
requestBody?: never;
|
|
2245
|
+
responses: {
|
|
2246
|
+
/** @description Success */
|
|
2038
2247
|
200: {
|
|
2039
2248
|
headers: {
|
|
2040
2249
|
"X-Request-Id"?: string;
|
|
2041
2250
|
[name: string]: unknown;
|
|
2042
2251
|
};
|
|
2043
2252
|
content: {
|
|
2044
|
-
"application/json": components["schemas"]["
|
|
2253
|
+
"application/json": components["schemas"]["AttemptList"];
|
|
2045
2254
|
};
|
|
2046
2255
|
};
|
|
2047
|
-
|
|
2256
|
+
400: components["responses"]["BadRequest"];
|
|
2257
|
+
401: components["responses"]["Unauthorized"];
|
|
2258
|
+
403: components["responses"]["Forbidden"];
|
|
2259
|
+
404: components["responses"]["NotFound"];
|
|
2260
|
+
409: components["responses"]["Conflict"];
|
|
2261
|
+
429: components["responses"]["RequestBudgetExhausted"];
|
|
2262
|
+
503: components["responses"]["Unavailable"];
|
|
2263
|
+
};
|
|
2264
|
+
};
|
|
2265
|
+
createAttempt: {
|
|
2266
|
+
parameters: {
|
|
2267
|
+
query?: never;
|
|
2268
|
+
header: {
|
|
2269
|
+
/** @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. */
|
|
2270
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2271
|
+
};
|
|
2272
|
+
path: {
|
|
2273
|
+
payment_id: components["parameters"]["payment_id"];
|
|
2274
|
+
};
|
|
2275
|
+
cookie?: never;
|
|
2276
|
+
};
|
|
2277
|
+
requestBody: {
|
|
2278
|
+
content: {
|
|
2279
|
+
"application/json": components["schemas"]["CreateAttempt"];
|
|
2280
|
+
};
|
|
2281
|
+
};
|
|
2282
|
+
responses: {
|
|
2283
|
+
/** @description Chain transfer attempt for the assigned quote. */
|
|
2048
2284
|
201: {
|
|
2049
2285
|
headers: {
|
|
2050
2286
|
"X-Request-Id"?: string;
|
|
2051
2287
|
[name: string]: unknown;
|
|
2052
2288
|
};
|
|
2053
2289
|
content: {
|
|
2054
|
-
"application/json": components["schemas"]["
|
|
2290
|
+
"application/json": components["schemas"]["AttemptMutationResult"];
|
|
2055
2291
|
};
|
|
2056
2292
|
};
|
|
2057
2293
|
400: components["responses"]["BadRequest"];
|
|
@@ -2059,16 +2295,15 @@ export interface operations {
|
|
|
2059
2295
|
403: components["responses"]["Forbidden"];
|
|
2060
2296
|
404: components["responses"]["NotFound"];
|
|
2061
2297
|
409: components["responses"]["Conflict"];
|
|
2062
|
-
429: components["responses"]["RateLimited"];
|
|
2063
2298
|
503: components["responses"]["Unavailable"];
|
|
2064
2299
|
};
|
|
2065
2300
|
};
|
|
2066
|
-
|
|
2301
|
+
getAttempt: {
|
|
2067
2302
|
parameters: {
|
|
2068
2303
|
query?: never;
|
|
2069
2304
|
header?: never;
|
|
2070
2305
|
path: {
|
|
2071
|
-
|
|
2306
|
+
attempt_id: components["parameters"]["attempt_id"];
|
|
2072
2307
|
};
|
|
2073
2308
|
cookie?: never;
|
|
2074
2309
|
};
|
|
@@ -2081,7 +2316,7 @@ export interface operations {
|
|
|
2081
2316
|
[name: string]: unknown;
|
|
2082
2317
|
};
|
|
2083
2318
|
content: {
|
|
2084
|
-
"application/json": components["schemas"]["
|
|
2319
|
+
"application/json": components["schemas"]["Attempt"];
|
|
2085
2320
|
};
|
|
2086
2321
|
};
|
|
2087
2322
|
400: components["responses"]["BadRequest"];
|
|
@@ -2093,25 +2328,25 @@ export interface operations {
|
|
|
2093
2328
|
503: components["responses"]["Unavailable"];
|
|
2094
2329
|
};
|
|
2095
2330
|
};
|
|
2096
|
-
|
|
2331
|
+
requestVerification: {
|
|
2097
2332
|
parameters: {
|
|
2098
2333
|
query?: never;
|
|
2099
2334
|
header: {
|
|
2100
|
-
/** @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. Same key with different canonical request -> 409. Claim responses dynamically revalidate validity. */
|
|
2101
2336
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2102
2337
|
};
|
|
2103
2338
|
path: {
|
|
2104
|
-
|
|
2339
|
+
payment_id: components["parameters"]["payment_id"];
|
|
2105
2340
|
};
|
|
2106
2341
|
cookie?: never;
|
|
2107
2342
|
};
|
|
2108
2343
|
requestBody: {
|
|
2109
2344
|
content: {
|
|
2110
|
-
"application/json": components["schemas"]["
|
|
2345
|
+
"application/json": components["schemas"]["VerifyRequest"];
|
|
2111
2346
|
};
|
|
2112
2347
|
};
|
|
2113
2348
|
responses: {
|
|
2114
|
-
/** @description
|
|
2349
|
+
/** @description Verification operation queued. */
|
|
2115
2350
|
202: {
|
|
2116
2351
|
headers: {
|
|
2117
2352
|
"X-Request-Id"?: string;
|
|
@@ -2130,26 +2365,32 @@ export interface operations {
|
|
|
2130
2365
|
503: components["responses"]["Unavailable"];
|
|
2131
2366
|
};
|
|
2132
2367
|
};
|
|
2133
|
-
|
|
2368
|
+
cancelPayment: {
|
|
2134
2369
|
parameters: {
|
|
2135
|
-
query?:
|
|
2136
|
-
|
|
2137
|
-
|
|
2370
|
+
query?: never;
|
|
2371
|
+
header: {
|
|
2372
|
+
/** @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. */
|
|
2373
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2374
|
+
};
|
|
2375
|
+
path: {
|
|
2376
|
+
payment_id: components["parameters"]["payment_id"];
|
|
2138
2377
|
};
|
|
2139
|
-
header?: never;
|
|
2140
|
-
path?: never;
|
|
2141
2378
|
cookie?: never;
|
|
2142
2379
|
};
|
|
2143
|
-
requestBody
|
|
2380
|
+
requestBody: {
|
|
2381
|
+
content: {
|
|
2382
|
+
"application/json": components["schemas"]["CancelPayment"];
|
|
2383
|
+
};
|
|
2384
|
+
};
|
|
2144
2385
|
responses: {
|
|
2145
|
-
/** @description
|
|
2146
|
-
|
|
2386
|
+
/** @description Collection closed locally. Late transfers remain visible. */
|
|
2387
|
+
202: {
|
|
2147
2388
|
headers: {
|
|
2148
2389
|
"X-Request-Id"?: string;
|
|
2149
2390
|
[name: string]: unknown;
|
|
2150
2391
|
};
|
|
2151
2392
|
content: {
|
|
2152
|
-
"application/json": components["schemas"]["
|
|
2393
|
+
"application/json": components["schemas"]["Operation"];
|
|
2153
2394
|
};
|
|
2154
2395
|
};
|
|
2155
2396
|
400: components["responses"]["BadRequest"];
|
|
@@ -2161,30 +2402,42 @@ export interface operations {
|
|
|
2161
2402
|
503: components["responses"]["Unavailable"];
|
|
2162
2403
|
};
|
|
2163
2404
|
};
|
|
2164
|
-
|
|
2405
|
+
reviewPayment: {
|
|
2165
2406
|
parameters: {
|
|
2166
2407
|
query?: never;
|
|
2167
2408
|
header: {
|
|
2168
|
-
/** @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.
|
|
2409
|
+
/** @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. */
|
|
2169
2410
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2170
2411
|
};
|
|
2171
|
-
path
|
|
2412
|
+
path: {
|
|
2413
|
+
payment_id: components["parameters"]["payment_id"];
|
|
2414
|
+
};
|
|
2172
2415
|
cookie?: never;
|
|
2173
2416
|
};
|
|
2174
2417
|
requestBody: {
|
|
2175
2418
|
content: {
|
|
2176
|
-
"application/json": components["schemas"]["
|
|
2419
|
+
"application/json": components["schemas"]["ReviewRequest"];
|
|
2177
2420
|
};
|
|
2178
2421
|
};
|
|
2179
2422
|
responses: {
|
|
2180
|
-
/** @description
|
|
2423
|
+
/** @description Identical previous review result; no repeated grant. */
|
|
2424
|
+
200: {
|
|
2425
|
+
headers: {
|
|
2426
|
+
"X-Request-Id"?: string;
|
|
2427
|
+
[name: string]: unknown;
|
|
2428
|
+
};
|
|
2429
|
+
content: {
|
|
2430
|
+
"application/json": components["schemas"]["ReviewResult"];
|
|
2431
|
+
};
|
|
2432
|
+
};
|
|
2433
|
+
/** @description Review audit and resulting decision committed atomically. */
|
|
2181
2434
|
201: {
|
|
2182
2435
|
headers: {
|
|
2183
2436
|
"X-Request-Id"?: string;
|
|
2184
2437
|
[name: string]: unknown;
|
|
2185
2438
|
};
|
|
2186
2439
|
content: {
|
|
2187
|
-
"application/json": components["schemas"]["
|
|
2440
|
+
"application/json": components["schemas"]["ReviewResult"];
|
|
2188
2441
|
};
|
|
2189
2442
|
};
|
|
2190
2443
|
400: components["responses"]["BadRequest"];
|
|
@@ -2196,12 +2449,12 @@ export interface operations {
|
|
|
2196
2449
|
503: components["responses"]["Unavailable"];
|
|
2197
2450
|
};
|
|
2198
2451
|
};
|
|
2199
|
-
|
|
2452
|
+
getOperation: {
|
|
2200
2453
|
parameters: {
|
|
2201
2454
|
query?: never;
|
|
2202
2455
|
header?: never;
|
|
2203
2456
|
path: {
|
|
2204
|
-
|
|
2457
|
+
operation_id: components["parameters"]["operation_id"];
|
|
2205
2458
|
};
|
|
2206
2459
|
cookie?: never;
|
|
2207
2460
|
};
|
|
@@ -2214,7 +2467,7 @@ export interface operations {
|
|
|
2214
2467
|
[name: string]: unknown;
|
|
2215
2468
|
};
|
|
2216
2469
|
content: {
|
|
2217
|
-
"application/json": components["schemas"]["
|
|
2470
|
+
"application/json": components["schemas"]["Operation"];
|
|
2218
2471
|
};
|
|
2219
2472
|
};
|
|
2220
2473
|
400: components["responses"]["BadRequest"];
|
|
@@ -2226,32 +2479,26 @@ export interface operations {
|
|
|
2226
2479
|
503: components["responses"]["Unavailable"];
|
|
2227
2480
|
};
|
|
2228
2481
|
};
|
|
2229
|
-
|
|
2482
|
+
listConnections: {
|
|
2230
2483
|
parameters: {
|
|
2231
|
-
query?:
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2235
|
-
};
|
|
2236
|
-
path: {
|
|
2237
|
-
connection_id: components["parameters"]["connection_id"];
|
|
2484
|
+
query?: {
|
|
2485
|
+
cursor?: components["parameters"]["Cursor"];
|
|
2486
|
+
limit?: components["parameters"]["Limit"];
|
|
2238
2487
|
};
|
|
2488
|
+
header?: never;
|
|
2489
|
+
path?: never;
|
|
2239
2490
|
cookie?: never;
|
|
2240
2491
|
};
|
|
2241
|
-
requestBody
|
|
2242
|
-
content: {
|
|
2243
|
-
"application/json": components["schemas"]["ConnectionValidation"];
|
|
2244
|
-
};
|
|
2245
|
-
};
|
|
2492
|
+
requestBody?: never;
|
|
2246
2493
|
responses: {
|
|
2247
|
-
/** @description
|
|
2248
|
-
|
|
2494
|
+
/** @description Success */
|
|
2495
|
+
200: {
|
|
2249
2496
|
headers: {
|
|
2250
2497
|
"X-Request-Id"?: string;
|
|
2251
2498
|
[name: string]: unknown;
|
|
2252
2499
|
};
|
|
2253
2500
|
content: {
|
|
2254
|
-
"application/json": components["schemas"]["
|
|
2501
|
+
"application/json": components["schemas"]["ConnectionList"];
|
|
2255
2502
|
};
|
|
2256
2503
|
};
|
|
2257
2504
|
400: components["responses"]["BadRequest"];
|
|
@@ -2259,29 +2506,22 @@ export interface operations {
|
|
|
2259
2506
|
403: components["responses"]["Forbidden"];
|
|
2260
2507
|
404: components["responses"]["NotFound"];
|
|
2261
2508
|
409: components["responses"]["Conflict"];
|
|
2262
|
-
429: components["responses"]["
|
|
2509
|
+
429: components["responses"]["RequestBudgetExhausted"];
|
|
2263
2510
|
503: components["responses"]["Unavailable"];
|
|
2264
2511
|
};
|
|
2265
2512
|
};
|
|
2266
|
-
|
|
2513
|
+
getConnection: {
|
|
2267
2514
|
parameters: {
|
|
2268
2515
|
query?: never;
|
|
2269
|
-
header
|
|
2270
|
-
/** @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. Never required on provider webhook ingress. */
|
|
2271
|
-
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2272
|
-
};
|
|
2516
|
+
header?: never;
|
|
2273
2517
|
path: {
|
|
2274
2518
|
connection_id: components["parameters"]["connection_id"];
|
|
2275
2519
|
};
|
|
2276
2520
|
cookie?: never;
|
|
2277
2521
|
};
|
|
2278
|
-
requestBody
|
|
2279
|
-
content: {
|
|
2280
|
-
"application/json": components["schemas"]["RotateConnectionCredentials"];
|
|
2281
|
-
};
|
|
2282
|
-
};
|
|
2522
|
+
requestBody?: never;
|
|
2283
2523
|
responses: {
|
|
2284
|
-
/** @description
|
|
2524
|
+
/** @description Success */
|
|
2285
2525
|
200: {
|
|
2286
2526
|
headers: {
|
|
2287
2527
|
"X-Request-Id"?: string;
|
|
@@ -2296,7 +2536,7 @@ export interface operations {
|
|
|
2296
2536
|
403: components["responses"]["Forbidden"];
|
|
2297
2537
|
404: components["responses"]["NotFound"];
|
|
2298
2538
|
409: components["responses"]["Conflict"];
|
|
2299
|
-
429: components["responses"]["
|
|
2539
|
+
429: components["responses"]["RequestBudgetExhausted"];
|
|
2300
2540
|
503: components["responses"]["Unavailable"];
|
|
2301
2541
|
};
|
|
2302
2542
|
};
|
|
@@ -2304,7 +2544,7 @@ export interface operations {
|
|
|
2304
2544
|
parameters: {
|
|
2305
2545
|
query?: never;
|
|
2306
2546
|
header: {
|
|
2307
|
-
/** @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.
|
|
2547
|
+
/** @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. */
|
|
2308
2548
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2309
2549
|
};
|
|
2310
2550
|
path: {
|
|
@@ -2333,7 +2573,6 @@ export interface operations {
|
|
|
2333
2573
|
403: components["responses"]["Forbidden"];
|
|
2334
2574
|
404: components["responses"]["NotFound"];
|
|
2335
2575
|
409: components["responses"]["Conflict"];
|
|
2336
|
-
429: components["responses"]["RateLimited"];
|
|
2337
2576
|
503: components["responses"]["Unavailable"];
|
|
2338
2577
|
};
|
|
2339
2578
|
};
|
|
@@ -2341,7 +2580,7 @@ export interface operations {
|
|
|
2341
2580
|
parameters: {
|
|
2342
2581
|
query?: never;
|
|
2343
2582
|
header: {
|
|
2344
|
-
/** @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.
|
|
2583
|
+
/** @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. */
|
|
2345
2584
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2346
2585
|
};
|
|
2347
2586
|
path?: never;
|
|
@@ -2368,7 +2607,6 @@ export interface operations {
|
|
|
2368
2607
|
403: components["responses"]["Forbidden"];
|
|
2369
2608
|
404: components["responses"]["NotFound"];
|
|
2370
2609
|
409: components["responses"]["Conflict"];
|
|
2371
|
-
429: components["responses"]["RateLimited"];
|
|
2372
2610
|
503: components["responses"]["Unavailable"];
|
|
2373
2611
|
};
|
|
2374
2612
|
};
|
|
@@ -2398,7 +2636,7 @@ export interface operations {
|
|
|
2398
2636
|
403: components["responses"]["Forbidden"];
|
|
2399
2637
|
404: components["responses"]["NotFound"];
|
|
2400
2638
|
409: components["responses"]["Conflict"];
|
|
2401
|
-
429: components["responses"]["
|
|
2639
|
+
429: components["responses"]["RequestBudgetExhausted"];
|
|
2402
2640
|
503: components["responses"]["Unavailable"];
|
|
2403
2641
|
};
|
|
2404
2642
|
};
|
|
@@ -2406,7 +2644,7 @@ export interface operations {
|
|
|
2406
2644
|
parameters: {
|
|
2407
2645
|
query?: never;
|
|
2408
2646
|
header: {
|
|
2409
|
-
/** @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.
|
|
2647
|
+
/** @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. */
|
|
2410
2648
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2411
2649
|
};
|
|
2412
2650
|
path: {
|
|
@@ -2435,38 +2673,6 @@ export interface operations {
|
|
|
2435
2673
|
403: components["responses"]["Forbidden"];
|
|
2436
2674
|
404: components["responses"]["NotFound"];
|
|
2437
2675
|
409: components["responses"]["Conflict"];
|
|
2438
|
-
429: components["responses"]["RateLimited"];
|
|
2439
|
-
503: components["responses"]["Unavailable"];
|
|
2440
|
-
};
|
|
2441
|
-
};
|
|
2442
|
-
ingestProviderWebhook: {
|
|
2443
|
-
parameters: {
|
|
2444
|
-
query?: never;
|
|
2445
|
-
header?: never;
|
|
2446
|
-
path: {
|
|
2447
|
-
connection_id: components["parameters"]["connection_id"];
|
|
2448
|
-
};
|
|
2449
|
-
cookie?: never;
|
|
2450
|
-
};
|
|
2451
|
-
/** @description Schema differs by pinned provider event version. Raw bytes, not parsed/re-serialized JSON, feed signature verification. */
|
|
2452
|
-
requestBody: {
|
|
2453
|
-
content: {
|
|
2454
|
-
"application/json": {
|
|
2455
|
-
[key: string]: unknown;
|
|
2456
|
-
};
|
|
2457
|
-
};
|
|
2458
|
-
};
|
|
2459
|
-
responses: {
|
|
2460
|
-
/** @description Authenticated event persisted or already present; not payment/fulfillment approval. */
|
|
2461
|
-
202: {
|
|
2462
|
-
headers: {
|
|
2463
|
-
[name: string]: unknown;
|
|
2464
|
-
};
|
|
2465
|
-
content?: never;
|
|
2466
|
-
};
|
|
2467
|
-
400: components["responses"]["BadRequest"];
|
|
2468
|
-
401: components["responses"]["Unauthorized"];
|
|
2469
|
-
403: components["responses"]["Forbidden"];
|
|
2470
2676
|
503: components["responses"]["Unavailable"];
|
|
2471
2677
|
};
|
|
2472
2678
|
};
|
|
@@ -2497,7 +2703,7 @@ export interface operations {
|
|
|
2497
2703
|
403: components["responses"]["Forbidden"];
|
|
2498
2704
|
404: components["responses"]["NotFound"];
|
|
2499
2705
|
409: components["responses"]["Conflict"];
|
|
2500
|
-
429: components["responses"]["
|
|
2706
|
+
429: components["responses"]["RequestBudgetExhausted"];
|
|
2501
2707
|
503: components["responses"]["Unavailable"];
|
|
2502
2708
|
};
|
|
2503
2709
|
};
|
|
@@ -2535,7 +2741,7 @@ export interface operations {
|
|
|
2535
2741
|
parameters: {
|
|
2536
2742
|
query?: never;
|
|
2537
2743
|
header: {
|
|
2538
|
-
/** @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.
|
|
2744
|
+
/** @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. */
|
|
2539
2745
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2540
2746
|
};
|
|
2541
2747
|
path: {
|
|
@@ -2572,7 +2778,7 @@ export interface operations {
|
|
|
2572
2778
|
parameters: {
|
|
2573
2779
|
query?: never;
|
|
2574
2780
|
header: {
|
|
2575
|
-
/** @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.
|
|
2781
|
+
/** @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. */
|
|
2576
2782
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2577
2783
|
};
|
|
2578
2784
|
path: {
|
|
@@ -2619,7 +2825,7 @@ export interface operations {
|
|
|
2619
2825
|
parameters: {
|
|
2620
2826
|
query?: never;
|
|
2621
2827
|
header: {
|
|
2622
|
-
/** @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.
|
|
2828
|
+
/** @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. */
|
|
2623
2829
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
2624
2830
|
};
|
|
2625
2831
|
path: {
|