@calm-xyz/core 0.11.0 → 0.13.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +987 -2121
  2. package/dist/index.js +343 -738
  3. package/package.json +4 -1
package/dist/index.d.ts CHANGED
@@ -17,86 +17,46 @@ type Error$1 = {
17
17
  message: string;
18
18
  };
19
19
  };
20
- type CheckoutCardPathParams = {
21
- /**
22
- * @pattern ^0x[a-fA-F0-9]{40}$
23
- * @type string
24
- */
25
- address: string;
26
- };
27
20
  /**
28
- * @description The submitted card checkout.
21
+ * @description The started card checkout.
29
22
  */
30
- type CheckoutCard200 = ({
31
- /**
32
- * @type object
33
- */
34
- card: {
35
- /**
36
- * @type string | undefined
37
- */
38
- brand?: string;
39
- /**
40
- * @type string | undefined
41
- */
42
- last_four?: string;
43
- };
23
+ type CheckoutCard200 = {
44
24
  /**
45
25
  * @type string, uuid
46
26
  */
47
27
  order_id: string;
48
28
  /**
49
- * @type string
50
- */
51
- status: "submitted";
52
- } | {
53
- /**
54
- * @type object
55
- */
56
- challenge: {
57
- /**
58
- * @type string
59
- */
60
- creq: string;
61
- /**
62
- * @type string
63
- */
64
- transaction_id: string;
65
- /**
66
- * @type string, uri
67
- */
68
- url: string;
69
- };
70
- /**
71
- * @type string
29
+ * @type string, uri
72
30
  */
73
- status: "requires_3ds";
74
- });
31
+ url: string;
32
+ };
75
33
  /**
76
- * @description Bad Request — `error.code` includes: card_3d_secure_challenge_failed, card_3d_secure_rejected, card_3d_secure_verification_failed, card_account_blocked, card_account_closed, card_account_not_activated, card_activity_limit_exceeded, card_address_mismatch, card_brand_unsupported, card_chargeback_protection_declined, card_contact_issuer, card_country_unsupported, card_daily_purchase_limit_reached, card_declined, card_do_not_honor, card_exceeds_withdrawal_limit, card_expired, card_fraud_security_decline, card_insufficient_funds, card_invalid_amount, card_invalid_input, card_invalid_number, card_invalid_transaction, card_issuing_country_unsupported, card_location_unsupported, card_locked, card_lost, card_name_mismatch, card_no_such_issuer, card_not_activated, card_partial_approval, card_payment_method_blocked, card_payment_method_in_use, card_pickup, card_pickup_special_condition, card_record_not_found, card_reenter_transaction, card_refer_to_issuer, card_refer_to_issuer_special_condition, card_security_code_mismatch, card_security_violation, card_state_unsupported, card_state_unsupported_by_ip_address, card_stolen, card_suspected_fraud, card_transaction_frequency_limit_exceeded, card_transaction_not_permitted, card_transaction_not_supported, card_violation, deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
34
+ * @description Bad Request — `error.code` includes: amount_below_minimum, publishable_key_missing, unsupported_chain, validation_error.
77
35
  */
78
36
  type CheckoutCard400 = Error$1;
79
37
  /**
80
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
38
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
81
39
  */
82
40
  type CheckoutCard401 = Error$1;
83
41
  /**
84
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
42
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
85
43
  */
86
44
  type CheckoutCard403 = Error$1;
87
- /**
88
- * @description Not Found — `error.code` includes: customer_not_registered.
89
- */
90
- type CheckoutCard404 = Error$1;
91
45
  /**
92
46
  * @description Too Many Requests — `error.code` includes: rate_limited.
93
47
  */
94
48
  type CheckoutCard429 = Error$1;
95
49
  /**
96
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
50
+ * @description Bad Gateway — `error.code` includes: quote_unavailable.
97
51
  */
98
52
  type CheckoutCard502 = Error$1;
99
- declare const checkoutCardMutationRequestChainEnum: {
53
+ declare const checkoutCardMutationRequestCurrencyEnum: {
54
+ readonly USD: "USD";
55
+ readonly GBP: "GBP";
56
+ readonly EUR: "EUR";
57
+ };
58
+ type CheckoutCardMutationRequestCurrencyEnumKey = (typeof checkoutCardMutationRequestCurrencyEnum)[keyof typeof checkoutCardMutationRequestCurrencyEnum];
59
+ declare const checkoutCardMutationRequestDestinationChainEnum: {
100
60
  readonly "1": 1;
101
61
  readonly "8453": 8453;
102
62
  readonly "999": 999;
@@ -104,173 +64,67 @@ declare const checkoutCardMutationRequestChainEnum: {
104
64
  readonly "4326": 4326;
105
65
  readonly "143": 143;
106
66
  readonly "137": 137;
67
+ readonly "42161": 42161;
107
68
  };
108
- type CheckoutCardMutationRequestChainEnumKey = (typeof checkoutCardMutationRequestChainEnum)[keyof typeof checkoutCardMutationRequestChainEnum];
69
+ type CheckoutCardMutationRequestDestinationChainEnumKey = (typeof checkoutCardMutationRequestDestinationChainEnum)[keyof typeof checkoutCardMutationRequestDestinationChainEnum];
109
70
  declare const checkoutCardMutationRequestDestinationTokenEnum: {
110
- readonly usdc: "usdc";
111
- readonly usdm: "usdm";
112
- readonly ausd: "ausd";
113
- readonly "usdc.e": "usdc.e";
71
+ readonly USDC: "USDC";
72
+ readonly USDm: "USDm";
73
+ readonly AUSD: "AUSD";
74
+ readonly "USDC.e": "USDC.e";
114
75
  };
115
76
  type CheckoutCardMutationRequestDestinationTokenEnumKey = (typeof checkoutCardMutationRequestDestinationTokenEnum)[keyof typeof checkoutCardMutationRequestDestinationTokenEnum];
77
+ declare const checkoutCardMutationRequestTradeTypeEnum: {
78
+ readonly EXACT_INPUT: "EXACT_INPUT";
79
+ readonly EXACT_OUTPUT: "EXACT_OUTPUT";
80
+ };
81
+ type CheckoutCardMutationRequestTradeTypeEnumKey = (typeof checkoutCardMutationRequestTradeTypeEnum)[keyof typeof checkoutCardMutationRequestTradeTypeEnum];
116
82
  type CheckoutCardMutationRequest = {
117
83
  /**
118
- * @pattern ^\d{1,7}(\.\d{1,2})?$
84
+ * @pattern ^\d{1,12}(\.\d{1,8})?$
119
85
  * @type string
120
86
  */
121
- amount_usd: string;
87
+ amount: string;
122
88
  /**
123
- * @default "USDC"
124
- * @type string | undefined
89
+ * @pattern ^[A-Z]{2}$
90
+ * @type string
125
91
  */
126
- asset?: "USDC";
127
- authentication_3ds?: ({
128
- /**
129
- * @type number
130
- */
131
- color_depth: number;
132
- /**
133
- * @type number
134
- */
135
- screen_height: number;
136
- /**
137
- * @type number
138
- */
139
- screen_width: number;
140
- /**
141
- * @type number
142
- */
143
- time_zone: number;
144
- } | {
145
- /**
146
- * @minLength 1
147
- * @type string
148
- */
149
- transaction_id: string;
150
- });
92
+ country: string;
151
93
  /**
152
- * @type object
94
+ * @type string
153
95
  */
154
- billing: {
155
- /**
156
- * @minLength 1
157
- * @type string
158
- */
159
- city: string;
160
- /**
161
- * @minLength 2
162
- * @maxLength 2
163
- * @type string
164
- */
165
- country: string;
166
- /**
167
- * @minLength 1
168
- * @type string
169
- */
170
- line1: string;
171
- /**
172
- * @type string | undefined
173
- */
174
- line2?: string;
175
- /**
176
- * @minLength 1
177
- * @type string
178
- */
179
- postal_code: string;
180
- /**
181
- * @minLength 1
182
- * @type string
183
- */
184
- state: string;
185
- };
96
+ currency: CheckoutCardMutationRequestCurrencyEnumKey;
186
97
  /**
187
98
  * @type number
188
99
  */
189
- chain: CheckoutCardMutationRequestChainEnumKey;
100
+ destination_chain: CheckoutCardMutationRequestDestinationChainEnumKey;
190
101
  /**
191
- * @type object
102
+ * @type string
192
103
  */
193
- customer: {
194
- /**
195
- * @type string, email
196
- */
197
- email: string;
198
- /**
199
- * @minLength 1
200
- * @type string
201
- */
202
- first_name: string;
203
- /**
204
- * @minLength 1
205
- * @type string
206
- */
207
- last_name: string;
208
- };
104
+ destination_token: CheckoutCardMutationRequestDestinationTokenEnumKey;
209
105
  /**
210
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
211
- * @type string | undefined
106
+ * @pattern ^[a-z0-9-]{2,32}$
107
+ * @type string
212
108
  */
213
- destination_token?: CheckoutCardMutationRequestDestinationTokenEnumKey;
109
+ payment_method: string;
214
110
  /**
111
+ * @default "EXACT_INPUT"
215
112
  * @type string | undefined
216
113
  */
217
- device_id?: string;
114
+ trade_type?: CheckoutCardMutationRequestTradeTypeEnumKey;
218
115
  /**
219
- * @type object
116
+ * @pattern ^0x[a-fA-F0-9]{40}$
117
+ * @type string
220
118
  */
221
- secure_card: {
222
- /**
223
- * @type string | undefined
224
- */
225
- bin?: string;
226
- /**
227
- * @type string | undefined
228
- */
229
- brand?: string;
230
- /**
231
- * @minLength 1
232
- * @type string
233
- */
234
- encrypted_cvc: string;
235
- /**
236
- * @minLength 1
237
- * @type string
238
- */
239
- encrypted_number: string;
240
- /**
241
- * @type object
242
- */
243
- expiry: {
244
- /**
245
- * @minLength 1
246
- * @type string
247
- */
248
- month: string;
249
- /**
250
- * @minLength 1
251
- * @type string
252
- */
253
- year: string;
254
- };
255
- /**
256
- * @type string | undefined
257
- */
258
- last_four?: string;
259
- };
119
+ wallet: string;
260
120
  };
261
121
  type CheckoutCardMutationResponse = CheckoutCard200;
262
122
  type CheckoutCardMutation = {
263
123
  Response: CheckoutCard200;
264
124
  Request: CheckoutCardMutationRequest;
265
- PathParams: CheckoutCardPathParams;
266
- Errors: CheckoutCard400 | CheckoutCard401 | CheckoutCard403 | CheckoutCard404 | CheckoutCard429 | CheckoutCard502;
125
+ Errors: CheckoutCard400 | CheckoutCard401 | CheckoutCard403 | CheckoutCard429 | CheckoutCard502;
267
126
  };
268
127
  type CheckoutStripeSessionPathParams = {
269
- /**
270
- * @pattern ^0x[a-fA-F0-9]{40}$
271
- * @type string
272
- */
273
- address: string;
274
128
  /**
275
129
  * @minLength 1
276
130
  * @type string
@@ -287,11 +141,11 @@ type CheckoutStripeSession200 = {
287
141
  client_secret: string | null;
288
142
  };
289
143
  /**
290
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
144
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
291
145
  */
292
146
  type CheckoutStripeSession400 = Error$1;
293
147
  /**
294
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
148
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
295
149
  */
296
150
  type CheckoutStripeSession401 = Error$1;
297
151
  /**
@@ -299,7 +153,7 @@ type CheckoutStripeSession401 = Error$1;
299
153
  */
300
154
  type CheckoutStripeSession402 = Error$1;
301
155
  /**
302
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
156
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
303
157
  */
304
158
  type CheckoutStripeSession403 = Error$1;
305
159
  /**
@@ -318,35 +172,25 @@ type CheckoutStripeSession429 = Error$1;
318
172
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
319
173
  */
320
174
  type CheckoutStripeSession502 = Error$1;
175
+ type CheckoutStripeSessionMutationRequest = {
176
+ /**
177
+ * @pattern ^0x[a-fA-F0-9]{40}$
178
+ * @type string
179
+ */
180
+ wallet: string;
181
+ };
321
182
  type CheckoutStripeSessionMutationResponse = CheckoutStripeSession200;
322
183
  type CheckoutStripeSessionMutation = {
323
184
  Response: CheckoutStripeSession200;
185
+ Request: CheckoutStripeSessionMutationRequest;
324
186
  PathParams: CheckoutStripeSessionPathParams;
325
187
  Errors: CheckoutStripeSession400 | CheckoutStripeSession401 | CheckoutStripeSession402 | CheckoutStripeSession403 | CheckoutStripeSession404 | CheckoutStripeSession409 | CheckoutStripeSession429 | CheckoutStripeSession502;
326
188
  };
327
- /**
328
- * @description Cookies cleared.
329
- */
330
- type ClearSession204 = any;
331
- /**
332
- * @description Too Many Requests — `error.code` includes: rate_limited.
333
- */
334
- type ClearSession429 = Error$1;
335
- type ClearSessionMutationResponse = ClearSession204;
336
- type ClearSessionMutation = {
337
- Response: ClearSession204;
338
- Errors: ClearSession429;
339
- };
340
189
  declare const connectExchangePathParamsExchangeEnum: {
341
190
  readonly coinbase: "coinbase";
342
191
  };
343
192
  type ConnectExchangePathParamsExchangeEnumKey = (typeof connectExchangePathParamsExchangeEnum)[keyof typeof connectExchangePathParamsExchangeEnum];
344
193
  type ConnectExchangePathParams = {
345
- /**
346
- * @pattern ^0x[a-fA-F0-9]{40}$
347
- * @type string
348
- */
349
- address: string;
350
194
  /**
351
195
  * @type string
352
196
  */
@@ -366,21 +210,17 @@ type ConnectExchange200 = {
366
210
  url: string;
367
211
  };
368
212
  /**
369
- * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet, unsupported_exchange.
213
+ * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, publishable_key_missing, unsupported_exchange, validation_error.
370
214
  */
371
215
  type ConnectExchange400 = Error$1;
372
216
  /**
373
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
217
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
374
218
  */
375
219
  type ConnectExchange401 = Error$1;
376
220
  /**
377
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
221
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
378
222
  */
379
223
  type ConnectExchange403 = Error$1;
380
- /**
381
- * @description Not Found — `error.code` includes: customer_not_registered.
382
- */
383
- type ConnectExchange404 = Error$1;
384
224
  /**
385
225
  * @description Too Many Requests — `error.code` includes: rate_limited.
386
226
  */
@@ -389,18 +229,19 @@ type ConnectExchange429 = Error$1;
389
229
  * @description Bad Gateway — `error.code` includes: apikey_insufficient_permissions, exchange_provider_error, generic_internal_server_error, generic_unauthorized, oauth_authorization_failed, oauth_insufficient_scope, oauth_invalid_state, oauth_token_exchange_failed.
390
230
  */
391
231
  type ConnectExchange502 = Error$1;
392
- type ConnectExchangeMutationResponse = ConnectExchange200;
393
- type ConnectExchangeMutation = {
394
- Response: ConnectExchange200;
395
- PathParams: ConnectExchangePathParams;
396
- Errors: ConnectExchange400 | ConnectExchange401 | ConnectExchange403 | ConnectExchange404 | ConnectExchange429 | ConnectExchange502;
397
- };
398
- type CreateBlinkSignaturePathParams = {
232
+ type ConnectExchangeMutationRequest = {
399
233
  /**
400
234
  * @pattern ^0x[a-fA-F0-9]{40}$
401
235
  * @type string
402
236
  */
403
- address: string;
237
+ wallet: string;
238
+ };
239
+ type ConnectExchangeMutationResponse = ConnectExchange200;
240
+ type ConnectExchangeMutation = {
241
+ Response: ConnectExchange200;
242
+ Request: ConnectExchangeMutationRequest;
243
+ PathParams: ConnectExchangePathParams;
244
+ Errors: ConnectExchange400 | ConnectExchange401 | ConnectExchange403 | ConnectExchange429 | ConnectExchange502;
404
245
  };
405
246
  /**
406
247
  * @description The signed deposit authorization.
@@ -427,7 +268,7 @@ type CreateBlinkSignature200 = {
427
268
  */
428
269
  amount: number | null;
429
270
  /**
430
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
271
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137, 42161 — additive; tolerate unknown values.
431
272
  * @minLength -9007199254740991
432
273
  * @maxLength 9007199254740991
433
274
  * @type integer
@@ -448,15 +289,15 @@ type CreateBlinkSignature200 = {
448
289
  signature: string;
449
290
  };
450
291
  /**
451
- * @description Bad Request — `error.code` includes: invalid_wallet, unsupported_chain, validation_error.
292
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
452
293
  */
453
294
  type CreateBlinkSignature400 = Error$1;
454
295
  /**
455
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
296
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
456
297
  */
457
298
  type CreateBlinkSignature401 = Error$1;
458
299
  /**
459
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
300
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
460
301
  */
461
302
  type CreateBlinkSignature403 = Error$1;
462
303
  /**
@@ -471,13 +312,14 @@ declare const createBlinkSignatureMutationRequestDestinationChainEnum: {
471
312
  readonly "4326": 4326;
472
313
  readonly "143": 143;
473
314
  readonly "137": 137;
315
+ readonly "42161": 42161;
474
316
  };
475
317
  type CreateBlinkSignatureMutationRequestDestinationChainEnumKey = (typeof createBlinkSignatureMutationRequestDestinationChainEnum)[keyof typeof createBlinkSignatureMutationRequestDestinationChainEnum];
476
318
  declare const createBlinkSignatureMutationRequestDestinationTokenEnum: {
477
- readonly usdc: "usdc";
478
- readonly usdm: "usdm";
479
- readonly ausd: "ausd";
480
- readonly "usdc.e": "usdc.e";
319
+ readonly USDC: "USDC";
320
+ readonly USDm: "USDm";
321
+ readonly AUSD: "AUSD";
322
+ readonly "USDC.e": "USDC.e";
481
323
  };
482
324
  type CreateBlinkSignatureMutationRequestDestinationTokenEnumKey = (typeof createBlinkSignatureMutationRequestDestinationTokenEnum)[keyof typeof createBlinkSignatureMutationRequestDestinationTokenEnum];
483
325
  type CreateBlinkSignatureMutationRequest = {
@@ -491,61 +333,80 @@ type CreateBlinkSignatureMutationRequest = {
491
333
  */
492
334
  destination_chain: CreateBlinkSignatureMutationRequestDestinationChainEnumKey;
493
335
  /**
494
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
495
- * @type string | undefined
336
+ * @type string
337
+ */
338
+ destination_token: CreateBlinkSignatureMutationRequestDestinationTokenEnumKey;
339
+ /**
340
+ * @pattern ^0x[a-fA-F0-9]{40}$
341
+ * @type string
496
342
  */
497
- destination_token?: CreateBlinkSignatureMutationRequestDestinationTokenEnumKey;
343
+ wallet: string;
498
344
  };
499
345
  type CreateBlinkSignatureMutationResponse = CreateBlinkSignature200;
500
346
  type CreateBlinkSignatureMutation = {
501
347
  Response: CreateBlinkSignature200;
502
348
  Request: CreateBlinkSignatureMutationRequest;
503
- PathParams: CreateBlinkSignaturePathParams;
504
349
  Errors: CreateBlinkSignature400 | CreateBlinkSignature401 | CreateBlinkSignature403 | CreateBlinkSignature429;
505
350
  };
506
- type CreateCardLinkPathParams = {
351
+ /**
352
+ * @description The price estimate for the requested amount.
353
+ */
354
+ type CreateCardQuote200 = {
507
355
  /**
508
- * @pattern ^0x[a-fA-F0-9]{40}$
509
356
  * @type string
510
357
  */
511
- address: string;
512
- };
513
- /**
514
- * @description The card-onramp URL.
515
- */
516
- type CreateCardLink200 = {
358
+ currency: string;
517
359
  /**
518
- * @type string, uri
360
+ * @type string
519
361
  */
520
- url: string;
362
+ destination_amount: string;
363
+ /**
364
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137, 42161 — additive; tolerate unknown values.
365
+ * @minLength -9007199254740991
366
+ * @maxLength 9007199254740991
367
+ * @type integer
368
+ */
369
+ destination_chain: number;
370
+ /**
371
+ * @type string
372
+ */
373
+ destination_token: string;
374
+ /**
375
+ * @type string
376
+ */
377
+ payment_method: string;
378
+ /**
379
+ * @type string
380
+ */
381
+ source_amount: string;
521
382
  };
522
383
  /**
523
- * @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
384
+ * @description Bad Request — `error.code` includes: amount_below_minimum, publishable_key_missing, validation_error.
524
385
  */
525
- type CreateCardLink400 = Error$1;
386
+ type CreateCardQuote400 = Error$1;
526
387
  /**
527
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
388
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
528
389
  */
529
- type CreateCardLink401 = Error$1;
390
+ type CreateCardQuote401 = Error$1;
530
391
  /**
531
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
392
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
532
393
  */
533
- type CreateCardLink403 = Error$1;
394
+ type CreateCardQuote403 = Error$1;
534
395
  /**
535
- * @description Not Found — `error.code` includes: customer_not_registered.
396
+ * @description Too Many Requests — `error.code` includes: rate_limited.
536
397
  */
537
- type CreateCardLink404 = Error$1;
398
+ type CreateCardQuote429 = Error$1;
538
399
  /**
539
- * @description Too Many Requests — `error.code` includes: rate_limited.
400
+ * @description Bad Gateway — `error.code` includes: quote_unavailable.
540
401
  */
541
- type CreateCardLink429 = Error$1;
542
- declare const createCardLinkMutationRequestCurrencyEnum: {
543
- readonly usd: "usd";
544
- readonly gbp: "gbp";
545
- readonly eur: "eur";
402
+ type CreateCardQuote502 = Error$1;
403
+ declare const createCardQuoteMutationRequestCurrencyEnum: {
404
+ readonly USD: "USD";
405
+ readonly GBP: "GBP";
406
+ readonly EUR: "EUR";
546
407
  };
547
- type CreateCardLinkMutationRequestCurrencyEnumKey = (typeof createCardLinkMutationRequestCurrencyEnum)[keyof typeof createCardLinkMutationRequestCurrencyEnum];
548
- declare const createCardLinkMutationRequestDestinationChainEnum: {
408
+ type CreateCardQuoteMutationRequestCurrencyEnumKey = (typeof createCardQuoteMutationRequestCurrencyEnum)[keyof typeof createCardQuoteMutationRequestCurrencyEnum];
409
+ declare const createCardQuoteMutationRequestDestinationChainEnum: {
549
410
  readonly "1": 1;
550
411
  readonly "8453": 8453;
551
412
  readonly "999": 999;
@@ -553,50 +414,60 @@ declare const createCardLinkMutationRequestDestinationChainEnum: {
553
414
  readonly "4326": 4326;
554
415
  readonly "143": 143;
555
416
  readonly "137": 137;
417
+ readonly "42161": 42161;
556
418
  };
557
- type CreateCardLinkMutationRequestDestinationChainEnumKey = (typeof createCardLinkMutationRequestDestinationChainEnum)[keyof typeof createCardLinkMutationRequestDestinationChainEnum];
558
- declare const createCardLinkMutationRequestDestinationTokenEnum: {
559
- readonly usdc: "usdc";
560
- readonly usdm: "usdm";
561
- readonly ausd: "ausd";
562
- readonly "usdc.e": "usdc.e";
419
+ type CreateCardQuoteMutationRequestDestinationChainEnumKey = (typeof createCardQuoteMutationRequestDestinationChainEnum)[keyof typeof createCardQuoteMutationRequestDestinationChainEnum];
420
+ declare const createCardQuoteMutationRequestDestinationTokenEnum: {
421
+ readonly USDC: "USDC";
422
+ readonly USDm: "USDm";
423
+ readonly AUSD: "AUSD";
424
+ readonly "USDC.e": "USDC.e";
563
425
  };
564
- type CreateCardLinkMutationRequestDestinationTokenEnumKey = (typeof createCardLinkMutationRequestDestinationTokenEnum)[keyof typeof createCardLinkMutationRequestDestinationTokenEnum];
565
- type CreateCardLinkMutationRequest = {
426
+ type CreateCardQuoteMutationRequestDestinationTokenEnumKey = (typeof createCardQuoteMutationRequestDestinationTokenEnum)[keyof typeof createCardQuoteMutationRequestDestinationTokenEnum];
427
+ declare const createCardQuoteMutationRequestTradeTypeEnum: {
428
+ readonly EXACT_INPUT: "EXACT_INPUT";
429
+ readonly EXACT_OUTPUT: "EXACT_OUTPUT";
430
+ };
431
+ type CreateCardQuoteMutationRequestTradeTypeEnumKey = (typeof createCardQuoteMutationRequestTradeTypeEnum)[keyof typeof createCardQuoteMutationRequestTradeTypeEnum];
432
+ type CreateCardQuoteMutationRequest = {
566
433
  /**
567
- * @default "usd"
568
- * @type string | undefined
434
+ * @pattern ^\d{1,12}(\.\d{1,8})?$
435
+ * @type string
569
436
  */
570
- currency?: CreateCardLinkMutationRequestCurrencyEnumKey;
437
+ amount: string;
571
438
  /**
572
- * @pattern ^[A-Z0-9]{2,10}$
573
- * @default "USDC"
574
- * @type string | undefined
439
+ * @pattern ^[A-Z]{2}$
440
+ * @type string
575
441
  */
576
- destination_asset?: string;
442
+ country: string;
443
+ /**
444
+ * @type string
445
+ */
446
+ currency: CreateCardQuoteMutationRequestCurrencyEnumKey;
577
447
  /**
578
448
  * @type number
579
449
  */
580
- destination_chain: CreateCardLinkMutationRequestDestinationChainEnumKey;
450
+ destination_chain: CreateCardQuoteMutationRequestDestinationChainEnumKey;
581
451
  /**
582
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
583
- * @type string | undefined
452
+ * @type string
584
453
  */
585
- destination_token?: CreateCardLinkMutationRequestDestinationTokenEnumKey;
586
- };
587
- type CreateCardLinkMutationResponse = CreateCardLink200;
588
- type CreateCardLinkMutation = {
589
- Response: CreateCardLink200;
590
- Request: CreateCardLinkMutationRequest;
591
- PathParams: CreateCardLinkPathParams;
592
- Errors: CreateCardLink400 | CreateCardLink401 | CreateCardLink403 | CreateCardLink404 | CreateCardLink429;
593
- };
594
- type CreateCashAppOrderPathParams = {
454
+ destination_token: CreateCardQuoteMutationRequestDestinationTokenEnumKey;
595
455
  /**
596
- * @pattern ^0x[a-fA-F0-9]{40}$
456
+ * @pattern ^[a-z0-9-]{2,32}$
597
457
  * @type string
598
458
  */
599
- address: string;
459
+ payment_method: string;
460
+ /**
461
+ * @default "EXACT_INPUT"
462
+ * @type string | undefined
463
+ */
464
+ trade_type?: CreateCardQuoteMutationRequestTradeTypeEnumKey;
465
+ };
466
+ type CreateCardQuoteMutationResponse = CreateCardQuote200;
467
+ type CreateCardQuoteMutation = {
468
+ Response: CreateCardQuote200;
469
+ Request: CreateCardQuoteMutationRequest;
470
+ Errors: CreateCardQuote400 | CreateCardQuote401 | CreateCardQuote403 | CreateCardQuote429 | CreateCardQuote502;
600
471
  };
601
472
  declare const createCashAppOrder200StatusEnum: {
602
473
  readonly pending: "pending";
@@ -618,22 +489,6 @@ type CreateCashAppOrder200StatusEnumKey = (typeof createCashAppOrder200StatusEnu
618
489
  * @description The created Cash App order.
619
490
  */
620
491
  type CreateCashAppOrder200 = {
621
- /**
622
- * @pattern ^0x[a-fA-F0-9]{40}$
623
- * @type string
624
- */
625
- address: string;
626
- /**
627
- * @type string
628
- */
629
- amount_usd: string;
630
- /**
631
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
632
- * @minLength -9007199254740991
633
- * @maxLength 9007199254740991
634
- * @type integer
635
- */
636
- chain: number;
637
492
  /**
638
493
  * @type string, date-time
639
494
  */
@@ -641,52 +496,66 @@ type CreateCashAppOrder200 = {
641
496
  /**
642
497
  * @type object
643
498
  */
644
- fee: {
499
+ destination: {
645
500
  /**
646
501
  * @type string
647
502
  */
648
503
  amount: string;
649
504
  /**
505
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137, 42161 — additive; tolerate unknown values.
650
506
  * @minLength -9007199254740991
651
507
  * @maxLength 9007199254740991
652
508
  * @type integer
653
509
  */
654
- decimals: number;
655
- };
656
- /**
657
- * @type string, uuid
658
- */
659
- id: string;
660
- /**
661
- * @type string
662
- */
663
- link: string;
664
- /**
665
- * @type object
666
- */
667
- out: {
668
- /**
669
- * @type string
670
- */
671
- amount: string;
510
+ chain: number;
672
511
  /**
673
512
  * @minLength -9007199254740991
674
513
  * @maxLength 9007199254740991
675
514
  * @type integer
676
515
  */
677
516
  decimals: number;
678
- };
679
- /**
680
- * @type boolean
517
+ /**
518
+ * @type string
519
+ */
520
+ token: string;
521
+ /**
522
+ * @pattern ^0x[a-fA-F0-9]{40}$
523
+ * @type string
524
+ */
525
+ wallet: string;
526
+ };
527
+ /**
528
+ * @type object
529
+ */
530
+ fee: {
531
+ /**
532
+ * @type string
533
+ */
534
+ amount: string;
535
+ /**
536
+ * @minLength -9007199254740991
537
+ * @maxLength 9007199254740991
538
+ * @type integer
539
+ */
540
+ decimals: number;
541
+ };
542
+ /**
543
+ * @type string, uuid
681
544
  */
682
- routed: boolean;
545
+ id: string;
683
546
  /**
684
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
685
- * @minLength -9007199254740991
686
- * @maxLength 9007199254740991
687
- * @type integer
547
+ * @type object
688
548
  */
689
- settlement_chain: number;
549
+ source: {
550
+ /**
551
+ * @type string
552
+ */
553
+ amount: string;
554
+ /**
555
+ * @type string
556
+ */
557
+ currency: string;
558
+ };
690
559
  /**
691
560
  * @type string
692
561
  */
@@ -694,24 +563,20 @@ type CreateCashAppOrder200 = {
694
563
  /**
695
564
  * @type string
696
565
  */
697
- token: string;
566
+ url: string;
698
567
  };
699
568
  /**
700
- * @description Bad Request — `error.code` includes: amount_too_large, amount_too_small, deposit_address_unavailable, invalid_address, invalid_wallet, price_impact_too_high, unsupported_asset, unsupported_chain, unsupported_route, validation_error.
569
+ * @description Bad Request — `error.code` includes: amount_too_large, amount_too_small, invalid_address, price_impact_too_high, publishable_key_missing, unsupported_asset, unsupported_chain, unsupported_route, validation_error.
701
570
  */
702
571
  type CreateCashAppOrder400 = Error$1;
703
572
  /**
704
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
573
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
705
574
  */
706
575
  type CreateCashAppOrder401 = Error$1;
707
576
  /**
708
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
577
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
709
578
  */
710
579
  type CreateCashAppOrder403 = Error$1;
711
- /**
712
- * @description Not Found — `error.code` includes: customer_not_registered.
713
- */
714
- type CreateCashAppOrder404 = Error$1;
715
580
  /**
716
581
  * @description Too Many Requests — `error.code` includes: rate_limited.
717
582
  */
@@ -720,7 +585,7 @@ type CreateCashAppOrder429 = Error$1;
720
585
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
721
586
  */
722
587
  type CreateCashAppOrder502 = Error$1;
723
- declare const createCashAppOrderMutationRequestChainEnum: {
588
+ declare const createCashAppOrderMutationRequestDestinationChainEnum: {
724
589
  readonly "1": 1;
725
590
  readonly "8453": 8453;
726
591
  readonly "999": 999;
@@ -728,21 +593,17 @@ declare const createCashAppOrderMutationRequestChainEnum: {
728
593
  readonly "4326": 4326;
729
594
  readonly "143": 143;
730
595
  readonly "137": 137;
596
+ readonly "42161": 42161;
731
597
  };
732
- type CreateCashAppOrderMutationRequestChainEnumKey = (typeof createCashAppOrderMutationRequestChainEnum)[keyof typeof createCashAppOrderMutationRequestChainEnum];
598
+ type CreateCashAppOrderMutationRequestDestinationChainEnumKey = (typeof createCashAppOrderMutationRequestDestinationChainEnum)[keyof typeof createCashAppOrderMutationRequestDestinationChainEnum];
733
599
  declare const createCashAppOrderMutationRequestDestinationTokenEnum: {
734
- readonly usdc: "usdc";
735
- readonly usdm: "usdm";
736
- readonly ausd: "ausd";
737
- readonly "usdc.e": "usdc.e";
600
+ readonly USDC: "USDC";
601
+ readonly USDm: "USDm";
602
+ readonly AUSD: "AUSD";
603
+ readonly "USDC.e": "USDC.e";
738
604
  };
739
605
  type CreateCashAppOrderMutationRequestDestinationTokenEnumKey = (typeof createCashAppOrderMutationRequestDestinationTokenEnum)[keyof typeof createCashAppOrderMutationRequestDestinationTokenEnum];
740
606
  type CreateCashAppOrderMutationRequest = {
741
- /**
742
- * @pattern ^0x[a-fA-F0-9]{40}$
743
- * @type string
744
- */
745
- address: string;
746
607
  /**
747
608
  * @pattern ^\d+(\.\d{1,2})?$
748
609
  * @type string
@@ -751,30 +612,22 @@ type CreateCashAppOrderMutationRequest = {
751
612
  /**
752
613
  * @type number
753
614
  */
754
- chain: CreateCashAppOrderMutationRequestChainEnumKey;
615
+ destination_chain: CreateCashAppOrderMutationRequestDestinationChainEnumKey;
755
616
  /**
756
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
757
- * @type string | undefined
617
+ * @type string
758
618
  */
759
- destination_token?: CreateCashAppOrderMutationRequestDestinationTokenEnumKey;
619
+ destination_token: CreateCashAppOrderMutationRequestDestinationTokenEnumKey;
760
620
  /**
621
+ * @pattern ^0x[a-fA-F0-9]{40}$
761
622
  * @type string
762
623
  */
763
- token: "USDC";
624
+ wallet: string;
764
625
  };
765
626
  type CreateCashAppOrderMutationResponse = CreateCashAppOrder200;
766
627
  type CreateCashAppOrderMutation = {
767
628
  Response: CreateCashAppOrder200;
768
629
  Request: CreateCashAppOrderMutationRequest;
769
- PathParams: CreateCashAppOrderPathParams;
770
- Errors: CreateCashAppOrder400 | CreateCashAppOrder401 | CreateCashAppOrder403 | CreateCashAppOrder404 | CreateCashAppOrder429 | CreateCashAppOrder502;
771
- };
772
- type CreateCashAppQuotePathParams = {
773
- /**
774
- * @pattern ^0x[a-fA-F0-9]{40}$
775
- * @type string
776
- */
777
- address: string;
630
+ Errors: CreateCashAppOrder400 | CreateCashAppOrder401 | CreateCashAppOrder403 | CreateCashAppOrder429 | CreateCashAppOrder502;
778
631
  };
779
632
  /**
780
633
  * @description The Cash App pricing preview.
@@ -785,24 +638,36 @@ type CreateCashAppQuote200 = {
785
638
  */
786
639
  bps: number;
787
640
  /**
641
+ * @description The leg Cash App settles. On a chain it cannot reach that is the first hop — Base USDC — and not the buyer\'s payout, so all four fields describe the same figure. Label the amount with `token` and `chain` rather than the configured payout, which is a different token at a different precision.
788
642
  * @type object
789
643
  */
790
- fee: {
644
+ destination: {
791
645
  /**
792
646
  * @type string
793
647
  */
794
648
  amount: string;
649
+ /**
650
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137, 42161 — additive; tolerate unknown values.
651
+ * @minLength -9007199254740991
652
+ * @maxLength 9007199254740991
653
+ * @type integer
654
+ */
655
+ chain: number;
795
656
  /**
796
657
  * @minLength -9007199254740991
797
658
  * @maxLength 9007199254740991
798
659
  * @type integer
799
660
  */
800
661
  decimals: number;
662
+ /**
663
+ * @type string
664
+ */
665
+ token: string;
801
666
  };
802
667
  /**
803
668
  * @type object
804
669
  */
805
- out: {
670
+ fee: {
806
671
  /**
807
672
  * @type string
808
673
  */
@@ -815,27 +680,29 @@ type CreateCashAppQuote200 = {
815
680
  decimals: number;
816
681
  };
817
682
  /**
818
- * @type boolean
819
- */
820
- routed: boolean;
821
- /**
822
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
823
- * @minLength -9007199254740991
824
- * @maxLength 9007199254740991
825
- * @type integer
683
+ * @type object
826
684
  */
827
- settlement_chain: number;
685
+ source: {
686
+ /**
687
+ * @type string
688
+ */
689
+ amount: string;
690
+ /**
691
+ * @type string
692
+ */
693
+ currency: string;
694
+ };
828
695
  };
829
696
  /**
830
- * @description Bad Request — `error.code` includes: amount_too_large, amount_too_small, invalid_wallet, price_impact_too_high, unsupported_chain, unsupported_route, validation_error.
697
+ * @description Bad Request — `error.code` includes: amount_too_large, amount_too_small, price_impact_too_high, publishable_key_missing, unsupported_chain, unsupported_route, validation_error.
831
698
  */
832
699
  type CreateCashAppQuote400 = Error$1;
833
700
  /**
834
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
701
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
835
702
  */
836
703
  type CreateCashAppQuote401 = Error$1;
837
704
  /**
838
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
705
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
839
706
  */
840
707
  type CreateCashAppQuote403 = Error$1;
841
708
  /**
@@ -846,7 +713,7 @@ type CreateCashAppQuote429 = Error$1;
846
713
  * @description Bad Gateway — `error.code` includes: coinbase_spot_unavailable.
847
714
  */
848
715
  type CreateCashAppQuote502 = Error$1;
849
- declare const createCashAppQuoteMutationRequestChainEnum: {
716
+ declare const createCashAppQuoteMutationRequestDestinationChainEnum: {
850
717
  readonly "1": 1;
851
718
  readonly "8453": 8453;
852
719
  readonly "999": 999;
@@ -854,13 +721,14 @@ declare const createCashAppQuoteMutationRequestChainEnum: {
854
721
  readonly "4326": 4326;
855
722
  readonly "143": 143;
856
723
  readonly "137": 137;
724
+ readonly "42161": 42161;
857
725
  };
858
- type CreateCashAppQuoteMutationRequestChainEnumKey = (typeof createCashAppQuoteMutationRequestChainEnum)[keyof typeof createCashAppQuoteMutationRequestChainEnum];
726
+ type CreateCashAppQuoteMutationRequestDestinationChainEnumKey = (typeof createCashAppQuoteMutationRequestDestinationChainEnum)[keyof typeof createCashAppQuoteMutationRequestDestinationChainEnum];
859
727
  declare const createCashAppQuoteMutationRequestDestinationTokenEnum: {
860
- readonly usdc: "usdc";
861
- readonly usdm: "usdm";
862
- readonly ausd: "ausd";
863
- readonly "usdc.e": "usdc.e";
728
+ readonly USDC: "USDC";
729
+ readonly USDm: "USDm";
730
+ readonly AUSD: "AUSD";
731
+ readonly "USDC.e": "USDC.e";
864
732
  };
865
733
  type CreateCashAppQuoteMutationRequestDestinationTokenEnumKey = (typeof createCashAppQuoteMutationRequestDestinationTokenEnum)[keyof typeof createCashAppQuoteMutationRequestDestinationTokenEnum];
866
734
  type CreateCashAppQuoteMutationRequest = {
@@ -872,132 +740,23 @@ type CreateCashAppQuoteMutationRequest = {
872
740
  /**
873
741
  * @type number
874
742
  */
875
- chain: CreateCashAppQuoteMutationRequestChainEnumKey;
876
- /**
877
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
878
- * @type string | undefined
879
- */
880
- destination_token?: CreateCashAppQuoteMutationRequestDestinationTokenEnumKey;
743
+ destination_chain: CreateCashAppQuoteMutationRequestDestinationChainEnumKey;
881
744
  /**
882
745
  * @type string
883
746
  */
884
- token: "USDC";
747
+ destination_token: CreateCashAppQuoteMutationRequestDestinationTokenEnumKey;
885
748
  };
886
749
  type CreateCashAppQuoteMutationResponse = CreateCashAppQuote200;
887
750
  type CreateCashAppQuoteMutation = {
888
751
  Response: CreateCashAppQuote200;
889
752
  Request: CreateCashAppQuoteMutationRequest;
890
- PathParams: CreateCashAppQuotePathParams;
891
753
  Errors: CreateCashAppQuote400 | CreateCashAppQuote401 | CreateCashAppQuote403 | CreateCashAppQuote429 | CreateCashAppQuote502;
892
754
  };
893
- type CreateDepositAddressPathParams = {
894
- /**
895
- * @pattern ^0x[a-fA-F0-9]{40}$
896
- * @type string
897
- */
898
- address: string;
899
- };
900
- /**
901
- * @description The deposit address to fund.
902
- */
903
- type CreateDepositAddress200 = {
904
- /**
905
- * @type string
906
- */
907
- deposit_address: string;
908
- };
909
- /**
910
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
911
- */
912
- type CreateDepositAddress400 = Error$1;
913
- /**
914
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
915
- */
916
- type CreateDepositAddress401 = Error$1;
917
- /**
918
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
919
- */
920
- type CreateDepositAddress403 = Error$1;
921
- /**
922
- * @description Not Found — `error.code` includes: customer_not_registered, token_not_supported.
923
- */
924
- type CreateDepositAddress404 = Error$1;
925
- /**
926
- * @description Too Many Requests — `error.code` includes: rate_limited.
927
- */
928
- type CreateDepositAddress429 = Error$1;
929
- declare const createDepositAddressMutationRequestDestinationChainEnum: {
930
- readonly "1": 1;
931
- readonly "8453": 8453;
932
- readonly "999": 999;
933
- readonly "1337": 1337;
934
- readonly "4326": 4326;
935
- readonly "143": 143;
936
- readonly "137": 137;
937
- };
938
- type CreateDepositAddressMutationRequestDestinationChainEnumKey = (typeof createDepositAddressMutationRequestDestinationChainEnum)[keyof typeof createDepositAddressMutationRequestDestinationChainEnum];
939
- declare const createDepositAddressMutationRequestDestinationTokenEnum: {
940
- readonly usdc: "usdc";
941
- readonly usdm: "usdm";
942
- readonly ausd: "ausd";
943
- readonly "usdc.e": "usdc.e";
944
- };
945
- type CreateDepositAddressMutationRequestDestinationTokenEnumKey = (typeof createDepositAddressMutationRequestDestinationTokenEnum)[keyof typeof createDepositAddressMutationRequestDestinationTokenEnum];
946
- declare const createDepositAddressMutationRequestSourceChainEnum: {
947
- readonly "1": 1;
948
- readonly "8453": 8453;
949
- readonly "999": 999;
950
- readonly "4326": 4326;
951
- readonly "143": 143;
952
- readonly "137": 137;
953
- };
954
- type CreateDepositAddressMutationRequestSourceChainEnumKey = (typeof createDepositAddressMutationRequestSourceChainEnum)[keyof typeof createDepositAddressMutationRequestSourceChainEnum];
955
- declare const createDepositAddressMutationRequestSourceTokenEnum: {
956
- readonly eth: "eth";
957
- readonly hype: "hype";
958
- readonly mon: "mon";
959
- readonly pol: "pol";
960
- readonly usdc: "usdc";
961
- readonly usdm: "usdm";
962
- readonly usdt: "usdt";
963
- };
964
- type CreateDepositAddressMutationRequestSourceTokenEnumKey = (typeof createDepositAddressMutationRequestSourceTokenEnum)[keyof typeof createDepositAddressMutationRequestSourceTokenEnum];
965
- type CreateDepositAddressMutationRequest = {
966
- /**
967
- * @type number
968
- */
969
- destination_chain: CreateDepositAddressMutationRequestDestinationChainEnumKey;
970
- /**
971
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
972
- * @type string | undefined
973
- */
974
- destination_token?: CreateDepositAddressMutationRequestDestinationTokenEnumKey;
975
- /**
976
- * @type number
977
- */
978
- source_chain: CreateDepositAddressMutationRequestSourceChainEnumKey;
979
- /**
980
- * @type string
981
- */
982
- source_token: CreateDepositAddressMutationRequestSourceTokenEnumKey;
983
- };
984
- type CreateDepositAddressMutationResponse = CreateDepositAddress200;
985
- type CreateDepositAddressMutation = {
986
- Response: CreateDepositAddress200;
987
- Request: CreateDepositAddressMutationRequest;
988
- PathParams: CreateDepositAddressPathParams;
989
- Errors: CreateDepositAddress400 | CreateDepositAddress401 | CreateDepositAddress403 | CreateDepositAddress404 | CreateDepositAddress429;
990
- };
991
755
  declare const createExchangeWithdrawQuotePathParamsExchangeEnum: {
992
756
  readonly coinbase: "coinbase";
993
757
  };
994
758
  type CreateExchangeWithdrawQuotePathParamsExchangeEnumKey = (typeof createExchangeWithdrawQuotePathParamsExchangeEnum)[keyof typeof createExchangeWithdrawQuotePathParamsExchangeEnum];
995
759
  type CreateExchangeWithdrawQuotePathParams = {
996
- /**
997
- * @pattern ^0x[a-fA-F0-9]{40}$
998
- * @type string
999
- */
1000
- address: string;
1001
760
  /**
1002
761
  * @type string
1003
762
  */
@@ -1045,21 +804,17 @@ type CreateExchangeWithdrawQuote200 = {
1045
804
  network: string;
1046
805
  };
1047
806
  /**
1048
- * @description Bad Request — `error.code` includes: deposit_address_unavailable, generic_invalid_request, generic_validation_error, invalid_wallet, unsupported_asset, unsupported_network, validation_error, withdrawal_amount_above_maximum, withdrawal_amount_below_minimum, withdrawal_asset_not_supported, withdrawal_email_unverified, withdrawal_insufficient_balance, withdrawal_insufficient_balance_for_fee, withdrawal_invalid_address, withdrawal_kyc_required, withdrawal_network_not_supported, withdrawal_too_many_addresses.
807
+ * @description Bad Request — `error.code` includes: deposit_address_unavailable, generic_invalid_request, generic_validation_error, publishable_key_missing, unsupported_asset, unsupported_network, validation_error, withdrawal_amount_above_maximum, withdrawal_amount_below_minimum, withdrawal_asset_not_supported, withdrawal_email_unverified, withdrawal_insufficient_balance, withdrawal_insufficient_balance_for_fee, withdrawal_invalid_address, withdrawal_kyc_required, withdrawal_network_not_supported, withdrawal_too_many_addresses.
1049
808
  */
1050
809
  type CreateExchangeWithdrawQuote400 = Error$1;
1051
810
  /**
1052
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
811
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
1053
812
  */
1054
813
  type CreateExchangeWithdrawQuote401 = Error$1;
1055
814
  /**
1056
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
815
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
1057
816
  */
1058
817
  type CreateExchangeWithdrawQuote403 = Error$1;
1059
- /**
1060
- * @description Not Found — `error.code` includes: customer_not_registered, exchange_not_connected.
1061
- */
1062
- type CreateExchangeWithdrawQuote404 = Error$1;
1063
818
  /**
1064
819
  * @description Conflict — `error.code` includes: exchange_reconnect_required.
1065
820
  */
@@ -1080,13 +835,14 @@ declare const createExchangeWithdrawQuoteMutationRequestDestinationChainEnum: {
1080
835
  readonly "4326": 4326;
1081
836
  readonly "143": 143;
1082
837
  readonly "137": 137;
838
+ readonly "42161": 42161;
1083
839
  };
1084
840
  type CreateExchangeWithdrawQuoteMutationRequestDestinationChainEnumKey = (typeof createExchangeWithdrawQuoteMutationRequestDestinationChainEnum)[keyof typeof createExchangeWithdrawQuoteMutationRequestDestinationChainEnum];
1085
841
  declare const createExchangeWithdrawQuoteMutationRequestDestinationTokenEnum: {
1086
- readonly usdc: "usdc";
1087
- readonly usdm: "usdm";
1088
- readonly ausd: "ausd";
1089
- readonly "usdc.e": "usdc.e";
842
+ readonly USDC: "USDC";
843
+ readonly USDm: "USDm";
844
+ readonly AUSD: "AUSD";
845
+ readonly "USDC.e": "USDC.e";
1090
846
  };
1091
847
  type CreateExchangeWithdrawQuoteMutationRequestDestinationTokenEnumKey = (typeof createExchangeWithdrawQuoteMutationRequestDestinationTokenEnum)[keyof typeof createExchangeWithdrawQuoteMutationRequestDestinationTokenEnum];
1092
848
  declare const createExchangeWithdrawQuoteMutationRequestOriginChainEnum: {
@@ -1097,6 +853,7 @@ declare const createExchangeWithdrawQuoteMutationRequestOriginChainEnum: {
1097
853
  readonly "4326": 4326;
1098
854
  readonly "143": 143;
1099
855
  readonly "137": 137;
856
+ readonly "42161": 42161;
1100
857
  };
1101
858
  type CreateExchangeWithdrawQuoteMutationRequestOriginChainEnumKey = (typeof createExchangeWithdrawQuoteMutationRequestOriginChainEnum)[keyof typeof createExchangeWithdrawQuoteMutationRequestOriginChainEnum];
1102
859
  type CreateExchangeWithdrawQuoteMutationRequest = {
@@ -1115,333 +872,143 @@ type CreateExchangeWithdrawQuoteMutationRequest = {
1115
872
  */
1116
873
  destination_chain: CreateExchangeWithdrawQuoteMutationRequestDestinationChainEnumKey;
1117
874
  /**
1118
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
1119
- * @type string | undefined
875
+ * @type string
1120
876
  */
1121
- destination_token?: CreateExchangeWithdrawQuoteMutationRequestDestinationTokenEnumKey;
877
+ destination_token: CreateExchangeWithdrawQuoteMutationRequestDestinationTokenEnumKey;
1122
878
  /**
1123
879
  * @type number
1124
880
  */
1125
881
  origin_chain: CreateExchangeWithdrawQuoteMutationRequestOriginChainEnumKey;
882
+ /**
883
+ * @pattern ^0x[a-fA-F0-9]{40}$
884
+ * @type string
885
+ */
886
+ wallet: string;
1126
887
  };
1127
888
  type CreateExchangeWithdrawQuoteMutationResponse = CreateExchangeWithdrawQuote200;
1128
889
  type CreateExchangeWithdrawQuoteMutation = {
1129
890
  Response: CreateExchangeWithdrawQuote200;
1130
891
  Request: CreateExchangeWithdrawQuoteMutationRequest;
1131
892
  PathParams: CreateExchangeWithdrawQuotePathParams;
1132
- Errors: CreateExchangeWithdrawQuote400 | CreateExchangeWithdrawQuote401 | CreateExchangeWithdrawQuote403 | CreateExchangeWithdrawQuote404 | CreateExchangeWithdrawQuote409 | CreateExchangeWithdrawQuote429 | CreateExchangeWithdrawQuote502;
1133
- };
1134
- type CreateSessionDynamicPathParams = {
1135
- /**
1136
- * @pattern ^0x[a-fA-F0-9]{40}$
1137
- * @type string
1138
- */
1139
- address: string;
893
+ Errors: CreateExchangeWithdrawQuote400 | CreateExchangeWithdrawQuote401 | CreateExchangeWithdrawQuote403 | CreateExchangeWithdrawQuote409 | CreateExchangeWithdrawQuote429 | CreateExchangeWithdrawQuote502;
1140
894
  };
1141
895
  /**
1142
- * @description Session created; cookie pair set.
896
+ * @description The opened auth intent.
1143
897
  */
1144
- type CreateSessionDynamic200 = {
898
+ type CreateStripeAuthIntent200 = {
1145
899
  /**
1146
- * @type string, date-time
900
+ * @type string
1147
901
  */
1148
- expires_at: string;
902
+ auth_intent_id: string;
1149
903
  /**
1150
- * @pattern ^0x[a-fA-F0-9]{40}$
1151
- * @type string
904
+ * @type number
1152
905
  */
1153
- wallet: string;
906
+ expires_at: number;
1154
907
  };
1155
908
  /**
1156
- * @description Bad Request — `error.code` includes: invalid_wallet, malformed_token, publishable_key_missing, validation_error.
909
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
1157
910
  */
1158
- type CreateSessionDynamic400 = Error$1;
911
+ type CreateStripeAuthIntent400 = Error$1;
912
+ /**
913
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
914
+ */
915
+ type CreateStripeAuthIntent401 = Error$1;
1159
916
  /**
1160
- * @description Unauthorized — `error.code` includes: environment_id_not_found, invalid_publishable_key, invalid_token, token_expired, token_required.
917
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
1161
918
  */
1162
- type CreateSessionDynamic401 = Error$1;
919
+ type CreateStripeAuthIntent403 = Error$1;
1163
920
  /**
1164
- * @description Forbidden — `error.code` includes: idp_tenant_mismatch, origin_not_allowed, wallet_not_linked.
921
+ * @description Not Found — `error.code` includes: link_not_found.
1165
922
  */
1166
- type CreateSessionDynamic403 = Error$1;
923
+ type CreateStripeAuthIntent404 = Error$1;
1167
924
  /**
1168
925
  * @description Too Many Requests — `error.code` includes: rate_limited.
1169
926
  */
1170
- type CreateSessionDynamic429 = Error$1;
1171
- type CreateSessionDynamicMutationResponse = CreateSessionDynamic200;
1172
- type CreateSessionDynamicMutation = {
1173
- Response: CreateSessionDynamic200;
1174
- PathParams: CreateSessionDynamicPathParams;
1175
- Errors: CreateSessionDynamic400 | CreateSessionDynamic401 | CreateSessionDynamic403 | CreateSessionDynamic429;
1176
- };
1177
- type CreateSessionPrivyPathParams = {
1178
- /**
1179
- * @pattern ^0x[a-fA-F0-9]{40}$
1180
- * @type string
1181
- */
1182
- address: string;
1183
- };
927
+ type CreateStripeAuthIntent429 = Error$1;
1184
928
  /**
1185
- * @description Session created; cookie pair set.
929
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
1186
930
  */
1187
- type CreateSessionPrivy200 = {
931
+ type CreateStripeAuthIntent502 = Error$1;
932
+ type CreateStripeAuthIntentMutationRequest = {
1188
933
  /**
1189
- * @type string, date-time
934
+ * @type string, email
1190
935
  */
1191
- expires_at: string;
936
+ email: string;
1192
937
  /**
1193
938
  * @pattern ^0x[a-fA-F0-9]{40}$
1194
939
  * @type string
1195
940
  */
1196
941
  wallet: string;
1197
942
  };
943
+ type CreateStripeAuthIntentMutationResponse = CreateStripeAuthIntent200;
944
+ type CreateStripeAuthIntentMutation = {
945
+ Response: CreateStripeAuthIntent200;
946
+ Request: CreateStripeAuthIntentMutationRequest;
947
+ Errors: CreateStripeAuthIntent400 | CreateStripeAuthIntent401 | CreateStripeAuthIntent403 | CreateStripeAuthIntent404 | CreateStripeAuthIntent429 | CreateStripeAuthIntent502;
948
+ };
949
+ type CreateStripeCustomerPathParams = {
950
+ /**
951
+ * @minLength 1
952
+ * @type string
953
+ */
954
+ crypto_customer_id: string;
955
+ };
956
+ /**
957
+ * @description Customer id persisted.
958
+ */
959
+ type CreateStripeCustomer204 = any;
960
+ /**
961
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
962
+ */
963
+ type CreateStripeCustomer400 = Error$1;
1198
964
  /**
1199
- * @description Bad Request — `error.code` includes: invalid_wallet, malformed_token, publishable_key_missing, validation_error.
965
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
1200
966
  */
1201
- type CreateSessionPrivy400 = Error$1;
967
+ type CreateStripeCustomer401 = Error$1;
1202
968
  /**
1203
- * @description Unauthorized — `error.code` includes: app_id_not_found, invalid_publishable_key, invalid_token, token_expired, token_required.
969
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
1204
970
  */
1205
- type CreateSessionPrivy401 = Error$1;
971
+ type CreateStripeCustomer403 = Error$1;
1206
972
  /**
1207
- * @description Forbidden — `error.code` includes: idp_tenant_mismatch, origin_not_allowed, wallet_not_linked.
973
+ * @description Not Found — `error.code` includes: resource_missing.
1208
974
  */
1209
- type CreateSessionPrivy403 = Error$1;
975
+ type CreateStripeCustomer404 = Error$1;
1210
976
  /**
1211
977
  * @description Too Many Requests — `error.code` includes: rate_limited.
1212
978
  */
1213
- type CreateSessionPrivy429 = Error$1;
1214
- type CreateSessionPrivyMutationResponse = CreateSessionPrivy200;
1215
- type CreateSessionPrivyMutation = {
1216
- Response: CreateSessionPrivy200;
1217
- PathParams: CreateSessionPrivyPathParams;
1218
- Errors: CreateSessionPrivy400 | CreateSessionPrivy401 | CreateSessionPrivy403 | CreateSessionPrivy429;
1219
- };
1220
- type CreateSessionSiwePathParams = {
1221
- /**
1222
- * @pattern ^0x[a-fA-F0-9]{40}$
1223
- * @type string
1224
- */
1225
- address: string;
1226
- };
979
+ type CreateStripeCustomer429 = Error$1;
1227
980
  /**
1228
- * @description Session created; cookie pair set.
981
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
1229
982
  */
1230
- type CreateSessionSiwe200 = {
1231
- /**
1232
- * @type string, date-time
1233
- */
1234
- expires_at: string;
983
+ type CreateStripeCustomer502 = Error$1;
984
+ type CreateStripeCustomerMutationRequest = {
1235
985
  /**
1236
986
  * @pattern ^0x[a-fA-F0-9]{40}$
1237
987
  * @type string
1238
988
  */
1239
989
  wallet: string;
1240
990
  };
991
+ type CreateStripeCustomerMutationResponse = CreateStripeCustomer204;
992
+ type CreateStripeCustomerMutation = {
993
+ Response: CreateStripeCustomer204;
994
+ Request: CreateStripeCustomerMutationRequest;
995
+ PathParams: CreateStripeCustomerPathParams;
996
+ Errors: CreateStripeCustomer400 | CreateStripeCustomer401 | CreateStripeCustomer403 | CreateStripeCustomer404 | CreateStripeCustomer429 | CreateStripeCustomer502;
997
+ };
1241
998
  /**
1242
- * @description Bad Request — `error.code` includes: invalid_body, invalid_wallet.
1243
- */
1244
- type CreateSessionSiwe400 = Error$1;
1245
- /**
1246
- * @description Unauthorized — `error.code` includes: binding_invalid, invalid_publishable_key, invalid_token, siwe_invalid, token_expired.
1247
- */
1248
- type CreateSessionSiwe401 = Error$1;
1249
- /**
1250
- * @description Forbidden — `error.code` includes: idp_tenant_mismatch, origin_not_allowed.
1251
- */
1252
- type CreateSessionSiwe403 = Error$1;
1253
- /**
1254
- * @description Too Many Requests — `error.code` includes: rate_limited.
999
+ * @description The opened onramp session.
1255
1000
  */
1256
- type CreateSessionSiwe429 = Error$1;
1257
- type CreateSessionSiweMutationRequest = {
1001
+ type CreateStripeSession200 = {
1258
1002
  /**
1259
- * @minLength 1
1260
- * @maxLength 1024
1261
- * @type string
1003
+ * @type string,null
1262
1004
  */
1263
- binding: string;
1005
+ destination_amount: string | null;
1264
1006
  /**
1265
- * @minLength 1
1266
- * @maxLength 2048
1267
1007
  * @type string
1268
1008
  */
1269
- message: string;
1009
+ order_id: string;
1270
1010
  /**
1271
- * @pattern ^0x([0-9a-fA-F]{128}|[0-9a-fA-F]{130})$
1272
- * @type string
1273
- */
1274
- signature: string;
1275
- };
1276
- type CreateSessionSiweMutationResponse = CreateSessionSiwe200;
1277
- type CreateSessionSiweMutation = {
1278
- Response: CreateSessionSiwe200;
1279
- Request: CreateSessionSiweMutationRequest;
1280
- PathParams: CreateSessionSiwePathParams;
1281
- Errors: CreateSessionSiwe400 | CreateSessionSiwe401 | CreateSessionSiwe403 | CreateSessionSiwe429;
1282
- };
1283
- type CreateSiweNoncePathParams = {
1284
- /**
1285
- * @pattern ^0x[a-fA-F0-9]{40}$
1286
- * @type string
1287
- */
1288
- address: string;
1289
- };
1290
- /**
1291
- * @description Nonce and binding issued.
1292
- */
1293
- type CreateSiweNonce200 = {
1294
- /**
1295
- * @type string
1296
- */
1297
- binding: string;
1298
- /**
1299
- * @type string, date-time
1300
- */
1301
- expires_at: string;
1302
- /**
1303
- * @type string
1304
- */
1305
- nonce: string;
1306
- };
1307
- /**
1308
- * @description Bad Request — `error.code` includes: invalid_wallet, publishable_key_missing, validation_error.
1309
- */
1310
- type CreateSiweNonce400 = Error$1;
1311
- /**
1312
- * @description Too Many Requests — `error.code` includes: rate_limited.
1313
- */
1314
- type CreateSiweNonce429 = Error$1;
1315
- type CreateSiweNonceMutationResponse = CreateSiweNonce200;
1316
- type CreateSiweNonceMutation = {
1317
- Response: CreateSiweNonce200;
1318
- PathParams: CreateSiweNoncePathParams;
1319
- Errors: CreateSiweNonce400 | CreateSiweNonce429;
1320
- };
1321
- type CreateStripeAuthIntentPathParams = {
1322
- /**
1323
- * @pattern ^0x[a-fA-F0-9]{40}$
1324
- * @type string
1325
- */
1326
- address: string;
1327
- };
1328
- /**
1329
- * @description The opened auth intent.
1330
- */
1331
- type CreateStripeAuthIntent200 = {
1332
- /**
1333
- * @type string
1334
- */
1335
- auth_intent_id: string;
1336
- /**
1337
- * @type number
1338
- */
1339
- expires_at: number;
1340
- };
1341
- /**
1342
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1343
- */
1344
- type CreateStripeAuthIntent400 = Error$1;
1345
- /**
1346
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1347
- */
1348
- type CreateStripeAuthIntent401 = Error$1;
1349
- /**
1350
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1351
- */
1352
- type CreateStripeAuthIntent403 = Error$1;
1353
- /**
1354
- * @description Not Found — `error.code` includes: link_not_found.
1355
- */
1356
- type CreateStripeAuthIntent404 = Error$1;
1357
- /**
1358
- * @description Too Many Requests — `error.code` includes: rate_limited.
1359
- */
1360
- type CreateStripeAuthIntent429 = Error$1;
1361
- /**
1362
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
1363
- */
1364
- type CreateStripeAuthIntent502 = Error$1;
1365
- type CreateStripeAuthIntentMutationRequest = {
1366
- /**
1367
- * @type string, email
1368
- */
1369
- email: string;
1370
- };
1371
- type CreateStripeAuthIntentMutationResponse = CreateStripeAuthIntent200;
1372
- type CreateStripeAuthIntentMutation = {
1373
- Response: CreateStripeAuthIntent200;
1374
- Request: CreateStripeAuthIntentMutationRequest;
1375
- PathParams: CreateStripeAuthIntentPathParams;
1376
- Errors: CreateStripeAuthIntent400 | CreateStripeAuthIntent401 | CreateStripeAuthIntent403 | CreateStripeAuthIntent404 | CreateStripeAuthIntent429 | CreateStripeAuthIntent502;
1377
- };
1378
- type CreateStripeCustomerPathParams = {
1379
- /**
1380
- * @pattern ^0x[a-fA-F0-9]{40}$
1381
- * @type string
1382
- */
1383
- address: string;
1384
- /**
1385
- * @minLength 1
1386
- * @type string
1387
- */
1388
- crypto_customer_id: string;
1389
- };
1390
- /**
1391
- * @description Customer id persisted.
1392
- */
1393
- type CreateStripeCustomer204 = any;
1394
- /**
1395
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1396
- */
1397
- type CreateStripeCustomer400 = Error$1;
1398
- /**
1399
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
1400
- */
1401
- type CreateStripeCustomer401 = Error$1;
1402
- /**
1403
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1404
- */
1405
- type CreateStripeCustomer403 = Error$1;
1406
- /**
1407
- * @description Not Found — `error.code` includes: resource_missing.
1408
- */
1409
- type CreateStripeCustomer404 = Error$1;
1410
- /**
1411
- * @description Too Many Requests — `error.code` includes: rate_limited.
1412
- */
1413
- type CreateStripeCustomer429 = Error$1;
1414
- /**
1415
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
1416
- */
1417
- type CreateStripeCustomer502 = Error$1;
1418
- type CreateStripeCustomerMutationResponse = CreateStripeCustomer204;
1419
- type CreateStripeCustomerMutation = {
1420
- Response: CreateStripeCustomer204;
1421
- PathParams: CreateStripeCustomerPathParams;
1422
- Errors: CreateStripeCustomer400 | CreateStripeCustomer401 | CreateStripeCustomer403 | CreateStripeCustomer404 | CreateStripeCustomer429 | CreateStripeCustomer502;
1423
- };
1424
- type CreateStripeSessionPathParams = {
1425
- /**
1426
- * @pattern ^0x[a-fA-F0-9]{40}$
1427
- * @type string
1428
- */
1429
- address: string;
1430
- };
1431
- /**
1432
- * @description The opened onramp session.
1433
- */
1434
- type CreateStripeSession200 = {
1435
- /**
1436
- * @type string,null
1437
- */
1438
- destination_amount: string | null;
1439
- /**
1440
- * @type string
1441
- */
1442
- order_id: string;
1443
- /**
1444
- * @type number,null
1011
+ * @type number,null
1445
1012
  */
1446
1013
  quote_expires_at: number | null;
1447
1014
  /**
@@ -1458,15 +1025,15 @@ type CreateStripeSession200 = {
1458
1025
  status: string;
1459
1026
  };
1460
1027
  /**
1461
- * @description Bad Request — `error.code` includes: crypto_onramp_unsupportable_customer, crypto_onramp_unsupported_country, deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
1028
+ * @description Bad Request — `error.code` includes: crypto_onramp_unsupportable_customer, crypto_onramp_unsupported_country, deposit_address_unavailable, publishable_key_missing, unsupported_chain, validation_error.
1462
1029
  */
1463
1030
  type CreateStripeSession400 = Error$1;
1464
1031
  /**
1465
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
1032
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
1466
1033
  */
1467
1034
  type CreateStripeSession401 = Error$1;
1468
1035
  /**
1469
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1036
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
1470
1037
  */
1471
1038
  type CreateStripeSession403 = Error$1;
1472
1039
  /**
@@ -1489,13 +1056,14 @@ declare const createStripeSessionMutationRequestDestinationChainEnum: {
1489
1056
  readonly "4326": 4326;
1490
1057
  readonly "143": 143;
1491
1058
  readonly "137": 137;
1059
+ readonly "42161": 42161;
1492
1060
  };
1493
1061
  type CreateStripeSessionMutationRequestDestinationChainEnumKey = (typeof createStripeSessionMutationRequestDestinationChainEnum)[keyof typeof createStripeSessionMutationRequestDestinationChainEnum];
1494
1062
  declare const createStripeSessionMutationRequestDestinationTokenEnum: {
1495
- readonly usdc: "usdc";
1496
- readonly usdm: "usdm";
1497
- readonly ausd: "ausd";
1498
- readonly "usdc.e": "usdc.e";
1063
+ readonly USDC: "USDC";
1064
+ readonly USDm: "USDm";
1065
+ readonly AUSD: "AUSD";
1066
+ readonly "USDC.e": "USDC.e";
1499
1067
  };
1500
1068
  type CreateStripeSessionMutationRequestDestinationTokenEnumKey = (typeof createStripeSessionMutationRequestDestinationTokenEnum)[keyof typeof createStripeSessionMutationRequestDestinationTokenEnum];
1501
1069
  type CreateStripeSessionMutationRequest = {
@@ -1510,15 +1078,13 @@ type CreateStripeSessionMutationRequest = {
1510
1078
  */
1511
1079
  destination_amount?: string;
1512
1080
  /**
1513
- * @default 999
1514
- * @type number | undefined
1081
+ * @type number
1515
1082
  */
1516
- destination_chain?: CreateStripeSessionMutationRequestDestinationChainEnumKey;
1083
+ destination_chain: CreateStripeSessionMutationRequestDestinationChainEnumKey;
1517
1084
  /**
1518
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
1519
- * @type string | undefined
1085
+ * @type string
1520
1086
  */
1521
- destination_token?: CreateStripeSessionMutationRequestDestinationTokenEnumKey;
1087
+ destination_token: CreateStripeSessionMutationRequestDestinationTokenEnumKey;
1522
1088
  /**
1523
1089
  * @minLength 1
1524
1090
  * @type string
@@ -1530,44 +1096,36 @@ type CreateStripeSessionMutationRequest = {
1530
1096
  */
1531
1097
  source_amount?: string;
1532
1098
  /**
1533
- * @default "usd"
1099
+ * @default "USD"
1534
1100
  * @type string | undefined
1535
1101
  */
1536
- source_currency?: "usd";
1102
+ source_currency?: "USD";
1537
1103
  /**
1538
1104
  * @pattern ^0x[a-fA-F0-9]{40}$
1539
- * @type string | undefined
1105
+ * @type string
1540
1106
  */
1541
- wallet_address?: string;
1107
+ wallet: string;
1542
1108
  };
1543
1109
  type CreateStripeSessionMutationResponse = CreateStripeSession200;
1544
1110
  type CreateStripeSessionMutation = {
1545
1111
  Response: CreateStripeSession200;
1546
1112
  Request: CreateStripeSessionMutationRequest;
1547
- PathParams: CreateStripeSessionPathParams;
1548
1113
  Errors: CreateStripeSession400 | CreateStripeSession401 | CreateStripeSession403 | CreateStripeSession404 | CreateStripeSession429 | CreateStripeSession502;
1549
1114
  };
1550
- type CreateStripeTokensPathParams = {
1551
- /**
1552
- * @pattern ^0x[a-fA-F0-9]{40}$
1553
- * @type string
1554
- */
1555
- address: string;
1556
- };
1557
1115
  /**
1558
1116
  * @description Tokens stored.
1559
1117
  */
1560
1118
  type CreateStripeTokens204 = any;
1561
1119
  /**
1562
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1120
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
1563
1121
  */
1564
1122
  type CreateStripeTokens400 = Error$1;
1565
1123
  /**
1566
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1124
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
1567
1125
  */
1568
1126
  type CreateStripeTokens401 = Error$1;
1569
1127
  /**
1570
- * @description Forbidden — `error.code` includes: binding_invalid, link_forbidden, wallet_token_mismatch.
1128
+ * @description Forbidden — `error.code` includes: binding_invalid, link_forbidden, origin_not_allowed.
1571
1129
  */
1572
1130
  type CreateStripeTokens403 = Error$1;
1573
1131
  /**
@@ -1592,151 +1150,34 @@ type CreateStripeTokensMutationRequest = {
1592
1150
  * @type string
1593
1151
  */
1594
1152
  auth_intent_id: string;
1153
+ /**
1154
+ * @pattern ^0x[a-fA-F0-9]{40}$
1155
+ * @type string
1156
+ */
1157
+ wallet: string;
1595
1158
  };
1596
1159
  type CreateStripeTokensMutationResponse = CreateStripeTokens204;
1597
1160
  type CreateStripeTokensMutation = {
1598
1161
  Response: CreateStripeTokens204;
1599
1162
  Request: CreateStripeTokensMutationRequest;
1600
- PathParams: CreateStripeTokensPathParams;
1601
1163
  Errors: CreateStripeTokens400 | CreateStripeTokens401 | CreateStripeTokens403 | CreateStripeTokens404 | CreateStripeTokens409 | CreateStripeTokens429 | CreateStripeTokens502;
1602
1164
  };
1603
- type CreateSwapQuotePathParams = {
1604
- /**
1605
- * @pattern ^0x[a-fA-F0-9]{40}$
1606
- * @type string
1607
- */
1608
- address: string;
1609
- };
1610
- /**
1611
- * @description The executable swap quote.
1612
- */
1613
- type CreateSwapQuote200 = {
1614
- [key: string]: any;
1615
- };
1616
- /**
1617
- * @description Bad Request — `error.code` includes: invalid_wallet, unsupported_token, validation_error.
1618
- */
1619
- type CreateSwapQuote400 = Error$1;
1620
- /**
1621
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1622
- */
1623
- type CreateSwapQuote401 = Error$1;
1624
- /**
1625
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1626
- */
1627
- type CreateSwapQuote403 = Error$1;
1628
- /**
1629
- * @description Too Many Requests — `error.code` includes: rate_limited.
1630
- */
1631
- type CreateSwapQuote429 = Error$1;
1632
- /**
1633
- * @description Bad Gateway — `error.code` includes: bad_gateway.
1634
- */
1635
- type CreateSwapQuote502 = Error$1;
1636
- declare const createSwapQuoteMutationRequestDestinationChainEnum: {
1637
- readonly "1": 1;
1638
- readonly "8453": 8453;
1639
- readonly "999": 999;
1640
- readonly "1337": 1337;
1641
- readonly "4326": 4326;
1642
- readonly "143": 143;
1643
- readonly "137": 137;
1644
- };
1645
- type CreateSwapQuoteMutationRequestDestinationChainEnumKey = (typeof createSwapQuoteMutationRequestDestinationChainEnum)[keyof typeof createSwapQuoteMutationRequestDestinationChainEnum];
1646
- declare const createSwapQuoteMutationRequestDestinationTokenEnum: {
1647
- readonly usdc: "usdc";
1648
- readonly usdm: "usdm";
1649
- readonly ausd: "ausd";
1650
- readonly "usdc.e": "usdc.e";
1651
- };
1652
- type CreateSwapQuoteMutationRequestDestinationTokenEnumKey = (typeof createSwapQuoteMutationRequestDestinationTokenEnum)[keyof typeof createSwapQuoteMutationRequestDestinationTokenEnum];
1653
- declare const createSwapQuoteMutationRequestSourceChainEnum: {
1654
- readonly "1": 1;
1655
- readonly "8453": 8453;
1656
- readonly "999": 999;
1657
- readonly "4326": 4326;
1658
- readonly "143": 143;
1659
- readonly "137": 137;
1660
- };
1661
- type CreateSwapQuoteMutationRequestSourceChainEnumKey = (typeof createSwapQuoteMutationRequestSourceChainEnum)[keyof typeof createSwapQuoteMutationRequestSourceChainEnum];
1662
- declare const createSwapQuoteMutationRequestSourceTokenEnum: {
1663
- readonly eth: "eth";
1664
- readonly hype: "hype";
1665
- readonly mon: "mon";
1666
- readonly pol: "pol";
1667
- readonly usdc: "usdc";
1668
- readonly usdm: "usdm";
1669
- readonly usdt: "usdt";
1670
- };
1671
- type CreateSwapQuoteMutationRequestSourceTokenEnumKey = (typeof createSwapQuoteMutationRequestSourceTokenEnum)[keyof typeof createSwapQuoteMutationRequestSourceTokenEnum];
1672
- declare const createSwapQuoteMutationRequestTradeTypeEnum: {
1673
- readonly EXACT_INPUT: "EXACT_INPUT";
1674
- readonly EXACT_OUTPUT: "EXACT_OUTPUT";
1675
- readonly EXPECTED_OUTPUT: "EXPECTED_OUTPUT";
1676
- };
1677
- type CreateSwapQuoteMutationRequestTradeTypeEnumKey = (typeof createSwapQuoteMutationRequestTradeTypeEnum)[keyof typeof createSwapQuoteMutationRequestTradeTypeEnum];
1678
- type CreateSwapQuoteMutationRequest = {
1679
- /**
1680
- * @pattern ^\d+$
1681
- * @type string
1682
- */
1683
- amount: string;
1684
- /**
1685
- * @type number
1686
- */
1687
- destination_chain: CreateSwapQuoteMutationRequestDestinationChainEnumKey;
1688
- /**
1689
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
1690
- * @type string | undefined
1691
- */
1692
- destination_token?: CreateSwapQuoteMutationRequestDestinationTokenEnumKey;
1693
- /**
1694
- * @type number
1695
- */
1696
- source_chain: CreateSwapQuoteMutationRequestSourceChainEnumKey;
1697
- /**
1698
- * @type string
1699
- */
1700
- source_token: CreateSwapQuoteMutationRequestSourceTokenEnumKey;
1701
- /**
1702
- * @type string | undefined
1703
- */
1704
- trade_type?: CreateSwapQuoteMutationRequestTradeTypeEnumKey;
1705
- };
1706
- type CreateSwapQuoteMutationResponse = CreateSwapQuote200;
1707
- type CreateSwapQuoteMutation = {
1708
- Response: CreateSwapQuote200;
1709
- Request: CreateSwapQuoteMutationRequest;
1710
- PathParams: CreateSwapQuotePathParams;
1711
- Errors: CreateSwapQuote400 | CreateSwapQuote401 | CreateSwapQuote403 | CreateSwapQuote429 | CreateSwapQuote502;
1712
- };
1713
- type CreateVirtualAccountPathParams = {
1714
- /**
1715
- * @pattern ^0x[a-fA-F0-9]{40}$
1716
- * @type string
1717
- */
1718
- address: string;
1719
- };
1720
1165
  /**
1721
1166
  * @description Virtual account provisioned.
1722
1167
  */
1723
1168
  type CreateVirtualAccount204 = any;
1724
1169
  /**
1725
- * @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
1170
+ * @description Bad Request — `error.code` includes: deposit_address_unavailable, publishable_key_missing, unsupported_chain, validation_error.
1726
1171
  */
1727
1172
  type CreateVirtualAccount400 = Error$1;
1728
1173
  /**
1729
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1174
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
1730
1175
  */
1731
1176
  type CreateVirtualAccount401 = Error$1;
1732
1177
  /**
1733
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1178
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
1734
1179
  */
1735
1180
  type CreateVirtualAccount403 = Error$1;
1736
- /**
1737
- * @description Not Found — `error.code` includes: customer_not_registered.
1738
- */
1739
- type CreateVirtualAccount404 = Error$1;
1740
1181
  /**
1741
1182
  * @description Conflict — `error.code` includes: kyc_required.
1742
1183
  */
@@ -1749,7 +1190,13 @@ type CreateVirtualAccount429 = Error$1;
1749
1190
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
1750
1191
  */
1751
1192
  type CreateVirtualAccount502 = Error$1;
1752
- declare const createVirtualAccountMutationRequestChainEnum: {
1193
+ declare const createVirtualAccountMutationRequestCurrencyEnum: {
1194
+ readonly USD: "USD";
1195
+ readonly GBP: "GBP";
1196
+ readonly EUR: "EUR";
1197
+ };
1198
+ type CreateVirtualAccountMutationRequestCurrencyEnumKey = (typeof createVirtualAccountMutationRequestCurrencyEnum)[keyof typeof createVirtualAccountMutationRequestCurrencyEnum];
1199
+ declare const createVirtualAccountMutationRequestDestinationChainEnum: {
1753
1200
  readonly "1": 1;
1754
1201
  readonly "8453": 8453;
1755
1202
  readonly "999": 999;
@@ -1757,42 +1204,40 @@ declare const createVirtualAccountMutationRequestChainEnum: {
1757
1204
  readonly "4326": 4326;
1758
1205
  readonly "143": 143;
1759
1206
  readonly "137": 137;
1207
+ readonly "42161": 42161;
1760
1208
  };
1761
- type CreateVirtualAccountMutationRequestChainEnumKey = (typeof createVirtualAccountMutationRequestChainEnum)[keyof typeof createVirtualAccountMutationRequestChainEnum];
1762
- declare const createVirtualAccountMutationRequestCurrencyEnum: {
1763
- readonly usd: "usd";
1764
- readonly gbp: "gbp";
1765
- readonly eur: "eur";
1766
- };
1767
- type CreateVirtualAccountMutationRequestCurrencyEnumKey = (typeof createVirtualAccountMutationRequestCurrencyEnum)[keyof typeof createVirtualAccountMutationRequestCurrencyEnum];
1209
+ type CreateVirtualAccountMutationRequestDestinationChainEnumKey = (typeof createVirtualAccountMutationRequestDestinationChainEnum)[keyof typeof createVirtualAccountMutationRequestDestinationChainEnum];
1768
1210
  declare const createVirtualAccountMutationRequestDestinationTokenEnum: {
1769
- readonly usdc: "usdc";
1770
- readonly usdm: "usdm";
1771
- readonly ausd: "ausd";
1772
- readonly "usdc.e": "usdc.e";
1211
+ readonly USDC: "USDC";
1212
+ readonly USDm: "USDm";
1213
+ readonly AUSD: "AUSD";
1214
+ readonly "USDC.e": "USDC.e";
1773
1215
  };
1774
1216
  type CreateVirtualAccountMutationRequestDestinationTokenEnumKey = (typeof createVirtualAccountMutationRequestDestinationTokenEnum)[keyof typeof createVirtualAccountMutationRequestDestinationTokenEnum];
1775
1217
  type CreateVirtualAccountMutationRequest = {
1218
+ /**
1219
+ * @type string
1220
+ */
1221
+ currency: CreateVirtualAccountMutationRequestCurrencyEnumKey;
1776
1222
  /**
1777
1223
  * @type number
1778
1224
  */
1779
- chain: CreateVirtualAccountMutationRequestChainEnumKey;
1225
+ destination_chain: CreateVirtualAccountMutationRequestDestinationChainEnumKey;
1780
1226
  /**
1781
1227
  * @type string
1782
1228
  */
1783
- currency: CreateVirtualAccountMutationRequestCurrencyEnumKey;
1229
+ destination_token: CreateVirtualAccountMutationRequestDestinationTokenEnumKey;
1784
1230
  /**
1785
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
1786
- * @type string | undefined
1231
+ * @pattern ^0x[a-fA-F0-9]{40}$
1232
+ * @type string
1787
1233
  */
1788
- destination_token?: CreateVirtualAccountMutationRequestDestinationTokenEnumKey;
1234
+ wallet: string;
1789
1235
  };
1790
1236
  type CreateVirtualAccountMutationResponse = CreateVirtualAccount204;
1791
1237
  type CreateVirtualAccountMutation = {
1792
1238
  Response: CreateVirtualAccount204;
1793
1239
  Request: CreateVirtualAccountMutationRequest;
1794
- PathParams: CreateVirtualAccountPathParams;
1795
- Errors: CreateVirtualAccount400 | CreateVirtualAccount401 | CreateVirtualAccount403 | CreateVirtualAccount404 | CreateVirtualAccount409 | CreateVirtualAccount429 | CreateVirtualAccount502;
1240
+ Errors: CreateVirtualAccount400 | CreateVirtualAccount401 | CreateVirtualAccount403 | CreateVirtualAccount409 | CreateVirtualAccount429 | CreateVirtualAccount502;
1796
1241
  };
1797
1242
  declare const disconnectExchangePathParamsExchangeEnum: {
1798
1243
  readonly coinbase: "coinbase";
@@ -1800,35 +1245,33 @@ declare const disconnectExchangePathParamsExchangeEnum: {
1800
1245
  type DisconnectExchangePathParamsExchangeEnumKey = (typeof disconnectExchangePathParamsExchangeEnum)[keyof typeof disconnectExchangePathParamsExchangeEnum];
1801
1246
  type DisconnectExchangePathParams = {
1802
1247
  /**
1803
- * @pattern ^0x[a-fA-F0-9]{40}$
1804
1248
  * @type string
1805
1249
  */
1806
- address: string;
1250
+ exchange: DisconnectExchangePathParamsExchangeEnumKey;
1251
+ };
1252
+ type DisconnectExchangeQueryParams = {
1807
1253
  /**
1254
+ * @pattern ^0x[a-fA-F0-9]{40}$
1808
1255
  * @type string
1809
1256
  */
1810
- exchange: DisconnectExchangePathParamsExchangeEnumKey;
1257
+ wallet: string;
1811
1258
  };
1812
1259
  /**
1813
1260
  * @description Exchange disconnected.
1814
1261
  */
1815
1262
  type DisconnectExchange204 = any;
1816
1263
  /**
1817
- * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet.
1264
+ * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, publishable_key_missing, unsupported_exchange, validation_error.
1818
1265
  */
1819
1266
  type DisconnectExchange400 = Error$1;
1820
1267
  /**
1821
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1268
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
1822
1269
  */
1823
1270
  type DisconnectExchange401 = Error$1;
1824
1271
  /**
1825
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1272
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
1826
1273
  */
1827
1274
  type DisconnectExchange403 = Error$1;
1828
- /**
1829
- * @description Not Found — `error.code` includes: customer_not_registered.
1830
- */
1831
- type DisconnectExchange404 = Error$1;
1832
1275
  /**
1833
1276
  * @description Too Many Requests — `error.code` includes: rate_limited.
1834
1277
  */
@@ -1841,18 +1284,14 @@ type DisconnectExchangeMutationResponse = DisconnectExchange204;
1841
1284
  type DisconnectExchangeMutation = {
1842
1285
  Response: DisconnectExchange204;
1843
1286
  PathParams: DisconnectExchangePathParams;
1844
- Errors: DisconnectExchange400 | DisconnectExchange401 | DisconnectExchange403 | DisconnectExchange404 | DisconnectExchange429 | DisconnectExchange502;
1287
+ QueryParams: DisconnectExchangeQueryParams;
1288
+ Errors: DisconnectExchange400 | DisconnectExchange401 | DisconnectExchange403 | DisconnectExchange429 | DisconnectExchange502;
1845
1289
  };
1846
1290
  declare const executeExchangeWithdrawalPathParamsExchangeEnum: {
1847
1291
  readonly coinbase: "coinbase";
1848
1292
  };
1849
1293
  type ExecuteExchangeWithdrawalPathParamsExchangeEnumKey = (typeof executeExchangeWithdrawalPathParamsExchangeEnum)[keyof typeof executeExchangeWithdrawalPathParamsExchangeEnum];
1850
1294
  type ExecuteExchangeWithdrawalPathParams = {
1851
- /**
1852
- * @pattern ^0x[a-fA-F0-9]{40}$
1853
- * @type string
1854
- */
1855
- address: string;
1856
1295
  /**
1857
1296
  * @type string
1858
1297
  */
@@ -1870,14 +1309,6 @@ type ExecuteExchangeWithdrawal200StatusEnumKey = (typeof executeExchangeWithdraw
1870
1309
  * @description The withdrawal, or a 2FA challenge.
1871
1310
  */
1872
1311
  type ExecuteExchangeWithdrawal200 = ({
1873
- /**
1874
- * @type string
1875
- */
1876
- amount: string;
1877
- /**
1878
- * @type string
1879
- */
1880
- asset: string;
1881
1312
  /**
1882
1313
  * @type string,null, date-time
1883
1314
  */
@@ -1899,9 +1330,22 @@ type ExecuteExchangeWithdrawal200 = ({
1899
1330
  */
1900
1331
  id: string;
1901
1332
  /**
1902
- * @type string
1333
+ * @type object
1903
1334
  */
1904
- network: string;
1335
+ source: {
1336
+ /**
1337
+ * @type string
1338
+ */
1339
+ amount: string;
1340
+ /**
1341
+ * @type string
1342
+ */
1343
+ network: string;
1344
+ /**
1345
+ * @type string
1346
+ */
1347
+ token: string;
1348
+ };
1905
1349
  /**
1906
1350
  * @type string
1907
1351
  */
@@ -1917,19 +1361,19 @@ type ExecuteExchangeWithdrawal200 = ({
1917
1361
  requires_2fa: true;
1918
1362
  });
1919
1363
  /**
1920
- * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet, quote_expired, quote_not_found, validation_error, withdrawal_2fa_incomplete, withdrawal_2fa_invalid, withdrawal_2fa_method_not_supported, withdrawal_2fa_required_email, withdrawal_2fa_required_face_recognition, withdrawal_2fa_required_multi_steps, withdrawal_2fa_required_passphrase, withdrawal_2fa_required_sms, withdrawal_2fa_required_yubikey, withdrawal_amount_above_maximum, withdrawal_amount_below_minimum, withdrawal_asset_not_supported, withdrawal_email_unverified, withdrawal_insufficient_balance, withdrawal_insufficient_balance_for_fee, withdrawal_invalid_address, withdrawal_kyc_required, withdrawal_network_not_supported, withdrawal_too_many_addresses.
1364
+ * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, publishable_key_missing, quote_expired, quote_not_found, validation_error, withdrawal_2fa_incomplete, withdrawal_2fa_invalid, withdrawal_2fa_method_not_supported, withdrawal_2fa_required_email, withdrawal_2fa_required_face_recognition, withdrawal_2fa_required_multi_steps, withdrawal_2fa_required_passphrase, withdrawal_2fa_required_sms, withdrawal_2fa_required_yubikey, withdrawal_amount_above_maximum, withdrawal_amount_below_minimum, withdrawal_asset_not_supported, withdrawal_email_unverified, withdrawal_insufficient_balance, withdrawal_insufficient_balance_for_fee, withdrawal_invalid_address, withdrawal_kyc_required, withdrawal_network_not_supported, withdrawal_too_many_addresses.
1921
1365
  */
1922
1366
  type ExecuteExchangeWithdrawal400 = Error$1;
1923
1367
  /**
1924
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1368
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
1925
1369
  */
1926
1370
  type ExecuteExchangeWithdrawal401 = Error$1;
1927
1371
  /**
1928
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1372
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
1929
1373
  */
1930
1374
  type ExecuteExchangeWithdrawal403 = Error$1;
1931
1375
  /**
1932
- * @description Not Found — `error.code` includes: customer_not_registered, exchange_not_connected, withdrawal_not_found.
1376
+ * @description Not Found — `error.code` includes: withdrawal_not_found.
1933
1377
  */
1934
1378
  type ExecuteExchangeWithdrawal404 = Error$1;
1935
1379
  /**
@@ -1953,6 +1397,11 @@ type ExecuteExchangeWithdrawalMutationRequest = {
1953
1397
  * @type string | undefined
1954
1398
  */
1955
1399
  twofa?: string;
1400
+ /**
1401
+ * @pattern ^0x[a-fA-F0-9]{40}$
1402
+ * @type string
1403
+ */
1404
+ wallet: string;
1956
1405
  };
1957
1406
  type ExecuteExchangeWithdrawalMutationResponse = ExecuteExchangeWithdrawal200;
1958
1407
  type ExecuteExchangeWithdrawalMutation = {
@@ -1961,96 +1410,12 @@ type ExecuteExchangeWithdrawalMutation = {
1961
1410
  PathParams: ExecuteExchangeWithdrawalPathParams;
1962
1411
  Errors: ExecuteExchangeWithdrawal400 | ExecuteExchangeWithdrawal401 | ExecuteExchangeWithdrawal403 | ExecuteExchangeWithdrawal404 | ExecuteExchangeWithdrawal409 | ExecuteExchangeWithdrawal429 | ExecuteExchangeWithdrawal502;
1963
1412
  };
1964
- declare const getBalancePathParamsTokenEnum: {
1965
- readonly eth: "eth";
1966
- readonly hype: "hype";
1967
- readonly mon: "mon";
1968
- readonly pol: "pol";
1969
- readonly usdc: "usdc";
1970
- readonly usdm: "usdm";
1971
- readonly usdt: "usdt";
1972
- };
1973
- type GetBalancePathParamsTokenEnumKey = (typeof getBalancePathParamsTokenEnum)[keyof typeof getBalancePathParamsTokenEnum];
1974
- type GetBalancePathParams = {
1975
- /**
1976
- * @pattern ^0x[a-fA-F0-9]{40}$
1977
- * @type string
1978
- */
1979
- address: string;
1980
- /**
1981
- * @pattern ^\d+$
1982
- * @type string
1983
- */
1984
- chain: string;
1985
- /**
1986
- * @type string
1987
- */
1988
- token: GetBalancePathParamsTokenEnumKey;
1989
- };
1990
- /**
1991
- * @description The token balance.
1992
- */
1993
- type GetBalance200 = {
1994
- /**
1995
- * @type string
1996
- */
1997
- balance: string;
1998
- /**
1999
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
2000
- * @minLength -9007199254740991
2001
- * @maxLength 9007199254740991
2002
- * @type integer
2003
- */
2004
- chain: number;
2005
- /**
2006
- * @type string,null
2007
- */
2008
- token: string | null;
2009
- /**
2010
- * @type number
2011
- */
2012
- usd_value: number;
2013
- };
2014
- /**
2015
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
2016
- */
2017
- type GetBalance400 = Error$1;
2018
- /**
2019
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2020
- */
2021
- type GetBalance401 = Error$1;
2022
- /**
2023
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2024
- */
2025
- type GetBalance403 = Error$1;
2026
- /**
2027
- * @description Not Found — `error.code` includes: balances_unavailable, token_not_supported.
2028
- */
2029
- type GetBalance404 = Error$1;
2030
- /**
2031
- * @description Too Many Requests — `error.code` includes: rate_limited.
2032
- */
2033
- type GetBalance429 = Error$1;
2034
- type GetBalanceQueryResponse = GetBalance200;
2035
- type GetBalanceQuery = {
2036
- Response: GetBalance200;
2037
- PathParams: GetBalancePathParams;
2038
- Errors: GetBalance400 | GetBalance401 | GetBalance403 | GetBalance404 | GetBalance429;
2039
- };
2040
- type GetBalancesPathParams = {
1413
+ type GetBalancesQueryParams = {
2041
1414
  /**
2042
1415
  * @pattern ^0x[a-fA-F0-9]{40}$
2043
1416
  * @type string
2044
1417
  */
2045
- address: string;
2046
- };
2047
- type GetBalancesQueryParams = {
2048
- /**
2049
- * @description Comma-separated chain ids to read (e.g. `1,8453`). Defaults to the source chains (`1,8453,999,1337,4326,143,137`).
2050
- * @pattern ^\d+(,\d+)*$
2051
- * @type string | undefined
2052
- */
2053
- chains?: string;
1418
+ wallet: string;
2054
1419
  };
2055
1420
  /**
2056
1421
  * @description Balances by chain and token.
@@ -2071,7 +1436,7 @@ type GetBalances200 = {
2071
1436
  */
2072
1437
  balance: string;
2073
1438
  /**
2074
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
1439
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137, 42161 — additive; tolerate unknown values.
2075
1440
  * @minLength -9007199254740991
2076
1441
  * @maxLength 9007199254740991
2077
1442
  * @type integer
@@ -2088,15 +1453,15 @@ type GetBalances200 = {
2088
1453
  }[];
2089
1454
  };
2090
1455
  /**
2091
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1456
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
2092
1457
  */
2093
1458
  type GetBalances400 = Error$1;
2094
1459
  /**
2095
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1460
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2096
1461
  */
2097
1462
  type GetBalances401 = Error$1;
2098
1463
  /**
2099
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1464
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2100
1465
  */
2101
1466
  type GetBalances403 = Error$1;
2102
1467
  /**
@@ -2106,36 +1471,32 @@ type GetBalances429 = Error$1;
2106
1471
  type GetBalancesQueryResponse = GetBalances200;
2107
1472
  type GetBalancesQuery = {
2108
1473
  Response: GetBalances200;
2109
- PathParams: GetBalancesPathParams;
2110
1474
  QueryParams: GetBalancesQueryParams;
2111
1475
  Errors: GetBalances400 | GetBalances401 | GetBalances403 | GetBalances429;
2112
1476
  };
2113
- type GetBlinkConfigPathParams = {
2114
- /**
2115
- * @pattern ^0x[a-fA-F0-9]{40}$
2116
- * @type string
2117
- */
2118
- address: string;
2119
- };
2120
1477
  /**
2121
1478
  * @description The deposit-rail runtime config.
2122
1479
  */
2123
1480
  type GetBlinkConfig200 = {
1481
+ /**
1482
+ * @type string,null
1483
+ */
1484
+ merchant_id: string | null;
2124
1485
  /**
2125
1486
  * @type string,null, uri
2126
1487
  */
2127
1488
  webview_url: string | null;
2128
1489
  };
2129
1490
  /**
2130
- * @description Bad Request — `error.code` includes: invalid_wallet.
1491
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
2131
1492
  */
2132
1493
  type GetBlinkConfig400 = Error$1;
2133
1494
  /**
2134
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1495
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2135
1496
  */
2136
1497
  type GetBlinkConfig401 = Error$1;
2137
1498
  /**
2138
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1499
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2139
1500
  */
2140
1501
  type GetBlinkConfig403 = Error$1;
2141
1502
  /**
@@ -2145,270 +1506,111 @@ type GetBlinkConfig429 = Error$1;
2145
1506
  type GetBlinkConfigQueryResponse = GetBlinkConfig200;
2146
1507
  type GetBlinkConfigQuery = {
2147
1508
  Response: GetBlinkConfig200;
2148
- PathParams: GetBlinkConfigPathParams;
2149
1509
  Errors: GetBlinkConfig400 | GetBlinkConfig401 | GetBlinkConfig403 | GetBlinkConfig429;
2150
1510
  };
2151
- type GetCardConfigPathParams = {
1511
+ type GetCardOrderPathParams = {
1512
+ /**
1513
+ * @type string, uuid
1514
+ */
1515
+ id: string;
1516
+ };
1517
+ type GetCardOrderQueryParams = {
2152
1518
  /**
2153
1519
  * @pattern ^0x[a-fA-F0-9]{40}$
2154
1520
  * @type string
2155
1521
  */
2156
- address: string;
1522
+ wallet: string;
1523
+ };
1524
+ declare const destinationChainEnum: {
1525
+ readonly "1": 1;
1526
+ readonly "8453": 8453;
1527
+ readonly "999": 999;
1528
+ readonly "1337": 1337;
1529
+ readonly "4326": 4326;
1530
+ readonly "143": 143;
1531
+ readonly "137": 137;
1532
+ readonly "42161": 42161;
2157
1533
  };
2158
- declare const processorEnvEnum: {
2159
- readonly sandbox: "sandbox";
2160
- readonly prod: "prod";
1534
+ type DestinationChainEnumKey = (typeof destinationChainEnum)[keyof typeof destinationChainEnum];
1535
+ declare const getCardOrder200StatusEnum: {
1536
+ readonly payment_pending: "payment_pending";
1537
+ readonly order_completed: "order_completed";
1538
+ readonly order_broadcasted: "order_broadcasted";
1539
+ readonly order_cancelled: "order_cancelled";
2161
1540
  };
2162
- type ProcessorEnvEnumKey = (typeof processorEnvEnum)[keyof typeof processorEnvEnum];
1541
+ type GetCardOrder200StatusEnumKey = (typeof getCardOrder200StatusEnum)[keyof typeof getCardOrder200StatusEnum];
2163
1542
  /**
2164
- * @description The card flow configuration.
1543
+ * @description The card order.
2165
1544
  */
2166
- type GetCardConfig200 = {
1545
+ type GetCardOrder200 = {
2167
1546
  /**
2168
- * @type object
1547
+ * @type string, date-time
2169
1548
  */
2170
- processor: {
2171
- /**
2172
- * @type string
2173
- */
2174
- env: ProcessorEnvEnumKey;
2175
- /**
2176
- * @type string
2177
- */
2178
- merchant_id: string;
2179
- };
1549
+ created_at: string;
2180
1550
  /**
2181
1551
  * @type object
2182
1552
  */
2183
- risk: {
1553
+ destination: {
2184
1554
  /**
2185
- * @type string
1555
+ * @type number
2186
1556
  */
2187
- application_id: string;
1557
+ chain: DestinationChainEnumKey;
2188
1558
  /**
2189
1559
  * @type string
2190
1560
  */
2191
- partner_id: string;
2192
- };
2193
- /**
2194
- * @type object
2195
- */
2196
- secure_inputs: {
2197
- /**
2198
- * @type string
2199
- */
2200
- application_id: string;
1561
+ token: string;
2201
1562
  /**
1563
+ * @pattern ^0x[a-fA-F0-9]{40}$
2202
1564
  * @type string
2203
1565
  */
2204
- team_id: string;
1566
+ wallet: string;
2205
1567
  };
2206
- };
2207
- /**
2208
- * @description Bad Request — `error.code` includes: invalid_wallet.
2209
- */
2210
- type GetCardConfig400 = Error$1;
2211
- /**
2212
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2213
- */
2214
- type GetCardConfig401 = Error$1;
2215
- /**
2216
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2217
- */
2218
- type GetCardConfig403 = Error$1;
2219
- /**
2220
- * @description Too Many Requests — `error.code` includes: rate_limited.
2221
- */
2222
- type GetCardConfig429 = Error$1;
2223
- /**
2224
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
2225
- */
2226
- type GetCardConfig502 = Error$1;
2227
- type GetCardConfigQueryResponse = GetCardConfig200;
2228
- type GetCardConfigQuery = {
2229
- Response: GetCardConfig200;
2230
- PathParams: GetCardConfigPathParams;
2231
- Errors: GetCardConfig400 | GetCardConfig401 | GetCardConfig403 | GetCardConfig429 | GetCardConfig502;
2232
- };
2233
- type GetCardCustomerPathParams = {
2234
1568
  /**
2235
- * @pattern ^0x[a-fA-F0-9]{40}$
2236
- * @type string
1569
+ * @type string, uuid
2237
1570
  */
2238
- address: string;
2239
- };
2240
- /**
2241
- * @description The saved registration + billing profile.
2242
- */
2243
- type GetCardCustomer200 = {
1571
+ id: string;
2244
1572
  /**
2245
1573
  * @type object
2246
1574
  */
2247
- billing: {
2248
- /**
2249
- * @type string
2250
- */
2251
- city: string;
2252
- /**
2253
- * @type string
2254
- */
2255
- country: string;
1575
+ source: {
2256
1576
  /**
2257
1577
  * @type string
2258
1578
  */
2259
- line1: string;
2260
- /**
2261
- * @type string | undefined
2262
- */
2263
- line2?: string;
2264
- /**
2265
- * @type string
2266
- */
2267
- postal_code: string;
1579
+ amount: string;
2268
1580
  /**
2269
- * @type string
1581
+ * @type string,null
2270
1582
  */
2271
- state: string;
2272
- };
2273
- /**
2274
- * @type object
2275
- */
2276
- customer: {
1583
+ card_brand: string | null;
2277
1584
  /**
2278
- * @type string
1585
+ * @type string,null
2279
1586
  */
2280
- email: string;
1587
+ card_last_four: string | null;
2281
1588
  /**
2282
1589
  * @type string
2283
1590
  */
2284
- first_name: string;
1591
+ currency: string;
2285
1592
  /**
1593
+ * @pattern ^0x[a-fA-F0-9]{40}$
2286
1594
  * @type string
2287
1595
  */
2288
- last_name: string;
1596
+ wallet: string;
2289
1597
  };
2290
- };
2291
- /**
2292
- * @description Bad Request — `error.code` includes: invalid_wallet.
2293
- */
2294
- type GetCardCustomer400 = Error$1;
2295
- /**
2296
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2297
- */
2298
- type GetCardCustomer401 = Error$1;
2299
- /**
2300
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2301
- */
2302
- type GetCardCustomer403 = Error$1;
2303
- /**
2304
- * @description Not Found — `error.code` includes: card_customer_not_found.
2305
- */
2306
- type GetCardCustomer404 = Error$1;
2307
- /**
2308
- * @description Too Many Requests — `error.code` includes: rate_limited.
2309
- */
2310
- type GetCardCustomer429 = Error$1;
2311
- type GetCardCustomerQueryResponse = GetCardCustomer200;
2312
- type GetCardCustomerQuery = {
2313
- Response: GetCardCustomer200;
2314
- PathParams: GetCardCustomerPathParams;
2315
- Errors: GetCardCustomer400 | GetCardCustomer401 | GetCardCustomer403 | GetCardCustomer404 | GetCardCustomer429;
2316
- };
2317
- type GetCardOrderPathParams = {
2318
- /**
2319
- * @pattern ^0x[a-fA-F0-9]{40}$
2320
- * @type string
2321
- */
2322
- address: string;
2323
- /**
2324
- * @type string, uuid
2325
- */
2326
- id: string;
2327
- };
2328
- declare const getCardOrder200ChainEnum: {
2329
- readonly "1": 1;
2330
- readonly "8453": 8453;
2331
- readonly "999": 999;
2332
- readonly "1337": 1337;
2333
- readonly "4326": 4326;
2334
- readonly "143": 143;
2335
- readonly "137": 137;
2336
- };
2337
- type GetCardOrder200ChainEnumKey = (typeof getCardOrder200ChainEnum)[keyof typeof getCardOrder200ChainEnum];
2338
- declare const getCardOrder200StatusEnum: {
2339
- readonly submitted: "submitted";
2340
- readonly processing: "processing";
2341
- readonly completed: "completed";
2342
- readonly failed: "failed";
2343
- readonly requires_3ds: "requires_3ds";
2344
- };
2345
- type GetCardOrder200StatusEnumKey = (typeof getCardOrder200StatusEnum)[keyof typeof getCardOrder200StatusEnum];
2346
- /**
2347
- * @description The card order.
2348
- */
2349
- type GetCardOrder200 = {
2350
- /**
2351
- * @pattern ^0x[a-fA-F0-9]{40}$
2352
- * @type string
2353
- */
2354
- address: string;
2355
- /**
2356
- * @type string
2357
- */
2358
- amount_usd: string;
2359
- /**
2360
- * @type string
2361
- */
2362
- asset: string;
2363
- /**
2364
- * @type string,null
2365
- */
2366
- card_brand: string | null;
2367
- /**
2368
- * @type string,null
2369
- */
2370
- card_last_four: string | null;
2371
- /**
2372
- * @type number
2373
- */
2374
- chain: GetCardOrder200ChainEnumKey;
2375
- /**
2376
- * @type string, date-time
2377
- */
2378
- created_at: string;
2379
- /**
2380
- * @description Why the charge failed, drawn from the same set of codes a synchronous checkout answers with. Null unless the order failed.
2381
- * @type string,null
2382
- */
2383
- error_code: string | null;
2384
- /**
2385
- * @description Human-readable explanation of `error_code`.
2386
- * @type string,null
2387
- */
2388
- error_message: string | null;
2389
- /**
2390
- * @type string, uuid
2391
- */
2392
- id: string;
2393
- /**
2394
- * @type string
2395
- */
2396
- source_currency: string;
2397
1598
  /**
1599
+ * @description `payment_pending` until the first provider callback, then the status it carries. Poll until `order_broadcasted` or `order_cancelled`.
2398
1600
  * @type string
2399
1601
  */
2400
1602
  status: GetCardOrder200StatusEnumKey;
2401
1603
  };
2402
1604
  /**
2403
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1605
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
2404
1606
  */
2405
1607
  type GetCardOrder400 = Error$1;
2406
1608
  /**
2407
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1609
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2408
1610
  */
2409
1611
  type GetCardOrder401 = Error$1;
2410
1612
  /**
2411
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1613
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2412
1614
  */
2413
1615
  type GetCardOrder403 = Error$1;
2414
1616
  /**
@@ -2423,80 +1625,21 @@ type GetCardOrderQueryResponse = GetCardOrder200;
2423
1625
  type GetCardOrderQuery = {
2424
1626
  Response: GetCardOrder200;
2425
1627
  PathParams: GetCardOrderPathParams;
1628
+ QueryParams: GetCardOrderQueryParams;
2426
1629
  Errors: GetCardOrder400 | GetCardOrder401 | GetCardOrder403 | GetCardOrder404 | GetCardOrder429;
2427
1630
  };
2428
- type GetCardQuotePathParams = {
2429
- /**
2430
- * @pattern ^0x[a-fA-F0-9]{40}$
2431
- * @type string
2432
- */
2433
- address: string;
2434
- };
2435
- type GetCardQuoteQueryParams = {
2436
- /**
2437
- * @pattern ^\d{1,7}(\.\d{1,2})?$
2438
- * @type string | undefined
2439
- */
2440
- amount_usd?: string;
2441
- };
2442
- /**
2443
- * @description The price estimate for the requested amount.
2444
- */
2445
- type GetCardQuote200 = {
2446
- /**
2447
- * @type string
2448
- */
2449
- destination_amount: string;
2450
- /**
2451
- * @type number
2452
- */
2453
- exchange_rate: number;
2454
- /**
2455
- * @type string
2456
- */
2457
- fees: string;
1631
+ type GetCashAppOrderPathParams = {
2458
1632
  /**
2459
- * @type string
2460
- */
2461
- source_amount: string;
2462
- };
2463
- /**
2464
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
2465
- */
2466
- type GetCardQuote400 = Error$1;
2467
- /**
2468
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2469
- */
2470
- type GetCardQuote401 = Error$1;
2471
- /**
2472
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2473
- */
2474
- type GetCardQuote403 = Error$1;
2475
- /**
2476
- * @description Too Many Requests — `error.code` includes: rate_limited.
2477
- */
2478
- type GetCardQuote429 = Error$1;
2479
- /**
2480
- * @description Bad Gateway — `error.code` includes: quote_unavailable.
2481
- */
2482
- type GetCardQuote502 = Error$1;
2483
- type GetCardQuoteQueryResponse = GetCardQuote200;
2484
- type GetCardQuoteQuery = {
2485
- Response: GetCardQuote200;
2486
- PathParams: GetCardQuotePathParams;
2487
- QueryParams: GetCardQuoteQueryParams;
2488
- Errors: GetCardQuote400 | GetCardQuote401 | GetCardQuote403 | GetCardQuote429 | GetCardQuote502;
1633
+ * @type string, uuid
1634
+ */
1635
+ id: string;
2489
1636
  };
2490
- type GetCashAppOrderPathParams = {
1637
+ type GetCashAppOrderQueryParams = {
2491
1638
  /**
2492
1639
  * @pattern ^0x[a-fA-F0-9]{40}$
2493
1640
  * @type string
2494
1641
  */
2495
- address: string;
2496
- /**
2497
- * @type string, uuid
2498
- */
2499
- id: string;
1642
+ wallet: string;
2500
1643
  };
2501
1644
  declare const getCashAppOrder200StatusEnum: {
2502
1645
  readonly pending: "pending";
@@ -2518,22 +1661,6 @@ type GetCashAppOrder200StatusEnumKey = (typeof getCashAppOrder200StatusEnum)[key
2518
1661
  * @description The Cash App order.
2519
1662
  */
2520
1663
  type GetCashAppOrder200 = {
2521
- /**
2522
- * @pattern ^0x[a-fA-F0-9]{40}$
2523
- * @type string
2524
- */
2525
- address: string;
2526
- /**
2527
- * @type string
2528
- */
2529
- amount_usd: string;
2530
- /**
2531
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
2532
- * @minLength -9007199254740991
2533
- * @maxLength 9007199254740991
2534
- * @type integer
2535
- */
2536
- chain: number;
2537
1664
  /**
2538
1665
  * @type string, date-time
2539
1666
  */
@@ -2541,30 +1668,38 @@ type GetCashAppOrder200 = {
2541
1668
  /**
2542
1669
  * @type object
2543
1670
  */
2544
- fee: {
1671
+ destination: {
2545
1672
  /**
2546
1673
  * @type string
2547
1674
  */
2548
1675
  amount: string;
1676
+ /**
1677
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137, 42161 — additive; tolerate unknown values.
1678
+ * @minLength -9007199254740991
1679
+ * @maxLength 9007199254740991
1680
+ * @type integer
1681
+ */
1682
+ chain: number;
2549
1683
  /**
2550
1684
  * @minLength -9007199254740991
2551
1685
  * @maxLength 9007199254740991
2552
1686
  * @type integer
2553
1687
  */
2554
1688
  decimals: number;
1689
+ /**
1690
+ * @type string
1691
+ */
1692
+ token: string;
1693
+ /**
1694
+ * @pattern ^0x[a-fA-F0-9]{40}$
1695
+ * @type string
1696
+ */
1697
+ wallet: string;
2555
1698
  };
2556
- /**
2557
- * @type string, uuid
2558
- */
2559
- id: string;
2560
- /**
2561
- * @type string
2562
- */
2563
- link: string;
2564
1699
  /**
2565
1700
  * @type object
2566
1701
  */
2567
- out: {
1702
+ fee: {
2568
1703
  /**
2569
1704
  * @type string
2570
1705
  */
@@ -2577,16 +1712,22 @@ type GetCashAppOrder200 = {
2577
1712
  decimals: number;
2578
1713
  };
2579
1714
  /**
2580
- * @type boolean
1715
+ * @type string, uuid
2581
1716
  */
2582
- routed: boolean;
1717
+ id: string;
2583
1718
  /**
2584
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
2585
- * @minLength -9007199254740991
2586
- * @maxLength 9007199254740991
2587
- * @type integer
1719
+ * @type object
2588
1720
  */
2589
- settlement_chain: number;
1721
+ source: {
1722
+ /**
1723
+ * @type string
1724
+ */
1725
+ amount: string;
1726
+ /**
1727
+ * @type string
1728
+ */
1729
+ currency: string;
1730
+ };
2590
1731
  /**
2591
1732
  * @type string
2592
1733
  */
@@ -2594,22 +1735,22 @@ type GetCashAppOrder200 = {
2594
1735
  /**
2595
1736
  * @type string
2596
1737
  */
2597
- token: string;
1738
+ url: string;
2598
1739
  };
2599
1740
  /**
2600
- * @description Bad Request — `error.code` includes: invalid_wallet.
1741
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
2601
1742
  */
2602
1743
  type GetCashAppOrder400 = Error$1;
2603
1744
  /**
2604
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1745
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2605
1746
  */
2606
1747
  type GetCashAppOrder401 = Error$1;
2607
1748
  /**
2608
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1749
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2609
1750
  */
2610
1751
  type GetCashAppOrder403 = Error$1;
2611
1752
  /**
2612
- * @description Not Found — `error.code` includes: cashapp_order_not_found, customer_not_registered.
1753
+ * @description Not Found — `error.code` includes: cashapp_order_not_found.
2613
1754
  */
2614
1755
  type GetCashAppOrder404 = Error$1;
2615
1756
  /**
@@ -2620,6 +1761,7 @@ type GetCashAppOrderQueryResponse = GetCashAppOrder200;
2620
1761
  type GetCashAppOrderQuery = {
2621
1762
  Response: GetCashAppOrder200;
2622
1763
  PathParams: GetCashAppOrderPathParams;
1764
+ QueryParams: GetCashAppOrderQueryParams;
2623
1765
  Errors: GetCashAppOrder400 | GetCashAppOrder401 | GetCashAppOrder403 | GetCashAppOrder404 | GetCashAppOrder429;
2624
1766
  };
2625
1767
  declare const getExchangePathParamsExchangeEnum: {
@@ -2628,14 +1770,16 @@ declare const getExchangePathParamsExchangeEnum: {
2628
1770
  type GetExchangePathParamsExchangeEnumKey = (typeof getExchangePathParamsExchangeEnum)[keyof typeof getExchangePathParamsExchangeEnum];
2629
1771
  type GetExchangePathParams = {
2630
1772
  /**
2631
- * @pattern ^0x[a-fA-F0-9]{40}$
2632
1773
  * @type string
2633
1774
  */
2634
- address: string;
1775
+ exchange: GetExchangePathParamsExchangeEnumKey;
1776
+ };
1777
+ type GetExchangeQueryParams = {
2635
1778
  /**
1779
+ * @pattern ^0x[a-fA-F0-9]{40}$
2636
1780
  * @type string
2637
1781
  */
2638
- exchange: GetExchangePathParamsExchangeEnumKey;
1782
+ wallet: string;
2639
1783
  };
2640
1784
  /**
2641
1785
  * @description The connection status.
@@ -2659,21 +1803,17 @@ type GetExchange200 = {
2659
1803
  id: string | null;
2660
1804
  };
2661
1805
  /**
2662
- * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet.
1806
+ * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, publishable_key_missing, unsupported_exchange, validation_error.
2663
1807
  */
2664
1808
  type GetExchange400 = Error$1;
2665
1809
  /**
2666
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1810
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2667
1811
  */
2668
1812
  type GetExchange401 = Error$1;
2669
1813
  /**
2670
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1814
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2671
1815
  */
2672
1816
  type GetExchange403 = Error$1;
2673
- /**
2674
- * @description Not Found — `error.code` includes: customer_not_registered.
2675
- */
2676
- type GetExchange404 = Error$1;
2677
1817
  /**
2678
1818
  * @description Too Many Requests — `error.code` includes: rate_limited.
2679
1819
  */
@@ -2686,7 +1826,8 @@ type GetExchangeQueryResponse = GetExchange200;
2686
1826
  type GetExchangeQuery = {
2687
1827
  Response: GetExchange200;
2688
1828
  PathParams: GetExchangePathParams;
2689
- Errors: GetExchange400 | GetExchange401 | GetExchange403 | GetExchange404 | GetExchange429 | GetExchange502;
1829
+ QueryParams: GetExchangeQueryParams;
1830
+ Errors: GetExchange400 | GetExchange401 | GetExchange403 | GetExchange429 | GetExchange502;
2690
1831
  };
2691
1832
  declare const getExchangeAssetsPathParamsExchangeEnum: {
2692
1833
  readonly coinbase: "coinbase";
@@ -2694,14 +1835,16 @@ declare const getExchangeAssetsPathParamsExchangeEnum: {
2694
1835
  type GetExchangeAssetsPathParamsExchangeEnumKey = (typeof getExchangeAssetsPathParamsExchangeEnum)[keyof typeof getExchangeAssetsPathParamsExchangeEnum];
2695
1836
  type GetExchangeAssetsPathParams = {
2696
1837
  /**
2697
- * @pattern ^0x[a-fA-F0-9]{40}$
2698
1838
  * @type string
2699
1839
  */
2700
- address: string;
1840
+ exchange: GetExchangeAssetsPathParamsExchangeEnumKey;
1841
+ };
1842
+ type GetExchangeAssetsQueryParams = {
2701
1843
  /**
1844
+ * @pattern ^0x[a-fA-F0-9]{40}$
2702
1845
  * @type string
2703
1846
  */
2704
- exchange: GetExchangeAssetsPathParamsExchangeEnumKey;
1847
+ wallet: string;
2705
1848
  };
2706
1849
  /**
2707
1850
  * @description Withdrawable assets and networks.
@@ -2761,23 +1904,19 @@ type GetExchangeAssets200 = {
2761
1904
  last_sync_at: string;
2762
1905
  };
2763
1906
  /**
2764
- * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet.
1907
+ * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, publishable_key_missing, unsupported_exchange, validation_error.
2765
1908
  */
2766
1909
  type GetExchangeAssets400 = Error$1;
2767
1910
  /**
2768
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1911
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2769
1912
  */
2770
1913
  type GetExchangeAssets401 = Error$1;
2771
1914
  /**
2772
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1915
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2773
1916
  */
2774
1917
  type GetExchangeAssets403 = Error$1;
2775
1918
  /**
2776
- * @description Not Found — `error.code` includes: customer_not_registered, exchange_not_connected.
2777
- */
2778
- type GetExchangeAssets404 = Error$1;
2779
- /**
2780
- * @description Conflict — `error.code` includes: exchange_reconnect_required.
1919
+ * @description Conflict — `error.code` includes: exchange_not_connected, exchange_reconnect_required.
2781
1920
  */
2782
1921
  type GetExchangeAssets409 = Error$1;
2783
1922
  /**
@@ -2792,18 +1931,14 @@ type GetExchangeAssetsQueryResponse = GetExchangeAssets200;
2792
1931
  type GetExchangeAssetsQuery = {
2793
1932
  Response: GetExchangeAssets200;
2794
1933
  PathParams: GetExchangeAssetsPathParams;
2795
- Errors: GetExchangeAssets400 | GetExchangeAssets401 | GetExchangeAssets403 | GetExchangeAssets404 | GetExchangeAssets409 | GetExchangeAssets429 | GetExchangeAssets502;
1934
+ QueryParams: GetExchangeAssetsQueryParams;
1935
+ Errors: GetExchangeAssets400 | GetExchangeAssets401 | GetExchangeAssets403 | GetExchangeAssets409 | GetExchangeAssets429 | GetExchangeAssets502;
2796
1936
  };
2797
1937
  declare const getExchangeWithdrawalPathParamsExchangeEnum: {
2798
1938
  readonly coinbase: "coinbase";
2799
1939
  };
2800
1940
  type GetExchangeWithdrawalPathParamsExchangeEnumKey = (typeof getExchangeWithdrawalPathParamsExchangeEnum)[keyof typeof getExchangeWithdrawalPathParamsExchangeEnum];
2801
1941
  type GetExchangeWithdrawalPathParams = {
2802
- /**
2803
- * @pattern ^0x[a-fA-F0-9]{40}$
2804
- * @type string
2805
- */
2806
- address: string;
2807
1942
  /**
2808
1943
  * @type string
2809
1944
  */
@@ -2813,6 +1948,13 @@ type GetExchangeWithdrawalPathParams = {
2813
1948
  */
2814
1949
  id: string;
2815
1950
  };
1951
+ type GetExchangeWithdrawalQueryParams = {
1952
+ /**
1953
+ * @pattern ^0x[a-fA-F0-9]{40}$
1954
+ * @type string
1955
+ */
1956
+ wallet: string;
1957
+ };
2816
1958
  declare const getExchangeWithdrawal200StatusEnum: {
2817
1959
  readonly quoted: "quoted";
2818
1960
  readonly pending: "pending";
@@ -2825,14 +1967,6 @@ type GetExchangeWithdrawal200StatusEnumKey = (typeof getExchangeWithdrawal200Sta
2825
1967
  * @description The withdrawal.
2826
1968
  */
2827
1969
  type GetExchangeWithdrawal200 = {
2828
- /**
2829
- * @type string
2830
- */
2831
- amount: string;
2832
- /**
2833
- * @type string
2834
- */
2835
- asset: string;
2836
1970
  /**
2837
1971
  * @type string,null, date-time
2838
1972
  */
@@ -2854,9 +1988,22 @@ type GetExchangeWithdrawal200 = {
2854
1988
  */
2855
1989
  id: string;
2856
1990
  /**
2857
- * @type string
1991
+ * @type object
2858
1992
  */
2859
- network: string;
1993
+ source: {
1994
+ /**
1995
+ * @type string
1996
+ */
1997
+ amount: string;
1998
+ /**
1999
+ * @type string
2000
+ */
2001
+ network: string;
2002
+ /**
2003
+ * @type string
2004
+ */
2005
+ token: string;
2006
+ };
2860
2007
  /**
2861
2008
  * @type string
2862
2009
  */
@@ -2867,19 +2014,19 @@ type GetExchangeWithdrawal200 = {
2867
2014
  transaction_hash: string | null;
2868
2015
  };
2869
2016
  /**
2870
- * @description Bad Request — `error.code` includes: invalid_wallet.
2017
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
2871
2018
  */
2872
2019
  type GetExchangeWithdrawal400 = Error$1;
2873
2020
  /**
2874
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2021
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2875
2022
  */
2876
2023
  type GetExchangeWithdrawal401 = Error$1;
2877
2024
  /**
2878
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2025
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2879
2026
  */
2880
2027
  type GetExchangeWithdrawal403 = Error$1;
2881
2028
  /**
2882
- * @description Not Found — `error.code` includes: customer_not_registered, withdrawal_not_found.
2029
+ * @description Not Found — `error.code` includes: withdrawal_not_found.
2883
2030
  */
2884
2031
  type GetExchangeWithdrawal404 = Error$1;
2885
2032
  /**
@@ -2890,6 +2037,7 @@ type GetExchangeWithdrawalQueryResponse = GetExchangeWithdrawal200;
2890
2037
  type GetExchangeWithdrawalQuery = {
2891
2038
  Response: GetExchangeWithdrawal200;
2892
2039
  PathParams: GetExchangeWithdrawalPathParams;
2040
+ QueryParams: GetExchangeWithdrawalQueryParams;
2893
2041
  Errors: GetExchangeWithdrawal400 | GetExchangeWithdrawal401 | GetExchangeWithdrawal403 | GetExchangeWithdrawal404 | GetExchangeWithdrawal429;
2894
2042
  };
2895
2043
  /**
@@ -2899,15 +2047,15 @@ type GetFxRates200 = {
2899
2047
  /**
2900
2048
  * @type number
2901
2049
  */
2902
- eur: number;
2050
+ EUR: number;
2903
2051
  /**
2904
2052
  * @type number
2905
2053
  */
2906
- gbp: number;
2054
+ GBP: number;
2907
2055
  /**
2908
2056
  * @type number
2909
2057
  */
2910
- usd: 1;
2058
+ USD: 1;
2911
2059
  };
2912
2060
  /**
2913
2061
  * @description Too Many Requests — `error.code` includes: rate_limited.
@@ -2922,58 +2070,51 @@ type GetFxRatesQuery = {
2922
2070
  Response: GetFxRates200;
2923
2071
  Errors: GetFxRates429 | GetFxRates502;
2924
2072
  };
2925
- type GetIdentityVerificationLinkPathParams = {
2926
- /**
2927
- * @pattern ^0x[a-fA-F0-9]{40}$
2928
- * @type string
2929
- */
2930
- address: string;
2931
- };
2932
2073
  /**
2933
2074
  * @description The identity-verification URL.
2934
2075
  */
2935
- type GetIdentityVerificationLink200 = {
2076
+ type GetIdentityVerificationUrl200 = {
2936
2077
  /**
2937
2078
  * @type string, uri
2938
2079
  */
2939
2080
  url: string;
2940
2081
  };
2941
2082
  /**
2942
- * @description Bad Request — `error.code` includes: invalid_wallet.
2083
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
2943
2084
  */
2944
- type GetIdentityVerificationLink400 = Error$1;
2085
+ type GetIdentityVerificationUrl400 = Error$1;
2945
2086
  /**
2946
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2087
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2947
2088
  */
2948
- type GetIdentityVerificationLink401 = Error$1;
2089
+ type GetIdentityVerificationUrl401 = Error$1;
2949
2090
  /**
2950
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2091
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2951
2092
  */
2952
- type GetIdentityVerificationLink403 = Error$1;
2093
+ type GetIdentityVerificationUrl403 = Error$1;
2953
2094
  /**
2954
2095
  * @description Not Found — `error.code` includes: customer_not_registered.
2955
2096
  */
2956
- type GetIdentityVerificationLink404 = Error$1;
2097
+ type GetIdentityVerificationUrl404 = Error$1;
2957
2098
  /**
2958
2099
  * @description Too Many Requests — `error.code` includes: rate_limited.
2959
2100
  */
2960
- type GetIdentityVerificationLink429 = Error$1;
2101
+ type GetIdentityVerificationUrl429 = Error$1;
2961
2102
  /**
2962
2103
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
2963
2104
  */
2964
- type GetIdentityVerificationLink502 = Error$1;
2965
- type GetIdentityVerificationLinkMutationResponse = GetIdentityVerificationLink200;
2966
- type GetIdentityVerificationLinkMutation = {
2967
- Response: GetIdentityVerificationLink200;
2968
- PathParams: GetIdentityVerificationLinkPathParams;
2969
- Errors: GetIdentityVerificationLink400 | GetIdentityVerificationLink401 | GetIdentityVerificationLink403 | GetIdentityVerificationLink404 | GetIdentityVerificationLink429 | GetIdentityVerificationLink502;
2970
- };
2971
- type GetStripeConfigPathParams = {
2105
+ type GetIdentityVerificationUrl502 = Error$1;
2106
+ type GetIdentityVerificationUrlMutationRequest = {
2972
2107
  /**
2973
2108
  * @pattern ^0x[a-fA-F0-9]{40}$
2974
2109
  * @type string
2975
2110
  */
2976
- address: string;
2111
+ wallet: string;
2112
+ };
2113
+ type GetIdentityVerificationUrlMutationResponse = GetIdentityVerificationUrl200;
2114
+ type GetIdentityVerificationUrlMutation = {
2115
+ Response: GetIdentityVerificationUrl200;
2116
+ Request: GetIdentityVerificationUrlMutationRequest;
2117
+ Errors: GetIdentityVerificationUrl400 | GetIdentityVerificationUrl401 | GetIdentityVerificationUrl403 | GetIdentityVerificationUrl404 | GetIdentityVerificationUrl429 | GetIdentityVerificationUrl502;
2977
2118
  };
2978
2119
  /**
2979
2120
  * @description The Stripe publishable key.
@@ -2985,15 +2126,15 @@ type GetStripeConfig200 = {
2985
2126
  publishable_key: string;
2986
2127
  };
2987
2128
  /**
2988
- * @description Bad Request — `error.code` includes: invalid_wallet.
2129
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
2989
2130
  */
2990
2131
  type GetStripeConfig400 = Error$1;
2991
2132
  /**
2992
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2133
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2993
2134
  */
2994
2135
  type GetStripeConfig401 = Error$1;
2995
2136
  /**
2996
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2137
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2997
2138
  */
2998
2139
  type GetStripeConfig403 = Error$1;
2999
2140
  /**
@@ -3003,20 +2144,21 @@ type GetStripeConfig429 = Error$1;
3003
2144
  type GetStripeConfigQueryResponse = GetStripeConfig200;
3004
2145
  type GetStripeConfigQuery = {
3005
2146
  Response: GetStripeConfig200;
3006
- PathParams: GetStripeConfigPathParams;
3007
2147
  Errors: GetStripeConfig400 | GetStripeConfig401 | GetStripeConfig403 | GetStripeConfig429;
3008
2148
  };
3009
2149
  type GetStripeCustomerStatusPathParams = {
3010
2150
  /**
3011
- * @pattern ^0x[a-fA-F0-9]{40}$
2151
+ * @minLength 1
3012
2152
  * @type string
3013
2153
  */
3014
- address: string;
2154
+ crypto_customer_id: string;
2155
+ };
2156
+ type GetStripeCustomerStatusQueryParams = {
3015
2157
  /**
3016
- * @minLength 1
2158
+ * @pattern ^0x[a-fA-F0-9]{40}$
3017
2159
  * @type string
3018
2160
  */
3019
- crypto_customer_id: string;
2161
+ wallet: string;
3020
2162
  };
3021
2163
  /**
3022
2164
  * @description The customer\'s verification statuses.
@@ -3036,15 +2178,15 @@ type GetStripeCustomerStatus200 = {
3036
2178
  provided_fields: string[];
3037
2179
  };
3038
2180
  /**
3039
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
2181
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3040
2182
  */
3041
2183
  type GetStripeCustomerStatus400 = Error$1;
3042
2184
  /**
3043
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
2185
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3044
2186
  */
3045
2187
  type GetStripeCustomerStatus401 = Error$1;
3046
2188
  /**
3047
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2189
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3048
2190
  */
3049
2191
  type GetStripeCustomerStatus403 = Error$1;
3050
2192
  /**
@@ -3063,19 +2205,22 @@ type GetStripeCustomerStatusQueryResponse = GetStripeCustomerStatus200;
3063
2205
  type GetStripeCustomerStatusQuery = {
3064
2206
  Response: GetStripeCustomerStatus200;
3065
2207
  PathParams: GetStripeCustomerStatusPathParams;
2208
+ QueryParams: GetStripeCustomerStatusQueryParams;
3066
2209
  Errors: GetStripeCustomerStatus400 | GetStripeCustomerStatus401 | GetStripeCustomerStatus403 | GetStripeCustomerStatus404 | GetStripeCustomerStatus429 | GetStripeCustomerStatus502;
3067
2210
  };
3068
2211
  type GetStripeOrderPathParams = {
3069
- /**
3070
- * @pattern ^0x[a-fA-F0-9]{40}$
3071
- * @type string
3072
- */
3073
- address: string;
3074
2212
  /**
3075
2213
  * @type string, uuid
3076
2214
  */
3077
2215
  id: string;
3078
2216
  };
2217
+ type GetStripeOrderQueryParams = {
2218
+ /**
2219
+ * @pattern ^0x[a-fA-F0-9]{40}$
2220
+ * @type string
2221
+ */
2222
+ wallet: string;
2223
+ };
3079
2224
  declare const getStripeOrder200StatusEnum: {
3080
2225
  readonly initialized: "initialized";
3081
2226
  readonly requires_payment: "requires_payment";
@@ -3103,7 +2248,7 @@ type GetStripeOrder200 = {
3103
2248
  */
3104
2249
  destination_amount: string | null;
3105
2250
  /**
3106
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
2251
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137, 42161 — additive; tolerate unknown values.
3107
2252
  * @minLength -9007199254740991
3108
2253
  * @maxLength 9007199254740991
3109
2254
  * @type integer
@@ -3135,15 +2280,15 @@ type GetStripeOrder200 = {
3135
2280
  status: GetStripeOrder200StatusEnumKey;
3136
2281
  };
3137
2282
  /**
3138
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
2283
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3139
2284
  */
3140
2285
  type GetStripeOrder400 = Error$1;
3141
2286
  /**
3142
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2287
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3143
2288
  */
3144
2289
  type GetStripeOrder401 = Error$1;
3145
2290
  /**
3146
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2291
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3147
2292
  */
3148
2293
  type GetStripeOrder403 = Error$1;
3149
2294
  /**
@@ -3158,15 +2303,9 @@ type GetStripeOrderQueryResponse = GetStripeOrder200;
3158
2303
  type GetStripeOrderQuery = {
3159
2304
  Response: GetStripeOrder200;
3160
2305
  PathParams: GetStripeOrderPathParams;
2306
+ QueryParams: GetStripeOrderQueryParams;
3161
2307
  Errors: GetStripeOrder400 | GetStripeOrder401 | GetStripeOrder403 | GetStripeOrder404 | GetStripeOrder429;
3162
2308
  };
3163
- type GetStripeQuotePathParams = {
3164
- /**
3165
- * @pattern ^0x[a-fA-F0-9]{40}$
3166
- * @type string
3167
- */
3168
- address: string;
3169
- };
3170
2309
  type GetStripeQuoteQueryParams = {
3171
2310
  /**
3172
2311
  * @pattern ^\d+(\.\d+)?$
@@ -3179,10 +2318,10 @@ type GetStripeQuoteQueryParams = {
3179
2318
  */
3180
2319
  destination_amount?: string;
3181
2320
  /**
3182
- * @default "usd"
2321
+ * @default "USD"
3183
2322
  * @type string | undefined
3184
2323
  */
3185
- source_currency?: "usd";
2324
+ source_currency?: "USD";
3186
2325
  /**
3187
2326
  * @minLength 1
3188
2327
  * @default "usdc"
@@ -3222,15 +2361,15 @@ type GetStripeQuote200 = {
3222
2361
  transaction_fee: string;
3223
2362
  };
3224
2363
  /**
3225
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
2364
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3226
2365
  */
3227
2366
  type GetStripeQuote400 = Error$1;
3228
2367
  /**
3229
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2368
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3230
2369
  */
3231
2370
  type GetStripeQuote401 = Error$1;
3232
2371
  /**
3233
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2372
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3234
2373
  */
3235
2374
  type GetStripeQuote403 = Error$1;
3236
2375
  /**
@@ -3244,19 +2383,18 @@ type GetStripeQuote502 = Error$1;
3244
2383
  type GetStripeQuoteQueryResponse = GetStripeQuote200;
3245
2384
  type GetStripeQuoteQuery = {
3246
2385
  Response: GetStripeQuote200;
3247
- PathParams: GetStripeQuotePathParams;
3248
2386
  QueryParams: GetStripeQuoteQueryParams;
3249
2387
  Errors: GetStripeQuote400 | GetStripeQuote401 | GetStripeQuote403 | GetStripeQuote429 | GetStripeQuote502;
3250
2388
  };
3251
- type GetStripeStatusPathParams = {
2389
+ type GetStripeStatusQueryParams = {
3252
2390
  /**
3253
2391
  * @pattern ^0x[a-fA-F0-9]{40}$
3254
2392
  * @type string
3255
2393
  */
3256
- address: string;
2394
+ wallet: string;
3257
2395
  };
3258
2396
  /**
3259
- * @description The session\'s Stripe login state.
2397
+ * @description The wallet\'s Stripe login state.
3260
2398
  */
3261
2399
  type GetStripeStatus200 = {
3262
2400
  /**
@@ -3273,15 +2411,15 @@ type GetStripeStatus200 = {
3273
2411
  email?: string;
3274
2412
  };
3275
2413
  /**
3276
- * @description Bad Request — `error.code` includes: invalid_wallet.
2414
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3277
2415
  */
3278
2416
  type GetStripeStatus400 = Error$1;
3279
2417
  /**
3280
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2418
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3281
2419
  */
3282
2420
  type GetStripeStatus401 = Error$1;
3283
2421
  /**
3284
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2422
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3285
2423
  */
3286
2424
  type GetStripeStatus403 = Error$1;
3287
2425
  /**
@@ -3291,63 +2429,63 @@ type GetStripeStatus429 = Error$1;
3291
2429
  type GetStripeStatusQueryResponse = GetStripeStatus200;
3292
2430
  type GetStripeStatusQuery = {
3293
2431
  Response: GetStripeStatus200;
3294
- PathParams: GetStripeStatusPathParams;
2432
+ QueryParams: GetStripeStatusQueryParams;
3295
2433
  Errors: GetStripeStatus400 | GetStripeStatus401 | GetStripeStatus403 | GetStripeStatus429;
3296
2434
  };
3297
- type GetTermsOfServiceLinkPathParams = {
3298
- /**
3299
- * @pattern ^0x[a-fA-F0-9]{40}$
3300
- * @type string
3301
- */
3302
- address: string;
3303
- };
3304
2435
  /**
3305
2436
  * @description The terms-of-service URL.
3306
2437
  */
3307
- type GetTermsOfServiceLink200 = {
2438
+ type GetTermsOfServiceUrl200 = {
3308
2439
  /**
3309
2440
  * @type string, uri
3310
2441
  */
3311
2442
  url: string;
3312
2443
  };
3313
2444
  /**
3314
- * @description Bad Request — `error.code` includes: invalid_wallet.
2445
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3315
2446
  */
3316
- type GetTermsOfServiceLink400 = Error$1;
2447
+ type GetTermsOfServiceUrl400 = Error$1;
3317
2448
  /**
3318
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2449
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3319
2450
  */
3320
- type GetTermsOfServiceLink401 = Error$1;
2451
+ type GetTermsOfServiceUrl401 = Error$1;
3321
2452
  /**
3322
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2453
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3323
2454
  */
3324
- type GetTermsOfServiceLink403 = Error$1;
2455
+ type GetTermsOfServiceUrl403 = Error$1;
3325
2456
  /**
3326
2457
  * @description Not Found — `error.code` includes: customer_not_registered.
3327
2458
  */
3328
- type GetTermsOfServiceLink404 = Error$1;
2459
+ type GetTermsOfServiceUrl404 = Error$1;
3329
2460
  /**
3330
2461
  * @description Too Many Requests — `error.code` includes: rate_limited.
3331
2462
  */
3332
- type GetTermsOfServiceLink429 = Error$1;
2463
+ type GetTermsOfServiceUrl429 = Error$1;
3333
2464
  /**
3334
2465
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
3335
2466
  */
3336
- type GetTermsOfServiceLink502 = Error$1;
3337
- type GetTermsOfServiceLinkMutationResponse = GetTermsOfServiceLink200;
3338
- type GetTermsOfServiceLinkMutation = {
3339
- Response: GetTermsOfServiceLink200;
3340
- PathParams: GetTermsOfServiceLinkPathParams;
3341
- Errors: GetTermsOfServiceLink400 | GetTermsOfServiceLink401 | GetTermsOfServiceLink403 | GetTermsOfServiceLink404 | GetTermsOfServiceLink429 | GetTermsOfServiceLink502;
2467
+ type GetTermsOfServiceUrl502 = Error$1;
2468
+ type GetTermsOfServiceUrlMutationRequest = {
2469
+ /**
2470
+ * @pattern ^0x[a-fA-F0-9]{40}$
2471
+ * @type string
2472
+ */
2473
+ wallet: string;
3342
2474
  };
3343
- type GetWalletPathParams = {
2475
+ type GetTermsOfServiceUrlMutationResponse = GetTermsOfServiceUrl200;
2476
+ type GetTermsOfServiceUrlMutation = {
2477
+ Response: GetTermsOfServiceUrl200;
2478
+ Request: GetTermsOfServiceUrlMutationRequest;
2479
+ Errors: GetTermsOfServiceUrl400 | GetTermsOfServiceUrl401 | GetTermsOfServiceUrl403 | GetTermsOfServiceUrl404 | GetTermsOfServiceUrl429 | GetTermsOfServiceUrl502;
2480
+ };
2481
+ type GetVirtualAccountStatusQueryParams = {
3344
2482
  /**
3345
2483
  * @pattern ^0x[a-fA-F0-9]{40}$
3346
2484
  * @type string
3347
2485
  */
3348
- address: string;
2486
+ wallet: string;
3349
2487
  };
3350
- declare const getWallet200IdentityVerificationStatusEnum: {
2488
+ declare const getVirtualAccountStatus200IdentityVerificationStatusEnum: {
3351
2489
  readonly not_started: "not_started";
3352
2490
  readonly incomplete: "incomplete";
3353
2491
  readonly awaiting_questionnaire: "awaiting_questionnaire";
@@ -3358,19 +2496,15 @@ declare const getWallet200IdentityVerificationStatusEnum: {
3358
2496
  readonly paused: "paused";
3359
2497
  readonly offboarded: "offboarded";
3360
2498
  };
3361
- type GetWallet200IdentityVerificationStatusEnumKey = (typeof getWallet200IdentityVerificationStatusEnum)[keyof typeof getWallet200IdentityVerificationStatusEnum];
2499
+ type GetVirtualAccountStatus200IdentityVerificationStatusEnumKey = (typeof getVirtualAccountStatus200IdentityVerificationStatusEnum)[keyof typeof getVirtualAccountStatus200IdentityVerificationStatusEnum];
3362
2500
  /**
3363
2501
  * @description Wallet state.
3364
2502
  */
3365
- type GetWallet200 = {
2503
+ type GetVirtualAccountStatus200 = {
3366
2504
  /**
3367
2505
  * @type string, date-time
3368
2506
  */
3369
2507
  created_at: string;
3370
- /**
3371
- * @type string,null, date-time
3372
- */
3373
- deleted_at: string | null;
3374
2508
  /**
3375
2509
  * @type string,null, date-time
3376
2510
  */
@@ -3382,19 +2516,7 @@ type GetWallet200 = {
3382
2516
  /**
3383
2517
  * @type string
3384
2518
  */
3385
- identity_verification_status: GetWallet200IdentityVerificationStatusEnumKey;
3386
- /**
3387
- * @type string,null, date-time
3388
- */
3389
- identity_verification_submitted_at: string | null;
3390
- /**
3391
- * @type string,null, date-time
3392
- */
3393
- more_information_required_at: string | null;
3394
- /**
3395
- * @type string,null, date-time
3396
- */
3397
- terms_of_service_submitted_at: string | null;
2519
+ identity_verification_status: GetVirtualAccountStatus200IdentityVerificationStatusEnumKey;
3398
2520
  /**
3399
2521
  * @pattern ^0x[a-fA-F0-9]{40}$
3400
2522
  * @type string
@@ -3402,37 +2524,37 @@ type GetWallet200 = {
3402
2524
  wallet: string;
3403
2525
  };
3404
2526
  /**
3405
- * @description Bad Request — `error.code` includes: invalid_wallet.
2527
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3406
2528
  */
3407
- type GetWallet400 = Error$1;
2529
+ type GetVirtualAccountStatus400 = Error$1;
3408
2530
  /**
3409
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2531
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3410
2532
  */
3411
- type GetWallet401 = Error$1;
2533
+ type GetVirtualAccountStatus401 = Error$1;
3412
2534
  /**
3413
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2535
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3414
2536
  */
3415
- type GetWallet403 = Error$1;
2537
+ type GetVirtualAccountStatus403 = Error$1;
3416
2538
  /**
3417
2539
  * @description Not Found — `error.code` includes: customer_not_registered.
3418
2540
  */
3419
- type GetWallet404 = Error$1;
2541
+ type GetVirtualAccountStatus404 = Error$1;
3420
2542
  /**
3421
2543
  * @description Too Many Requests — `error.code` includes: rate_limited.
3422
2544
  */
3423
- type GetWallet429 = Error$1;
3424
- type GetWalletQueryResponse = GetWallet200;
3425
- type GetWalletQuery = {
3426
- Response: GetWallet200;
3427
- PathParams: GetWalletPathParams;
3428
- Errors: GetWallet400 | GetWallet401 | GetWallet403 | GetWallet404 | GetWallet429;
2545
+ type GetVirtualAccountStatus429 = Error$1;
2546
+ type GetVirtualAccountStatusQueryResponse = GetVirtualAccountStatus200;
2547
+ type GetVirtualAccountStatusQuery = {
2548
+ Response: GetVirtualAccountStatus200;
2549
+ QueryParams: GetVirtualAccountStatusQueryParams;
2550
+ Errors: GetVirtualAccountStatus400 | GetVirtualAccountStatus401 | GetVirtualAccountStatus403 | GetVirtualAccountStatus404 | GetVirtualAccountStatus429;
3429
2551
  };
3430
- type ListCryptoDepositsPathParams = {
2552
+ type ListBlinkDepositsQueryParams = {
3431
2553
  /**
3432
2554
  * @pattern ^0x[a-fA-F0-9]{40}$
3433
2555
  * @type string
3434
2556
  */
3435
- address: string;
2557
+ wallet: string;
3436
2558
  };
3437
2559
  declare const dataStatusEnum: {
3438
2560
  readonly processing: "processing";
@@ -3442,9 +2564,9 @@ declare const dataStatusEnum: {
3442
2564
  };
3443
2565
  type DataStatusEnumKey = (typeof dataStatusEnum)[keyof typeof dataStatusEnum];
3444
2566
  /**
3445
- * @description The wallet\'s crypto deposits.
2567
+ * @description The wallet\'s deposits.
3446
2568
  */
3447
- type ListCryptoDeposits200 = {
2569
+ type ListBlinkDeposits200 = {
3448
2570
  /**
3449
2571
  * @minLength -9007199254740991
3450
2572
  * @maxLength 9007199254740991
@@ -3456,136 +2578,207 @@ type ListCryptoDeposits200 = {
3456
2578
  */
3457
2579
  data: {
3458
2580
  /**
3459
- * @type object,null
2581
+ * @type string,null, date-time
2582
+ */
2583
+ completed_at: string | null;
2584
+ /**
2585
+ * @type string, date-time
2586
+ */
2587
+ created_at: string;
2588
+ /**
2589
+ * @type object
3460
2590
  */
3461
- amount_in: {
2591
+ destination: {
3462
2592
  /**
3463
- * @type string
2593
+ * @type string,null
3464
2594
  */
3465
- amount: string;
2595
+ amount: string | null;
3466
2596
  /**
3467
2597
  * @minLength -9007199254740991
3468
2598
  * @maxLength 9007199254740991
3469
- * @type integer
3470
- */
3471
- decimals: number;
3472
- } | null;
3473
- /**
3474
- * @type object,null
3475
- */
3476
- amount_out: {
3477
- /**
3478
- * @type string
2599
+ * @type integer,null
3479
2600
  */
3480
- amount: string;
2601
+ chain: number | null;
3481
2602
  /**
3482
2603
  * @minLength -9007199254740991
3483
2604
  * @maxLength 9007199254740991
3484
- * @type integer
2605
+ * @type integer,null
3485
2606
  */
3486
- decimals: number;
3487
- } | null;
3488
- /**
3489
- * @type string,null, date-time
3490
- */
3491
- completed_at: string | null;
3492
- /**
3493
- * @type string, date-time
3494
- */
3495
- created_at: string;
3496
- /**
3497
- * @type string,null
3498
- */
3499
- deposit_address: string | null;
3500
- /**
3501
- * @type string,null
3502
- */
3503
- deposit_tx_hash: string | null;
2607
+ decimals: number | null;
2608
+ /**
2609
+ * @type string,null
2610
+ */
2611
+ token: string | null;
2612
+ /**
2613
+ * @type string,null
2614
+ */
2615
+ transaction_hash: string | null;
2616
+ /**
2617
+ * @type string,null
2618
+ */
2619
+ wallet: string | null;
2620
+ };
3504
2621
  /**
3505
2622
  * @type string,null
3506
2623
  */
3507
- depositor: string | null;
3508
- /**
3509
- * @minLength -9007199254740991
3510
- * @maxLength 9007199254740991
3511
- * @type integer,null
3512
- */
3513
- destination_chain: number | null;
2624
+ error_message: string | null;
3514
2625
  /**
3515
- * @type string,null
2626
+ * @type string, uuid
3516
2627
  */
3517
- destination_currency: string | null;
2628
+ id: string;
3518
2629
  /**
3519
- * @type string,null
2630
+ * @type object
3520
2631
  */
3521
- failure_reason: string | null;
2632
+ source: {
2633
+ /**
2634
+ * @type string,null
2635
+ */
2636
+ amount: string | null;
2637
+ /**
2638
+ * @minLength -9007199254740991
2639
+ * @maxLength 9007199254740991
2640
+ * @type integer,null
2641
+ */
2642
+ chain: number | null;
2643
+ /**
2644
+ * @minLength -9007199254740991
2645
+ * @maxLength 9007199254740991
2646
+ * @type integer,null
2647
+ */
2648
+ decimals: number | null;
2649
+ /**
2650
+ * @type string,null
2651
+ */
2652
+ token: string | null;
2653
+ /**
2654
+ * @type string,null
2655
+ */
2656
+ transaction_hash: string | null;
2657
+ /**
2658
+ * @type string,null
2659
+ */
2660
+ wallet: string | null;
2661
+ };
3522
2662
  /**
3523
- * @type string,null
2663
+ * @type string
3524
2664
  */
3525
- fill_tx_hash: string | null;
2665
+ status: DataStatusEnumKey;
3526
2666
  /**
3527
- * @type string, uuid
2667
+ * @type string, date-time
3528
2668
  */
3529
- id: string;
2669
+ updated_at: string;
2670
+ }[];
2671
+ };
2672
+ /**
2673
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
2674
+ */
2675
+ type ListBlinkDeposits400 = Error$1;
2676
+ /**
2677
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
2678
+ */
2679
+ type ListBlinkDeposits401 = Error$1;
2680
+ /**
2681
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
2682
+ */
2683
+ type ListBlinkDeposits403 = Error$1;
2684
+ /**
2685
+ * @description Too Many Requests — `error.code` includes: rate_limited.
2686
+ */
2687
+ type ListBlinkDeposits429 = Error$1;
2688
+ type ListBlinkDepositsQueryResponse = ListBlinkDeposits200;
2689
+ type ListBlinkDepositsQuery = {
2690
+ Response: ListBlinkDeposits200;
2691
+ QueryParams: ListBlinkDepositsQueryParams;
2692
+ Errors: ListBlinkDeposits400 | ListBlinkDeposits401 | ListBlinkDeposits403 | ListBlinkDeposits429;
2693
+ };
2694
+ /**
2695
+ * @description The payment methods on offer.
2696
+ */
2697
+ type ListCardPaymentMethods200 = {
2698
+ /**
2699
+ * @type number
2700
+ */
2701
+ count: number;
2702
+ /**
2703
+ * @type string
2704
+ */
2705
+ currency: string;
2706
+ /**
2707
+ * @type array
2708
+ */
2709
+ data: {
3530
2710
  /**
3531
- * @minLength -9007199254740991
3532
- * @maxLength 9007199254740991
3533
- * @type integer,null
2711
+ * @type number
3534
2712
  */
3535
- origin_chain: number | null;
2713
+ max_amount: number;
3536
2714
  /**
3537
- * @type string,null
2715
+ * @type number
3538
2716
  */
3539
- origin_currency: string | null;
2717
+ min_amount: number;
3540
2718
  /**
3541
2719
  * @type string
3542
2720
  */
3543
- status: DataStatusEnumKey;
2721
+ name: string;
3544
2722
  /**
3545
- * @type string, date-time
2723
+ * @type string
3546
2724
  */
3547
- updated_at: string;
2725
+ payment_method: string;
3548
2726
  }[];
3549
2727
  };
3550
2728
  /**
3551
- * @description Bad Request — `error.code` includes: invalid_wallet.
2729
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3552
2730
  */
3553
- type ListCryptoDeposits400 = Error$1;
2731
+ type ListCardPaymentMethods400 = Error$1;
3554
2732
  /**
3555
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2733
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3556
2734
  */
3557
- type ListCryptoDeposits401 = Error$1;
2735
+ type ListCardPaymentMethods401 = Error$1;
3558
2736
  /**
3559
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2737
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3560
2738
  */
3561
- type ListCryptoDeposits403 = Error$1;
2739
+ type ListCardPaymentMethods403 = Error$1;
3562
2740
  /**
3563
- * @description Not Found — `error.code` includes: customer_not_registered.
2741
+ * @description Too Many Requests — `error.code` includes: rate_limited.
3564
2742
  */
3565
- type ListCryptoDeposits404 = Error$1;
2743
+ type ListCardPaymentMethods429 = Error$1;
3566
2744
  /**
3567
- * @description Too Many Requests — `error.code` includes: rate_limited.
2745
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
3568
2746
  */
3569
- type ListCryptoDeposits429 = Error$1;
3570
- type ListCryptoDepositsQueryResponse = ListCryptoDeposits200;
3571
- type ListCryptoDepositsQuery = {
3572
- Response: ListCryptoDeposits200;
3573
- PathParams: ListCryptoDepositsPathParams;
3574
- Errors: ListCryptoDeposits400 | ListCryptoDeposits401 | ListCryptoDeposits403 | ListCryptoDeposits404 | ListCryptoDeposits429;
2747
+ type ListCardPaymentMethods502 = Error$1;
2748
+ declare const listCardPaymentMethodsMutationRequestCurrencyEnum: {
2749
+ readonly USD: "USD";
2750
+ readonly GBP: "GBP";
2751
+ readonly EUR: "EUR";
3575
2752
  };
3576
- type ListStripePaymentTokensPathParams = {
2753
+ type ListCardPaymentMethodsMutationRequestCurrencyEnumKey = (typeof listCardPaymentMethodsMutationRequestCurrencyEnum)[keyof typeof listCardPaymentMethodsMutationRequestCurrencyEnum];
2754
+ type ListCardPaymentMethodsMutationRequest = {
3577
2755
  /**
3578
- * @pattern ^0x[a-fA-F0-9]{40}$
2756
+ * @pattern ^[A-Z]{2}$
3579
2757
  * @type string
3580
2758
  */
3581
- address: string;
2759
+ country: string;
2760
+ /**
2761
+ * @type string
2762
+ */
2763
+ currency: ListCardPaymentMethodsMutationRequestCurrencyEnumKey;
2764
+ };
2765
+ type ListCardPaymentMethodsMutationResponse = ListCardPaymentMethods200;
2766
+ type ListCardPaymentMethodsMutation = {
2767
+ Response: ListCardPaymentMethods200;
2768
+ Request: ListCardPaymentMethodsMutationRequest;
2769
+ Errors: ListCardPaymentMethods400 | ListCardPaymentMethods401 | ListCardPaymentMethods403 | ListCardPaymentMethods429 | ListCardPaymentMethods502;
3582
2770
  };
3583
2771
  type ListStripePaymentTokensQueryParams = {
2772
+ /**
2773
+ * @pattern ^0x[a-fA-F0-9]{40}$
2774
+ * @type string
2775
+ */
2776
+ wallet: string;
3584
2777
  /**
3585
2778
  * @minLength 1
3586
- * @type string | undefined
2779
+ * @type string
3587
2780
  */
3588
- crypto_customer_id?: string;
2781
+ crypto_customer_id: string;
3589
2782
  };
3590
2783
  /**
3591
2784
  * @description The customer\'s payment methods.
@@ -3610,15 +2803,15 @@ type ListStripePaymentTokens200 = {
3610
2803
  }[];
3611
2804
  };
3612
2805
  /**
3613
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
2806
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3614
2807
  */
3615
2808
  type ListStripePaymentTokens400 = Error$1;
3616
2809
  /**
3617
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
2810
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3618
2811
  */
3619
2812
  type ListStripePaymentTokens401 = Error$1;
3620
2813
  /**
3621
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2814
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3622
2815
  */
3623
2816
  type ListStripePaymentTokens403 = Error$1;
3624
2817
  /**
@@ -3636,23 +2829,20 @@ type ListStripePaymentTokens502 = Error$1;
3636
2829
  type ListStripePaymentTokensQueryResponse = ListStripePaymentTokens200;
3637
2830
  type ListStripePaymentTokensQuery = {
3638
2831
  Response: ListStripePaymentTokens200;
3639
- PathParams: ListStripePaymentTokensPathParams;
3640
2832
  QueryParams: ListStripePaymentTokensQueryParams;
3641
2833
  Errors: ListStripePaymentTokens400 | ListStripePaymentTokens401 | ListStripePaymentTokens403 | ListStripePaymentTokens404 | ListStripePaymentTokens429 | ListStripePaymentTokens502;
3642
2834
  };
3643
- type ListStripeWalletsPathParams = {
2835
+ type ListStripeWalletsQueryParams = {
3644
2836
  /**
3645
2837
  * @pattern ^0x[a-fA-F0-9]{40}$
3646
2838
  * @type string
3647
2839
  */
3648
- address: string;
3649
- };
3650
- type ListStripeWalletsQueryParams = {
2840
+ wallet: string;
3651
2841
  /**
3652
2842
  * @minLength 1
3653
- * @type string | undefined
2843
+ * @type string
3654
2844
  */
3655
- crypto_customer_id?: string;
2845
+ crypto_customer_id: string;
3656
2846
  };
3657
2847
  /**
3658
2848
  * @description The customer\'s registered wallets.
@@ -3685,15 +2875,15 @@ type ListStripeWallets200 = {
3685
2875
  }[];
3686
2876
  };
3687
2877
  /**
3688
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
2878
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3689
2879
  */
3690
2880
  type ListStripeWallets400 = Error$1;
3691
2881
  /**
3692
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
2882
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3693
2883
  */
3694
2884
  type ListStripeWallets401 = Error$1;
3695
2885
  /**
3696
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2886
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3697
2887
  */
3698
2888
  type ListStripeWallets403 = Error$1;
3699
2889
  /**
@@ -3711,21 +2901,20 @@ type ListStripeWallets502 = Error$1;
3711
2901
  type ListStripeWalletsQueryResponse = ListStripeWallets200;
3712
2902
  type ListStripeWalletsQuery = {
3713
2903
  Response: ListStripeWallets200;
3714
- PathParams: ListStripeWalletsPathParams;
3715
2904
  QueryParams: ListStripeWalletsQueryParams;
3716
2905
  Errors: ListStripeWallets400 | ListStripeWallets401 | ListStripeWallets403 | ListStripeWallets404 | ListStripeWallets429 | ListStripeWallets502;
3717
2906
  };
3718
- type ListVirtualAccountsPathParams = {
2907
+ type ListVirtualAccountsQueryParams = {
3719
2908
  /**
3720
2909
  * @pattern ^0x[a-fA-F0-9]{40}$
3721
2910
  * @type string
3722
2911
  */
3723
- address: string;
2912
+ wallet: string;
3724
2913
  };
3725
2914
  declare const dataCurrencyEnum: {
3726
- readonly usd: "usd";
3727
- readonly gbp: "gbp";
3728
- readonly eur: "eur";
2915
+ readonly USD: "USD";
2916
+ readonly GBP: "GBP";
2917
+ readonly EUR: "EUR";
3729
2918
  };
3730
2919
  type DataCurrencyEnumKey = (typeof dataCurrencyEnum)[keyof typeof dataCurrencyEnum];
3731
2920
  /**
@@ -3743,7 +2932,7 @@ type ListVirtualAccounts200 = {
3743
2932
  */
3744
2933
  data: {
3745
2934
  /**
3746
- * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
2935
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137, 42161 — additive; tolerate unknown values.
3747
2936
  * @minLength -9007199254740991
3748
2937
  * @maxLength 9007199254740991
3749
2938
  * @type integer
@@ -3754,15 +2943,16 @@ type ListVirtualAccounts200 = {
3754
2943
  */
3755
2944
  currency: DataCurrencyEnumKey;
3756
2945
  /**
3757
- * @description Payout token this account delivers, spelled as `destination_token` is on create (`usdc`, `usdm`, `ausd`, `usdc.e`). Additive — tolerate unknown values. `null` when the account\'s chain is no longer supported.
3758
- * @type string,null
2946
+ * @description Payout token this account delivers, spelled as `destination_token` is on create (`USDC`, `USDm`, `AUSD`, `USDC.e`). Additive — tolerate unknown values.
2947
+ * @type string
3759
2948
  */
3760
- destination_token: string | null;
2949
+ destination_token: string;
3761
2950
  /**
3762
2951
  * @type string, uuid
3763
2952
  */
3764
2953
  id: string;
3765
2954
  /**
2955
+ * @description Bank transfer details to show the depositor. Keys vary by currency — USD: `bank_name`, `bank_account_number`, `bank_routing_number`, `bank_address`, `bank_beneficiary_name`, `bank_beneficiary_address`; GBP: `account_number`, `sort_code`, `account_holder_name`; EUR: `iban`, `bic`, `account_holder_name`. Every account also carries `currency` and `payment_rails` (`ach_push`, `faster_payments`, `sepa`). Additive — tolerate unknown keys. Fields still provisioning on the bank side are omitted rather than sent blank.
3766
2956
  * @type object
3767
2957
  */
3768
2958
  source_deposit_instructions: {
@@ -3771,15 +2961,15 @@ type ListVirtualAccounts200 = {
3771
2961
  }[];
3772
2962
  };
3773
2963
  /**
3774
- * @description Bad Request — `error.code` includes: invalid_wallet.
2964
+ * @description Bad Request — `error.code` includes: publishable_key_missing, validation_error.
3775
2965
  */
3776
2966
  type ListVirtualAccounts400 = Error$1;
3777
2967
  /**
3778
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2968
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3779
2969
  */
3780
2970
  type ListVirtualAccounts401 = Error$1;
3781
2971
  /**
3782
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2972
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3783
2973
  */
3784
2974
  type ListVirtualAccounts403 = Error$1;
3785
2975
  /**
@@ -3793,79 +2983,25 @@ type ListVirtualAccounts429 = Error$1;
3793
2983
  type ListVirtualAccountsQueryResponse = ListVirtualAccounts200;
3794
2984
  type ListVirtualAccountsQuery = {
3795
2985
  Response: ListVirtualAccounts200;
3796
- PathParams: ListVirtualAccountsPathParams;
2986
+ QueryParams: ListVirtualAccountsQueryParams;
3797
2987
  Errors: ListVirtualAccounts400 | ListVirtualAccounts401 | ListVirtualAccounts403 | ListVirtualAccounts404 | ListVirtualAccounts429;
3798
2988
  };
3799
- type RefreshSessionPathParams = {
3800
- /**
3801
- * @pattern ^0x[a-fA-F0-9]{40}$
3802
- * @type string
3803
- */
3804
- address: string;
3805
- };
3806
- /**
3807
- * @description Session refreshed; cookie pair set.
3808
- */
3809
- type RefreshSession200 = {
3810
- /**
3811
- * @type string, date-time
3812
- */
3813
- expires_at: string;
3814
- /**
3815
- * @pattern ^0x[a-fA-F0-9]{40}$
3816
- * @type string
3817
- */
3818
- wallet: string;
3819
- };
3820
- /**
3821
- * @description Bad Request — `error.code` includes: invalid_wallet.
3822
- */
3823
- type RefreshSession400 = Error$1;
3824
- /**
3825
- * @description Unauthorized — `error.code` includes: refresh_invalid.
3826
- */
3827
- type RefreshSession401 = Error$1;
3828
- /**
3829
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
3830
- */
3831
- type RefreshSession403 = Error$1;
3832
- /**
3833
- * @description Too Many Requests — `error.code` includes: rate_limited.
3834
- */
3835
- type RefreshSession429 = Error$1;
3836
- type RefreshSessionMutationResponse = RefreshSession200;
3837
- type RefreshSessionMutation = {
3838
- Response: RefreshSession200;
3839
- PathParams: RefreshSessionPathParams;
3840
- Errors: RefreshSession400 | RefreshSession401 | RefreshSession403 | RefreshSession429;
3841
- };
3842
- type RegisterWalletPathParams = {
3843
- /**
3844
- * @pattern ^0x[a-fA-F0-9]{40}$
3845
- * @type string
3846
- */
3847
- address: string;
3848
- };
3849
2989
  /**
3850
2990
  * @description Registration accepted.
3851
2991
  */
3852
2992
  type RegisterWallet204 = any;
3853
2993
  /**
3854
- * @description Bad Request — `error.code` includes: bad_customer_request, invalid_parameters, invalid_wallet, validation_error.
2994
+ * @description Bad Request — `error.code` includes: bad_customer_request, invalid_parameters, publishable_key_missing, validation_error.
3855
2995
  */
3856
2996
  type RegisterWallet400 = Error$1;
3857
2997
  /**
3858
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2998
+ * @description Unauthorized — `error.code` includes: invalid_publishable_key.
3859
2999
  */
3860
3000
  type RegisterWallet401 = Error$1;
3861
3001
  /**
3862
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
3002
+ * @description Forbidden — `error.code` includes: origin_not_allowed.
3863
3003
  */
3864
3004
  type RegisterWallet403 = Error$1;
3865
- /**
3866
- * @description Not Found — `error.code` includes: customer_not_registered.
3867
- */
3868
- type RegisterWallet404 = Error$1;
3869
3005
  /**
3870
3006
  * @description Conflict — `error.code` includes: already_registered.
3871
3007
  */
@@ -3895,183 +3031,30 @@ type RegisterWalletMutationRequest = {
3895
3031
  * @type string
3896
3032
  */
3897
3033
  last_name: string;
3898
- };
3899
- type RegisterWalletMutationResponse = RegisterWallet204;
3900
- type RegisterWalletMutation = {
3901
- Response: RegisterWallet204;
3902
- Request: RegisterWalletMutationRequest;
3903
- PathParams: RegisterWalletPathParams;
3904
- Errors: RegisterWallet400 | RegisterWallet401 | RegisterWallet403 | RegisterWallet404 | RegisterWallet409 | RegisterWallet429 | RegisterWallet502;
3905
- };
3906
- type SubmitIdentityVerificationPathParams = {
3907
- /**
3908
- * @pattern ^0x[a-fA-F0-9]{40}$
3909
- * @type string
3910
- */
3911
- address: string;
3912
- };
3913
- /**
3914
- * @description Submission recorded.
3915
- */
3916
- type SubmitIdentityVerification204 = any;
3917
- /**
3918
- * @description Bad Request — `error.code` includes: invalid_wallet.
3919
- */
3920
- type SubmitIdentityVerification400 = Error$1;
3921
- /**
3922
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
3923
- */
3924
- type SubmitIdentityVerification401 = Error$1;
3925
- /**
3926
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
3927
- */
3928
- type SubmitIdentityVerification403 = Error$1;
3929
- /**
3930
- * @description Not Found — `error.code` includes: customer_not_registered.
3931
- */
3932
- type SubmitIdentityVerification404 = Error$1;
3933
- /**
3934
- * @description Too Many Requests — `error.code` includes: rate_limited.
3935
- */
3936
- type SubmitIdentityVerification429 = Error$1;
3937
- type SubmitIdentityVerificationMutationResponse = SubmitIdentityVerification204;
3938
- type SubmitIdentityVerificationMutation = {
3939
- Response: SubmitIdentityVerification204;
3940
- PathParams: SubmitIdentityVerificationPathParams;
3941
- Errors: SubmitIdentityVerification400 | SubmitIdentityVerification401 | SubmitIdentityVerification403 | SubmitIdentityVerification404 | SubmitIdentityVerification429;
3942
- };
3943
- type SubmitTermsOfServicePathParams = {
3944
- /**
3945
- * @pattern ^0x[a-fA-F0-9]{40}$
3946
- * @type string
3947
- */
3948
- address: string;
3949
- };
3950
- /**
3951
- * @description Submission recorded.
3952
- */
3953
- type SubmitTermsOfService204 = any;
3954
- /**
3955
- * @description Bad Request — `error.code` includes: invalid_wallet.
3956
- */
3957
- type SubmitTermsOfService400 = Error$1;
3958
- /**
3959
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
3960
- */
3961
- type SubmitTermsOfService401 = Error$1;
3962
- /**
3963
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
3964
- */
3965
- type SubmitTermsOfService403 = Error$1;
3966
- /**
3967
- * @description Not Found — `error.code` includes: customer_not_registered.
3968
- */
3969
- type SubmitTermsOfService404 = Error$1;
3970
- /**
3971
- * @description Too Many Requests — `error.code` includes: rate_limited.
3972
- */
3973
- type SubmitTermsOfService429 = Error$1;
3974
- type SubmitTermsOfServiceMutationResponse = SubmitTermsOfService204;
3975
- type SubmitTermsOfServiceMutation = {
3976
- Response: SubmitTermsOfService204;
3977
- PathParams: SubmitTermsOfServicePathParams;
3978
- Errors: SubmitTermsOfService400 | SubmitTermsOfService401 | SubmitTermsOfService403 | SubmitTermsOfService404 | SubmitTermsOfService429;
3979
- };
3980
- type UpdateVirtualAccountPathParams = {
3981
3034
  /**
3982
3035
  * @pattern ^0x[a-fA-F0-9]{40}$
3983
3036
  * @type string
3984
3037
  */
3985
- address: string;
3986
- /**
3987
- * @type string, uuid
3988
- */
3989
- "virtual-account-id": string;
3990
- };
3991
- /**
3992
- * @description Virtual account updated.
3993
- */
3994
- type UpdateVirtualAccount204 = any;
3995
- /**
3996
- * @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
3997
- */
3998
- type UpdateVirtualAccount400 = Error$1;
3999
- /**
4000
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
4001
- */
4002
- type UpdateVirtualAccount401 = Error$1;
4003
- /**
4004
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
4005
- */
4006
- type UpdateVirtualAccount403 = Error$1;
4007
- /**
4008
- * @description Not Found — `error.code` includes: customer_not_registered, virtual_account_not_found.
4009
- */
4010
- type UpdateVirtualAccount404 = Error$1;
4011
- /**
4012
- * @description Conflict — `error.code` includes: virtual_account_exists.
4013
- */
4014
- type UpdateVirtualAccount409 = Error$1;
4015
- /**
4016
- * @description Too Many Requests — `error.code` includes: rate_limited.
4017
- */
4018
- type UpdateVirtualAccount429 = Error$1;
4019
- /**
4020
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
4021
- */
4022
- type UpdateVirtualAccount502 = Error$1;
4023
- declare const updateVirtualAccountMutationRequestChainEnum: {
4024
- readonly "1": 1;
4025
- readonly "8453": 8453;
4026
- readonly "999": 999;
4027
- readonly "1337": 1337;
4028
- readonly "4326": 4326;
4029
- readonly "143": 143;
4030
- readonly "137": 137;
4031
- };
4032
- type UpdateVirtualAccountMutationRequestChainEnumKey = (typeof updateVirtualAccountMutationRequestChainEnum)[keyof typeof updateVirtualAccountMutationRequestChainEnum];
4033
- declare const updateVirtualAccountMutationRequestDestinationTokenEnum: {
4034
- readonly usdc: "usdc";
4035
- readonly usdm: "usdm";
4036
- readonly ausd: "ausd";
4037
- readonly "usdc.e": "usdc.e";
4038
- };
4039
- type UpdateVirtualAccountMutationRequestDestinationTokenEnumKey = (typeof updateVirtualAccountMutationRequestDestinationTokenEnum)[keyof typeof updateVirtualAccountMutationRequestDestinationTokenEnum];
4040
- type UpdateVirtualAccountMutationRequest = {
4041
- /**
4042
- * @type number
4043
- */
4044
- chain: UpdateVirtualAccountMutationRequestChainEnumKey;
4045
- /**
4046
- * @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
4047
- * @type string | undefined
4048
- */
4049
- destination_token?: UpdateVirtualAccountMutationRequestDestinationTokenEnumKey;
3038
+ wallet: string;
4050
3039
  };
4051
- type UpdateVirtualAccountMutationResponse = UpdateVirtualAccount204;
4052
- type UpdateVirtualAccountMutation = {
4053
- Response: UpdateVirtualAccount204;
4054
- Request: UpdateVirtualAccountMutationRequest;
4055
- PathParams: UpdateVirtualAccountPathParams;
4056
- Errors: UpdateVirtualAccount400 | UpdateVirtualAccount401 | UpdateVirtualAccount403 | UpdateVirtualAccount404 | UpdateVirtualAccount409 | UpdateVirtualAccount429 | UpdateVirtualAccount502;
3040
+ type RegisterWalletMutationResponse = RegisterWallet204;
3041
+ type RegisterWalletMutation = {
3042
+ Response: RegisterWallet204;
3043
+ Request: RegisterWalletMutationRequest;
3044
+ Errors: RegisterWallet400 | RegisterWallet401 | RegisterWallet403 | RegisterWallet409 | RegisterWallet429 | RegisterWallet502;
4057
3045
  };
4058
- type RequestCredentials = "omit" | "same-origin" | "include";
4059
3046
  type RequestConfig<TData = unknown> = {
4060
3047
  apiUrl?: string;
4061
3048
  url?: string;
4062
3049
  method?: "GET" | "PUT" | "PATCH" | "POST" | "DELETE" | "OPTIONS" | "HEAD";
4063
3050
  params?: unknown;
4064
3051
  data?: TData;
4065
- responseType?: "arraybuffer" | "blob" | "document" | "json" | "text" | "stream";
4066
3052
  signal?: AbortSignal;
4067
3053
  headers?: [string, string][] | Record<string, string>;
4068
- credentials?: RequestCredentials;
4069
3054
  };
4070
3055
  type ResponseConfig<TData = unknown> = {
4071
3056
  data: TData;
4072
3057
  status: number;
4073
- statusText: string;
4074
- headers: Headers;
4075
3058
  };
4076
3059
  type ResponseErrorConfig<TError = unknown> = TError;
4077
3060
  type Client = <TResponseData, _TError = unknown, TRequestData = unknown>(config: RequestConfig<TRequestData>) => Promise<ResponseConfig<TResponseData>>;
@@ -4090,275 +3073,185 @@ declare class ApiError extends Error {
4090
3073
  status: number;
4091
3074
  });
4092
3075
  }
4093
- declare function getConfig(): Partial<RequestConfig>;
4094
- declare function setConfig(config: Partial<RequestConfig>): Partial<RequestConfig>;
4095
3076
  declare const client: Client;
4096
3077
  /**
4097
- * @description Submits a card checkout for the session wallet using encrypted card details collected by the SDK. Every chain is a valid `chain`: the ones the card provider settles to directly are delivered by it, and the rest are routed on arrival, which requires a registered wallet.
4098
- * @summary Submit card checkout
4099
- * {@link /v1/wallets/:address/card/checkout}
3078
+ * @description Starts a card purchase for the `wallet` in the body. Returns the order to poll and the hosted card URL to render, with the amount, currency, payment method and country already applied and locked so the widget opens on the payment step.
3079
+ * @summary Start a card checkout
3080
+ * {@link /v1/card/checkout}
4100
3081
  */
4101
- declare function checkoutCard(address: CheckoutCardPathParams["address"], data: CheckoutCardMutationRequest, config?: Partial<RequestConfig<CheckoutCardMutationRequest>> & {
3082
+ declare function checkoutCard(data: CheckoutCardMutationRequest, config?: Partial<RequestConfig<CheckoutCardMutationRequest>> & {
4102
3083
  client?: Client;
4103
3084
  }): Promise<CheckoutCard200>;
4104
3085
  /**
4105
3086
  * @description Checks out a session and returns its `client_secret`. Driven by the client SDK's `performCheckout` callback — never called standalone; the SDK handles required next actions (3DS) between calls.
4106
3087
  * @summary Check out a Stripe onramp session
4107
- * {@link /v1/wallets/:address/stripe/session/:sessionId/checkout}
3088
+ * {@link /v1/stripe/session/:sessionId/checkout}
4108
3089
  */
4109
- declare function checkoutStripeSession(address: CheckoutStripeSessionPathParams["address"], sessionId: CheckoutStripeSessionPathParams["sessionId"], config?: Partial<RequestConfig> & {
3090
+ declare function checkoutStripeSession(sessionId: CheckoutStripeSessionPathParams["sessionId"], data: CheckoutStripeSessionMutationRequest, config?: Partial<RequestConfig<CheckoutStripeSessionMutationRequest>> & {
4110
3091
  client?: Client;
4111
3092
  }): Promise<CheckoutStripeSession200>;
4112
3093
  /**
4113
- * @description Ends the session: clears both cookies and invalidates the refresh credential. No auth required; idempotent.
4114
- * @summary Clear a session
4115
- * {@link /v1/session/clear}
4116
- */
4117
- declare function clearSession(config?: Partial<RequestConfig> & {
4118
- client?: Client;
4119
- }): Promise<any>;
4120
- /**
4121
- * @description Starts an exchange connection and returns the URL the user authorizes at. On success, the connection turns live and can be read via `GET .../exchange/:exchange`.
3094
+ * @description Starts an exchange connection for the `wallet` in the body and returns the URL the user authorizes at. On success, the connection turns live and can be read via `GET /v1/exchange/{exchange}`.
4122
3095
  * @summary Connect an exchange
4123
- * {@link /v1/wallets/:address/exchange/:exchange}
3096
+ * {@link /v1/exchange/:exchange}
4124
3097
  */
4125
- declare function connectExchange(address: ConnectExchangePathParams["address"], exchange: ConnectExchangePathParams["exchange"], config?: Partial<RequestConfig> & {
3098
+ declare function connectExchange(exchange: ConnectExchangePathParams["exchange"], data: ConnectExchangeMutationRequest, config?: Partial<RequestConfig<ConnectExchangeMutationRequest>> & {
4126
3099
  client?: Client;
4127
3100
  }): Promise<ConnectExchange200>;
4128
3101
  /**
4129
- * @description Returns the signed authorization the hosted deposit flow requires before it will accept a deposit. The destination is the session wallet and the destination chain's payout token — USDC on most chains, USDm on MegaETH (`4326`) — or the token named by `destination_token` where the chain offers a choice. The authorization is short-lived.
3102
+ * @description Returns the signed authorization the hosted deposit flow requires before it will accept a deposit. The destination is the `wallet` in the body and the destination chain's payout token — USDC on most chains, USDm on MegaETH (`4326`). The authorization is short-lived.
4130
3103
  * @summary Authorize a deposit
4131
- * {@link /v1/wallets/:address/blink/signature}
3104
+ * {@link /v1/blink/signature}
4132
3105
  */
4133
- declare function createBlinkSignature(address: CreateBlinkSignaturePathParams["address"], data: CreateBlinkSignatureMutationRequest, config?: Partial<RequestConfig<CreateBlinkSignatureMutationRequest>> & {
3106
+ declare function createBlinkSignature(data: CreateBlinkSignatureMutationRequest, config?: Partial<RequestConfig<CreateBlinkSignatureMutationRequest>> & {
4134
3107
  client?: Client;
4135
3108
  }): Promise<CreateBlinkSignature200>;
4136
3109
  /**
4137
- * @description Returns the hosted card-onramp URL for the wallet. The card provider authenticates the cardholder and settles USDC to the wallet. Every chain is a valid `destination_chain`: the ones the card provider settles to directly are delivered by it, and the rest are routed on arrival, which ignores `destination_asset` and delivers to the session wallet.
4138
- * @summary Get the card-onramp link
4139
- * {@link /v1/wallets/:address/card}
3110
+ * @description Returns a price estimate for a card spend: the crypto the buyer receives and the all-in fiat charged.
3111
+ * @summary Quote a card amount
3112
+ * {@link /v1/card/quote}
4140
3113
  */
4141
- declare function createCardLink(address: CreateCardLinkPathParams["address"], data: CreateCardLinkMutationRequest, config?: Partial<RequestConfig<CreateCardLinkMutationRequest>> & {
3114
+ declare function createCardQuote(data: CreateCardQuoteMutationRequest, config?: Partial<RequestConfig<CreateCardQuoteMutationRequest>> & {
4142
3115
  client?: Client;
4143
- }): Promise<CreateCardLink200>;
3116
+ }): Promise<CreateCardQuote200>;
4144
3117
  /**
4145
- * @description Opens a Cash App onramp order and returns it, including the Cash App payment link. Poll `GET .../cashapp/:id` for status. Every chain is a valid `chain`: the ones Cash App settles to directly are delivered by it, and the rest are routed on arrival, which requires a registered wallet and delivers to the session wallet — pass it as `address` or the request is refused.
3118
+ * @description Opens a Cash App onramp order and returns it, including the Cash App payment url. Poll `GET /v1/cashapp/{id}` for status. The order delivers to the `wallet` in the body.
4146
3119
  * @summary Create a Cash App order
4147
- * {@link /v1/wallets/:address/cashapp}
3120
+ * {@link /v1/cashapp}
4148
3121
  */
4149
- declare function createCashAppOrder(address: CreateCashAppOrderPathParams["address"], data: CreateCashAppOrderMutationRequest, config?: Partial<RequestConfig<CreateCashAppOrderMutationRequest>> & {
3122
+ declare function createCashAppOrder(data: CreateCashAppOrderMutationRequest, config?: Partial<RequestConfig<CreateCashAppOrderMutationRequest>> & {
4150
3123
  client?: Client;
4151
3124
  }): Promise<CreateCashAppOrder200>;
4152
3125
  /**
4153
- * @description Returns a pricing preview for a Cash App order — the destination amount, the fee, and the fee in basis points. Every chain is a valid `chain`: the ones Cash App settles to directly are quoted against the destination, and the rest are quoted against the chain the order settles on before it is routed onward, which `routed` and `settlement_chain` name.
3126
+ * @description Returns a pricing preview for a Cash App order — the destination amount, the fee, and the fee in basis points. Every chain is a valid `destination_chain`. Read the amount against `destination.token` and `destination.decimals` rather than the payout you configured.
4154
3127
  * @summary Quote a Cash App order
4155
- * {@link /v1/wallets/:address/cashapp/quote}
3128
+ * {@link /v1/cashapp/quote}
4156
3129
  */
4157
- declare function createCashAppQuote(address: CreateCashAppQuotePathParams["address"], data: CreateCashAppQuoteMutationRequest, config?: Partial<RequestConfig<CreateCashAppQuoteMutationRequest>> & {
3130
+ declare function createCashAppQuote(data: CreateCashAppQuoteMutationRequest, config?: Partial<RequestConfig<CreateCashAppQuoteMutationRequest>> & {
4158
3131
  client?: Client;
4159
3132
  }): Promise<CreateCashAppQuote200>;
4160
- /**
4161
- * @description Returns an intake address for a `(source chain, source token) → destination` route. Funding it delivers the destination chain's payout token — USDC on most chains, USDm on MegaETH (`4326`) — at that token's own decimals; the same route reuses one address. Pass `destination_token` to pick among a chain's payout tokens where it offers more than one.
4162
- * @summary Create a crypto deposit address
4163
- * {@link /v1/wallets/:address/deposit-address}
4164
- */
4165
- declare function createDepositAddress(address: CreateDepositAddressPathParams["address"], data: CreateDepositAddressMutationRequest, config?: Partial<RequestConfig<CreateDepositAddressMutationRequest>> & {
4166
- client?: Client;
4167
- }): Promise<CreateDepositAddress200>;
4168
3133
  /**
4169
3134
  * @description Quotes a USDC withdrawal from the connected exchange to a deposit address that settles to the chosen destination. The returned `id` is the handle the withdraw call executes.
4170
3135
  * @summary Quote an exchange withdrawal
4171
- * {@link /v1/wallets/:address/exchange/:exchange/withdraw/quote}
3136
+ * {@link /v1/exchange/:exchange/withdraw/quote}
4172
3137
  */
4173
- declare function createExchangeWithdrawQuote(address: CreateExchangeWithdrawQuotePathParams["address"], exchange: CreateExchangeWithdrawQuotePathParams["exchange"], data: CreateExchangeWithdrawQuoteMutationRequest, config?: Partial<RequestConfig<CreateExchangeWithdrawQuoteMutationRequest>> & {
3138
+ declare function createExchangeWithdrawQuote(exchange: CreateExchangeWithdrawQuotePathParams["exchange"], data: CreateExchangeWithdrawQuoteMutationRequest, config?: Partial<RequestConfig<CreateExchangeWithdrawQuoteMutationRequest>> & {
4174
3139
  client?: Client;
4175
3140
  }): Promise<CreateExchangeWithdrawQuote200>;
4176
3141
  /**
4177
- * @description Verifies a Dynamic identity-token bearer, checks the wallet is linked to the user, resolves the tenant from the publishable key, and mints the session cookie pair. Requires an `Authorization: Bearer <token>` header.
4178
- * @summary Create a session (Dynamic)
4179
- * {@link /v1/session/:address/dynamic}
4180
- */
4181
- declare function createSessionDynamic(address: CreateSessionDynamicPathParams["address"], config?: Partial<RequestConfig> & {
4182
- client?: Client;
4183
- }): Promise<CreateSessionDynamic200>;
4184
- /**
4185
- * @description Verifies a Privy identity-token bearer, checks the wallet is linked to the user, resolves the tenant from the publishable key, and mints the session cookie pair. Requires an `Authorization: Bearer <token>` header.
4186
- * @summary Create a session (Privy)
4187
- * {@link /v1/session/:address/privy}
4188
- */
4189
- declare function createSessionPrivy(address: CreateSessionPrivyPathParams["address"], config?: Partial<RequestConfig> & {
4190
- client?: Client;
4191
- }): Promise<CreateSessionPrivy200>;
4192
- /**
4193
- * @description Verifies a signed EIP-4361 message and its nonce binding, then mints the session cookie pair. The message is standard EIP-4361 with no Calm-specific fields — the publishable key comes from the binding issued by `/siwe/nonce`, which welds it to the nonce the wallet signed over.
4194
- * @summary Create a session (SIWE)
4195
- * {@link /v1/session/:address/siwe}
4196
- */
4197
- declare function createSessionSiwe(address: CreateSessionSiwePathParams["address"], data: CreateSessionSiweMutationRequest, config?: Partial<RequestConfig<CreateSessionSiweMutationRequest>> & {
4198
- client?: Client;
4199
- }): Promise<CreateSessionSiwe200>;
4200
- /**
4201
- * @description Returns a nonce to embed in an EIP-4361 message and a short-lived binding to echo back on the SIWE create. Send the publishable key as `X-Calm-Publishable-Key`: it is welded into the binding, so the message itself stays standard EIP-4361 with no Calm-specific fields. Each call issues a fresh nonce; the binding expires after a few minutes.
4202
- * @summary Issue a SIWE nonce binding
4203
- * {@link /v1/session/:address/siwe/nonce}
4204
- */
4205
- declare function createSiweNonce(address: CreateSiweNoncePathParams["address"], config?: Partial<RequestConfig> & {
4206
- client?: Client;
4207
- }): Promise<CreateSiweNonce200>;
4208
- /**
4209
- * @description Opens a Link OAuth intent for the buyer's email and returns its id (handed to the client SDK's `authenticate(...)`) plus its expiry. Read-passthrough — nothing is persisted here.
3142
+ * @description Opens a Link OAuth intent for the buyer's email and returns its id (handed to the client SDK's `authenticate(...)`) plus its expiry.
4210
3143
  * @summary Open a Stripe Link auth intent
4211
- * {@link /v1/wallets/:address/stripe/auth-intent}
3144
+ * {@link /v1/stripe/auth-intent}
4212
3145
  */
4213
- declare function createStripeAuthIntent(address: CreateStripeAuthIntentPathParams["address"], data: CreateStripeAuthIntentMutationRequest, config?: Partial<RequestConfig<CreateStripeAuthIntentMutationRequest>> & {
3146
+ declare function createStripeAuthIntent(data: CreateStripeAuthIntentMutationRequest, config?: Partial<RequestConfig<CreateStripeAuthIntentMutationRequest>> & {
4214
3147
  client?: Client;
4215
3148
  }): Promise<CreateStripeAuthIntent200>;
4216
3149
  /**
4217
3150
  * @description Validates the crypto customer exists and persists the customer id onto the session so `/status` can re-derive it after a reopen.
4218
3151
  * @summary Persist a Stripe crypto customer
4219
- * {@link /v1/wallets/:address/stripe/customer/:crypto_customer_id}
3152
+ * {@link /v1/stripe/customer/:crypto_customer_id}
4220
3153
  */
4221
- declare function createStripeCustomer(address: CreateStripeCustomerPathParams["address"], crypto_customer_id: CreateStripeCustomerPathParams["crypto_customer_id"], config?: Partial<RequestConfig> & {
3154
+ declare function createStripeCustomer(crypto_customer_id: CreateStripeCustomerPathParams["crypto_customer_id"], data: CreateStripeCustomerMutationRequest, config?: Partial<RequestConfig<CreateStripeCustomerMutationRequest>> & {
4222
3155
  client?: Client;
4223
3156
  }): Promise<any>;
4224
3157
  /**
4225
- * @description Opens a headless onramp session and mirrors it into a local order. Returns Stripe's `session_id` (fed to the client SDK's `performCheckout`) plus our own `order_id` to poll via `GET .../stripe/order/:id`. Every chain is a valid `destination_chain`: the ones Stripe settles to directly are delivered by it, and the rest are routed on arrival, which requires a registered wallet and delivers to the session wallet. Pass exactly one of `source_amount` / `destination_amount`.
3158
+ * @description Opens a headless onramp session. Returns Stripe's `session_id` (fed to the client SDK's `performCheckout`) alongside a Calm `order_id` to poll via `GET .../stripe/order/:id`. Every chain is a valid `destination_chain`. Pass exactly one of `source_amount` / `destination_amount`.
4226
3159
  * @summary Open a Stripe onramp session
4227
- * {@link /v1/wallets/:address/stripe/session}
3160
+ * {@link /v1/stripe/session}
4228
3161
  */
4229
- declare function createStripeSession(address: CreateStripeSessionPathParams["address"], data: CreateStripeSessionMutationRequest, config?: Partial<RequestConfig<CreateStripeSessionMutationRequest>> & {
3162
+ declare function createStripeSession(data: CreateStripeSessionMutationRequest, config?: Partial<RequestConfig<CreateStripeSessionMutationRequest>> & {
4230
3163
  client?: Client;
4231
3164
  }): Promise<CreateStripeSession200>;
4232
3165
  /**
4233
3166
  * @description Exchanges a consented auth intent for the per-user OAuth tokens and stores them server-side. Returns 204; the access token never reaches the browser. The bound intent must match this session.
4234
3167
  * @summary Exchange an auth intent for tokens
4235
- * {@link /v1/wallets/:address/stripe/tokens}
3168
+ * {@link /v1/stripe/tokens}
4236
3169
  */
4237
- declare function createStripeTokens(address: CreateStripeTokensPathParams["address"], data: CreateStripeTokensMutationRequest, config?: Partial<RequestConfig<CreateStripeTokensMutationRequest>> & {
3170
+ declare function createStripeTokens(data: CreateStripeTokensMutationRequest, config?: Partial<RequestConfig<CreateStripeTokensMutationRequest>> & {
4238
3171
  client?: Client;
4239
3172
  }): Promise<any>;
4240
3173
  /**
4241
- * @description Returns an executable quote for swapping a source token into the destination chain's payout token — USDC on most chains, USDm on MegaETH (`4326`) — at that token's own decimals. Pass `destination_token` to pick among a chain's payout tokens where it offers more than one; omitted, the chain's default applies. The response carries the steps the client executes on-chain; source and destination chains may differ.
4242
- * @summary Quote a swap
4243
- * {@link /v1/wallets/:address/swap/quote}
4244
- */
4245
- declare function createSwapQuote(address: CreateSwapQuotePathParams["address"], data: CreateSwapQuoteMutationRequest, config?: Partial<RequestConfig<CreateSwapQuoteMutationRequest>> & {
4246
- client?: Client;
4247
- }): Promise<CreateSwapQuote200>;
4248
- /**
4249
- * @description Provisions a fiat→USDC virtual account for a `(currency, destination chain, payout token)` triple — repeating a triple returns the account that already exists, while changing `destination_token` on the same currency and chain provisions a SECOND account, since the two deliver different tokens and have different bank details. Every chain is accepted: the ones the banking rail settles to directly are delivered by it, and the rest are routed on arrival. Requires an approved identity verification. Returns 204; refetch the list to see the new account.
3174
+ * @description Provisions a virtual account for a `(currency, destination chain, payout token)` triple. Repeating a triple returns the account that already exists. Changing `destination_token` on the same currency and chain provisions a separate account with its own bank details. Every chain is accepted. Requires an approved identity verification. Returns 204; refetch the list to see the new account.
4250
3175
  * @summary Create a virtual account
4251
- * {@link /v1/wallets/:address/virtual-accounts}
3176
+ * {@link /v1/virtual-accounts}
4252
3177
  */
4253
- declare function createVirtualAccount(address: CreateVirtualAccountPathParams["address"], data: CreateVirtualAccountMutationRequest, config?: Partial<RequestConfig<CreateVirtualAccountMutationRequest>> & {
3178
+ declare function createVirtualAccount(data: CreateVirtualAccountMutationRequest, config?: Partial<RequestConfig<CreateVirtualAccountMutationRequest>> & {
4254
3179
  client?: Client;
4255
3180
  }): Promise<any>;
4256
3181
  /**
4257
3182
  * @description Disconnects an exchange and returns 204. Idempotent: disconnecting an already-disconnected exchange still returns 204.
4258
3183
  * @summary Disconnect an exchange
4259
- * {@link /v1/wallets/:address/exchange/:exchange}
3184
+ * {@link /v1/exchange/:exchange}
4260
3185
  */
4261
- declare function disconnectExchange(address: DisconnectExchangePathParams["address"], exchange: DisconnectExchangePathParams["exchange"], config?: Partial<RequestConfig> & {
3186
+ declare function disconnectExchange(exchange: DisconnectExchangePathParams["exchange"], params: DisconnectExchangeQueryParams, config?: Partial<RequestConfig> & {
4262
3187
  client?: Client;
4263
3188
  }): Promise<any>;
4264
3189
  /**
4265
3190
  * @description Executes a quoted withdrawal. Returns the withdrawal (now `pending`), or `{ requires_2fa: true }` when the exchange demands a 2FA code — re-submit with `twofa`.
4266
3191
  * @summary Execute an exchange withdrawal
4267
- * {@link /v1/wallets/:address/exchange/:exchange/withdraw}
3192
+ * {@link /v1/exchange/:exchange/withdraw}
4268
3193
  */
4269
- declare function executeExchangeWithdrawal(address: ExecuteExchangeWithdrawalPathParams["address"], exchange: ExecuteExchangeWithdrawalPathParams["exchange"], data: ExecuteExchangeWithdrawalMutationRequest, config?: Partial<RequestConfig<ExecuteExchangeWithdrawalMutationRequest>> & {
3194
+ declare function executeExchangeWithdrawal(exchange: ExecuteExchangeWithdrawalPathParams["exchange"], data: ExecuteExchangeWithdrawalMutationRequest, config?: Partial<RequestConfig<ExecuteExchangeWithdrawalMutationRequest>> & {
4270
3195
  client?: Client;
4271
3196
  }): Promise<ExecuteExchangeWithdrawal200>;
4272
3197
  /**
4273
- * @description Returns a single token's balance on one chain. `token` is a catalog symbol (`eth`, `hype`, `mon`, `usdc`, `usdm`, `usdt`).
4274
- * @summary Get one token balance
4275
- * {@link /v1/wallets/:address/balances/:chain/:token}
4276
- */
4277
- declare function getBalance(address: GetBalancePathParams["address"], chain: GetBalancePathParams["chain"], token: GetBalancePathParams["token"], config?: Partial<RequestConfig> & {
4278
- client?: Client;
4279
- }): Promise<GetBalance200>;
4280
- /**
4281
- * @description Returns the wallet's token balances across the supported source chains, each with its USD value. Filter with `?chains=1,8453`; the default covers the source chains.
3198
+ * @description Returns the wallet's token balances on every supported chain (1, 8453, 999, 1337, 4326, 143, 137, 42161), each with its USD value.
4282
3199
  * @summary List wallet balances
4283
- * {@link /v1/wallets/:address/balances}
3200
+ * {@link /v1/balances}
4284
3201
  */
4285
- declare function getBalances(address: GetBalancesPathParams["address"], params?: GetBalancesQueryParams, config?: Partial<RequestConfig> & {
3202
+ declare function getBalances(params: GetBalancesQueryParams, config?: Partial<RequestConfig> & {
4286
3203
  client?: Client;
4287
3204
  }): Promise<GetBalances200>;
4288
3205
  /**
4289
- * @description Returns the environment-specific settings the SDK needs to open the hosted deposit flow. A null value means the SDK should use its bundled default.
3206
+ * @description Returns the environment-specific settings the SDK needs to open the hosted deposit flow. A null host means the SDK should use its bundled default; the merchant identifier is a warm-up hint and carries no authority.
4290
3207
  * @summary Get the deposit-rail runtime config
4291
- * {@link /v1/wallets/:address/blink/config}
3208
+ * {@link /v1/blink/config}
4292
3209
  */
4293
- declare function getBlinkConfig(address: GetBlinkConfigPathParams["address"], config?: Partial<RequestConfig> & {
3210
+ declare function getBlinkConfig(config?: Partial<RequestConfig> & {
4294
3211
  client?: Client;
4295
3212
  }): Promise<GetBlinkConfig200>;
4296
3213
  /**
4297
- * @description Returns public configuration used by the SDK to render secure card collection and risk checks.
4298
- * @summary Get card flow config
4299
- * {@link /v1/wallets/:address/card/config}
4300
- */
4301
- declare function getCardConfig(address: GetCardConfigPathParams["address"], config?: Partial<RequestConfig> & {
4302
- client?: Client;
4303
- }): Promise<GetCardConfig200>;
4304
- /**
4305
- * @description Returns the saved registration and billing profile for the session wallet so the card flow can prefill its forms.
4306
- * @summary Get card registration + billing
4307
- * {@link /v1/wallets/:address/card/customer}
4308
- */
4309
- declare function getCardCustomer(address: GetCardCustomerPathParams["address"], config?: Partial<RequestConfig> & {
4310
- client?: Client;
4311
- }): Promise<GetCardCustomer200>;
4312
- /**
4313
- * @description Returns the status of one card order, scoped to the session wallet.
3214
+ * @description Returns the status of one card order, scoped to the `wallet` in the query.
4314
3215
  * @summary Get card order
4315
- * {@link /v1/wallets/:address/card/orders/:id}
3216
+ * {@link /v1/card/orders/:id}
4316
3217
  */
4317
- declare function getCardOrder(address: GetCardOrderPathParams["address"], id: GetCardOrderPathParams["id"], config?: Partial<RequestConfig> & {
3218
+ declare function getCardOrder(id: GetCardOrderPathParams["id"], params: GetCardOrderQueryParams, config?: Partial<RequestConfig> & {
4318
3219
  client?: Client;
4319
3220
  }): Promise<GetCardOrder200>;
4320
3221
  /**
4321
- * @description Returns an informational price estimate for a fiat card spend: the net USDC the buyer receives, the all-in fiat charged, the fee, and the exchange rate.
4322
- * @summary Quote a card amount
4323
- * {@link /v1/wallets/:address/card/quote}
4324
- */
4325
- declare function getCardQuote(address: GetCardQuotePathParams["address"], params?: GetCardQuoteQueryParams, config?: Partial<RequestConfig> & {
4326
- client?: Client;
4327
- }): Promise<GetCardQuote200>;
4328
- /**
4329
- * @description Returns a Cash App order by id, including its current status and payment link.
3222
+ * @description Returns a Cash App order by id, including its current status and payment url.
4330
3223
  * @summary Get a Cash App order
4331
- * {@link /v1/wallets/:address/cashapp/:id}
3224
+ * {@link /v1/cashapp/:id}
4332
3225
  */
4333
- declare function getCashAppOrder(address: GetCashAppOrderPathParams["address"], id: GetCashAppOrderPathParams["id"], config?: Partial<RequestConfig> & {
3226
+ declare function getCashAppOrder(id: GetCashAppOrderPathParams["id"], params: GetCashAppOrderQueryParams, config?: Partial<RequestConfig> & {
4334
3227
  client?: Client;
4335
3228
  }): Promise<GetCashAppOrder200>;
4336
3229
  /**
4337
3230
  * @description Returns the connection status for an exchange. Not-connected is a 200 with `connected: false` — poll this to drive the connect UI.
4338
3231
  * @summary Get exchange connection status
4339
- * {@link /v1/wallets/:address/exchange/:exchange}
3232
+ * {@link /v1/exchange/:exchange}
4340
3233
  */
4341
- declare function getExchange(address: GetExchangePathParams["address"], exchange: GetExchangePathParams["exchange"], config?: Partial<RequestConfig> & {
3234
+ declare function getExchange(exchange: GetExchangePathParams["exchange"], params: GetExchangeQueryParams, config?: Partial<RequestConfig> & {
4342
3235
  client?: Client;
4343
3236
  }): Promise<GetExchange200>;
4344
3237
  /**
4345
3238
  * @description Returns the assets the connected exchange can pay out and, per asset, the networks it withdraws to with their live per-network limits.
4346
3239
  * @summary List exchange withdrawable assets
4347
- * {@link /v1/wallets/:address/exchange/:exchange/assets}
3240
+ * {@link /v1/exchange/:exchange/assets}
4348
3241
  */
4349
- declare function getExchangeAssets(address: GetExchangeAssetsPathParams["address"], exchange: GetExchangeAssetsPathParams["exchange"], config?: Partial<RequestConfig> & {
3242
+ declare function getExchangeAssets(exchange: GetExchangeAssetsPathParams["exchange"], params: GetExchangeAssetsQueryParams, config?: Partial<RequestConfig> & {
4350
3243
  client?: Client;
4351
3244
  }): Promise<GetExchangeAssets200>;
4352
3245
  /**
4353
3246
  * @description Returns a withdrawal by id, including its status and — once broadcast — its transaction hash.
4354
3247
  * @summary Get an exchange withdrawal
4355
- * {@link /v1/wallets/:address/exchange/:exchange/withdraw/:id}
3248
+ * {@link /v1/exchange/:exchange/withdraw/:id}
4356
3249
  */
4357
- declare function getExchangeWithdrawal(address: GetExchangeWithdrawalPathParams["address"], exchange: GetExchangeWithdrawalPathParams["exchange"], id: GetExchangeWithdrawalPathParams["id"], config?: Partial<RequestConfig> & {
3250
+ declare function getExchangeWithdrawal(exchange: GetExchangeWithdrawalPathParams["exchange"], id: GetExchangeWithdrawalPathParams["id"], params: GetExchangeWithdrawalQueryParams, config?: Partial<RequestConfig> & {
4358
3251
  client?: Client;
4359
3252
  }): Promise<GetExchangeWithdrawal200>;
4360
3253
  /**
4361
- * @description Returns USD→currency rates for showing amounts in the app's display currency. Public; rates are cached upstream.
3254
+ * @description Returns USD→currency rates for showing amounts in the app's display currency. It is the only operation that takes no publishable key.
4362
3255
  * @summary Get display-currency exchange rates
4363
3256
  * {@link /v1/fx}
4364
3257
  */
@@ -4366,142 +3259,115 @@ declare function getFxRates(config?: Partial<RequestConfig> & {
4366
3259
  client?: Client;
4367
3260
  }): Promise<GetFxRates200>;
4368
3261
  /**
4369
- * @description Returns the hosted identity-verification URL for the wallet. Present it to the user, then poll `GET /v1/wallets/:address` for the resulting status.
4370
- * @summary Get the identity-verification link
4371
- * {@link /v1/wallets/:address/virtual-accounts/identity-verification}
3262
+ * @description Returns the hosted identity-verification URL for the wallet. Present it to the user, then poll `GET /v1/virtual-accounts/status` for the outcome.
3263
+ * @summary Get the identity-verification URL
3264
+ * {@link /v1/virtual-accounts/identity-verification}
4372
3265
  */
4373
- declare function getIdentityVerificationLink(address: GetIdentityVerificationLinkPathParams["address"], config?: Partial<RequestConfig> & {
3266
+ declare function getIdentityVerificationUrl(data: GetIdentityVerificationUrlMutationRequest, config?: Partial<RequestConfig<GetIdentityVerificationUrlMutationRequest>> & {
4374
3267
  client?: Client;
4375
- }): Promise<GetIdentityVerificationLink200>;
3268
+ }): Promise<GetIdentityVerificationUrl200>;
4376
3269
  /**
4377
- * @description Returns the environment's Stripe publishable key, which the SDK feeds to `loadCryptoOnrampAndInitialize(pk)` on init. `session`-gated for consistency with the rest of the onramp routes, not secrecy — a publishable key is public by design.
4378
- * @summary Get the Stripe publishable key
4379
- * {@link /v1/wallets/:address/stripe/config}
3270
+ * @description Returns the environment's Stripe publishable key, which the SDK feeds to `loadCryptoOnrampAndInitialize(pk)` on init.
3271
+ * @summary Get the Stripe config
3272
+ * {@link /v1/stripe/config}
4380
3273
  */
4381
- declare function getStripeConfig(address: GetStripeConfigPathParams["address"], config?: Partial<RequestConfig> & {
3274
+ declare function getStripeConfig(config?: Partial<RequestConfig> & {
4382
3275
  client?: Client;
4383
3276
  }): Promise<GetStripeConfig200>;
4384
3277
  /**
4385
3278
  * @description Reads the crypto customer's KYC and document-verification statuses (the two the SDK branches on) plus its provided fields — the same projection as the customer POST, but a pure read with no persistence. The SDK polls it while the verifying step is on screen.
4386
3279
  * @summary Poll a Stripe crypto customer's status
4387
- * {@link /v1/wallets/:address/stripe/customer/:crypto_customer_id}
3280
+ * {@link /v1/stripe/customer/:crypto_customer_id}
4388
3281
  */
4389
- declare function getStripeCustomerStatus(address: GetStripeCustomerStatusPathParams["address"], crypto_customer_id: GetStripeCustomerStatusPathParams["crypto_customer_id"], config?: Partial<RequestConfig> & {
3282
+ declare function getStripeCustomerStatus(crypto_customer_id: GetStripeCustomerStatusPathParams["crypto_customer_id"], params: GetStripeCustomerStatusQueryParams, config?: Partial<RequestConfig> & {
4390
3283
  client?: Client;
4391
3284
  }): Promise<GetStripeCustomerStatus200>;
4392
3285
  /**
4393
- * @description Returns the settlement status of one onramp order from the local mirror, scoped to the session's wallet. The SDK polls this after checkout for the webhook-confirmed `fulfillment_complete` (or a `rejected` / `error` terminal state).
3286
+ * @description Returns the settlement status of one onramp order, scoped to the wallet in the path. Poll it after checkout until the order reaches a terminal state — `fulfillment_complete`, `rejected`, or `error`.
4394
3287
  * @summary Get a Stripe onramp order
4395
- * {@link /v1/wallets/:address/stripe/order/:id}
3288
+ * {@link /v1/stripe/order/:id}
4396
3289
  */
4397
- declare function getStripeOrder(address: GetStripeOrderPathParams["address"], id: GetStripeOrderPathParams["id"], config?: Partial<RequestConfig> & {
3290
+ declare function getStripeOrder(id: GetStripeOrderPathParams["id"], params: GetStripeOrderQueryParams, config?: Partial<RequestConfig> & {
4398
3291
  client?: Client;
4399
3292
  }): Promise<GetStripeOrder200>;
4400
3293
  /**
4401
- * @description Returns an informational price estimate for a source amount (fiat spend) or destination amount (target USDC) — the destination amount, the buyer's all-in source total, the fee components, and when the rate was fetched. Pin exactly one. No customer, token, or session is involved (it prices with the secret key alone), so it's `session`-gated only. Display-only: Stripe sets the final amounts at session creation.
3294
+ * @description Returns an informational price estimate for a source amount (fiat spend) or destination amount (target USDC) — the destination amount, the buyer's all-in source total, the fee components, and when the rate was fetched. Pin exactly one. No authenticated buyer is needed. Display-only: the final amounts are set at session creation.
4402
3295
  * @summary Quote a Stripe onramp amount
4403
- * {@link /v1/wallets/:address/stripe/quote}
3296
+ * {@link /v1/stripe/quote}
4404
3297
  */
4405
- declare function getStripeQuote(address: GetStripeQuotePathParams["address"], params?: GetStripeQuoteQueryParams, config?: Partial<RequestConfig> & {
3298
+ declare function getStripeQuote(params?: GetStripeQuoteQueryParams, config?: Partial<RequestConfig> & {
4406
3299
  client?: Client;
4407
3300
  }): Promise<GetStripeQuote200>;
4408
3301
  /**
4409
- * @description Reports whether this session is still Link-authenticated and, once the customer POST has run, the persisted crypto customer id and the Link account email. Reads Redis only, so an un-authed session is a 200 with `authenticated: false` (not a 401) — the SDK polls it to re-derive the Stripe session on a cold open.
4410
- * @summary Get the session's Stripe login state
4411
- * {@link /v1/wallets/:address/stripe/status}
3302
+ * @description Reports whether this wallet is still Link-authenticated and, once the customer POST has run, the persisted crypto customer id and the Link account email. An un-authenticated wallet is a 200 with `authenticated: false`, not a 401 — poll it to re-derive the Stripe session on a cold open.
3303
+ * @summary Get the wallet's Stripe login state
3304
+ * {@link /v1/stripe/status}
4412
3305
  */
4413
- declare function getStripeStatus(address: GetStripeStatusPathParams["address"], config?: Partial<RequestConfig> & {
3306
+ declare function getStripeStatus(params: GetStripeStatusQueryParams, config?: Partial<RequestConfig> & {
4414
3307
  client?: Client;
4415
3308
  }): Promise<GetStripeStatus200>;
4416
3309
  /**
4417
- * @description Returns the hosted terms-of-service URL for the wallet. Present it to the user, then poll `GET /v1/wallets/:address` for acceptance.
4418
- * @summary Get the terms-of-service link
4419
- * {@link /v1/wallets/:address/virtual-accounts/terms-of-service}
3310
+ * @description Returns the hosted terms-of-service URL for the wallet. Present it to the user, then poll `GET /v1/virtual-accounts/status` for acceptance.
3311
+ * @summary Get the terms-of-service URL
3312
+ * {@link /v1/virtual-accounts/terms-of-service}
3313
+ */
3314
+ declare function getTermsOfServiceUrl(data: GetTermsOfServiceUrlMutationRequest, config?: Partial<RequestConfig<GetTermsOfServiceUrlMutationRequest>> & {
3315
+ client?: Client;
3316
+ }): Promise<GetTermsOfServiceUrl200>;
3317
+ /**
3318
+ * @description Returns the bank-onboarding facts for a wallet: verification status, terms acceptance, and event timestamps. 404 until the wallet has been through `POST /v1/virtual-accounts/register`.
3319
+ * @summary Get onboarding status
3320
+ * {@link /v1/virtual-accounts/status}
4420
3321
  */
4421
- declare function getTermsOfServiceLink(address: GetTermsOfServiceLinkPathParams["address"], config?: Partial<RequestConfig> & {
3322
+ declare function getVirtualAccountStatus(params: GetVirtualAccountStatusQueryParams, config?: Partial<RequestConfig> & {
4422
3323
  client?: Client;
4423
- }): Promise<GetTermsOfServiceLink200>;
3324
+ }): Promise<GetVirtualAccountStatus200>;
4424
3325
  /**
4425
- * @description Returns the current state facts for a wallet: verification status, terms acceptance, and event timestamps. Requires a valid session cookie for the same wallet.
4426
- * @summary Get wallet state
4427
- * {@link /v1/wallets/:address}
3326
+ * @description Returns the wallet's deposit history, newest first: every detected deposit with its current status, amounts and transaction hashes. An authorization that was never funded is not listed.
3327
+ * @summary List deposits
3328
+ * {@link /v1/blink/deposits}
4428
3329
  */
4429
- declare function getWallet(address: GetWalletPathParams["address"], config?: Partial<RequestConfig> & {
3330
+ declare function listBlinkDeposits(params: ListBlinkDepositsQueryParams, config?: Partial<RequestConfig> & {
4430
3331
  client?: Client;
4431
- }): Promise<GetWallet200>;
3332
+ }): Promise<ListBlinkDeposits200>;
4432
3333
  /**
4433
- * @description Returns the wallet's crypto-deposit history, newest first: every detected deposit with its current status (processing, completed, failed, or refunded), amounts, and transaction hashes. Served from the local ledger, which is reconciled against the upstream provider as each transfer progresses. `deposit_address` is null for deposits made through a provider that mints its own intake address. Requires a valid session cookie for the same wallet.
4434
- * @summary List crypto deposits
4435
- * {@link /v1/wallets/:address/crypto-deposits}
3334
+ * @description Lists the payment methods available to a buyer, one row per method. `country` and `currency` are both required; a country that is not served returns an empty list. `min_amount` and `max_amount` are EUR-denominated whatever `currency` is.
3335
+ * @summary List card payment methods
3336
+ * {@link /v1/card/payment-methods}
4436
3337
  */
4437
- declare function listCryptoDeposits(address: ListCryptoDepositsPathParams["address"], config?: Partial<RequestConfig> & {
3338
+ declare function listCardPaymentMethods(data: ListCardPaymentMethodsMutationRequest, config?: Partial<RequestConfig<ListCardPaymentMethodsMutationRequest>> & {
4438
3339
  client?: Client;
4439
- }): Promise<ListCryptoDeposits200>;
3340
+ }): Promise<ListCardPaymentMethods200>;
4440
3341
  /**
4441
- * @description Returns the payment methods the customer has on file. Read-passthrough — the SDK checks this before `collectPaymentMethod` to offer a saved method.
3342
+ * @description Returns the payment methods the customer has on file. Read it before `collectPaymentMethod` to offer a saved method instead of collecting a new one.
4442
3343
  * @summary List the customer's payment methods
4443
- * {@link /v1/wallets/:address/stripe/payment-tokens}
3344
+ * {@link /v1/stripe/payment-tokens}
4444
3345
  */
4445
- declare function listStripePaymentTokens(address: ListStripePaymentTokensPathParams["address"], params?: ListStripePaymentTokensQueryParams, config?: Partial<RequestConfig> & {
3346
+ declare function listStripePaymentTokens(params: ListStripePaymentTokensQueryParams, config?: Partial<RequestConfig> & {
4446
3347
  client?: Client;
4447
3348
  }): Promise<ListStripePaymentTokens200>;
4448
3349
  /**
4449
- * @description Returns the crypto wallets registered to the customer's Link account. Read-passthrough — the SDK checks this before `registerWalletAddress` to avoid re-registering a known address.
3350
+ * @description Returns the crypto wallets registered to the customer's Link account. Read it before `registerWalletAddress` to avoid re-registering a known address.
4450
3351
  * @summary List the customer's crypto wallets
4451
- * {@link /v1/wallets/:address/stripe/wallets}
3352
+ * {@link /v1/stripe/wallets}
4452
3353
  */
4453
- declare function listStripeWallets(address: ListStripeWalletsPathParams["address"], params?: ListStripeWalletsQueryParams, config?: Partial<RequestConfig> & {
3354
+ declare function listStripeWallets(params: ListStripeWalletsQueryParams, config?: Partial<RequestConfig> & {
4454
3355
  client?: Client;
4455
3356
  }): Promise<ListStripeWallets200>;
4456
3357
  /**
4457
3358
  * @description Returns the wallet's virtual accounts, each with the bank-side deposit instructions the user needs to send fiat. A wallet can hold more than one account per `(currency, chain)` when the payout token differs; `destination_token` is what tells them apart, and the bank details are not interchangeable between them.
4458
3359
  * @summary List virtual accounts
4459
- * {@link /v1/wallets/:address/virtual-accounts}
3360
+ * {@link /v1/virtual-accounts}
4460
3361
  */
4461
- declare function listVirtualAccounts(address: ListVirtualAccountsPathParams["address"], config?: Partial<RequestConfig> & {
3362
+ declare function listVirtualAccounts(params: ListVirtualAccountsQueryParams, config?: Partial<RequestConfig> & {
4462
3363
  client?: Client;
4463
3364
  }): Promise<ListVirtualAccounts200>;
4464
3365
  /**
4465
- * @description Rotates the refresh cookie and mints a fresh session cookie pair. The `calm_refresh` cookie is the only credential — no body or headers required.
4466
- * @summary Refresh a session
4467
- * {@link /v1/session/:address/refresh}
4468
- */
4469
- declare function refreshSession(address: RefreshSessionPathParams["address"], config?: Partial<RequestConfig> & {
4470
- client?: Client;
4471
- }): Promise<RefreshSession200>;
4472
- /**
4473
- * @description Submits the registration form (name + email) for the wallet. Returns 204; the SDK refetches the wallet state to pick up the new facts.
3366
+ * @description Submits the registration form (name + email) for the wallet. Returns 204; re-read `GET /v1/virtual-accounts/status` to pick up the new facts.
4474
3367
  * @summary Register a wallet
4475
- * {@link /v1/wallets/:address/register}
4476
- */
4477
- declare function registerWallet(address: RegisterWalletPathParams["address"], data: RegisterWalletMutationRequest, config?: Partial<RequestConfig<RegisterWalletMutationRequest>> & {
4478
- client?: Client;
4479
- }): Promise<any>;
4480
- /**
4481
- * @description Records that the user finished the identity-verification flow and returns 204. Internal to the SDK's instant-submit UX — partners should create the link, then poll `GET /v1/wallets/:address` for the resulting status instead.
4482
- * @summary Record identity-verification completion
4483
- * {@link /v1/wallets/:address/virtual-accounts/identity-verification/submit}
4484
- */
4485
- declare function submitIdentityVerification(address: SubmitIdentityVerificationPathParams["address"], config?: Partial<RequestConfig> & {
4486
- client?: Client;
4487
- }): Promise<any>;
4488
- /**
4489
- * @description Records that the user finished the terms-of-service flow and returns 204. Internal to the SDK's instant-submit UX — partners should create the link, then poll `GET /v1/wallets/:address` for acceptance instead.
4490
- * @summary Record terms-of-service completion
4491
- * {@link /v1/wallets/:address/virtual-accounts/terms-of-service/submit}
4492
- */
4493
- declare function submitTermsOfService(address: SubmitTermsOfServicePathParams["address"], config?: Partial<RequestConfig> & {
4494
- client?: Client;
4495
- }): Promise<any>;
4496
- /**
4497
- * @description Updates a virtual account's destination chain. Every chain is accepted: the ones the banking rail settles to directly are delivered by it, and the rest are routed on arrival. `destination_token` picks the payout token for the account's new destination; omitting it with the chain unchanged leaves the account untouched, while omitting it on a chain change takes the NEW chain's default rather than carrying the current token over. Send `destination_token` explicitly whenever the account should keep a non-default payout. Returns 204; refetch the list to see the change.
4498
- * @summary Update a virtual account
4499
- * {@link /v1/wallets/:address/virtual-accounts/:virtual-account-id}
3368
+ * {@link /v1/virtual-accounts/register}
4500
3369
  */
4501
- declare function updateVirtualAccount(address: UpdateVirtualAccountPathParams["address"], virtualAccountId: UpdateVirtualAccountPathParams["virtual-account-id"], data: UpdateVirtualAccountMutationRequest, config?: Partial<RequestConfig<UpdateVirtualAccountMutationRequest>> & {
3370
+ declare function registerWallet(data: RegisterWalletMutationRequest, config?: Partial<RequestConfig<RegisterWalletMutationRequest>> & {
4502
3371
  client?: Client;
4503
3372
  }): Promise<any>;
4504
- declare function configureCalm(options: {
4505
- apiUrl: string;
4506
- }): void;
4507
- export { ApiError, type CheckoutCard200, type CheckoutCard400, type CheckoutCard401, type CheckoutCard403, type CheckoutCard404, type CheckoutCard429, type CheckoutCard502, type CheckoutCardMutation, type CheckoutCardMutationRequest, type CheckoutCardMutationRequestChainEnumKey, type CheckoutCardMutationRequestDestinationTokenEnumKey, type CheckoutCardMutationResponse, type CheckoutCardPathParams, type CheckoutStripeSession200, type CheckoutStripeSession400, type CheckoutStripeSession401, type CheckoutStripeSession402, type CheckoutStripeSession403, type CheckoutStripeSession404, type CheckoutStripeSession409, type CheckoutStripeSession429, type CheckoutStripeSession502, type CheckoutStripeSessionMutation, type CheckoutStripeSessionMutationResponse, type CheckoutStripeSessionPathParams, type ClearSession204, type ClearSession429, type ClearSessionMutation, type ClearSessionMutationResponse, type Client, type ConnectExchange200, type ConnectExchange400, type ConnectExchange401, type ConnectExchange403, type ConnectExchange404, type ConnectExchange429, type ConnectExchange502, type ConnectExchangeMutation, type ConnectExchangeMutationResponse, type ConnectExchangePathParams, type ConnectExchangePathParamsExchangeEnumKey, type CreateBlinkSignature200, type CreateBlinkSignature400, type CreateBlinkSignature401, type CreateBlinkSignature403, type CreateBlinkSignature429, type CreateBlinkSignatureMutation, type CreateBlinkSignatureMutationRequest, type CreateBlinkSignatureMutationRequestDestinationChainEnumKey, type CreateBlinkSignatureMutationRequestDestinationTokenEnumKey, type CreateBlinkSignatureMutationResponse, type CreateBlinkSignaturePathParams, type CreateCardLink200, type CreateCardLink400, type CreateCardLink401, type CreateCardLink403, type CreateCardLink404, type CreateCardLink429, type CreateCardLinkMutation, type CreateCardLinkMutationRequest, type CreateCardLinkMutationRequestCurrencyEnumKey, type CreateCardLinkMutationRequestDestinationChainEnumKey, type CreateCardLinkMutationRequestDestinationTokenEnumKey, type CreateCardLinkMutationResponse, type CreateCardLinkPathParams, type CreateCashAppOrder200, type CreateCashAppOrder200StatusEnumKey, type CreateCashAppOrder400, type CreateCashAppOrder401, type CreateCashAppOrder403, type CreateCashAppOrder404, type CreateCashAppOrder429, type CreateCashAppOrder502, type CreateCashAppOrderMutation, type CreateCashAppOrderMutationRequest, type CreateCashAppOrderMutationRequestChainEnumKey, type CreateCashAppOrderMutationRequestDestinationTokenEnumKey, type CreateCashAppOrderMutationResponse, type CreateCashAppOrderPathParams, type CreateCashAppQuote200, type CreateCashAppQuote400, type CreateCashAppQuote401, type CreateCashAppQuote403, type CreateCashAppQuote429, type CreateCashAppQuote502, type CreateCashAppQuoteMutation, type CreateCashAppQuoteMutationRequest, type CreateCashAppQuoteMutationRequestChainEnumKey, type CreateCashAppQuoteMutationRequestDestinationTokenEnumKey, type CreateCashAppQuoteMutationResponse, type CreateCashAppQuotePathParams, type CreateDepositAddress200, type CreateDepositAddress400, type CreateDepositAddress401, type CreateDepositAddress403, type CreateDepositAddress404, type CreateDepositAddress429, type CreateDepositAddressMutation, type CreateDepositAddressMutationRequest, type CreateDepositAddressMutationRequestDestinationChainEnumKey, type CreateDepositAddressMutationRequestDestinationTokenEnumKey, type CreateDepositAddressMutationRequestSourceChainEnumKey, type CreateDepositAddressMutationRequestSourceTokenEnumKey, type CreateDepositAddressMutationResponse, type CreateDepositAddressPathParams, type CreateExchangeWithdrawQuote200, type CreateExchangeWithdrawQuote400, type CreateExchangeWithdrawQuote401, type CreateExchangeWithdrawQuote403, type CreateExchangeWithdrawQuote404, type CreateExchangeWithdrawQuote409, type CreateExchangeWithdrawQuote429, type CreateExchangeWithdrawQuote502, type CreateExchangeWithdrawQuoteMutation, type CreateExchangeWithdrawQuoteMutationRequest, type CreateExchangeWithdrawQuoteMutationRequestDestinationChainEnumKey, type CreateExchangeWithdrawQuoteMutationRequestDestinationTokenEnumKey, type CreateExchangeWithdrawQuoteMutationRequestOriginChainEnumKey, type CreateExchangeWithdrawQuoteMutationResponse, type CreateExchangeWithdrawQuotePathParams, type CreateExchangeWithdrawQuotePathParamsExchangeEnumKey, type CreateSessionDynamic200, type CreateSessionDynamic400, type CreateSessionDynamic401, type CreateSessionDynamic403, type CreateSessionDynamic429, type CreateSessionDynamicMutation, type CreateSessionDynamicMutationResponse, type CreateSessionDynamicPathParams, type CreateSessionPrivy200, type CreateSessionPrivy400, type CreateSessionPrivy401, type CreateSessionPrivy403, type CreateSessionPrivy429, type CreateSessionPrivyMutation, type CreateSessionPrivyMutationResponse, type CreateSessionPrivyPathParams, type CreateSessionSiwe200, type CreateSessionSiwe400, type CreateSessionSiwe401, type CreateSessionSiwe403, type CreateSessionSiwe429, type CreateSessionSiweMutation, type CreateSessionSiweMutationRequest, type CreateSessionSiweMutationResponse, type CreateSessionSiwePathParams, type CreateSiweNonce200, type CreateSiweNonce400, type CreateSiweNonce429, type CreateSiweNonceMutation, type CreateSiweNonceMutationResponse, type CreateSiweNoncePathParams, type CreateStripeAuthIntent200, type CreateStripeAuthIntent400, type CreateStripeAuthIntent401, type CreateStripeAuthIntent403, type CreateStripeAuthIntent404, type CreateStripeAuthIntent429, type CreateStripeAuthIntent502, type CreateStripeAuthIntentMutation, type CreateStripeAuthIntentMutationRequest, type CreateStripeAuthIntentMutationResponse, type CreateStripeAuthIntentPathParams, type CreateStripeCustomer204, type CreateStripeCustomer400, type CreateStripeCustomer401, type CreateStripeCustomer403, type CreateStripeCustomer404, type CreateStripeCustomer429, type CreateStripeCustomer502, type CreateStripeCustomerMutation, type CreateStripeCustomerMutationResponse, type CreateStripeCustomerPathParams, type CreateStripeSession200, type CreateStripeSession400, type CreateStripeSession401, type CreateStripeSession403, type CreateStripeSession404, type CreateStripeSession429, type CreateStripeSession502, type CreateStripeSessionMutation, type CreateStripeSessionMutationRequest, type CreateStripeSessionMutationRequestDestinationChainEnumKey, type CreateStripeSessionMutationRequestDestinationTokenEnumKey, type CreateStripeSessionMutationResponse, type CreateStripeSessionPathParams, type CreateStripeTokens204, type CreateStripeTokens400, type CreateStripeTokens401, type CreateStripeTokens403, type CreateStripeTokens404, type CreateStripeTokens409, type CreateStripeTokens429, type CreateStripeTokens502, type CreateStripeTokensMutation, type CreateStripeTokensMutationRequest, type CreateStripeTokensMutationResponse, type CreateStripeTokensPathParams, type CreateSwapQuote200, type CreateSwapQuote400, type CreateSwapQuote401, type CreateSwapQuote403, type CreateSwapQuote429, type CreateSwapQuote502, type CreateSwapQuoteMutation, type CreateSwapQuoteMutationRequest, type CreateSwapQuoteMutationRequestDestinationChainEnumKey, type CreateSwapQuoteMutationRequestDestinationTokenEnumKey, type CreateSwapQuoteMutationRequestSourceChainEnumKey, type CreateSwapQuoteMutationRequestSourceTokenEnumKey, type CreateSwapQuoteMutationRequestTradeTypeEnumKey, type CreateSwapQuoteMutationResponse, type CreateSwapQuotePathParams, type CreateVirtualAccount204, type CreateVirtualAccount400, type CreateVirtualAccount401, type CreateVirtualAccount403, type CreateVirtualAccount404, type CreateVirtualAccount409, type CreateVirtualAccount429, type CreateVirtualAccount502, type CreateVirtualAccountMutation, type CreateVirtualAccountMutationRequest, type CreateVirtualAccountMutationRequestChainEnumKey, type CreateVirtualAccountMutationRequestCurrencyEnumKey, type CreateVirtualAccountMutationRequestDestinationTokenEnumKey, type CreateVirtualAccountMutationResponse, type CreateVirtualAccountPathParams, type DataCurrencyEnumKey, type DataStatusEnumKey, type DisconnectExchange204, type DisconnectExchange400, type DisconnectExchange401, type DisconnectExchange403, type DisconnectExchange404, type DisconnectExchange429, type DisconnectExchange502, type DisconnectExchangeMutation, type DisconnectExchangeMutationResponse, type DisconnectExchangePathParams, type DisconnectExchangePathParamsExchangeEnumKey, type Error$1 as Error, type ExecuteExchangeWithdrawal200, type ExecuteExchangeWithdrawal200StatusEnumKey, type ExecuteExchangeWithdrawal400, type ExecuteExchangeWithdrawal401, type ExecuteExchangeWithdrawal403, type ExecuteExchangeWithdrawal404, type ExecuteExchangeWithdrawal409, type ExecuteExchangeWithdrawal429, type ExecuteExchangeWithdrawal502, type ExecuteExchangeWithdrawalMutation, type ExecuteExchangeWithdrawalMutationRequest, type ExecuteExchangeWithdrawalMutationResponse, type ExecuteExchangeWithdrawalPathParams, type ExecuteExchangeWithdrawalPathParamsExchangeEnumKey, type GetBalance200, type GetBalance400, type GetBalance401, type GetBalance403, type GetBalance404, type GetBalance429, type GetBalancePathParams, type GetBalancePathParamsTokenEnumKey, type GetBalanceQuery, type GetBalanceQueryResponse, type GetBalances200, type GetBalances400, type GetBalances401, type GetBalances403, type GetBalances429, type GetBalancesPathParams, type GetBalancesQuery, type GetBalancesQueryParams, type GetBalancesQueryResponse, type GetBlinkConfig200, type GetBlinkConfig400, type GetBlinkConfig401, type GetBlinkConfig403, type GetBlinkConfig429, type GetBlinkConfigPathParams, type GetBlinkConfigQuery, type GetBlinkConfigQueryResponse, type GetCardConfig200, type GetCardConfig400, type GetCardConfig401, type GetCardConfig403, type GetCardConfig429, type GetCardConfig502, type GetCardConfigPathParams, type GetCardConfigQuery, type GetCardConfigQueryResponse, type GetCardCustomer200, type GetCardCustomer400, type GetCardCustomer401, type GetCardCustomer403, type GetCardCustomer404, type GetCardCustomer429, type GetCardCustomerPathParams, type GetCardCustomerQuery, type GetCardCustomerQueryResponse, type GetCardOrder200, type GetCardOrder200ChainEnumKey, type GetCardOrder200StatusEnumKey, type GetCardOrder400, type GetCardOrder401, type GetCardOrder403, type GetCardOrder404, type GetCardOrder429, type GetCardOrderPathParams, type GetCardOrderQuery, type GetCardOrderQueryResponse, type GetCardQuote200, type GetCardQuote400, type GetCardQuote401, type GetCardQuote403, type GetCardQuote429, type GetCardQuote502, type GetCardQuotePathParams, type GetCardQuoteQuery, type GetCardQuoteQueryParams, type GetCardQuoteQueryResponse, type GetCashAppOrder200, type GetCashAppOrder200StatusEnumKey, type GetCashAppOrder400, type GetCashAppOrder401, type GetCashAppOrder403, type GetCashAppOrder404, type GetCashAppOrder429, type GetCashAppOrderPathParams, type GetCashAppOrderQuery, type GetCashAppOrderQueryResponse, type GetExchange200, type GetExchange400, type GetExchange401, type GetExchange403, type GetExchange404, type GetExchange429, type GetExchange502, type GetExchangeAssets200, type GetExchangeAssets400, type GetExchangeAssets401, type GetExchangeAssets403, type GetExchangeAssets404, type GetExchangeAssets409, type GetExchangeAssets429, type GetExchangeAssets502, type GetExchangeAssetsPathParams, type GetExchangeAssetsPathParamsExchangeEnumKey, type GetExchangeAssetsQuery, type GetExchangeAssetsQueryResponse, type GetExchangePathParams, type GetExchangePathParamsExchangeEnumKey, type GetExchangeQuery, type GetExchangeQueryResponse, type GetExchangeWithdrawal200, type GetExchangeWithdrawal200StatusEnumKey, type GetExchangeWithdrawal400, type GetExchangeWithdrawal401, type GetExchangeWithdrawal403, type GetExchangeWithdrawal404, type GetExchangeWithdrawal429, type GetExchangeWithdrawalPathParams, type GetExchangeWithdrawalPathParamsExchangeEnumKey, type GetExchangeWithdrawalQuery, type GetExchangeWithdrawalQueryResponse, type GetFxRates200, type GetFxRates429, type GetFxRates502, type GetFxRatesQuery, type GetFxRatesQueryResponse, type GetIdentityVerificationLink200, type GetIdentityVerificationLink400, type GetIdentityVerificationLink401, type GetIdentityVerificationLink403, type GetIdentityVerificationLink404, type GetIdentityVerificationLink429, type GetIdentityVerificationLink502, type GetIdentityVerificationLinkMutation, type GetIdentityVerificationLinkMutationResponse, type GetIdentityVerificationLinkPathParams, type GetStripeConfig200, type GetStripeConfig400, type GetStripeConfig401, type GetStripeConfig403, type GetStripeConfig429, type GetStripeConfigPathParams, type GetStripeConfigQuery, type GetStripeConfigQueryResponse, type GetStripeCustomerStatus200, type GetStripeCustomerStatus400, type GetStripeCustomerStatus401, type GetStripeCustomerStatus403, type GetStripeCustomerStatus404, type GetStripeCustomerStatus429, type GetStripeCustomerStatus502, type GetStripeCustomerStatusPathParams, type GetStripeCustomerStatusQuery, type GetStripeCustomerStatusQueryResponse, type GetStripeOrder200, type GetStripeOrder200StatusEnumKey, type GetStripeOrder400, type GetStripeOrder401, type GetStripeOrder403, type GetStripeOrder404, type GetStripeOrder429, type GetStripeOrderPathParams, type GetStripeOrderQuery, type GetStripeOrderQueryResponse, type GetStripeQuote200, type GetStripeQuote400, type GetStripeQuote401, type GetStripeQuote403, type GetStripeQuote429, type GetStripeQuote502, type GetStripeQuotePathParams, type GetStripeQuoteQuery, type GetStripeQuoteQueryParams, type GetStripeQuoteQueryResponse, type GetStripeStatus200, type GetStripeStatus400, type GetStripeStatus401, type GetStripeStatus403, type GetStripeStatus429, type GetStripeStatusPathParams, type GetStripeStatusQuery, type GetStripeStatusQueryResponse, type GetTermsOfServiceLink200, type GetTermsOfServiceLink400, type GetTermsOfServiceLink401, type GetTermsOfServiceLink403, type GetTermsOfServiceLink404, type GetTermsOfServiceLink429, type GetTermsOfServiceLink502, type GetTermsOfServiceLinkMutation, type GetTermsOfServiceLinkMutationResponse, type GetTermsOfServiceLinkPathParams, type GetWallet200, type GetWallet200IdentityVerificationStatusEnumKey, type GetWallet400, type GetWallet401, type GetWallet403, type GetWallet404, type GetWallet429, type GetWalletPathParams, type GetWalletQuery, type GetWalletQueryResponse, type ListCryptoDeposits200, type ListCryptoDeposits400, type ListCryptoDeposits401, type ListCryptoDeposits403, type ListCryptoDeposits404, type ListCryptoDeposits429, type ListCryptoDepositsPathParams, type ListCryptoDepositsQuery, type ListCryptoDepositsQueryResponse, type ListStripePaymentTokens200, type ListStripePaymentTokens400, type ListStripePaymentTokens401, type ListStripePaymentTokens403, type ListStripePaymentTokens404, type ListStripePaymentTokens429, type ListStripePaymentTokens502, type ListStripePaymentTokensPathParams, type ListStripePaymentTokensQuery, type ListStripePaymentTokensQueryParams, type ListStripePaymentTokensQueryResponse, type ListStripeWallets200, type ListStripeWallets400, type ListStripeWallets401, type ListStripeWallets403, type ListStripeWallets404, type ListStripeWallets429, type ListStripeWallets502, type ListStripeWalletsPathParams, type ListStripeWalletsQuery, type ListStripeWalletsQueryParams, type ListStripeWalletsQueryResponse, type ListVirtualAccounts200, type ListVirtualAccounts400, type ListVirtualAccounts401, type ListVirtualAccounts403, type ListVirtualAccounts404, type ListVirtualAccounts429, type ListVirtualAccountsPathParams, type ListVirtualAccountsQuery, type ListVirtualAccountsQueryResponse, type ProcessorEnvEnumKey, type RefreshSession200, type RefreshSession400, type RefreshSession401, type RefreshSession403, type RefreshSession429, type RefreshSessionMutation, type RefreshSessionMutationResponse, type RefreshSessionPathParams, type RegisterWallet204, type RegisterWallet400, type RegisterWallet401, type RegisterWallet403, type RegisterWallet404, type RegisterWallet409, type RegisterWallet429, type RegisterWallet502, type RegisterWalletMutation, type RegisterWalletMutationRequest, type RegisterWalletMutationResponse, type RegisterWalletPathParams, type RequestConfig, type RequestCredentials, type ResponseConfig, type ResponseErrorConfig, type SubmitIdentityVerification204, type SubmitIdentityVerification400, type SubmitIdentityVerification401, type SubmitIdentityVerification403, type SubmitIdentityVerification404, type SubmitIdentityVerification429, type SubmitIdentityVerificationMutation, type SubmitIdentityVerificationMutationResponse, type SubmitIdentityVerificationPathParams, type SubmitTermsOfService204, type SubmitTermsOfService400, type SubmitTermsOfService401, type SubmitTermsOfService403, type SubmitTermsOfService404, type SubmitTermsOfService429, type SubmitTermsOfServiceMutation, type SubmitTermsOfServiceMutationResponse, type SubmitTermsOfServicePathParams, type UpdateVirtualAccount204, type UpdateVirtualAccount400, type UpdateVirtualAccount401, type UpdateVirtualAccount403, type UpdateVirtualAccount404, type UpdateVirtualAccount409, type UpdateVirtualAccount429, type UpdateVirtualAccount502, type UpdateVirtualAccountMutation, type UpdateVirtualAccountMutationRequest, type UpdateVirtualAccountMutationRequestChainEnumKey, type UpdateVirtualAccountMutationRequestDestinationTokenEnumKey, type UpdateVirtualAccountMutationResponse, type UpdateVirtualAccountPathParams, checkoutCard, checkoutCardMutationRequestChainEnum, checkoutCardMutationRequestDestinationTokenEnum, checkoutStripeSession, clearSession, client, client as default, configureCalm, connectExchange, connectExchangePathParamsExchangeEnum, createBlinkSignature, createBlinkSignatureMutationRequestDestinationChainEnum, createBlinkSignatureMutationRequestDestinationTokenEnum, createCardLink, createCardLinkMutationRequestCurrencyEnum, createCardLinkMutationRequestDestinationChainEnum, createCardLinkMutationRequestDestinationTokenEnum, createCashAppOrder, createCashAppOrder200StatusEnum, createCashAppOrderMutationRequestChainEnum, createCashAppOrderMutationRequestDestinationTokenEnum, createCashAppQuote, createCashAppQuoteMutationRequestChainEnum, createCashAppQuoteMutationRequestDestinationTokenEnum, createDepositAddress, createDepositAddressMutationRequestDestinationChainEnum, createDepositAddressMutationRequestDestinationTokenEnum, createDepositAddressMutationRequestSourceChainEnum, createDepositAddressMutationRequestSourceTokenEnum, createExchangeWithdrawQuote, createExchangeWithdrawQuoteMutationRequestDestinationChainEnum, createExchangeWithdrawQuoteMutationRequestDestinationTokenEnum, createExchangeWithdrawQuoteMutationRequestOriginChainEnum, createExchangeWithdrawQuotePathParamsExchangeEnum, createSessionDynamic, createSessionPrivy, createSessionSiwe, createSiweNonce, createStripeAuthIntent, createStripeCustomer, createStripeSession, createStripeSessionMutationRequestDestinationChainEnum, createStripeSessionMutationRequestDestinationTokenEnum, createStripeTokens, createSwapQuote, createSwapQuoteMutationRequestDestinationChainEnum, createSwapQuoteMutationRequestDestinationTokenEnum, createSwapQuoteMutationRequestSourceChainEnum, createSwapQuoteMutationRequestSourceTokenEnum, createSwapQuoteMutationRequestTradeTypeEnum, createVirtualAccount, createVirtualAccountMutationRequestChainEnum, createVirtualAccountMutationRequestCurrencyEnum, createVirtualAccountMutationRequestDestinationTokenEnum, dataCurrencyEnum, dataStatusEnum, disconnectExchange, disconnectExchangePathParamsExchangeEnum, executeExchangeWithdrawal, executeExchangeWithdrawal200StatusEnum, executeExchangeWithdrawalPathParamsExchangeEnum, getBalance, getBalancePathParamsTokenEnum, getBalances, getBlinkConfig, getCardConfig, getCardCustomer, getCardOrder, getCardOrder200ChainEnum, getCardOrder200StatusEnum, getCardQuote, getCashAppOrder, getCashAppOrder200StatusEnum, getConfig, getExchange, getExchangeAssets, getExchangeAssetsPathParamsExchangeEnum, getExchangePathParamsExchangeEnum, getExchangeWithdrawal, getExchangeWithdrawal200StatusEnum, getExchangeWithdrawalPathParamsExchangeEnum, getFxRates, getIdentityVerificationLink, getStripeConfig, getStripeCustomerStatus, getStripeOrder, getStripeOrder200StatusEnum, getStripeQuote, getStripeStatus, getTermsOfServiceLink, getWallet, getWallet200IdentityVerificationStatusEnum, listCryptoDeposits, listStripePaymentTokens, listStripeWallets, listVirtualAccounts, processorEnvEnum, refreshSession, registerWallet, setConfig, submitIdentityVerification, submitTermsOfService, updateVirtualAccount, updateVirtualAccountMutationRequestChainEnum, updateVirtualAccountMutationRequestDestinationTokenEnum };
3373
+ export { ApiError, type CheckoutCard200, type CheckoutCard400, type CheckoutCard401, type CheckoutCard403, type CheckoutCard429, type CheckoutCard502, type CheckoutCardMutation, type CheckoutCardMutationRequest, type CheckoutCardMutationRequestCurrencyEnumKey, type CheckoutCardMutationRequestDestinationChainEnumKey, type CheckoutCardMutationRequestDestinationTokenEnumKey, type CheckoutCardMutationRequestTradeTypeEnumKey, type CheckoutCardMutationResponse, type CheckoutStripeSession200, type CheckoutStripeSession400, type CheckoutStripeSession401, type CheckoutStripeSession402, type CheckoutStripeSession403, type CheckoutStripeSession404, type CheckoutStripeSession409, type CheckoutStripeSession429, type CheckoutStripeSession502, type CheckoutStripeSessionMutation, type CheckoutStripeSessionMutationRequest, type CheckoutStripeSessionMutationResponse, type CheckoutStripeSessionPathParams, type Client, type ConnectExchange200, type ConnectExchange400, type ConnectExchange401, type ConnectExchange403, type ConnectExchange429, type ConnectExchange502, type ConnectExchangeMutation, type ConnectExchangeMutationRequest, type ConnectExchangeMutationResponse, type ConnectExchangePathParams, type ConnectExchangePathParamsExchangeEnumKey, type CreateBlinkSignature200, type CreateBlinkSignature400, type CreateBlinkSignature401, type CreateBlinkSignature403, type CreateBlinkSignature429, type CreateBlinkSignatureMutation, type CreateBlinkSignatureMutationRequest, type CreateBlinkSignatureMutationRequestDestinationChainEnumKey, type CreateBlinkSignatureMutationRequestDestinationTokenEnumKey, type CreateBlinkSignatureMutationResponse, type CreateCardQuote200, type CreateCardQuote400, type CreateCardQuote401, type CreateCardQuote403, type CreateCardQuote429, type CreateCardQuote502, type CreateCardQuoteMutation, type CreateCardQuoteMutationRequest, type CreateCardQuoteMutationRequestCurrencyEnumKey, type CreateCardQuoteMutationRequestDestinationChainEnumKey, type CreateCardQuoteMutationRequestDestinationTokenEnumKey, type CreateCardQuoteMutationRequestTradeTypeEnumKey, type CreateCardQuoteMutationResponse, type CreateCashAppOrder200, type CreateCashAppOrder200StatusEnumKey, type CreateCashAppOrder400, type CreateCashAppOrder401, type CreateCashAppOrder403, type CreateCashAppOrder429, type CreateCashAppOrder502, type CreateCashAppOrderMutation, type CreateCashAppOrderMutationRequest, type CreateCashAppOrderMutationRequestDestinationChainEnumKey, type CreateCashAppOrderMutationRequestDestinationTokenEnumKey, type CreateCashAppOrderMutationResponse, type CreateCashAppQuote200, type CreateCashAppQuote400, type CreateCashAppQuote401, type CreateCashAppQuote403, type CreateCashAppQuote429, type CreateCashAppQuote502, type CreateCashAppQuoteMutation, type CreateCashAppQuoteMutationRequest, type CreateCashAppQuoteMutationRequestDestinationChainEnumKey, type CreateCashAppQuoteMutationRequestDestinationTokenEnumKey, type CreateCashAppQuoteMutationResponse, type CreateExchangeWithdrawQuote200, type CreateExchangeWithdrawQuote400, type CreateExchangeWithdrawQuote401, type CreateExchangeWithdrawQuote403, type CreateExchangeWithdrawQuote409, type CreateExchangeWithdrawQuote429, type CreateExchangeWithdrawQuote502, type CreateExchangeWithdrawQuoteMutation, type CreateExchangeWithdrawQuoteMutationRequest, type CreateExchangeWithdrawQuoteMutationRequestDestinationChainEnumKey, type CreateExchangeWithdrawQuoteMutationRequestDestinationTokenEnumKey, type CreateExchangeWithdrawQuoteMutationRequestOriginChainEnumKey, type CreateExchangeWithdrawQuoteMutationResponse, type CreateExchangeWithdrawQuotePathParams, type CreateExchangeWithdrawQuotePathParamsExchangeEnumKey, type CreateStripeAuthIntent200, type CreateStripeAuthIntent400, type CreateStripeAuthIntent401, type CreateStripeAuthIntent403, type CreateStripeAuthIntent404, type CreateStripeAuthIntent429, type CreateStripeAuthIntent502, type CreateStripeAuthIntentMutation, type CreateStripeAuthIntentMutationRequest, type CreateStripeAuthIntentMutationResponse, type CreateStripeCustomer204, type CreateStripeCustomer400, type CreateStripeCustomer401, type CreateStripeCustomer403, type CreateStripeCustomer404, type CreateStripeCustomer429, type CreateStripeCustomer502, type CreateStripeCustomerMutation, type CreateStripeCustomerMutationRequest, type CreateStripeCustomerMutationResponse, type CreateStripeCustomerPathParams, type CreateStripeSession200, type CreateStripeSession400, type CreateStripeSession401, type CreateStripeSession403, type CreateStripeSession404, type CreateStripeSession429, type CreateStripeSession502, type CreateStripeSessionMutation, type CreateStripeSessionMutationRequest, type CreateStripeSessionMutationRequestDestinationChainEnumKey, type CreateStripeSessionMutationRequestDestinationTokenEnumKey, type CreateStripeSessionMutationResponse, type CreateStripeTokens204, type CreateStripeTokens400, type CreateStripeTokens401, type CreateStripeTokens403, type CreateStripeTokens404, type CreateStripeTokens409, type CreateStripeTokens429, type CreateStripeTokens502, type CreateStripeTokensMutation, type CreateStripeTokensMutationRequest, type CreateStripeTokensMutationResponse, type CreateVirtualAccount204, type CreateVirtualAccount400, type CreateVirtualAccount401, type CreateVirtualAccount403, type CreateVirtualAccount409, type CreateVirtualAccount429, type CreateVirtualAccount502, type CreateVirtualAccountMutation, type CreateVirtualAccountMutationRequest, type CreateVirtualAccountMutationRequestCurrencyEnumKey, type CreateVirtualAccountMutationRequestDestinationChainEnumKey, type CreateVirtualAccountMutationRequestDestinationTokenEnumKey, type CreateVirtualAccountMutationResponse, type DataCurrencyEnumKey, type DataStatusEnumKey, type DestinationChainEnumKey, type DisconnectExchange204, type DisconnectExchange400, type DisconnectExchange401, type DisconnectExchange403, type DisconnectExchange429, type DisconnectExchange502, type DisconnectExchangeMutation, type DisconnectExchangeMutationResponse, type DisconnectExchangePathParams, type DisconnectExchangePathParamsExchangeEnumKey, type DisconnectExchangeQueryParams, type Error$1 as Error, type ExecuteExchangeWithdrawal200, type ExecuteExchangeWithdrawal200StatusEnumKey, type ExecuteExchangeWithdrawal400, type ExecuteExchangeWithdrawal401, type ExecuteExchangeWithdrawal403, type ExecuteExchangeWithdrawal404, type ExecuteExchangeWithdrawal409, type ExecuteExchangeWithdrawal429, type ExecuteExchangeWithdrawal502, type ExecuteExchangeWithdrawalMutation, type ExecuteExchangeWithdrawalMutationRequest, type ExecuteExchangeWithdrawalMutationResponse, type ExecuteExchangeWithdrawalPathParams, type ExecuteExchangeWithdrawalPathParamsExchangeEnumKey, type GetBalances200, type GetBalances400, type GetBalances401, type GetBalances403, type GetBalances429, type GetBalancesQuery, type GetBalancesQueryParams, type GetBalancesQueryResponse, type GetBlinkConfig200, type GetBlinkConfig400, type GetBlinkConfig401, type GetBlinkConfig403, type GetBlinkConfig429, type GetBlinkConfigQuery, type GetBlinkConfigQueryResponse, type GetCardOrder200, type GetCardOrder200StatusEnumKey, type GetCardOrder400, type GetCardOrder401, type GetCardOrder403, type GetCardOrder404, type GetCardOrder429, type GetCardOrderPathParams, type GetCardOrderQuery, type GetCardOrderQueryParams, type GetCardOrderQueryResponse, type GetCashAppOrder200, type GetCashAppOrder200StatusEnumKey, type GetCashAppOrder400, type GetCashAppOrder401, type GetCashAppOrder403, type GetCashAppOrder404, type GetCashAppOrder429, type GetCashAppOrderPathParams, type GetCashAppOrderQuery, type GetCashAppOrderQueryParams, type GetCashAppOrderQueryResponse, type GetExchange200, type GetExchange400, type GetExchange401, type GetExchange403, type GetExchange429, type GetExchange502, type GetExchangeAssets200, type GetExchangeAssets400, type GetExchangeAssets401, type GetExchangeAssets403, type GetExchangeAssets409, type GetExchangeAssets429, type GetExchangeAssets502, type GetExchangeAssetsPathParams, type GetExchangeAssetsPathParamsExchangeEnumKey, type GetExchangeAssetsQuery, type GetExchangeAssetsQueryParams, type GetExchangeAssetsQueryResponse, type GetExchangePathParams, type GetExchangePathParamsExchangeEnumKey, type GetExchangeQuery, type GetExchangeQueryParams, type GetExchangeQueryResponse, type GetExchangeWithdrawal200, type GetExchangeWithdrawal200StatusEnumKey, type GetExchangeWithdrawal400, type GetExchangeWithdrawal401, type GetExchangeWithdrawal403, type GetExchangeWithdrawal404, type GetExchangeWithdrawal429, type GetExchangeWithdrawalPathParams, type GetExchangeWithdrawalPathParamsExchangeEnumKey, type GetExchangeWithdrawalQuery, type GetExchangeWithdrawalQueryParams, type GetExchangeWithdrawalQueryResponse, type GetFxRates200, type GetFxRates429, type GetFxRates502, type GetFxRatesQuery, type GetFxRatesQueryResponse, type GetIdentityVerificationUrl200, type GetIdentityVerificationUrl400, type GetIdentityVerificationUrl401, type GetIdentityVerificationUrl403, type GetIdentityVerificationUrl404, type GetIdentityVerificationUrl429, type GetIdentityVerificationUrl502, type GetIdentityVerificationUrlMutation, type GetIdentityVerificationUrlMutationRequest, type GetIdentityVerificationUrlMutationResponse, type GetStripeConfig200, type GetStripeConfig400, type GetStripeConfig401, type GetStripeConfig403, type GetStripeConfig429, type GetStripeConfigQuery, type GetStripeConfigQueryResponse, type GetStripeCustomerStatus200, type GetStripeCustomerStatus400, type GetStripeCustomerStatus401, type GetStripeCustomerStatus403, type GetStripeCustomerStatus404, type GetStripeCustomerStatus429, type GetStripeCustomerStatus502, type GetStripeCustomerStatusPathParams, type GetStripeCustomerStatusQuery, type GetStripeCustomerStatusQueryParams, type GetStripeCustomerStatusQueryResponse, type GetStripeOrder200, type GetStripeOrder200StatusEnumKey, type GetStripeOrder400, type GetStripeOrder401, type GetStripeOrder403, type GetStripeOrder404, type GetStripeOrder429, type GetStripeOrderPathParams, type GetStripeOrderQuery, type GetStripeOrderQueryParams, type GetStripeOrderQueryResponse, type GetStripeQuote200, type GetStripeQuote400, type GetStripeQuote401, type GetStripeQuote403, type GetStripeQuote429, type GetStripeQuote502, type GetStripeQuoteQuery, type GetStripeQuoteQueryParams, type GetStripeQuoteQueryResponse, type GetStripeStatus200, type GetStripeStatus400, type GetStripeStatus401, type GetStripeStatus403, type GetStripeStatus429, type GetStripeStatusQuery, type GetStripeStatusQueryParams, type GetStripeStatusQueryResponse, type GetTermsOfServiceUrl200, type GetTermsOfServiceUrl400, type GetTermsOfServiceUrl401, type GetTermsOfServiceUrl403, type GetTermsOfServiceUrl404, type GetTermsOfServiceUrl429, type GetTermsOfServiceUrl502, type GetTermsOfServiceUrlMutation, type GetTermsOfServiceUrlMutationRequest, type GetTermsOfServiceUrlMutationResponse, type GetVirtualAccountStatus200, type GetVirtualAccountStatus200IdentityVerificationStatusEnumKey, type GetVirtualAccountStatus400, type GetVirtualAccountStatus401, type GetVirtualAccountStatus403, type GetVirtualAccountStatus404, type GetVirtualAccountStatus429, type GetVirtualAccountStatusQuery, type GetVirtualAccountStatusQueryParams, type GetVirtualAccountStatusQueryResponse, type ListBlinkDeposits200, type ListBlinkDeposits400, type ListBlinkDeposits401, type ListBlinkDeposits403, type ListBlinkDeposits429, type ListBlinkDepositsQuery, type ListBlinkDepositsQueryParams, type ListBlinkDepositsQueryResponse, type ListCardPaymentMethods200, type ListCardPaymentMethods400, type ListCardPaymentMethods401, type ListCardPaymentMethods403, type ListCardPaymentMethods429, type ListCardPaymentMethods502, type ListCardPaymentMethodsMutation, type ListCardPaymentMethodsMutationRequest, type ListCardPaymentMethodsMutationRequestCurrencyEnumKey, type ListCardPaymentMethodsMutationResponse, type ListStripePaymentTokens200, type ListStripePaymentTokens400, type ListStripePaymentTokens401, type ListStripePaymentTokens403, type ListStripePaymentTokens404, type ListStripePaymentTokens429, type ListStripePaymentTokens502, type ListStripePaymentTokensQuery, type ListStripePaymentTokensQueryParams, type ListStripePaymentTokensQueryResponse, type ListStripeWallets200, type ListStripeWallets400, type ListStripeWallets401, type ListStripeWallets403, type ListStripeWallets404, type ListStripeWallets429, type ListStripeWallets502, type ListStripeWalletsQuery, type ListStripeWalletsQueryParams, type ListStripeWalletsQueryResponse, type ListVirtualAccounts200, type ListVirtualAccounts400, type ListVirtualAccounts401, type ListVirtualAccounts403, type ListVirtualAccounts404, type ListVirtualAccounts429, type ListVirtualAccountsQuery, type ListVirtualAccountsQueryParams, type ListVirtualAccountsQueryResponse, type RegisterWallet204, type RegisterWallet400, type RegisterWallet401, type RegisterWallet403, type RegisterWallet409, type RegisterWallet429, type RegisterWallet502, type RegisterWalletMutation, type RegisterWalletMutationRequest, type RegisterWalletMutationResponse, type RequestConfig, type ResponseConfig, type ResponseErrorConfig, checkoutCard, checkoutCardMutationRequestCurrencyEnum, checkoutCardMutationRequestDestinationChainEnum, checkoutCardMutationRequestDestinationTokenEnum, checkoutCardMutationRequestTradeTypeEnum, checkoutStripeSession, client, client as default, connectExchange, connectExchangePathParamsExchangeEnum, createBlinkSignature, createBlinkSignatureMutationRequestDestinationChainEnum, createBlinkSignatureMutationRequestDestinationTokenEnum, createCardQuote, createCardQuoteMutationRequestCurrencyEnum, createCardQuoteMutationRequestDestinationChainEnum, createCardQuoteMutationRequestDestinationTokenEnum, createCardQuoteMutationRequestTradeTypeEnum, createCashAppOrder, createCashAppOrder200StatusEnum, createCashAppOrderMutationRequestDestinationChainEnum, createCashAppOrderMutationRequestDestinationTokenEnum, createCashAppQuote, createCashAppQuoteMutationRequestDestinationChainEnum, createCashAppQuoteMutationRequestDestinationTokenEnum, createExchangeWithdrawQuote, createExchangeWithdrawQuoteMutationRequestDestinationChainEnum, createExchangeWithdrawQuoteMutationRequestDestinationTokenEnum, createExchangeWithdrawQuoteMutationRequestOriginChainEnum, createExchangeWithdrawQuotePathParamsExchangeEnum, createStripeAuthIntent, createStripeCustomer, createStripeSession, createStripeSessionMutationRequestDestinationChainEnum, createStripeSessionMutationRequestDestinationTokenEnum, createStripeTokens, createVirtualAccount, createVirtualAccountMutationRequestCurrencyEnum, createVirtualAccountMutationRequestDestinationChainEnum, createVirtualAccountMutationRequestDestinationTokenEnum, dataCurrencyEnum, dataStatusEnum, destinationChainEnum, disconnectExchange, disconnectExchangePathParamsExchangeEnum, executeExchangeWithdrawal, executeExchangeWithdrawal200StatusEnum, executeExchangeWithdrawalPathParamsExchangeEnum, getBalances, getBlinkConfig, getCardOrder, getCardOrder200StatusEnum, getCashAppOrder, getCashAppOrder200StatusEnum, getExchange, getExchangeAssets, getExchangeAssetsPathParamsExchangeEnum, getExchangePathParamsExchangeEnum, getExchangeWithdrawal, getExchangeWithdrawal200StatusEnum, getExchangeWithdrawalPathParamsExchangeEnum, getFxRates, getIdentityVerificationUrl, getStripeConfig, getStripeCustomerStatus, getStripeOrder, getStripeOrder200StatusEnum, getStripeQuote, getStripeStatus, getTermsOfServiceUrl, getVirtualAccountStatus, getVirtualAccountStatus200IdentityVerificationStatusEnum, listBlinkDeposits, listCardPaymentMethods, listCardPaymentMethodsMutationRequestCurrencyEnum, listStripePaymentTokens, listStripeWallets, listVirtualAccounts, registerWallet };