@calm-xyz/core 0.10.0 → 0.12.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 +2473 -509
  2. package/dist/index.js +648 -37
  3. package/package.json +5 -8
package/dist/index.d.ts CHANGED
@@ -17,6 +17,313 @@ 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
+ /**
28
+ * @description The submitted card checkout.
29
+ */
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
+ };
44
+ /**
45
+ * @type string, uuid
46
+ */
47
+ order_id: string;
48
+ /**
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
72
+ */
73
+ status: "requires_3ds";
74
+ });
75
+ /**
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.
77
+ */
78
+ type CheckoutCard400 = Error$1;
79
+ /**
80
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
81
+ */
82
+ type CheckoutCard401 = Error$1;
83
+ /**
84
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
85
+ */
86
+ type CheckoutCard403 = Error$1;
87
+ /**
88
+ * @description Not Found — `error.code` includes: customer_not_registered.
89
+ */
90
+ type CheckoutCard404 = Error$1;
91
+ /**
92
+ * @description Too Many Requests — `error.code` includes: rate_limited.
93
+ */
94
+ type CheckoutCard429 = Error$1;
95
+ /**
96
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
97
+ */
98
+ type CheckoutCard502 = Error$1;
99
+ declare const checkoutCardMutationRequestChainEnum: {
100
+ readonly "1": 1;
101
+ readonly "8453": 8453;
102
+ readonly "999": 999;
103
+ readonly "1337": 1337;
104
+ readonly "4326": 4326;
105
+ readonly "143": 143;
106
+ readonly "137": 137;
107
+ };
108
+ type CheckoutCardMutationRequestChainEnumKey = (typeof checkoutCardMutationRequestChainEnum)[keyof typeof checkoutCardMutationRequestChainEnum];
109
+ declare const checkoutCardMutationRequestDestinationTokenEnum: {
110
+ readonly usdc: "usdc";
111
+ readonly usdm: "usdm";
112
+ readonly ausd: "ausd";
113
+ readonly "usdc.e": "usdc.e";
114
+ };
115
+ type CheckoutCardMutationRequestDestinationTokenEnumKey = (typeof checkoutCardMutationRequestDestinationTokenEnum)[keyof typeof checkoutCardMutationRequestDestinationTokenEnum];
116
+ type CheckoutCardMutationRequest = {
117
+ /**
118
+ * @pattern ^\d{1,7}(\.\d{1,2})?$
119
+ * @type string
120
+ */
121
+ amount_usd: string;
122
+ /**
123
+ * @default "USDC"
124
+ * @type string | undefined
125
+ */
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
+ });
151
+ /**
152
+ * @type object
153
+ */
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
+ };
186
+ /**
187
+ * @type number
188
+ */
189
+ chain: CheckoutCardMutationRequestChainEnumKey;
190
+ /**
191
+ * @type object
192
+ */
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
+ };
209
+ /**
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
212
+ */
213
+ destination_token?: CheckoutCardMutationRequestDestinationTokenEnumKey;
214
+ /**
215
+ * @type string | undefined
216
+ */
217
+ device_id?: string;
218
+ /**
219
+ * @type object
220
+ */
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
+ };
260
+ };
261
+ type CheckoutCardMutationResponse = CheckoutCard200;
262
+ type CheckoutCardMutation = {
263
+ Response: CheckoutCard200;
264
+ Request: CheckoutCardMutationRequest;
265
+ PathParams: CheckoutCardPathParams;
266
+ Errors: CheckoutCard400 | CheckoutCard401 | CheckoutCard403 | CheckoutCard404 | CheckoutCard429 | CheckoutCard502;
267
+ };
268
+ type CheckoutStripeSessionPathParams = {
269
+ /**
270
+ * @pattern ^0x[a-fA-F0-9]{40}$
271
+ * @type string
272
+ */
273
+ address: string;
274
+ /**
275
+ * @minLength 1
276
+ * @type string
277
+ */
278
+ sessionId: string;
279
+ };
280
+ /**
281
+ * @description The checked-out session\'s client secret.
282
+ */
283
+ type CheckoutStripeSession200 = {
284
+ /**
285
+ * @type string,null
286
+ */
287
+ client_secret: string | null;
288
+ };
289
+ /**
290
+ * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
291
+ */
292
+ type CheckoutStripeSession400 = Error$1;
293
+ /**
294
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
295
+ */
296
+ type CheckoutStripeSession401 = Error$1;
297
+ /**
298
+ * @description Error — `error.code` includes: card_declined.
299
+ */
300
+ type CheckoutStripeSession402 = Error$1;
301
+ /**
302
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
303
+ */
304
+ type CheckoutStripeSession403 = Error$1;
305
+ /**
306
+ * @description Not Found — `error.code` includes: resource_missing.
307
+ */
308
+ type CheckoutStripeSession404 = Error$1;
309
+ /**
310
+ * @description Conflict — `error.code` includes: idempotency_key_in_use.
311
+ */
312
+ type CheckoutStripeSession409 = Error$1;
313
+ /**
314
+ * @description Too Many Requests — `error.code` includes: rate_limited.
315
+ */
316
+ type CheckoutStripeSession429 = Error$1;
317
+ /**
318
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
319
+ */
320
+ type CheckoutStripeSession502 = Error$1;
321
+ type CheckoutStripeSessionMutationResponse = CheckoutStripeSession200;
322
+ type CheckoutStripeSessionMutation = {
323
+ Response: CheckoutStripeSession200;
324
+ PathParams: CheckoutStripeSessionPathParams;
325
+ Errors: CheckoutStripeSession400 | CheckoutStripeSession401 | CheckoutStripeSession402 | CheckoutStripeSession403 | CheckoutStripeSession404 | CheckoutStripeSession409 | CheckoutStripeSession429 | CheckoutStripeSession502;
326
+ };
20
327
  /**
21
328
  * @description Cookies cleared.
22
329
  */
@@ -59,11 +366,11 @@ type ConnectExchange200 = {
59
366
  url: string;
60
367
  };
61
368
  /**
62
- * @description Bad Request — `error.code` includes: invalid_wallet, unsupported_exchange.
369
+ * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet, unsupported_exchange.
63
370
  */
64
371
  type ConnectExchange400 = Error$1;
65
372
  /**
66
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
373
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
67
374
  */
68
375
  type ConnectExchange401 = Error$1;
69
376
  /**
@@ -79,7 +386,7 @@ type ConnectExchange404 = Error$1;
79
386
  */
80
387
  type ConnectExchange429 = Error$1;
81
388
  /**
82
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
389
+ * @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.
83
390
  */
84
391
  type ConnectExchange502 = Error$1;
85
392
  type ConnectExchangeMutationResponse = ConnectExchange200;
@@ -88,7 +395,7 @@ type ConnectExchangeMutation = {
88
395
  PathParams: ConnectExchangePathParams;
89
396
  Errors: ConnectExchange400 | ConnectExchange401 | ConnectExchange403 | ConnectExchange404 | ConnectExchange429 | ConnectExchange502;
90
397
  };
91
- type CreateCardLinkPathParams = {
398
+ type CreateBlinkSignaturePathParams = {
92
399
  /**
93
400
  * @pattern ^0x[a-fA-F0-9]{40}$
94
401
  * @type string
@@ -96,74 +403,206 @@ type CreateCardLinkPathParams = {
96
403
  address: string;
97
404
  };
98
405
  /**
99
- * @description The card-onramp URL.
406
+ * @description The signed deposit authorization.
100
407
  */
101
- type CreateCardLink200 = {
408
+ type CreateBlinkSignature200 = {
102
409
  /**
103
- * @type string, uri
410
+ * @type string
104
411
  */
105
- url: string;
412
+ merchant_id: string;
413
+ /**
414
+ * @type string
415
+ */
416
+ payload: string;
417
+ /**
418
+ * @type object
419
+ */
420
+ preview: {
421
+ /**
422
+ * @type string
423
+ */
424
+ address: string;
425
+ /**
426
+ * @type number,null
427
+ */
428
+ amount: number | null;
429
+ /**
430
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
431
+ * @minLength -9007199254740991
432
+ * @maxLength 9007199254740991
433
+ * @type integer
434
+ */
435
+ chain_id: number;
436
+ /**
437
+ * @type string
438
+ */
439
+ idempotency_key: string;
440
+ /**
441
+ * @type string
442
+ */
443
+ token: string;
444
+ };
445
+ /**
446
+ * @type string
447
+ */
448
+ signature: string;
106
449
  };
107
450
  /**
108
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
451
+ * @description Bad Request — `error.code` includes: invalid_wallet, unsupported_chain, validation_error.
109
452
  */
110
- type CreateCardLink400 = Error$1;
453
+ type CreateBlinkSignature400 = Error$1;
111
454
  /**
112
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
455
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
113
456
  */
114
- type CreateCardLink401 = Error$1;
457
+ type CreateBlinkSignature401 = Error$1;
115
458
  /**
116
459
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
117
460
  */
118
- type CreateCardLink403 = Error$1;
461
+ type CreateBlinkSignature403 = Error$1;
119
462
  /**
120
463
  * @description Too Many Requests — `error.code` includes: rate_limited.
121
464
  */
122
- type CreateCardLink429 = Error$1;
123
- declare const createCardLinkMutationRequestCurrencyEnum: {
124
- readonly usd: "usd";
125
- readonly gbp: "gbp";
126
- readonly eur: "eur";
465
+ type CreateBlinkSignature429 = Error$1;
466
+ declare const createBlinkSignatureMutationRequestDestinationChainEnum: {
467
+ readonly "1": 1;
468
+ readonly "8453": 8453;
469
+ readonly "999": 999;
470
+ readonly "1337": 1337;
471
+ readonly "4326": 4326;
472
+ readonly "143": 143;
473
+ readonly "137": 137;
474
+ };
475
+ type CreateBlinkSignatureMutationRequestDestinationChainEnumKey = (typeof createBlinkSignatureMutationRequestDestinationChainEnum)[keyof typeof createBlinkSignatureMutationRequestDestinationChainEnum];
476
+ declare const createBlinkSignatureMutationRequestDestinationTokenEnum: {
477
+ readonly usdc: "usdc";
478
+ readonly usdm: "usdm";
479
+ readonly ausd: "ausd";
480
+ readonly "usdc.e": "usdc.e";
127
481
  };
128
- type CreateCardLinkMutationRequestCurrencyEnumKey = (typeof createCardLinkMutationRequestCurrencyEnum)[keyof typeof createCardLinkMutationRequestCurrencyEnum];
129
- type CreateCardLinkMutationRequest = {
482
+ type CreateBlinkSignatureMutationRequestDestinationTokenEnumKey = (typeof createBlinkSignatureMutationRequestDestinationTokenEnum)[keyof typeof createBlinkSignatureMutationRequestDestinationTokenEnum];
483
+ type CreateBlinkSignatureMutationRequest = {
130
484
  /**
131
485
  * @pattern ^\d+(\.\d{1,2})?$
132
486
  * @type string | undefined
133
487
  */
134
- amount_fiat_usd?: string;
488
+ amount_usd?: string;
135
489
  /**
136
- * @default "usd"
137
- * @type string | undefined
490
+ * @type number
138
491
  */
139
- currency?: CreateCardLinkMutationRequestCurrencyEnumKey;
492
+ destination_chain: CreateBlinkSignatureMutationRequestDestinationChainEnumKey;
140
493
  /**
141
- * @minLength 1
142
- * @default "USDC"
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.
143
495
  * @type string | undefined
144
496
  */
145
- destination_asset?: string;
146
- destination_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
497
+ destination_token?: CreateBlinkSignatureMutationRequestDestinationTokenEnumKey;
147
498
  };
148
- type CreateCardLinkMutationResponse = CreateCardLink200;
149
- type CreateCardLinkMutation = {
150
- Response: CreateCardLink200;
151
- Request: CreateCardLinkMutationRequest;
152
- PathParams: CreateCardLinkPathParams;
153
- Errors: CreateCardLink400 | CreateCardLink401 | CreateCardLink403 | CreateCardLink429;
499
+ type CreateBlinkSignatureMutationResponse = CreateBlinkSignature200;
500
+ type CreateBlinkSignatureMutation = {
501
+ Response: CreateBlinkSignature200;
502
+ Request: CreateBlinkSignatureMutationRequest;
503
+ PathParams: CreateBlinkSignaturePathParams;
504
+ Errors: CreateBlinkSignature400 | CreateBlinkSignature401 | CreateBlinkSignature403 | CreateBlinkSignature429;
154
505
  };
155
- type CreateCashAppOrderPathParams = {
506
+ type CreateCardLinkPathParams = {
156
507
  /**
157
508
  * @pattern ^0x[a-fA-F0-9]{40}$
158
509
  * @type string
159
510
  */
160
511
  address: string;
161
512
  };
162
- declare const createCashAppOrder200StatusEnum: {
163
- readonly pending: "pending";
164
- readonly processing: "processing";
165
- readonly confirming: "confirming";
166
- readonly swapping: "swapping";
513
+ /**
514
+ * @description The card-onramp URL.
515
+ */
516
+ type CreateCardLink200 = {
517
+ /**
518
+ * @type string, uri
519
+ */
520
+ url: string;
521
+ };
522
+ /**
523
+ * @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
524
+ */
525
+ type CreateCardLink400 = Error$1;
526
+ /**
527
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
528
+ */
529
+ type CreateCardLink401 = Error$1;
530
+ /**
531
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
532
+ */
533
+ type CreateCardLink403 = Error$1;
534
+ /**
535
+ * @description Not Found — `error.code` includes: customer_not_registered.
536
+ */
537
+ type CreateCardLink404 = Error$1;
538
+ /**
539
+ * @description Too Many Requests — `error.code` includes: rate_limited.
540
+ */
541
+ type CreateCardLink429 = Error$1;
542
+ declare const createCardLinkMutationRequestCurrencyEnum: {
543
+ readonly usd: "usd";
544
+ readonly gbp: "gbp";
545
+ readonly eur: "eur";
546
+ };
547
+ type CreateCardLinkMutationRequestCurrencyEnumKey = (typeof createCardLinkMutationRequestCurrencyEnum)[keyof typeof createCardLinkMutationRequestCurrencyEnum];
548
+ declare const createCardLinkMutationRequestDestinationChainEnum: {
549
+ readonly "1": 1;
550
+ readonly "8453": 8453;
551
+ readonly "999": 999;
552
+ readonly "1337": 1337;
553
+ readonly "4326": 4326;
554
+ readonly "143": 143;
555
+ readonly "137": 137;
556
+ };
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";
563
+ };
564
+ type CreateCardLinkMutationRequestDestinationTokenEnumKey = (typeof createCardLinkMutationRequestDestinationTokenEnum)[keyof typeof createCardLinkMutationRequestDestinationTokenEnum];
565
+ type CreateCardLinkMutationRequest = {
566
+ /**
567
+ * @default "usd"
568
+ * @type string | undefined
569
+ */
570
+ currency?: CreateCardLinkMutationRequestCurrencyEnumKey;
571
+ /**
572
+ * @pattern ^[A-Z0-9]{2,10}$
573
+ * @default "USDC"
574
+ * @type string | undefined
575
+ */
576
+ destination_asset?: string;
577
+ /**
578
+ * @type number
579
+ */
580
+ destination_chain: CreateCardLinkMutationRequestDestinationChainEnumKey;
581
+ /**
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
584
+ */
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 = {
595
+ /**
596
+ * @pattern ^0x[a-fA-F0-9]{40}$
597
+ * @type string
598
+ */
599
+ address: string;
600
+ };
601
+ declare const createCashAppOrder200StatusEnum: {
602
+ readonly pending: "pending";
603
+ readonly processing: "processing";
604
+ readonly confirming: "confirming";
605
+ readonly swapping: "swapping";
167
606
  readonly bridging: "bridging";
168
607
  readonly awaiting_approval: "awaiting_approval";
169
608
  readonly delivering: "delivering";
@@ -189,7 +628,7 @@ type CreateCashAppOrder200 = {
189
628
  */
190
629
  amount_usd: string;
191
630
  /**
192
- * @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
631
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
193
632
  * @minLength -9007199254740991
194
633
  * @maxLength 9007199254740991
195
634
  * @type integer
@@ -237,6 +676,17 @@ type CreateCashAppOrder200 = {
237
676
  */
238
677
  decimals: number;
239
678
  };
679
+ /**
680
+ * @type boolean
681
+ */
682
+ routed: boolean;
683
+ /**
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
688
+ */
689
+ settlement_chain: number;
240
690
  /**
241
691
  * @type string
242
692
  */
@@ -247,11 +697,11 @@ type CreateCashAppOrder200 = {
247
697
  token: string;
248
698
  };
249
699
  /**
250
- * @description Bad Request — `error.code` includes: amount_too_large, invalid_wallet, unsupported_chain, unsupported_route, validation_error.
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.
251
701
  */
252
702
  type CreateCashAppOrder400 = Error$1;
253
703
  /**
254
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
704
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
255
705
  */
256
706
  type CreateCashAppOrder401 = Error$1;
257
707
  /**
@@ -270,6 +720,23 @@ type CreateCashAppOrder429 = Error$1;
270
720
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
271
721
  */
272
722
  type CreateCashAppOrder502 = Error$1;
723
+ declare const createCashAppOrderMutationRequestChainEnum: {
724
+ readonly "1": 1;
725
+ readonly "8453": 8453;
726
+ readonly "999": 999;
727
+ readonly "1337": 1337;
728
+ readonly "4326": 4326;
729
+ readonly "143": 143;
730
+ readonly "137": 137;
731
+ };
732
+ type CreateCashAppOrderMutationRequestChainEnumKey = (typeof createCashAppOrderMutationRequestChainEnum)[keyof typeof createCashAppOrderMutationRequestChainEnum];
733
+ declare const createCashAppOrderMutationRequestDestinationTokenEnum: {
734
+ readonly usdc: "usdc";
735
+ readonly usdm: "usdm";
736
+ readonly ausd: "ausd";
737
+ readonly "usdc.e": "usdc.e";
738
+ };
739
+ type CreateCashAppOrderMutationRequestDestinationTokenEnumKey = (typeof createCashAppOrderMutationRequestDestinationTokenEnum)[keyof typeof createCashAppOrderMutationRequestDestinationTokenEnum];
273
740
  type CreateCashAppOrderMutationRequest = {
274
741
  /**
275
742
  * @pattern ^0x[a-fA-F0-9]{40}$
@@ -281,7 +748,15 @@ type CreateCashAppOrderMutationRequest = {
281
748
  * @type string
282
749
  */
283
750
  amount_usd: string;
284
- chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
751
+ /**
752
+ * @type number
753
+ */
754
+ chain: CreateCashAppOrderMutationRequestChainEnumKey;
755
+ /**
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
758
+ */
759
+ destination_token?: CreateCashAppOrderMutationRequestDestinationTokenEnumKey;
285
760
  /**
286
761
  * @type string
287
762
  */
@@ -339,13 +814,24 @@ type CreateCashAppQuote200 = {
339
814
  */
340
815
  decimals: number;
341
816
  };
817
+ /**
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
826
+ */
827
+ settlement_chain: number;
342
828
  };
343
829
  /**
344
- * @description Bad Request — `error.code` includes: invalid_wallet, unsupported_chain, unsupported_route, validation_error.
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.
345
831
  */
346
832
  type CreateCashAppQuote400 = Error$1;
347
833
  /**
348
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
834
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
349
835
  */
350
836
  type CreateCashAppQuote401 = Error$1;
351
837
  /**
@@ -360,13 +846,38 @@ type CreateCashAppQuote429 = Error$1;
360
846
  * @description Bad Gateway — `error.code` includes: coinbase_spot_unavailable.
361
847
  */
362
848
  type CreateCashAppQuote502 = Error$1;
849
+ declare const createCashAppQuoteMutationRequestChainEnum: {
850
+ readonly "1": 1;
851
+ readonly "8453": 8453;
852
+ readonly "999": 999;
853
+ readonly "1337": 1337;
854
+ readonly "4326": 4326;
855
+ readonly "143": 143;
856
+ readonly "137": 137;
857
+ };
858
+ type CreateCashAppQuoteMutationRequestChainEnumKey = (typeof createCashAppQuoteMutationRequestChainEnum)[keyof typeof createCashAppQuoteMutationRequestChainEnum];
859
+ declare const createCashAppQuoteMutationRequestDestinationTokenEnum: {
860
+ readonly usdc: "usdc";
861
+ readonly usdm: "usdm";
862
+ readonly ausd: "ausd";
863
+ readonly "usdc.e": "usdc.e";
864
+ };
865
+ type CreateCashAppQuoteMutationRequestDestinationTokenEnumKey = (typeof createCashAppQuoteMutationRequestDestinationTokenEnum)[keyof typeof createCashAppQuoteMutationRequestDestinationTokenEnum];
363
866
  type CreateCashAppQuoteMutationRequest = {
364
867
  /**
365
868
  * @pattern ^\d+(\.\d{1,2})?$
366
869
  * @type string
367
870
  */
368
871
  amount_usd: string;
369
- chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
872
+ /**
873
+ * @type number
874
+ */
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;
370
881
  /**
371
882
  * @type string
372
883
  */
@@ -400,7 +911,7 @@ type CreateDepositAddress200 = {
400
911
  */
401
912
  type CreateDepositAddress400 = Error$1;
402
913
  /**
403
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
914
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
404
915
  */
405
916
  type CreateDepositAddress401 = Error$1;
406
917
  /**
@@ -415,16 +926,56 @@ type CreateDepositAddress404 = Error$1;
415
926
  * @description Too Many Requests — `error.code` includes: rate_limited.
416
927
  */
417
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];
418
955
  declare const createDepositAddressMutationRequestSourceTokenEnum: {
419
956
  readonly eth: "eth";
420
957
  readonly hype: "hype";
958
+ readonly mon: "mon";
959
+ readonly pol: "pol";
421
960
  readonly usdc: "usdc";
961
+ readonly usdm: "usdm";
422
962
  readonly usdt: "usdt";
423
963
  };
424
964
  type CreateDepositAddressMutationRequestSourceTokenEnumKey = (typeof createDepositAddressMutationRequestSourceTokenEnum)[keyof typeof createDepositAddressMutationRequestSourceTokenEnum];
425
965
  type CreateDepositAddressMutationRequest = {
426
- destination_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
427
- source_chain: (1 | 8453 | 42161);
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;
428
979
  /**
429
980
  * @type string
430
981
  */
@@ -460,14 +1011,26 @@ type CreateExchangeWithdrawQuote200 = {
460
1011
  * @type string
461
1012
  */
462
1013
  amount: string;
463
- amount_no_fee: (number | null);
464
- amount_with_fee: (number | null);
1014
+ /**
1015
+ * @type number,null
1016
+ */
1017
+ amount_no_fee: number | null;
1018
+ /**
1019
+ * @type number,null
1020
+ */
1021
+ amount_with_fee: number | null;
465
1022
  /**
466
1023
  * @type string
467
1024
  */
468
1025
  asset: string;
469
- estimated_fee: (number | null);
470
- estimated_total: (number | null);
1026
+ /**
1027
+ * @type number,null
1028
+ */
1029
+ estimated_fee: number | null;
1030
+ /**
1031
+ * @type number,null
1032
+ */
1033
+ estimated_total: number | null;
471
1034
  /**
472
1035
  * @type string, date-time
473
1036
  */
@@ -482,11 +1045,11 @@ type CreateExchangeWithdrawQuote200 = {
482
1045
  network: string;
483
1046
  };
484
1047
  /**
485
- * @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_asset, unsupported_network, validation_error.
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.
486
1049
  */
487
1050
  type CreateExchangeWithdrawQuote400 = Error$1;
488
1051
  /**
489
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
1052
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
490
1053
  */
491
1054
  type CreateExchangeWithdrawQuote401 = Error$1;
492
1055
  /**
@@ -502,13 +1065,40 @@ type CreateExchangeWithdrawQuote404 = Error$1;
502
1065
  */
503
1066
  type CreateExchangeWithdrawQuote409 = Error$1;
504
1067
  /**
505
- * @description Too Many Requests — `error.code` includes: rate_limited.
1068
+ * @description Too Many Requests — `error.code` includes: rate_limited, withdrawal_rate_limit_exceeded.
506
1069
  */
507
1070
  type CreateExchangeWithdrawQuote429 = Error$1;
508
1071
  /**
509
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
1072
+ * @description Bad Gateway — `error.code` includes: apikey_insufficient_permissions, exchange_provider_error, generic_internal_server_error, generic_unauthorized, wallet_invalid_credentials, withdrawal_provider_error.
510
1073
  */
511
1074
  type CreateExchangeWithdrawQuote502 = Error$1;
1075
+ declare const createExchangeWithdrawQuoteMutationRequestDestinationChainEnum: {
1076
+ readonly "1": 1;
1077
+ readonly "8453": 8453;
1078
+ readonly "999": 999;
1079
+ readonly "1337": 1337;
1080
+ readonly "4326": 4326;
1081
+ readonly "143": 143;
1082
+ readonly "137": 137;
1083
+ };
1084
+ type CreateExchangeWithdrawQuoteMutationRequestDestinationChainEnumKey = (typeof createExchangeWithdrawQuoteMutationRequestDestinationChainEnum)[keyof typeof createExchangeWithdrawQuoteMutationRequestDestinationChainEnum];
1085
+ declare const createExchangeWithdrawQuoteMutationRequestDestinationTokenEnum: {
1086
+ readonly usdc: "usdc";
1087
+ readonly usdm: "usdm";
1088
+ readonly ausd: "ausd";
1089
+ readonly "usdc.e": "usdc.e";
1090
+ };
1091
+ type CreateExchangeWithdrawQuoteMutationRequestDestinationTokenEnumKey = (typeof createExchangeWithdrawQuoteMutationRequestDestinationTokenEnum)[keyof typeof createExchangeWithdrawQuoteMutationRequestDestinationTokenEnum];
1092
+ declare const createExchangeWithdrawQuoteMutationRequestOriginChainEnum: {
1093
+ readonly "1": 1;
1094
+ readonly "8453": 8453;
1095
+ readonly "999": 999;
1096
+ readonly "1337": 1337;
1097
+ readonly "4326": 4326;
1098
+ readonly "143": 143;
1099
+ readonly "137": 137;
1100
+ };
1101
+ type CreateExchangeWithdrawQuoteMutationRequestOriginChainEnumKey = (typeof createExchangeWithdrawQuoteMutationRequestOriginChainEnum)[keyof typeof createExchangeWithdrawQuoteMutationRequestOriginChainEnum];
512
1102
  type CreateExchangeWithdrawQuoteMutationRequest = {
513
1103
  /**
514
1104
  * @pattern ^\d+(\.\d+)?$
@@ -520,8 +1110,19 @@ type CreateExchangeWithdrawQuoteMutationRequest = {
520
1110
  * @type string
521
1111
  */
522
1112
  asset: string;
523
- destination_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
524
- origin_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
1113
+ /**
1114
+ * @type number
1115
+ */
1116
+ destination_chain: CreateExchangeWithdrawQuoteMutationRequestDestinationChainEnumKey;
1117
+ /**
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
1120
+ */
1121
+ destination_token?: CreateExchangeWithdrawQuoteMutationRequestDestinationTokenEnumKey;
1122
+ /**
1123
+ * @type number
1124
+ */
1125
+ origin_chain: CreateExchangeWithdrawQuoteMutationRequestOriginChainEnumKey;
525
1126
  };
526
1127
  type CreateExchangeWithdrawQuoteMutationResponse = CreateExchangeWithdrawQuote200;
527
1128
  type CreateExchangeWithdrawQuoteMutation = {
@@ -552,11 +1153,11 @@ type CreateSessionDynamic200 = {
552
1153
  wallet: string;
553
1154
  };
554
1155
  /**
555
- * @description Bad Request — `error.code` includes: invalid_publishable_key, invalid_wallet, publishable_key_missing.
1156
+ * @description Bad Request — `error.code` includes: invalid_wallet, malformed_token, publishable_key_missing, validation_error.
556
1157
  */
557
1158
  type CreateSessionDynamic400 = Error$1;
558
1159
  /**
559
- * @description Unauthorized — `error.code` includes: invalid_publishable_key, invalid_token, token_expired, token_required.
1160
+ * @description Unauthorized — `error.code` includes: environment_id_not_found, invalid_publishable_key, invalid_token, token_expired, token_required.
560
1161
  */
561
1162
  type CreateSessionDynamic401 = Error$1;
562
1163
  /**
@@ -595,11 +1196,11 @@ type CreateSessionPrivy200 = {
595
1196
  wallet: string;
596
1197
  };
597
1198
  /**
598
- * @description Bad Request — `error.code` includes: invalid_publishable_key, invalid_wallet, publishable_key_missing.
1199
+ * @description Bad Request — `error.code` includes: invalid_wallet, malformed_token, publishable_key_missing, validation_error.
599
1200
  */
600
1201
  type CreateSessionPrivy400 = Error$1;
601
1202
  /**
602
- * @description Unauthorized — `error.code` includes: invalid_publishable_key, invalid_token, token_expired, token_required.
1203
+ * @description Unauthorized — `error.code` includes: app_id_not_found, invalid_publishable_key, invalid_token, token_expired, token_required.
603
1204
  */
604
1205
  type CreateSessionPrivy401 = Error$1;
605
1206
  /**
@@ -638,11 +1239,11 @@ type CreateSessionSiwe200 = {
638
1239
  wallet: string;
639
1240
  };
640
1241
  /**
641
- * @description Bad Request — `error.code` includes: invalid_body, invalid_publishable_key, invalid_wallet, publishable_key_missing.
1242
+ * @description Bad Request — `error.code` includes: invalid_body, invalid_wallet.
642
1243
  */
643
1244
  type CreateSessionSiwe400 = Error$1;
644
1245
  /**
645
- * @description Unauthorized — `error.code` includes: binding_expired, binding_invalid, invalid_publishable_key, siwe_invalid.
1246
+ * @description Unauthorized — `error.code` includes: binding_invalid, invalid_publishable_key, invalid_token, siwe_invalid, token_expired.
646
1247
  */
647
1248
  type CreateSessionSiwe401 = Error$1;
648
1249
  /**
@@ -704,7 +1305,7 @@ type CreateSiweNonce200 = {
704
1305
  nonce: string;
705
1306
  };
706
1307
  /**
707
- * @description Bad Request — `error.code` includes: invalid_wallet.
1308
+ * @description Bad Request — `error.code` includes: invalid_wallet, publishable_key_missing, validation_error.
708
1309
  */
709
1310
  type CreateSiweNonce400 = Error$1;
710
1311
  /**
@@ -717,6 +1318,109 @@ type CreateSiweNonceMutation = {
717
1318
  PathParams: CreateSiweNoncePathParams;
718
1319
  Errors: CreateSiweNonce400 | CreateSiweNonce429;
719
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
+ };
720
1424
  type CreateStripeSessionPathParams = {
721
1425
  /**
722
1426
  * @pattern ^0x[a-fA-F0-9]{40}$
@@ -725,34 +1429,40 @@ type CreateStripeSessionPathParams = {
725
1429
  address: string;
726
1430
  };
727
1431
  /**
728
- * @description The minted onramp session.
1432
+ * @description The opened onramp session.
729
1433
  */
730
1434
  type CreateStripeSession200 = {
731
1435
  /**
732
- * @type string
1436
+ * @type string,null
733
1437
  */
734
- client_secret: string;
735
- destination_amount: (string | null);
1438
+ destination_amount: string | null;
736
1439
  /**
737
1440
  * @type string
738
1441
  */
739
1442
  order_id: string;
1443
+ /**
1444
+ * @type number,null
1445
+ */
1446
+ quote_expires_at: number | null;
740
1447
  /**
741
1448
  * @type string
742
1449
  */
743
1450
  session_id: string;
744
- source_amount: (string | null);
1451
+ /**
1452
+ * @type string,null
1453
+ */
1454
+ source_amount: string | null;
745
1455
  /**
746
1456
  * @type string
747
1457
  */
748
1458
  status: string;
749
1459
  };
750
1460
  /**
751
- * @description Bad Request — `error.code` includes: crypto_onramp_unsupportable_customer, crypto_onramp_unsupported_country, deposit_address_unavailable, invalid_wallet, validation_error.
1461
+ * @description Bad Request — `error.code` includes: crypto_onramp_unsupportable_customer, crypto_onramp_unsupported_country, deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
752
1462
  */
753
1463
  type CreateStripeSession400 = Error$1;
754
1464
  /**
755
- * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1465
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
756
1466
  */
757
1467
  type CreateStripeSession401 = Error$1;
758
1468
  /**
@@ -760,7 +1470,7 @@ type CreateStripeSession401 = Error$1;
760
1470
  */
761
1471
  type CreateStripeSession403 = Error$1;
762
1472
  /**
763
- * @description Not Found — `error.code` includes: customer_not_registered.
1473
+ * @description Not Found — `error.code` includes: customer_not_registered, resource_missing.
764
1474
  */
765
1475
  type CreateStripeSession404 = Error$1;
766
1476
  /**
@@ -771,16 +1481,49 @@ type CreateStripeSession429 = Error$1;
771
1481
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
772
1482
  */
773
1483
  type CreateStripeSession502 = Error$1;
1484
+ declare const createStripeSessionMutationRequestDestinationChainEnum: {
1485
+ readonly "1": 1;
1486
+ readonly "8453": 8453;
1487
+ readonly "999": 999;
1488
+ readonly "1337": 1337;
1489
+ readonly "4326": 4326;
1490
+ readonly "143": 143;
1491
+ readonly "137": 137;
1492
+ };
1493
+ type CreateStripeSessionMutationRequestDestinationChainEnumKey = (typeof createStripeSessionMutationRequestDestinationChainEnum)[keyof typeof createStripeSessionMutationRequestDestinationChainEnum];
1494
+ declare const createStripeSessionMutationRequestDestinationTokenEnum: {
1495
+ readonly usdc: "usdc";
1496
+ readonly usdm: "usdm";
1497
+ readonly ausd: "ausd";
1498
+ readonly "usdc.e": "usdc.e";
1499
+ };
1500
+ type CreateStripeSessionMutationRequestDestinationTokenEnumKey = (typeof createStripeSessionMutationRequestDestinationTokenEnum)[keyof typeof createStripeSessionMutationRequestDestinationTokenEnum];
774
1501
  type CreateStripeSessionMutationRequest = {
1502
+ /**
1503
+ * @minLength 1
1504
+ * @type string
1505
+ */
1506
+ crypto_customer_id: string;
775
1507
  /**
776
1508
  * @pattern ^\d+(\.\d+)?$
777
1509
  * @type string | undefined
778
1510
  */
779
1511
  destination_amount?: string;
780
1512
  /**
781
- * @default 8453
1513
+ * @default 999
1514
+ * @type number | undefined
1515
+ */
1516
+ destination_chain?: CreateStripeSessionMutationRequestDestinationChainEnumKey;
1517
+ /**
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
1520
+ */
1521
+ destination_token?: CreateStripeSessionMutationRequestDestinationTokenEnumKey;
1522
+ /**
1523
+ * @minLength 1
1524
+ * @type string
782
1525
  */
783
- destination_chain?: (1 | 8453 | 42161 | 999 | 1337 | 4326);
1526
+ payment_token: string;
784
1527
  /**
785
1528
  * @pattern ^\d+(\.\d+)?$
786
1529
  * @type string | undefined
@@ -804,7 +1547,7 @@ type CreateStripeSessionMutation = {
804
1547
  PathParams: CreateStripeSessionPathParams;
805
1548
  Errors: CreateStripeSession400 | CreateStripeSession401 | CreateStripeSession403 | CreateStripeSession404 | CreateStripeSession429 | CreateStripeSession502;
806
1549
  };
807
- type CreateSwapQuotePathParams = {
1550
+ type CreateStripeTokensPathParams = {
808
1551
  /**
809
1552
  * @pattern ^0x[a-fA-F0-9]{40}$
810
1553
  * @type string
@@ -812,40 +1555,122 @@ type CreateSwapQuotePathParams = {
812
1555
  address: string;
813
1556
  };
814
1557
  /**
815
- * @description The executable swap quote.
1558
+ * @description Tokens stored.
816
1559
  */
817
- type CreateSwapQuote200 = {
818
- [key: string]: any;
819
- };
1560
+ type CreateStripeTokens204 = any;
820
1561
  /**
821
- * @description Bad Request — `error.code` includes: invalid_wallet, unsupported_token, validation_error.
1562
+ * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
822
1563
  */
823
- type CreateSwapQuote400 = Error$1;
1564
+ type CreateStripeTokens400 = Error$1;
824
1565
  /**
825
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
1566
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
826
1567
  */
827
- type CreateSwapQuote401 = Error$1;
1568
+ type CreateStripeTokens401 = Error$1;
828
1569
  /**
829
- * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1570
+ * @description Forbidden — `error.code` includes: binding_invalid, link_forbidden, wallet_token_mismatch.
830
1571
  */
831
- type CreateSwapQuote403 = Error$1;
1572
+ type CreateStripeTokens403 = Error$1;
1573
+ /**
1574
+ * @description Not Found — `error.code` includes: link_not_found.
1575
+ */
1576
+ type CreateStripeTokens404 = Error$1;
1577
+ /**
1578
+ * @description Conflict — `error.code` includes: link_revoked.
1579
+ */
1580
+ type CreateStripeTokens409 = Error$1;
832
1581
  /**
833
1582
  * @description Too Many Requests — `error.code` includes: rate_limited.
834
1583
  */
835
- type CreateSwapQuote429 = Error$1;
1584
+ type CreateStripeTokens429 = Error$1;
836
1585
  /**
837
- * @description Bad Gateway — `error.code` includes: bad_gateway.
1586
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
838
1587
  */
839
- type CreateSwapQuote502 = Error$1;
840
- declare const createSwapQuoteMutationRequestSourceTokenEnum: {
841
- readonly eth: "eth";
842
- readonly hype: "hype";
843
- readonly usdc: "usdc";
844
- readonly usdt: "usdt";
1588
+ type CreateStripeTokens502 = Error$1;
1589
+ type CreateStripeTokensMutationRequest = {
1590
+ /**
1591
+ * @minLength 1
1592
+ * @type string
1593
+ */
1594
+ auth_intent_id: string;
845
1595
  };
846
- type CreateSwapQuoteMutationRequestSourceTokenEnumKey = (typeof createSwapQuoteMutationRequestSourceTokenEnum)[keyof typeof createSwapQuoteMutationRequestSourceTokenEnum];
847
- declare const createSwapQuoteMutationRequestTradeTypeEnum: {
848
- readonly EXACT_INPUT: "EXACT_INPUT";
1596
+ type CreateStripeTokensMutationResponse = CreateStripeTokens204;
1597
+ type CreateStripeTokensMutation = {
1598
+ Response: CreateStripeTokens204;
1599
+ Request: CreateStripeTokensMutationRequest;
1600
+ PathParams: CreateStripeTokensPathParams;
1601
+ Errors: CreateStripeTokens400 | CreateStripeTokens401 | CreateStripeTokens403 | CreateStripeTokens404 | CreateStripeTokens409 | CreateStripeTokens429 | CreateStripeTokens502;
1602
+ };
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";
849
1674
  readonly EXACT_OUTPUT: "EXACT_OUTPUT";
850
1675
  readonly EXPECTED_OUTPUT: "EXPECTED_OUTPUT";
851
1676
  };
@@ -856,8 +1681,19 @@ type CreateSwapQuoteMutationRequest = {
856
1681
  * @type string
857
1682
  */
858
1683
  amount: string;
859
- destination_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
860
- source_chain: (1 | 8453 | 42161);
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;
861
1697
  /**
862
1698
  * @type string
863
1699
  */
@@ -886,7 +1722,7 @@ type CreateVirtualAccountPathParams = {
886
1722
  */
887
1723
  type CreateVirtualAccount204 = any;
888
1724
  /**
889
- * @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, validation_error.
1725
+ * @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
890
1726
  */
891
1727
  type CreateVirtualAccount400 = Error$1;
892
1728
  /**
@@ -913,18 +1749,43 @@ type CreateVirtualAccount429 = Error$1;
913
1749
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
914
1750
  */
915
1751
  type CreateVirtualAccount502 = Error$1;
1752
+ declare const createVirtualAccountMutationRequestChainEnum: {
1753
+ readonly "1": 1;
1754
+ readonly "8453": 8453;
1755
+ readonly "999": 999;
1756
+ readonly "1337": 1337;
1757
+ readonly "4326": 4326;
1758
+ readonly "143": 143;
1759
+ readonly "137": 137;
1760
+ };
1761
+ type CreateVirtualAccountMutationRequestChainEnumKey = (typeof createVirtualAccountMutationRequestChainEnum)[keyof typeof createVirtualAccountMutationRequestChainEnum];
916
1762
  declare const createVirtualAccountMutationRequestCurrencyEnum: {
917
1763
  readonly usd: "usd";
918
1764
  readonly gbp: "gbp";
919
1765
  readonly eur: "eur";
920
1766
  };
921
1767
  type CreateVirtualAccountMutationRequestCurrencyEnumKey = (typeof createVirtualAccountMutationRequestCurrencyEnum)[keyof typeof createVirtualAccountMutationRequestCurrencyEnum];
1768
+ declare const createVirtualAccountMutationRequestDestinationTokenEnum: {
1769
+ readonly usdc: "usdc";
1770
+ readonly usdm: "usdm";
1771
+ readonly ausd: "ausd";
1772
+ readonly "usdc.e": "usdc.e";
1773
+ };
1774
+ type CreateVirtualAccountMutationRequestDestinationTokenEnumKey = (typeof createVirtualAccountMutationRequestDestinationTokenEnum)[keyof typeof createVirtualAccountMutationRequestDestinationTokenEnum];
922
1775
  type CreateVirtualAccountMutationRequest = {
923
- chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
1776
+ /**
1777
+ * @type number
1778
+ */
1779
+ chain: CreateVirtualAccountMutationRequestChainEnumKey;
924
1780
  /**
925
1781
  * @type string
926
1782
  */
927
1783
  currency: CreateVirtualAccountMutationRequestCurrencyEnumKey;
1784
+ /**
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
1787
+ */
1788
+ destination_token?: CreateVirtualAccountMutationRequestDestinationTokenEnumKey;
928
1789
  };
929
1790
  type CreateVirtualAccountMutationResponse = CreateVirtualAccount204;
930
1791
  type CreateVirtualAccountMutation = {
@@ -948,285 +1809,683 @@ type DisconnectExchangePathParams = {
948
1809
  */
949
1810
  exchange: DisconnectExchangePathParamsExchangeEnumKey;
950
1811
  };
951
- /**
952
- * @description Exchange disconnected.
953
- */
954
- type DisconnectExchange204 = any;
1812
+ /**
1813
+ * @description Exchange disconnected.
1814
+ */
1815
+ type DisconnectExchange204 = any;
1816
+ /**
1817
+ * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet.
1818
+ */
1819
+ type DisconnectExchange400 = Error$1;
1820
+ /**
1821
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1822
+ */
1823
+ type DisconnectExchange401 = Error$1;
1824
+ /**
1825
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1826
+ */
1827
+ type DisconnectExchange403 = Error$1;
1828
+ /**
1829
+ * @description Not Found — `error.code` includes: customer_not_registered.
1830
+ */
1831
+ type DisconnectExchange404 = Error$1;
1832
+ /**
1833
+ * @description Too Many Requests — `error.code` includes: rate_limited.
1834
+ */
1835
+ type DisconnectExchange429 = Error$1;
1836
+ /**
1837
+ * @description Bad Gateway — `error.code` includes: apikey_insufficient_permissions, exchange_provider_error, generic_internal_server_error, generic_unauthorized, wallet_invalid_credentials.
1838
+ */
1839
+ type DisconnectExchange502 = Error$1;
1840
+ type DisconnectExchangeMutationResponse = DisconnectExchange204;
1841
+ type DisconnectExchangeMutation = {
1842
+ Response: DisconnectExchange204;
1843
+ PathParams: DisconnectExchangePathParams;
1844
+ Errors: DisconnectExchange400 | DisconnectExchange401 | DisconnectExchange403 | DisconnectExchange404 | DisconnectExchange429 | DisconnectExchange502;
1845
+ };
1846
+ declare const executeExchangeWithdrawalPathParamsExchangeEnum: {
1847
+ readonly coinbase: "coinbase";
1848
+ };
1849
+ type ExecuteExchangeWithdrawalPathParamsExchangeEnumKey = (typeof executeExchangeWithdrawalPathParamsExchangeEnum)[keyof typeof executeExchangeWithdrawalPathParamsExchangeEnum];
1850
+ type ExecuteExchangeWithdrawalPathParams = {
1851
+ /**
1852
+ * @pattern ^0x[a-fA-F0-9]{40}$
1853
+ * @type string
1854
+ */
1855
+ address: string;
1856
+ /**
1857
+ * @type string
1858
+ */
1859
+ exchange: ExecuteExchangeWithdrawalPathParamsExchangeEnumKey;
1860
+ };
1861
+ declare const executeExchangeWithdrawal200StatusEnum: {
1862
+ readonly quoted: "quoted";
1863
+ readonly pending: "pending";
1864
+ readonly broadcasted: "broadcasted";
1865
+ readonly failed: "failed";
1866
+ readonly delayed: "delayed";
1867
+ };
1868
+ type ExecuteExchangeWithdrawal200StatusEnumKey = (typeof executeExchangeWithdrawal200StatusEnum)[keyof typeof executeExchangeWithdrawal200StatusEnum];
1869
+ /**
1870
+ * @description The withdrawal, or a 2FA challenge.
1871
+ */
1872
+ type ExecuteExchangeWithdrawal200 = ({
1873
+ /**
1874
+ * @type string
1875
+ */
1876
+ amount: string;
1877
+ /**
1878
+ * @type string
1879
+ */
1880
+ asset: string;
1881
+ /**
1882
+ * @type string,null, date-time
1883
+ */
1884
+ completed_at: string | null;
1885
+ /**
1886
+ * @type string, date-time
1887
+ */
1888
+ created_at: string;
1889
+ /**
1890
+ * @type string,null
1891
+ */
1892
+ error_code: string | null;
1893
+ /**
1894
+ * @type string,null
1895
+ */
1896
+ error_message: string | null;
1897
+ /**
1898
+ * @type string, uuid
1899
+ */
1900
+ id: string;
1901
+ /**
1902
+ * @type string
1903
+ */
1904
+ network: string;
1905
+ /**
1906
+ * @type string
1907
+ */
1908
+ status: ExecuteExchangeWithdrawal200StatusEnumKey;
1909
+ /**
1910
+ * @type string,null
1911
+ */
1912
+ transaction_hash: string | null;
1913
+ } | {
1914
+ /**
1915
+ * @type boolean
1916
+ */
1917
+ requires_2fa: true;
1918
+ });
1919
+ /**
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.
1921
+ */
1922
+ type ExecuteExchangeWithdrawal400 = Error$1;
1923
+ /**
1924
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1925
+ */
1926
+ type ExecuteExchangeWithdrawal401 = Error$1;
1927
+ /**
1928
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1929
+ */
1930
+ type ExecuteExchangeWithdrawal403 = Error$1;
1931
+ /**
1932
+ * @description Not Found — `error.code` includes: customer_not_registered, exchange_not_connected, withdrawal_not_found.
1933
+ */
1934
+ type ExecuteExchangeWithdrawal404 = Error$1;
1935
+ /**
1936
+ * @description Conflict — `error.code` includes: exchange_reconnect_required, withdrawal_already_executed.
1937
+ */
1938
+ type ExecuteExchangeWithdrawal409 = Error$1;
1939
+ /**
1940
+ * @description Too Many Requests — `error.code` includes: rate_limited, withdrawal_rate_limit_exceeded.
1941
+ */
1942
+ type ExecuteExchangeWithdrawal429 = Error$1;
1943
+ /**
1944
+ * @description Bad Gateway — `error.code` includes: apikey_insufficient_permissions, exchange_provider_error, generic_internal_server_error, generic_unauthorized, wallet_invalid_credentials, withdrawal_failed, withdrawal_provider_error.
1945
+ */
1946
+ type ExecuteExchangeWithdrawal502 = Error$1;
1947
+ type ExecuteExchangeWithdrawalMutationRequest = {
1948
+ /**
1949
+ * @type string, uuid
1950
+ */
1951
+ quote_id: string;
1952
+ /**
1953
+ * @type string | undefined
1954
+ */
1955
+ twofa?: string;
1956
+ };
1957
+ type ExecuteExchangeWithdrawalMutationResponse = ExecuteExchangeWithdrawal200;
1958
+ type ExecuteExchangeWithdrawalMutation = {
1959
+ Response: ExecuteExchangeWithdrawal200;
1960
+ Request: ExecuteExchangeWithdrawalMutationRequest;
1961
+ PathParams: ExecuteExchangeWithdrawalPathParams;
1962
+ Errors: ExecuteExchangeWithdrawal400 | ExecuteExchangeWithdrawal401 | ExecuteExchangeWithdrawal403 | ExecuteExchangeWithdrawal404 | ExecuteExchangeWithdrawal409 | ExecuteExchangeWithdrawal429 | ExecuteExchangeWithdrawal502;
1963
+ };
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 = {
2041
+ /**
2042
+ * @pattern ^0x[a-fA-F0-9]{40}$
2043
+ * @type string
2044
+ */
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;
2054
+ };
2055
+ /**
2056
+ * @description Balances by chain and token.
2057
+ */
2058
+ type GetBalances200 = {
2059
+ /**
2060
+ * @minLength -9007199254740991
2061
+ * @maxLength 9007199254740991
2062
+ * @type integer
2063
+ */
2064
+ count: number;
2065
+ /**
2066
+ * @type array
2067
+ */
2068
+ data: {
2069
+ /**
2070
+ * @type string
2071
+ */
2072
+ balance: string;
2073
+ /**
2074
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
2075
+ * @minLength -9007199254740991
2076
+ * @maxLength 9007199254740991
2077
+ * @type integer
2078
+ */
2079
+ chain: number;
2080
+ /**
2081
+ * @type string,null
2082
+ */
2083
+ token: string | null;
2084
+ /**
2085
+ * @type number
2086
+ */
2087
+ usd_value: number;
2088
+ }[];
2089
+ };
2090
+ /**
2091
+ * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
2092
+ */
2093
+ type GetBalances400 = Error$1;
2094
+ /**
2095
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2096
+ */
2097
+ type GetBalances401 = Error$1;
2098
+ /**
2099
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2100
+ */
2101
+ type GetBalances403 = Error$1;
2102
+ /**
2103
+ * @description Too Many Requests — `error.code` includes: rate_limited.
2104
+ */
2105
+ type GetBalances429 = Error$1;
2106
+ type GetBalancesQueryResponse = GetBalances200;
2107
+ type GetBalancesQuery = {
2108
+ Response: GetBalances200;
2109
+ PathParams: GetBalancesPathParams;
2110
+ QueryParams: GetBalancesQueryParams;
2111
+ Errors: GetBalances400 | GetBalances401 | GetBalances403 | GetBalances429;
2112
+ };
2113
+ type GetBlinkConfigPathParams = {
2114
+ /**
2115
+ * @pattern ^0x[a-fA-F0-9]{40}$
2116
+ * @type string
2117
+ */
2118
+ address: string;
2119
+ };
2120
+ /**
2121
+ * @description The deposit-rail runtime config.
2122
+ */
2123
+ type GetBlinkConfig200 = {
2124
+ /**
2125
+ * @type string,null, uri
2126
+ */
2127
+ webview_url: string | null;
2128
+ };
2129
+ /**
2130
+ * @description Bad Request — `error.code` includes: invalid_wallet.
2131
+ */
2132
+ type GetBlinkConfig400 = Error$1;
2133
+ /**
2134
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2135
+ */
2136
+ type GetBlinkConfig401 = Error$1;
2137
+ /**
2138
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2139
+ */
2140
+ type GetBlinkConfig403 = Error$1;
2141
+ /**
2142
+ * @description Too Many Requests — `error.code` includes: rate_limited.
2143
+ */
2144
+ type GetBlinkConfig429 = Error$1;
2145
+ type GetBlinkConfigQueryResponse = GetBlinkConfig200;
2146
+ type GetBlinkConfigQuery = {
2147
+ Response: GetBlinkConfig200;
2148
+ PathParams: GetBlinkConfigPathParams;
2149
+ Errors: GetBlinkConfig400 | GetBlinkConfig401 | GetBlinkConfig403 | GetBlinkConfig429;
2150
+ };
2151
+ type GetCardConfigPathParams = {
2152
+ /**
2153
+ * @pattern ^0x[a-fA-F0-9]{40}$
2154
+ * @type string
2155
+ */
2156
+ address: string;
2157
+ };
2158
+ declare const processorEnvEnum: {
2159
+ readonly sandbox: "sandbox";
2160
+ readonly prod: "prod";
2161
+ };
2162
+ type ProcessorEnvEnumKey = (typeof processorEnvEnum)[keyof typeof processorEnvEnum];
2163
+ /**
2164
+ * @description The card flow configuration.
2165
+ */
2166
+ type GetCardConfig200 = {
2167
+ /**
2168
+ * @type object
2169
+ */
2170
+ processor: {
2171
+ /**
2172
+ * @type string
2173
+ */
2174
+ env: ProcessorEnvEnumKey;
2175
+ /**
2176
+ * @type string
2177
+ */
2178
+ merchant_id: string;
2179
+ };
2180
+ /**
2181
+ * @type object
2182
+ */
2183
+ risk: {
2184
+ /**
2185
+ * @type string
2186
+ */
2187
+ application_id: string;
2188
+ /**
2189
+ * @type string
2190
+ */
2191
+ partner_id: string;
2192
+ };
2193
+ /**
2194
+ * @type object
2195
+ */
2196
+ secure_inputs: {
2197
+ /**
2198
+ * @type string
2199
+ */
2200
+ application_id: string;
2201
+ /**
2202
+ * @type string
2203
+ */
2204
+ team_id: string;
2205
+ };
2206
+ };
955
2207
  /**
956
2208
  * @description Bad Request — `error.code` includes: invalid_wallet.
957
2209
  */
958
- type DisconnectExchange400 = Error$1;
2210
+ type GetCardConfig400 = Error$1;
959
2211
  /**
960
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
2212
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
961
2213
  */
962
- type DisconnectExchange401 = Error$1;
2214
+ type GetCardConfig401 = Error$1;
963
2215
  /**
964
2216
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
965
2217
  */
966
- type DisconnectExchange403 = Error$1;
967
- /**
968
- * @description Not Found — `error.code` includes: customer_not_registered.
969
- */
970
- type DisconnectExchange404 = Error$1;
2218
+ type GetCardConfig403 = Error$1;
971
2219
  /**
972
2220
  * @description Too Many Requests — `error.code` includes: rate_limited.
973
2221
  */
974
- type DisconnectExchange429 = Error$1;
2222
+ type GetCardConfig429 = Error$1;
975
2223
  /**
976
2224
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
977
2225
  */
978
- type DisconnectExchange502 = Error$1;
979
- type DisconnectExchangeMutationResponse = DisconnectExchange204;
980
- type DisconnectExchangeMutation = {
981
- Response: DisconnectExchange204;
982
- PathParams: DisconnectExchangePathParams;
983
- Errors: DisconnectExchange400 | DisconnectExchange401 | DisconnectExchange403 | DisconnectExchange404 | DisconnectExchange429 | DisconnectExchange502;
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;
984
2232
  };
985
- declare const executeExchangeWithdrawalPathParamsExchangeEnum: {
986
- readonly coinbase: "coinbase";
987
- };
988
- type ExecuteExchangeWithdrawalPathParamsExchangeEnumKey = (typeof executeExchangeWithdrawalPathParamsExchangeEnum)[keyof typeof executeExchangeWithdrawalPathParamsExchangeEnum];
989
- type ExecuteExchangeWithdrawalPathParams = {
2233
+ type GetCardCustomerPathParams = {
990
2234
  /**
991
2235
  * @pattern ^0x[a-fA-F0-9]{40}$
992
2236
  * @type string
993
2237
  */
994
2238
  address: string;
995
- /**
996
- * @type string
997
- */
998
- exchange: ExecuteExchangeWithdrawalPathParamsExchangeEnumKey;
999
- };
1000
- declare const executeExchangeWithdrawal200StatusEnum: {
1001
- readonly quoted: "quoted";
1002
- readonly pending: "pending";
1003
- readonly broadcasted: "broadcasted";
1004
- readonly failed: "failed";
1005
- readonly delayed: "delayed";
1006
2239
  };
1007
- type ExecuteExchangeWithdrawal200StatusEnumKey = (typeof executeExchangeWithdrawal200StatusEnum)[keyof typeof executeExchangeWithdrawal200StatusEnum];
1008
2240
  /**
1009
- * @description The withdrawal, or a 2FA challenge.
2241
+ * @description The saved registration + billing profile.
1010
2242
  */
1011
- type ExecuteExchangeWithdrawal200 = ({
1012
- /**
1013
- * @type string
1014
- */
1015
- amount: string;
1016
- /**
1017
- * @type string
1018
- */
1019
- asset: string;
1020
- completed_at: (string | null);
1021
- /**
1022
- * @type string, date-time
1023
- */
1024
- created_at: string;
1025
- error_code: (string | null);
1026
- error_message: (string | null);
1027
- /**
1028
- * @type string, uuid
1029
- */
1030
- id: string;
1031
- /**
1032
- * @type string
1033
- */
1034
- network: string;
2243
+ type GetCardCustomer200 = {
1035
2244
  /**
1036
- * @type string
2245
+ * @type object
1037
2246
  */
1038
- status: ExecuteExchangeWithdrawal200StatusEnumKey;
1039
- transaction_hash: (string | null);
1040
- } | {
2247
+ billing: {
2248
+ /**
2249
+ * @type string
2250
+ */
2251
+ city: string;
2252
+ /**
2253
+ * @type string
2254
+ */
2255
+ country: string;
2256
+ /**
2257
+ * @type string
2258
+ */
2259
+ line1: string;
2260
+ /**
2261
+ * @type string | undefined
2262
+ */
2263
+ line2?: string;
2264
+ /**
2265
+ * @type string
2266
+ */
2267
+ postal_code: string;
2268
+ /**
2269
+ * @type string
2270
+ */
2271
+ state: string;
2272
+ };
1041
2273
  /**
1042
- * @type boolean
2274
+ * @type object
1043
2275
  */
1044
- requires_2fa: true;
1045
- });
2276
+ customer: {
2277
+ /**
2278
+ * @type string
2279
+ */
2280
+ email: string;
2281
+ /**
2282
+ * @type string
2283
+ */
2284
+ first_name: string;
2285
+ /**
2286
+ * @type string
2287
+ */
2288
+ last_name: string;
2289
+ };
2290
+ };
1046
2291
  /**
1047
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
2292
+ * @description Bad Request — `error.code` includes: invalid_wallet.
1048
2293
  */
1049
- type ExecuteExchangeWithdrawal400 = Error$1;
2294
+ type GetCardCustomer400 = Error$1;
1050
2295
  /**
1051
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
2296
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1052
2297
  */
1053
- type ExecuteExchangeWithdrawal401 = Error$1;
2298
+ type GetCardCustomer401 = Error$1;
1054
2299
  /**
1055
2300
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1056
2301
  */
1057
- type ExecuteExchangeWithdrawal403 = Error$1;
1058
- /**
1059
- * @description Not Found — `error.code` includes: customer_not_registered, exchange_not_connected, withdrawal_not_found.
1060
- */
1061
- type ExecuteExchangeWithdrawal404 = Error$1;
2302
+ type GetCardCustomer403 = Error$1;
1062
2303
  /**
1063
- * @description Conflict — `error.code` includes: exchange_reconnect_required, withdrawal_already_executed.
2304
+ * @description Not Found — `error.code` includes: card_customer_not_found.
1064
2305
  */
1065
- type ExecuteExchangeWithdrawal409 = Error$1;
2306
+ type GetCardCustomer404 = Error$1;
1066
2307
  /**
1067
2308
  * @description Too Many Requests — `error.code` includes: rate_limited.
1068
2309
  */
1069
- type ExecuteExchangeWithdrawal429 = Error$1;
1070
- /**
1071
- * @description Bad Gateway — `error.code` includes: withdrawal_failed.
1072
- */
1073
- type ExecuteExchangeWithdrawal502 = Error$1;
1074
- type ExecuteExchangeWithdrawalMutationRequest = {
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 = {
1075
2318
  /**
1076
- * @type string, uuid
2319
+ * @pattern ^0x[a-fA-F0-9]{40}$
2320
+ * @type string
1077
2321
  */
1078
- quote_id: string;
2322
+ address: string;
1079
2323
  /**
1080
- * @type string | undefined
2324
+ * @type string, uuid
1081
2325
  */
1082
- twofa?: string;
1083
- };
1084
- type ExecuteExchangeWithdrawalMutationResponse = ExecuteExchangeWithdrawal200;
1085
- type ExecuteExchangeWithdrawalMutation = {
1086
- Response: ExecuteExchangeWithdrawal200;
1087
- Request: ExecuteExchangeWithdrawalMutationRequest;
1088
- PathParams: ExecuteExchangeWithdrawalPathParams;
1089
- Errors: ExecuteExchangeWithdrawal400 | ExecuteExchangeWithdrawal401 | ExecuteExchangeWithdrawal403 | ExecuteExchangeWithdrawal404 | ExecuteExchangeWithdrawal409 | ExecuteExchangeWithdrawal429 | ExecuteExchangeWithdrawal502;
2326
+ id: string;
1090
2327
  };
1091
- declare const getBalancePathParamsTokenEnum: {
1092
- readonly eth: "eth";
1093
- readonly hype: "hype";
1094
- readonly usdc: "usdc";
1095
- readonly usdt: "usdt";
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";
1096
2344
  };
1097
- type GetBalancePathParamsTokenEnumKey = (typeof getBalancePathParamsTokenEnum)[keyof typeof getBalancePathParamsTokenEnum];
1098
- type GetBalancePathParams = {
2345
+ type GetCardOrder200StatusEnumKey = (typeof getCardOrder200StatusEnum)[keyof typeof getCardOrder200StatusEnum];
2346
+ /**
2347
+ * @description The card order.
2348
+ */
2349
+ type GetCardOrder200 = {
1099
2350
  /**
1100
2351
  * @pattern ^0x[a-fA-F0-9]{40}$
1101
2352
  * @type string
1102
2353
  */
1103
2354
  address: string;
1104
2355
  /**
1105
- * @pattern ^\d+$
1106
2356
  * @type string
1107
2357
  */
1108
- chain: string;
2358
+ amount_usd: string;
1109
2359
  /**
1110
2360
  * @type string
1111
2361
  */
1112
- token: GetBalancePathParamsTokenEnumKey;
1113
- };
1114
- /**
1115
- * @description The token balance.
1116
- */
1117
- type GetBalance200 = {
2362
+ asset: string;
1118
2363
  /**
1119
- * @type string
2364
+ * @type string,null
1120
2365
  */
1121
- balance: string;
2366
+ card_brand: string | null;
1122
2367
  /**
1123
- * @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
1124
- * @minLength -9007199254740991
1125
- * @maxLength 9007199254740991
1126
- * @type integer
2368
+ * @type string,null
1127
2369
  */
1128
- chain: number;
1129
- token: (string | null);
2370
+ card_last_four: string | null;
1130
2371
  /**
1131
2372
  * @type number
1132
2373
  */
1133
- usd_value: number;
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
+ /**
2398
+ * @type string
2399
+ */
2400
+ status: GetCardOrder200StatusEnumKey;
1134
2401
  };
1135
2402
  /**
1136
2403
  * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1137
2404
  */
1138
- type GetBalance400 = Error$1;
2405
+ type GetCardOrder400 = Error$1;
1139
2406
  /**
1140
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
2407
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1141
2408
  */
1142
- type GetBalance401 = Error$1;
2409
+ type GetCardOrder401 = Error$1;
1143
2410
  /**
1144
2411
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1145
2412
  */
1146
- type GetBalance403 = Error$1;
2413
+ type GetCardOrder403 = Error$1;
1147
2414
  /**
1148
- * @description Not Found — `error.code` includes: balances_unavailable, token_not_supported.
2415
+ * @description Not Found — `error.code` includes: order_not_found.
1149
2416
  */
1150
- type GetBalance404 = Error$1;
2417
+ type GetCardOrder404 = Error$1;
1151
2418
  /**
1152
2419
  * @description Too Many Requests — `error.code` includes: rate_limited.
1153
2420
  */
1154
- type GetBalance429 = Error$1;
1155
- type GetBalanceQueryResponse = GetBalance200;
1156
- type GetBalanceQuery = {
1157
- Response: GetBalance200;
1158
- PathParams: GetBalancePathParams;
1159
- Errors: GetBalance400 | GetBalance401 | GetBalance403 | GetBalance404 | GetBalance429;
2421
+ type GetCardOrder429 = Error$1;
2422
+ type GetCardOrderQueryResponse = GetCardOrder200;
2423
+ type GetCardOrderQuery = {
2424
+ Response: GetCardOrder200;
2425
+ PathParams: GetCardOrderPathParams;
2426
+ Errors: GetCardOrder400 | GetCardOrder401 | GetCardOrder403 | GetCardOrder404 | GetCardOrder429;
1160
2427
  };
1161
- type GetBalancesPathParams = {
2428
+ type GetCardQuotePathParams = {
1162
2429
  /**
1163
2430
  * @pattern ^0x[a-fA-F0-9]{40}$
1164
2431
  * @type string
1165
2432
  */
1166
2433
  address: string;
1167
2434
  };
1168
- type GetBalancesQueryParams = {
2435
+ type GetCardQuoteQueryParams = {
1169
2436
  /**
1170
- * @description Comma-separated chain ids to read (e.g. `1,8453`). Defaults to the source chains (`1,8453,999,1337`); destination-only chains such as MegaETH (`4326`) are read only when named here.
1171
- * @pattern ^\d+(,\d+)*$
2437
+ * @pattern ^\d{1,7}(\.\d{1,2})?$
1172
2438
  * @type string | undefined
1173
2439
  */
1174
- chains?: string;
2440
+ amount_usd?: string;
1175
2441
  };
1176
2442
  /**
1177
- * @description Balances by chain and token.
2443
+ * @description The price estimate for the requested amount.
1178
2444
  */
1179
- type GetBalances200 = {
2445
+ type GetCardQuote200 = {
1180
2446
  /**
1181
- * @minLength -9007199254740991
1182
- * @maxLength 9007199254740991
1183
- * @type integer
2447
+ * @type string
1184
2448
  */
1185
- count: number;
2449
+ destination_amount: string;
1186
2450
  /**
1187
- * @type array
2451
+ * @type number
1188
2452
  */
1189
- data: {
1190
- /**
1191
- * @type string
1192
- */
1193
- balance: string;
1194
- /**
1195
- * @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
1196
- * @minLength -9007199254740991
1197
- * @maxLength 9007199254740991
1198
- * @type integer
1199
- */
1200
- chain: number;
1201
- token: (string | null);
1202
- /**
1203
- * @type number
1204
- */
1205
- usd_value: number;
1206
- }[];
2453
+ exchange_rate: number;
2454
+ /**
2455
+ * @type string
2456
+ */
2457
+ fees: string;
2458
+ /**
2459
+ * @type string
2460
+ */
2461
+ source_amount: string;
1207
2462
  };
1208
2463
  /**
1209
2464
  * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1210
2465
  */
1211
- type GetBalances400 = Error$1;
2466
+ type GetCardQuote400 = Error$1;
1212
2467
  /**
1213
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
2468
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1214
2469
  */
1215
- type GetBalances401 = Error$1;
2470
+ type GetCardQuote401 = Error$1;
1216
2471
  /**
1217
2472
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1218
2473
  */
1219
- type GetBalances403 = Error$1;
2474
+ type GetCardQuote403 = Error$1;
1220
2475
  /**
1221
2476
  * @description Too Many Requests — `error.code` includes: rate_limited.
1222
2477
  */
1223
- type GetBalances429 = Error$1;
1224
- type GetBalancesQueryResponse = GetBalances200;
1225
- type GetBalancesQuery = {
1226
- Response: GetBalances200;
1227
- PathParams: GetBalancesPathParams;
1228
- QueryParams: GetBalancesQueryParams;
1229
- Errors: GetBalances400 | GetBalances401 | GetBalances403 | GetBalances429;
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;
1230
2489
  };
1231
2490
  type GetCashAppOrderPathParams = {
1232
2491
  /**
@@ -1269,7 +2528,7 @@ type GetCashAppOrder200 = {
1269
2528
  */
1270
2529
  amount_usd: string;
1271
2530
  /**
1272
- * @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
2531
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
1273
2532
  * @minLength -9007199254740991
1274
2533
  * @maxLength 9007199254740991
1275
2534
  * @type integer
@@ -1317,6 +2576,17 @@ type GetCashAppOrder200 = {
1317
2576
  */
1318
2577
  decimals: number;
1319
2578
  };
2579
+ /**
2580
+ * @type boolean
2581
+ */
2582
+ routed: boolean;
2583
+ /**
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
2588
+ */
2589
+ settlement_chain: number;
1320
2590
  /**
1321
2591
  * @type string
1322
2592
  */
@@ -1331,7 +2601,7 @@ type GetCashAppOrder200 = {
1331
2601
  */
1332
2602
  type GetCashAppOrder400 = Error$1;
1333
2603
  /**
1334
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
2604
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1335
2605
  */
1336
2606
  type GetCashAppOrder401 = Error$1;
1337
2607
  /**
@@ -1375,19 +2645,25 @@ type GetExchange200 = {
1375
2645
  * @type boolean
1376
2646
  */
1377
2647
  connected: boolean;
1378
- connected_at: (string | null);
2648
+ /**
2649
+ * @type string,null, date-time
2650
+ */
2651
+ connected_at: string | null;
1379
2652
  /**
1380
2653
  * @type string
1381
2654
  */
1382
2655
  exchange: string;
1383
- id: (string | null);
2656
+ /**
2657
+ * @type string,null, uuid
2658
+ */
2659
+ id: string | null;
1384
2660
  };
1385
2661
  /**
1386
- * @description Bad Request — `error.code` includes: invalid_wallet.
2662
+ * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet.
1387
2663
  */
1388
2664
  type GetExchange400 = Error$1;
1389
2665
  /**
1390
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
2666
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1391
2667
  */
1392
2668
  type GetExchange401 = Error$1;
1393
2669
  /**
@@ -1403,7 +2679,7 @@ type GetExchange404 = Error$1;
1403
2679
  */
1404
2680
  type GetExchange429 = Error$1;
1405
2681
  /**
1406
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
2682
+ * @description Bad Gateway — `error.code` includes: apikey_insufficient_permissions, exchange_provider_error, generic_internal_server_error, generic_unauthorized, wallet_invalid_credentials.
1407
2683
  */
1408
2684
  type GetExchange502 = Error$1;
1409
2685
  type GetExchangeQueryResponse = GetExchange200;
@@ -1439,7 +2715,10 @@ type GetExchangeAssets200 = {
1439
2715
  * @type number
1440
2716
  */
1441
2717
  amount: number;
1442
- amount_in_fiat: (number | null);
2718
+ /**
2719
+ * @type number,null
2720
+ */
2721
+ amount_in_fiat: number | null;
1443
2722
  /**
1444
2723
  * @type string
1445
2724
  */
@@ -1448,7 +2727,12 @@ type GetExchangeAssets200 = {
1448
2727
  * @type array
1449
2728
  */
1450
2729
  networks: {
1451
- chain_id: (number | null);
2730
+ /**
2731
+ * @minLength -9007199254740991
2732
+ * @maxLength 9007199254740991
2733
+ * @type integer,null
2734
+ */
2735
+ chain_id: number | null;
1452
2736
  /**
1453
2737
  * @type string
1454
2738
  */
@@ -1457,7 +2741,10 @@ type GetExchangeAssets200 = {
1457
2741
  * @type string
1458
2742
  */
1459
2743
  id: string;
1460
- max_withdrawal: (string | null);
2744
+ /**
2745
+ * @type string,null
2746
+ */
2747
+ max_withdrawal: string | null;
1461
2748
  /**
1462
2749
  * @type string
1463
2750
  */
@@ -1474,11 +2761,11 @@ type GetExchangeAssets200 = {
1474
2761
  last_sync_at: string;
1475
2762
  };
1476
2763
  /**
1477
- * @description Bad Request — `error.code` includes: invalid_wallet.
2764
+ * @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet.
1478
2765
  */
1479
2766
  type GetExchangeAssets400 = Error$1;
1480
2767
  /**
1481
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
2768
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1482
2769
  */
1483
2770
  type GetExchangeAssets401 = Error$1;
1484
2771
  /**
@@ -1498,7 +2785,7 @@ type GetExchangeAssets409 = Error$1;
1498
2785
  */
1499
2786
  type GetExchangeAssets429 = Error$1;
1500
2787
  /**
1501
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
2788
+ * @description Bad Gateway — `error.code` includes: apikey_insufficient_permissions, exchange_provider_error, generic_internal_server_error, generic_unauthorized, wallet_invalid_credentials.
1502
2789
  */
1503
2790
  type GetExchangeAssets502 = Error$1;
1504
2791
  type GetExchangeAssetsQueryResponse = GetExchangeAssets200;
@@ -1539,91 +2826,429 @@ type GetExchangeWithdrawal200StatusEnumKey = (typeof getExchangeWithdrawal200Sta
1539
2826
  */
1540
2827
  type GetExchangeWithdrawal200 = {
1541
2828
  /**
1542
- * @type string
2829
+ * @type string
2830
+ */
2831
+ amount: string;
2832
+ /**
2833
+ * @type string
2834
+ */
2835
+ asset: string;
2836
+ /**
2837
+ * @type string,null, date-time
2838
+ */
2839
+ completed_at: string | null;
2840
+ /**
2841
+ * @type string, date-time
2842
+ */
2843
+ created_at: string;
2844
+ /**
2845
+ * @type string,null
2846
+ */
2847
+ error_code: string | null;
2848
+ /**
2849
+ * @type string,null
2850
+ */
2851
+ error_message: string | null;
2852
+ /**
2853
+ * @type string, uuid
2854
+ */
2855
+ id: string;
2856
+ /**
2857
+ * @type string
2858
+ */
2859
+ network: string;
2860
+ /**
2861
+ * @type string
2862
+ */
2863
+ status: GetExchangeWithdrawal200StatusEnumKey;
2864
+ /**
2865
+ * @type string,null
2866
+ */
2867
+ transaction_hash: string | null;
2868
+ };
2869
+ /**
2870
+ * @description Bad Request — `error.code` includes: invalid_wallet.
2871
+ */
2872
+ type GetExchangeWithdrawal400 = Error$1;
2873
+ /**
2874
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2875
+ */
2876
+ type GetExchangeWithdrawal401 = Error$1;
2877
+ /**
2878
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2879
+ */
2880
+ type GetExchangeWithdrawal403 = Error$1;
2881
+ /**
2882
+ * @description Not Found — `error.code` includes: customer_not_registered, withdrawal_not_found.
2883
+ */
2884
+ type GetExchangeWithdrawal404 = Error$1;
2885
+ /**
2886
+ * @description Too Many Requests — `error.code` includes: rate_limited.
2887
+ */
2888
+ type GetExchangeWithdrawal429 = Error$1;
2889
+ type GetExchangeWithdrawalQueryResponse = GetExchangeWithdrawal200;
2890
+ type GetExchangeWithdrawalQuery = {
2891
+ Response: GetExchangeWithdrawal200;
2892
+ PathParams: GetExchangeWithdrawalPathParams;
2893
+ Errors: GetExchangeWithdrawal400 | GetExchangeWithdrawal401 | GetExchangeWithdrawal403 | GetExchangeWithdrawal404 | GetExchangeWithdrawal429;
2894
+ };
2895
+ /**
2896
+ * @description Current USD-based rates.
2897
+ */
2898
+ type GetFxRates200 = {
2899
+ /**
2900
+ * @type number
2901
+ */
2902
+ eur: number;
2903
+ /**
2904
+ * @type number
2905
+ */
2906
+ gbp: number;
2907
+ /**
2908
+ * @type number
2909
+ */
2910
+ usd: 1;
2911
+ };
2912
+ /**
2913
+ * @description Too Many Requests — `error.code` includes: rate_limited.
2914
+ */
2915
+ type GetFxRates429 = Error$1;
2916
+ /**
2917
+ * @description Bad Gateway — `error.code` includes: fx_unavailable.
2918
+ */
2919
+ type GetFxRates502 = Error$1;
2920
+ type GetFxRatesQueryResponse = GetFxRates200;
2921
+ type GetFxRatesQuery = {
2922
+ Response: GetFxRates200;
2923
+ Errors: GetFxRates429 | GetFxRates502;
2924
+ };
2925
+ type GetIdentityVerificationLinkPathParams = {
2926
+ /**
2927
+ * @pattern ^0x[a-fA-F0-9]{40}$
2928
+ * @type string
2929
+ */
2930
+ address: string;
2931
+ };
2932
+ /**
2933
+ * @description The identity-verification URL.
2934
+ */
2935
+ type GetIdentityVerificationLink200 = {
2936
+ /**
2937
+ * @type string, uri
2938
+ */
2939
+ url: string;
2940
+ };
2941
+ /**
2942
+ * @description Bad Request — `error.code` includes: invalid_wallet.
2943
+ */
2944
+ type GetIdentityVerificationLink400 = Error$1;
2945
+ /**
2946
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2947
+ */
2948
+ type GetIdentityVerificationLink401 = Error$1;
2949
+ /**
2950
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2951
+ */
2952
+ type GetIdentityVerificationLink403 = Error$1;
2953
+ /**
2954
+ * @description Not Found — `error.code` includes: customer_not_registered.
2955
+ */
2956
+ type GetIdentityVerificationLink404 = Error$1;
2957
+ /**
2958
+ * @description Too Many Requests — `error.code` includes: rate_limited.
2959
+ */
2960
+ type GetIdentityVerificationLink429 = Error$1;
2961
+ /**
2962
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
2963
+ */
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 = {
2972
+ /**
2973
+ * @pattern ^0x[a-fA-F0-9]{40}$
2974
+ * @type string
2975
+ */
2976
+ address: string;
2977
+ };
2978
+ /**
2979
+ * @description The Stripe publishable key.
2980
+ */
2981
+ type GetStripeConfig200 = {
2982
+ /**
2983
+ * @type string
2984
+ */
2985
+ publishable_key: string;
2986
+ };
2987
+ /**
2988
+ * @description Bad Request — `error.code` includes: invalid_wallet.
2989
+ */
2990
+ type GetStripeConfig400 = Error$1;
2991
+ /**
2992
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2993
+ */
2994
+ type GetStripeConfig401 = Error$1;
2995
+ /**
2996
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
2997
+ */
2998
+ type GetStripeConfig403 = Error$1;
2999
+ /**
3000
+ * @description Too Many Requests — `error.code` includes: rate_limited.
3001
+ */
3002
+ type GetStripeConfig429 = Error$1;
3003
+ type GetStripeConfigQueryResponse = GetStripeConfig200;
3004
+ type GetStripeConfigQuery = {
3005
+ Response: GetStripeConfig200;
3006
+ PathParams: GetStripeConfigPathParams;
3007
+ Errors: GetStripeConfig400 | GetStripeConfig401 | GetStripeConfig403 | GetStripeConfig429;
3008
+ };
3009
+ type GetStripeCustomerStatusPathParams = {
3010
+ /**
3011
+ * @pattern ^0x[a-fA-F0-9]{40}$
3012
+ * @type string
3013
+ */
3014
+ address: string;
3015
+ /**
3016
+ * @minLength 1
3017
+ * @type string
3018
+ */
3019
+ crypto_customer_id: string;
3020
+ };
3021
+ /**
3022
+ * @description The customer\'s verification statuses.
3023
+ */
3024
+ type GetStripeCustomerStatus200 = {
3025
+ /**
3026
+ * @type string
3027
+ */
3028
+ id_document_status: string;
3029
+ /**
3030
+ * @type string
3031
+ */
3032
+ kyc_status: string;
3033
+ /**
3034
+ * @type array
3035
+ */
3036
+ provided_fields: string[];
3037
+ };
3038
+ /**
3039
+ * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
3040
+ */
3041
+ type GetStripeCustomerStatus400 = Error$1;
3042
+ /**
3043
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
3044
+ */
3045
+ type GetStripeCustomerStatus401 = Error$1;
3046
+ /**
3047
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
3048
+ */
3049
+ type GetStripeCustomerStatus403 = Error$1;
3050
+ /**
3051
+ * @description Not Found — `error.code` includes: resource_missing.
3052
+ */
3053
+ type GetStripeCustomerStatus404 = Error$1;
3054
+ /**
3055
+ * @description Too Many Requests — `error.code` includes: rate_limited.
3056
+ */
3057
+ type GetStripeCustomerStatus429 = Error$1;
3058
+ /**
3059
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
3060
+ */
3061
+ type GetStripeCustomerStatus502 = Error$1;
3062
+ type GetStripeCustomerStatusQueryResponse = GetStripeCustomerStatus200;
3063
+ type GetStripeCustomerStatusQuery = {
3064
+ Response: GetStripeCustomerStatus200;
3065
+ PathParams: GetStripeCustomerStatusPathParams;
3066
+ Errors: GetStripeCustomerStatus400 | GetStripeCustomerStatus401 | GetStripeCustomerStatus403 | GetStripeCustomerStatus404 | GetStripeCustomerStatus429 | GetStripeCustomerStatus502;
3067
+ };
3068
+ type GetStripeOrderPathParams = {
3069
+ /**
3070
+ * @pattern ^0x[a-fA-F0-9]{40}$
3071
+ * @type string
3072
+ */
3073
+ address: string;
3074
+ /**
3075
+ * @type string, uuid
3076
+ */
3077
+ id: string;
3078
+ };
3079
+ declare const getStripeOrder200StatusEnum: {
3080
+ readonly initialized: "initialized";
3081
+ readonly requires_payment: "requires_payment";
3082
+ readonly fulfillment_processing: "fulfillment_processing";
3083
+ readonly fulfillment_complete: "fulfillment_complete";
3084
+ readonly rejected: "rejected";
3085
+ readonly error: "error";
3086
+ };
3087
+ type GetStripeOrder200StatusEnumKey = (typeof getStripeOrder200StatusEnum)[keyof typeof getStripeOrder200StatusEnum];
3088
+ /**
3089
+ * @description The onramp order.
3090
+ */
3091
+ type GetStripeOrder200 = {
3092
+ /**
3093
+ * @pattern ^0x[a-fA-F0-9]{40}$
3094
+ * @type string
3095
+ */
3096
+ address: string;
3097
+ /**
3098
+ * @type string, date-time
3099
+ */
3100
+ created_at: string;
3101
+ /**
3102
+ * @type string,null
1543
3103
  */
1544
- amount: string;
3104
+ destination_amount: string | null;
3105
+ /**
3106
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
3107
+ * @minLength -9007199254740991
3108
+ * @maxLength 9007199254740991
3109
+ * @type integer
3110
+ */
3111
+ destination_chain: number;
1545
3112
  /**
1546
3113
  * @type string
1547
3114
  */
1548
- asset: string;
1549
- completed_at: (string | null);
3115
+ destination_currency: string;
1550
3116
  /**
1551
- * @type string, date-time
3117
+ * @type string
1552
3118
  */
1553
- created_at: string;
1554
- error_code: (string | null);
1555
- error_message: (string | null);
3119
+ destination_network: string;
1556
3120
  /**
1557
3121
  * @type string, uuid
1558
3122
  */
1559
3123
  id: string;
3124
+ /**
3125
+ * @type string,null
3126
+ */
3127
+ source_amount: string | null;
1560
3128
  /**
1561
3129
  * @type string
1562
3130
  */
1563
- network: string;
3131
+ source_currency: string;
1564
3132
  /**
1565
3133
  * @type string
1566
3134
  */
1567
- status: GetExchangeWithdrawal200StatusEnumKey;
1568
- transaction_hash: (string | null);
3135
+ status: GetStripeOrder200StatusEnumKey;
1569
3136
  };
1570
3137
  /**
1571
- * @description Bad Request — `error.code` includes: invalid_wallet.
3138
+ * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1572
3139
  */
1573
- type GetExchangeWithdrawal400 = Error$1;
3140
+ type GetStripeOrder400 = Error$1;
1574
3141
  /**
1575
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
3142
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1576
3143
  */
1577
- type GetExchangeWithdrawal401 = Error$1;
3144
+ type GetStripeOrder401 = Error$1;
1578
3145
  /**
1579
3146
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1580
3147
  */
1581
- type GetExchangeWithdrawal403 = Error$1;
3148
+ type GetStripeOrder403 = Error$1;
1582
3149
  /**
1583
- * @description Not Found — `error.code` includes: customer_not_registered, withdrawal_not_found.
3150
+ * @description Not Found — `error.code` includes: order_not_found.
1584
3151
  */
1585
- type GetExchangeWithdrawal404 = Error$1;
3152
+ type GetStripeOrder404 = Error$1;
1586
3153
  /**
1587
3154
  * @description Too Many Requests — `error.code` includes: rate_limited.
1588
3155
  */
1589
- type GetExchangeWithdrawal429 = Error$1;
1590
- type GetExchangeWithdrawalQueryResponse = GetExchangeWithdrawal200;
1591
- type GetExchangeWithdrawalQuery = {
1592
- Response: GetExchangeWithdrawal200;
1593
- PathParams: GetExchangeWithdrawalPathParams;
1594
- Errors: GetExchangeWithdrawal400 | GetExchangeWithdrawal401 | GetExchangeWithdrawal403 | GetExchangeWithdrawal404 | GetExchangeWithdrawal429;
3156
+ type GetStripeOrder429 = Error$1;
3157
+ type GetStripeOrderQueryResponse = GetStripeOrder200;
3158
+ type GetStripeOrderQuery = {
3159
+ Response: GetStripeOrder200;
3160
+ PathParams: GetStripeOrderPathParams;
3161
+ Errors: GetStripeOrder400 | GetStripeOrder401 | GetStripeOrder403 | GetStripeOrder404 | GetStripeOrder429;
3162
+ };
3163
+ type GetStripeQuotePathParams = {
3164
+ /**
3165
+ * @pattern ^0x[a-fA-F0-9]{40}$
3166
+ * @type string
3167
+ */
3168
+ address: string;
3169
+ };
3170
+ type GetStripeQuoteQueryParams = {
3171
+ /**
3172
+ * @pattern ^\d+(\.\d+)?$
3173
+ * @type string | undefined
3174
+ */
3175
+ source_amount?: string;
3176
+ /**
3177
+ * @pattern ^\d+(\.\d+)?$
3178
+ * @type string | undefined
3179
+ */
3180
+ destination_amount?: string;
3181
+ /**
3182
+ * @default "usd"
3183
+ * @type string | undefined
3184
+ */
3185
+ source_currency?: "usd";
3186
+ /**
3187
+ * @minLength 1
3188
+ * @default "usdc"
3189
+ * @type string | undefined
3190
+ */
3191
+ destination_currency?: string;
3192
+ /**
3193
+ * @minLength 1
3194
+ * @default "base"
3195
+ * @type string | undefined
3196
+ */
3197
+ destination_network?: string;
1595
3198
  };
1596
3199
  /**
1597
- * @description Current USD-based rates.
3200
+ * @description The price estimate for the requested amount.
1598
3201
  */
1599
- type GetFxRates200 = {
3202
+ type GetStripeQuote200 = {
1600
3203
  /**
1601
- * @type number
3204
+ * @type string
1602
3205
  */
1603
- eur: number;
3206
+ destination_amount: string;
1604
3207
  /**
1605
- * @type number
3208
+ * @type string
1606
3209
  */
1607
- gbp: number;
3210
+ network_fee: string;
1608
3211
  /**
1609
3212
  * @type number
1610
3213
  */
1611
- usd: 1;
3214
+ rate_fetched_at: number;
3215
+ /**
3216
+ * @type string
3217
+ */
3218
+ source_total_amount: string;
3219
+ /**
3220
+ * @type string
3221
+ */
3222
+ transaction_fee: string;
1612
3223
  };
3224
+ /**
3225
+ * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
3226
+ */
3227
+ type GetStripeQuote400 = Error$1;
3228
+ /**
3229
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
3230
+ */
3231
+ type GetStripeQuote401 = Error$1;
3232
+ /**
3233
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
3234
+ */
3235
+ type GetStripeQuote403 = Error$1;
1613
3236
  /**
1614
3237
  * @description Too Many Requests — `error.code` includes: rate_limited.
1615
3238
  */
1616
- type GetFxRates429 = Error$1;
3239
+ type GetStripeQuote429 = Error$1;
1617
3240
  /**
1618
- * @description Bad Gateway — `error.code` includes: fx_unavailable.
3241
+ * @description Bad Gateway — `error.code` includes: quote_unavailable.
1619
3242
  */
1620
- type GetFxRates502 = Error$1;
1621
- type GetFxRatesQueryResponse = GetFxRates200;
1622
- type GetFxRatesQuery = {
1623
- Response: GetFxRates200;
1624
- Errors: GetFxRates429 | GetFxRates502;
3243
+ type GetStripeQuote502 = Error$1;
3244
+ type GetStripeQuoteQueryResponse = GetStripeQuote200;
3245
+ type GetStripeQuoteQuery = {
3246
+ Response: GetStripeQuote200;
3247
+ PathParams: GetStripeQuotePathParams;
3248
+ QueryParams: GetStripeQuoteQueryParams;
3249
+ Errors: GetStripeQuote400 | GetStripeQuote401 | GetStripeQuote403 | GetStripeQuote429 | GetStripeQuote502;
1625
3250
  };
1626
- type GetIdentityVerificationLinkPathParams = {
3251
+ type GetStripeStatusPathParams = {
1627
3252
  /**
1628
3253
  * @pattern ^0x[a-fA-F0-9]{40}$
1629
3254
  * @type string
@@ -1631,45 +3256,45 @@ type GetIdentityVerificationLinkPathParams = {
1631
3256
  address: string;
1632
3257
  };
1633
3258
  /**
1634
- * @description The identity-verification URL.
3259
+ * @description The session\'s Stripe login state.
1635
3260
  */
1636
- type GetIdentityVerificationLink200 = {
3261
+ type GetStripeStatus200 = {
1637
3262
  /**
1638
- * @type string, uri
3263
+ * @type boolean
1639
3264
  */
1640
- url: string;
3265
+ authenticated: boolean;
3266
+ /**
3267
+ * @type string | undefined
3268
+ */
3269
+ crypto_customer_id?: string;
3270
+ /**
3271
+ * @type string | undefined, email
3272
+ */
3273
+ email?: string;
1641
3274
  };
1642
3275
  /**
1643
3276
  * @description Bad Request — `error.code` includes: invalid_wallet.
1644
3277
  */
1645
- type GetIdentityVerificationLink400 = Error$1;
3278
+ type GetStripeStatus400 = Error$1;
1646
3279
  /**
1647
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
3280
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1648
3281
  */
1649
- type GetIdentityVerificationLink401 = Error$1;
3282
+ type GetStripeStatus401 = Error$1;
1650
3283
  /**
1651
3284
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1652
3285
  */
1653
- type GetIdentityVerificationLink403 = Error$1;
1654
- /**
1655
- * @description Not Found — `error.code` includes: customer_not_registered.
1656
- */
1657
- type GetIdentityVerificationLink404 = Error$1;
3286
+ type GetStripeStatus403 = Error$1;
1658
3287
  /**
1659
3288
  * @description Too Many Requests — `error.code` includes: rate_limited.
1660
3289
  */
1661
- type GetIdentityVerificationLink429 = Error$1;
1662
- /**
1663
- * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
1664
- */
1665
- type GetIdentityVerificationLink502 = Error$1;
1666
- type GetIdentityVerificationLinkMutationResponse = GetIdentityVerificationLink200;
1667
- type GetIdentityVerificationLinkMutation = {
1668
- Response: GetIdentityVerificationLink200;
1669
- PathParams: GetIdentityVerificationLinkPathParams;
1670
- Errors: GetIdentityVerificationLink400 | GetIdentityVerificationLink401 | GetIdentityVerificationLink403 | GetIdentityVerificationLink404 | GetIdentityVerificationLink429 | GetIdentityVerificationLink502;
3290
+ type GetStripeStatus429 = Error$1;
3291
+ type GetStripeStatusQueryResponse = GetStripeStatus200;
3292
+ type GetStripeStatusQuery = {
3293
+ Response: GetStripeStatus200;
3294
+ PathParams: GetStripeStatusPathParams;
3295
+ Errors: GetStripeStatus400 | GetStripeStatus401 | GetStripeStatus403 | GetStripeStatus429;
1671
3296
  };
1672
- type GetStripeConfigPathParams = {
3297
+ type GetTermsOfServiceLinkPathParams = {
1673
3298
  /**
1674
3299
  * @pattern ^0x[a-fA-F0-9]{40}$
1675
3300
  * @type string
@@ -1677,242 +3302,418 @@ type GetStripeConfigPathParams = {
1677
3302
  address: string;
1678
3303
  };
1679
3304
  /**
1680
- * @description The Stripe publishable key.
3305
+ * @description The terms-of-service URL.
1681
3306
  */
1682
- type GetStripeConfig200 = {
3307
+ type GetTermsOfServiceLink200 = {
1683
3308
  /**
1684
- * @type string
3309
+ * @type string, uri
1685
3310
  */
1686
- publishable_key: string;
3311
+ url: string;
1687
3312
  };
1688
3313
  /**
1689
3314
  * @description Bad Request — `error.code` includes: invalid_wallet.
1690
3315
  */
1691
- type GetStripeConfig400 = Error$1;
3316
+ type GetTermsOfServiceLink400 = Error$1;
1692
3317
  /**
1693
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
3318
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1694
3319
  */
1695
- type GetStripeConfig401 = Error$1;
3320
+ type GetTermsOfServiceLink401 = Error$1;
1696
3321
  /**
1697
3322
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1698
3323
  */
1699
- type GetStripeConfig403 = Error$1;
3324
+ type GetTermsOfServiceLink403 = Error$1;
3325
+ /**
3326
+ * @description Not Found — `error.code` includes: customer_not_registered.
3327
+ */
3328
+ type GetTermsOfServiceLink404 = Error$1;
1700
3329
  /**
1701
3330
  * @description Too Many Requests — `error.code` includes: rate_limited.
1702
3331
  */
1703
- type GetStripeConfig429 = Error$1;
1704
- type GetStripeConfigQueryResponse = GetStripeConfig200;
1705
- type GetStripeConfigQuery = {
1706
- Response: GetStripeConfig200;
1707
- PathParams: GetStripeConfigPathParams;
1708
- Errors: GetStripeConfig400 | GetStripeConfig401 | GetStripeConfig403 | GetStripeConfig429;
3332
+ type GetTermsOfServiceLink429 = Error$1;
3333
+ /**
3334
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
3335
+ */
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;
1709
3342
  };
1710
- type GetStripeOrderPathParams = {
3343
+ type GetWalletPathParams = {
1711
3344
  /**
1712
3345
  * @pattern ^0x[a-fA-F0-9]{40}$
1713
3346
  * @type string
1714
3347
  */
1715
3348
  address: string;
1716
- /**
1717
- * @type string, uuid
1718
- */
1719
- id: string;
1720
3349
  };
1721
- declare const getStripeOrder200StatusEnum: {
1722
- readonly initialized: "initialized";
1723
- readonly requires_payment: "requires_payment";
1724
- readonly fulfillment_processing: "fulfillment_processing";
1725
- readonly fulfillment_complete: "fulfillment_complete";
3350
+ declare const getWallet200IdentityVerificationStatusEnum: {
3351
+ readonly not_started: "not_started";
3352
+ readonly incomplete: "incomplete";
3353
+ readonly awaiting_questionnaire: "awaiting_questionnaire";
3354
+ readonly awaiting_ubo: "awaiting_ubo";
3355
+ readonly under_review: "under_review";
3356
+ readonly active: "active";
1726
3357
  readonly rejected: "rejected";
1727
- readonly error: "error";
3358
+ readonly paused: "paused";
3359
+ readonly offboarded: "offboarded";
1728
3360
  };
1729
- type GetStripeOrder200StatusEnumKey = (typeof getStripeOrder200StatusEnum)[keyof typeof getStripeOrder200StatusEnum];
3361
+ type GetWallet200IdentityVerificationStatusEnumKey = (typeof getWallet200IdentityVerificationStatusEnum)[keyof typeof getWallet200IdentityVerificationStatusEnum];
1730
3362
  /**
1731
- * @description The onramp order.
3363
+ * @description Wallet state.
1732
3364
  */
1733
- type GetStripeOrder200 = {
1734
- /**
1735
- * @pattern ^0x[a-fA-F0-9]{40}$
1736
- * @type string
1737
- */
1738
- address: string;
3365
+ type GetWallet200 = {
1739
3366
  /**
1740
3367
  * @type string, date-time
1741
3368
  */
1742
3369
  created_at: string;
1743
- destination_amount: (string | null);
1744
3370
  /**
1745
- * @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
1746
- * @minLength -9007199254740991
1747
- * @maxLength 9007199254740991
1748
- * @type integer
3371
+ * @type string,null, date-time
1749
3372
  */
1750
- destination_chain: number;
3373
+ deleted_at: string | null;
3374
+ /**
3375
+ * @type string,null, date-time
3376
+ */
3377
+ form_filled_at: string | null;
3378
+ /**
3379
+ * @type boolean
3380
+ */
3381
+ has_accepted_terms_of_service: boolean;
1751
3382
  /**
1752
3383
  * @type string
1753
3384
  */
1754
- destination_currency: string;
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;
1755
3398
  /**
3399
+ * @pattern ^0x[a-fA-F0-9]{40}$
1756
3400
  * @type string
1757
3401
  */
1758
- destination_network: string;
3402
+ wallet: string;
3403
+ };
3404
+ /**
3405
+ * @description Bad Request — `error.code` includes: invalid_wallet.
3406
+ */
3407
+ type GetWallet400 = Error$1;
3408
+ /**
3409
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
3410
+ */
3411
+ type GetWallet401 = Error$1;
3412
+ /**
3413
+ * @description Forbidden — `error.code` includes: wallet_token_mismatch.
3414
+ */
3415
+ type GetWallet403 = Error$1;
3416
+ /**
3417
+ * @description Not Found — `error.code` includes: customer_not_registered.
3418
+ */
3419
+ type GetWallet404 = Error$1;
3420
+ /**
3421
+ * @description Too Many Requests — `error.code` includes: rate_limited.
3422
+ */
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;
3429
+ };
3430
+ type ListCryptoDepositsPathParams = {
1759
3431
  /**
1760
- * @type string, uuid
3432
+ * @pattern ^0x[a-fA-F0-9]{40}$
3433
+ * @type string
1761
3434
  */
1762
- id: string;
1763
- source_amount: (string | null);
3435
+ address: string;
3436
+ };
3437
+ declare const dataStatusEnum: {
3438
+ readonly processing: "processing";
3439
+ readonly completed: "completed";
3440
+ readonly failed: "failed";
3441
+ readonly refunded: "refunded";
3442
+ };
3443
+ type DataStatusEnumKey = (typeof dataStatusEnum)[keyof typeof dataStatusEnum];
3444
+ /**
3445
+ * @description The wallet\'s crypto deposits.
3446
+ */
3447
+ type ListCryptoDeposits200 = {
1764
3448
  /**
1765
- * @type string
3449
+ * @minLength -9007199254740991
3450
+ * @maxLength 9007199254740991
3451
+ * @type integer
1766
3452
  */
1767
- source_currency: string;
3453
+ count: number;
1768
3454
  /**
1769
- * @type string
3455
+ * @type array
1770
3456
  */
1771
- status: GetStripeOrder200StatusEnumKey;
3457
+ data: {
3458
+ /**
3459
+ * @type object,null
3460
+ */
3461
+ amount_in: {
3462
+ /**
3463
+ * @type string
3464
+ */
3465
+ amount: string;
3466
+ /**
3467
+ * @minLength -9007199254740991
3468
+ * @maxLength 9007199254740991
3469
+ * @type integer
3470
+ */
3471
+ decimals: number;
3472
+ } | null;
3473
+ /**
3474
+ * @type object,null
3475
+ */
3476
+ amount_out: {
3477
+ /**
3478
+ * @type string
3479
+ */
3480
+ amount: string;
3481
+ /**
3482
+ * @minLength -9007199254740991
3483
+ * @maxLength 9007199254740991
3484
+ * @type integer
3485
+ */
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;
3504
+ /**
3505
+ * @type string,null
3506
+ */
3507
+ depositor: string | null;
3508
+ /**
3509
+ * @minLength -9007199254740991
3510
+ * @maxLength 9007199254740991
3511
+ * @type integer,null
3512
+ */
3513
+ destination_chain: number | null;
3514
+ /**
3515
+ * @type string,null
3516
+ */
3517
+ destination_currency: string | null;
3518
+ /**
3519
+ * @type string,null
3520
+ */
3521
+ failure_reason: string | null;
3522
+ /**
3523
+ * @type string,null
3524
+ */
3525
+ fill_tx_hash: string | null;
3526
+ /**
3527
+ * @type string, uuid
3528
+ */
3529
+ id: string;
3530
+ /**
3531
+ * @minLength -9007199254740991
3532
+ * @maxLength 9007199254740991
3533
+ * @type integer,null
3534
+ */
3535
+ origin_chain: number | null;
3536
+ /**
3537
+ * @type string,null
3538
+ */
3539
+ origin_currency: string | null;
3540
+ /**
3541
+ * @type string
3542
+ */
3543
+ status: DataStatusEnumKey;
3544
+ /**
3545
+ * @type string, date-time
3546
+ */
3547
+ updated_at: string;
3548
+ }[];
1772
3549
  };
1773
3550
  /**
1774
- * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
3551
+ * @description Bad Request — `error.code` includes: invalid_wallet.
1775
3552
  */
1776
- type GetStripeOrder400 = Error$1;
3553
+ type ListCryptoDeposits400 = Error$1;
1777
3554
  /**
1778
3555
  * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1779
3556
  */
1780
- type GetStripeOrder401 = Error$1;
3557
+ type ListCryptoDeposits401 = Error$1;
1781
3558
  /**
1782
3559
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1783
3560
  */
1784
- type GetStripeOrder403 = Error$1;
3561
+ type ListCryptoDeposits403 = Error$1;
1785
3562
  /**
1786
- * @description Not Found — `error.code` includes: order_not_found.
3563
+ * @description Not Found — `error.code` includes: customer_not_registered.
1787
3564
  */
1788
- type GetStripeOrder404 = Error$1;
3565
+ type ListCryptoDeposits404 = Error$1;
1789
3566
  /**
1790
3567
  * @description Too Many Requests — `error.code` includes: rate_limited.
1791
3568
  */
1792
- type GetStripeOrder429 = Error$1;
1793
- type GetStripeOrderQueryResponse = GetStripeOrder200;
1794
- type GetStripeOrderQuery = {
1795
- Response: GetStripeOrder200;
1796
- PathParams: GetStripeOrderPathParams;
1797
- Errors: GetStripeOrder400 | GetStripeOrder401 | GetStripeOrder403 | GetStripeOrder404 | GetStripeOrder429;
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;
1798
3575
  };
1799
- type GetTermsOfServiceLinkPathParams = {
3576
+ type ListStripePaymentTokensPathParams = {
1800
3577
  /**
1801
3578
  * @pattern ^0x[a-fA-F0-9]{40}$
1802
3579
  * @type string
1803
3580
  */
1804
3581
  address: string;
1805
3582
  };
3583
+ type ListStripePaymentTokensQueryParams = {
3584
+ /**
3585
+ * @minLength 1
3586
+ * @type string | undefined
3587
+ */
3588
+ crypto_customer_id?: string;
3589
+ };
1806
3590
  /**
1807
- * @description The terms-of-service URL.
3591
+ * @description The customer\'s payment methods.
1808
3592
  */
1809
- type GetTermsOfServiceLink200 = {
3593
+ type ListStripePaymentTokens200 = {
1810
3594
  /**
1811
- * @type string, uri
3595
+ * @type number
1812
3596
  */
1813
- url: string;
3597
+ count: number;
3598
+ /**
3599
+ * @type array
3600
+ */
3601
+ data: {
3602
+ /**
3603
+ * @type string
3604
+ */
3605
+ id: string;
3606
+ /**
3607
+ * @type string
3608
+ */
3609
+ object: string;
3610
+ }[];
1814
3611
  };
1815
3612
  /**
1816
- * @description Bad Request — `error.code` includes: invalid_wallet.
3613
+ * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1817
3614
  */
1818
- type GetTermsOfServiceLink400 = Error$1;
3615
+ type ListStripePaymentTokens400 = Error$1;
1819
3616
  /**
1820
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
3617
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
1821
3618
  */
1822
- type GetTermsOfServiceLink401 = Error$1;
3619
+ type ListStripePaymentTokens401 = Error$1;
1823
3620
  /**
1824
3621
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1825
3622
  */
1826
- type GetTermsOfServiceLink403 = Error$1;
3623
+ type ListStripePaymentTokens403 = Error$1;
1827
3624
  /**
1828
- * @description Not Found — `error.code` includes: customer_not_registered.
3625
+ * @description Not Found — `error.code` includes: resource_missing.
1829
3626
  */
1830
- type GetTermsOfServiceLink404 = Error$1;
3627
+ type ListStripePaymentTokens404 = Error$1;
1831
3628
  /**
1832
3629
  * @description Too Many Requests — `error.code` includes: rate_limited.
1833
3630
  */
1834
- type GetTermsOfServiceLink429 = Error$1;
3631
+ type ListStripePaymentTokens429 = Error$1;
1835
3632
  /**
1836
3633
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
1837
3634
  */
1838
- type GetTermsOfServiceLink502 = Error$1;
1839
- type GetTermsOfServiceLinkMutationResponse = GetTermsOfServiceLink200;
1840
- type GetTermsOfServiceLinkMutation = {
1841
- Response: GetTermsOfServiceLink200;
1842
- PathParams: GetTermsOfServiceLinkPathParams;
1843
- Errors: GetTermsOfServiceLink400 | GetTermsOfServiceLink401 | GetTermsOfServiceLink403 | GetTermsOfServiceLink404 | GetTermsOfServiceLink429 | GetTermsOfServiceLink502;
3635
+ type ListStripePaymentTokens502 = Error$1;
3636
+ type ListStripePaymentTokensQueryResponse = ListStripePaymentTokens200;
3637
+ type ListStripePaymentTokensQuery = {
3638
+ Response: ListStripePaymentTokens200;
3639
+ PathParams: ListStripePaymentTokensPathParams;
3640
+ QueryParams: ListStripePaymentTokensQueryParams;
3641
+ Errors: ListStripePaymentTokens400 | ListStripePaymentTokens401 | ListStripePaymentTokens403 | ListStripePaymentTokens404 | ListStripePaymentTokens429 | ListStripePaymentTokens502;
1844
3642
  };
1845
- type GetWalletPathParams = {
3643
+ type ListStripeWalletsPathParams = {
1846
3644
  /**
1847
3645
  * @pattern ^0x[a-fA-F0-9]{40}$
1848
3646
  * @type string
1849
3647
  */
1850
3648
  address: string;
1851
3649
  };
1852
- declare const getWallet200IdentityVerificationStatusEnum: {
1853
- readonly not_started: "not_started";
1854
- readonly incomplete: "incomplete";
1855
- readonly awaiting_questionnaire: "awaiting_questionnaire";
1856
- readonly awaiting_ubo: "awaiting_ubo";
1857
- readonly under_review: "under_review";
1858
- readonly active: "active";
1859
- readonly rejected: "rejected";
1860
- readonly paused: "paused";
1861
- readonly offboarded: "offboarded";
3650
+ type ListStripeWalletsQueryParams = {
3651
+ /**
3652
+ * @minLength 1
3653
+ * @type string | undefined
3654
+ */
3655
+ crypto_customer_id?: string;
1862
3656
  };
1863
- type GetWallet200IdentityVerificationStatusEnumKey = (typeof getWallet200IdentityVerificationStatusEnum)[keyof typeof getWallet200IdentityVerificationStatusEnum];
1864
3657
  /**
1865
- * @description Wallet state.
3658
+ * @description The customer\'s registered wallets.
1866
3659
  */
1867
- type GetWallet200 = {
1868
- /**
1869
- * @type string, date-time
1870
- */
1871
- created_at: string;
1872
- deleted_at: (string | null);
1873
- form_filled_at: (string | null);
3660
+ type ListStripeWallets200 = {
1874
3661
  /**
1875
- * @type boolean
1876
- */
1877
- has_accepted_terms_of_service: boolean;
1878
- /**
1879
- * @type string
3662
+ * @type number
1880
3663
  */
1881
- identity_verification_status: GetWallet200IdentityVerificationStatusEnumKey;
1882
- identity_verification_submitted_at: (string | null);
1883
- more_information_required_at: (string | null);
1884
- terms_of_service_submitted_at: (string | null);
3664
+ count: number;
1885
3665
  /**
1886
- * @pattern ^0x[a-fA-F0-9]{40}$
1887
- * @type string
3666
+ * @type array
1888
3667
  */
1889
- wallet: string;
3668
+ data: {
3669
+ /**
3670
+ * @type string
3671
+ */
3672
+ id: string;
3673
+ /**
3674
+ * @type string
3675
+ */
3676
+ network: string;
3677
+ /**
3678
+ * @type string
3679
+ */
3680
+ object: string;
3681
+ /**
3682
+ * @type string
3683
+ */
3684
+ wallet_address: string;
3685
+ }[];
1890
3686
  };
1891
3687
  /**
1892
- * @description Bad Request — `error.code` includes: invalid_wallet.
3688
+ * @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
1893
3689
  */
1894
- type GetWallet400 = Error$1;
3690
+ type ListStripeWallets400 = Error$1;
1895
3691
  /**
1896
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
3692
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
1897
3693
  */
1898
- type GetWallet401 = Error$1;
3694
+ type ListStripeWallets401 = Error$1;
1899
3695
  /**
1900
3696
  * @description Forbidden — `error.code` includes: wallet_token_mismatch.
1901
3697
  */
1902
- type GetWallet403 = Error$1;
3698
+ type ListStripeWallets403 = Error$1;
1903
3699
  /**
1904
- * @description Not Found — `error.code` includes: customer_not_registered.
3700
+ * @description Not Found — `error.code` includes: resource_missing.
1905
3701
  */
1906
- type GetWallet404 = Error$1;
3702
+ type ListStripeWallets404 = Error$1;
1907
3703
  /**
1908
3704
  * @description Too Many Requests — `error.code` includes: rate_limited.
1909
3705
  */
1910
- type GetWallet429 = Error$1;
1911
- type GetWalletQueryResponse = GetWallet200;
1912
- type GetWalletQuery = {
1913
- Response: GetWallet200;
1914
- PathParams: GetWalletPathParams;
1915
- Errors: GetWallet400 | GetWallet401 | GetWallet403 | GetWallet404 | GetWallet429;
3706
+ type ListStripeWallets429 = Error$1;
3707
+ /**
3708
+ * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
3709
+ */
3710
+ type ListStripeWallets502 = Error$1;
3711
+ type ListStripeWalletsQueryResponse = ListStripeWallets200;
3712
+ type ListStripeWalletsQuery = {
3713
+ Response: ListStripeWallets200;
3714
+ PathParams: ListStripeWalletsPathParams;
3715
+ QueryParams: ListStripeWalletsQueryParams;
3716
+ Errors: ListStripeWallets400 | ListStripeWallets401 | ListStripeWallets403 | ListStripeWallets404 | ListStripeWallets429 | ListStripeWallets502;
1916
3717
  };
1917
3718
  type ListVirtualAccountsPathParams = {
1918
3719
  /**
@@ -1942,7 +3743,7 @@ type ListVirtualAccounts200 = {
1942
3743
  */
1943
3744
  data: {
1944
3745
  /**
1945
- * @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
3746
+ * @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
1946
3747
  * @minLength -9007199254740991
1947
3748
  * @maxLength 9007199254740991
1948
3749
  * @type integer
@@ -1952,11 +3753,17 @@ type ListVirtualAccounts200 = {
1952
3753
  * @type string
1953
3754
  */
1954
3755
  currency: DataCurrencyEnumKey;
3756
+ /**
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
3759
+ */
3760
+ destination_token: string | null;
1955
3761
  /**
1956
3762
  * @type string, uuid
1957
3763
  */
1958
3764
  id: string;
1959
3765
  /**
3766
+ * @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.
1960
3767
  * @type object
1961
3768
  */
1962
3769
  source_deposit_instructions: {
@@ -1969,7 +3776,7 @@ type ListVirtualAccounts200 = {
1969
3776
  */
1970
3777
  type ListVirtualAccounts400 = Error$1;
1971
3778
  /**
1972
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
3779
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
1973
3780
  */
1974
3781
  type ListVirtualAccounts401 = Error$1;
1975
3782
  /**
@@ -2049,7 +3856,7 @@ type RegisterWallet204 = any;
2049
3856
  */
2050
3857
  type RegisterWallet400 = Error$1;
2051
3858
  /**
2052
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
3859
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2053
3860
  */
2054
3861
  type RegisterWallet401 = Error$1;
2055
3862
  /**
@@ -2113,7 +3920,7 @@ type SubmitIdentityVerification204 = any;
2113
3920
  */
2114
3921
  type SubmitIdentityVerification400 = Error$1;
2115
3922
  /**
2116
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
3923
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2117
3924
  */
2118
3925
  type SubmitIdentityVerification401 = Error$1;
2119
3926
  /**
@@ -2150,7 +3957,7 @@ type SubmitTermsOfService204 = any;
2150
3957
  */
2151
3958
  type SubmitTermsOfService400 = Error$1;
2152
3959
  /**
2153
- * @description Unauthorized — `error.code` includes: session_invalid, session_required.
3960
+ * @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
2154
3961
  */
2155
3962
  type SubmitTermsOfService401 = Error$1;
2156
3963
  /**
@@ -2187,7 +3994,7 @@ type UpdateVirtualAccountPathParams = {
2187
3994
  */
2188
3995
  type UpdateVirtualAccount204 = any;
2189
3996
  /**
2190
- * @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, validation_error.
3997
+ * @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
2191
3998
  */
2192
3999
  type UpdateVirtualAccount400 = Error$1;
2193
4000
  /**
@@ -2202,6 +4009,10 @@ type UpdateVirtualAccount403 = Error$1;
2202
4009
  * @description Not Found — `error.code` includes: customer_not_registered, virtual_account_not_found.
2203
4010
  */
2204
4011
  type UpdateVirtualAccount404 = Error$1;
4012
+ /**
4013
+ * @description Conflict — `error.code` includes: virtual_account_exists.
4014
+ */
4015
+ type UpdateVirtualAccount409 = Error$1;
2205
4016
  /**
2206
4017
  * @description Too Many Requests — `error.code` includes: rate_limited.
2207
4018
  */
@@ -2210,15 +4021,40 @@ type UpdateVirtualAccount429 = Error$1;
2210
4021
  * @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
2211
4022
  */
2212
4023
  type UpdateVirtualAccount502 = Error$1;
4024
+ declare const updateVirtualAccountMutationRequestChainEnum: {
4025
+ readonly "1": 1;
4026
+ readonly "8453": 8453;
4027
+ readonly "999": 999;
4028
+ readonly "1337": 1337;
4029
+ readonly "4326": 4326;
4030
+ readonly "143": 143;
4031
+ readonly "137": 137;
4032
+ };
4033
+ type UpdateVirtualAccountMutationRequestChainEnumKey = (typeof updateVirtualAccountMutationRequestChainEnum)[keyof typeof updateVirtualAccountMutationRequestChainEnum];
4034
+ declare const updateVirtualAccountMutationRequestDestinationTokenEnum: {
4035
+ readonly usdc: "usdc";
4036
+ readonly usdm: "usdm";
4037
+ readonly ausd: "ausd";
4038
+ readonly "usdc.e": "usdc.e";
4039
+ };
4040
+ type UpdateVirtualAccountMutationRequestDestinationTokenEnumKey = (typeof updateVirtualAccountMutationRequestDestinationTokenEnum)[keyof typeof updateVirtualAccountMutationRequestDestinationTokenEnum];
2213
4041
  type UpdateVirtualAccountMutationRequest = {
2214
- chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
4042
+ /**
4043
+ * @type number
4044
+ */
4045
+ chain: UpdateVirtualAccountMutationRequestChainEnumKey;
4046
+ /**
4047
+ * @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.
4048
+ * @type string | undefined
4049
+ */
4050
+ destination_token?: UpdateVirtualAccountMutationRequestDestinationTokenEnumKey;
2215
4051
  };
2216
4052
  type UpdateVirtualAccountMutationResponse = UpdateVirtualAccount204;
2217
4053
  type UpdateVirtualAccountMutation = {
2218
4054
  Response: UpdateVirtualAccount204;
2219
4055
  Request: UpdateVirtualAccountMutationRequest;
2220
4056
  PathParams: UpdateVirtualAccountPathParams;
2221
- Errors: UpdateVirtualAccount400 | UpdateVirtualAccount401 | UpdateVirtualAccount403 | UpdateVirtualAccount404 | UpdateVirtualAccount429 | UpdateVirtualAccount502;
4057
+ Errors: UpdateVirtualAccount400 | UpdateVirtualAccount401 | UpdateVirtualAccount403 | UpdateVirtualAccount404 | UpdateVirtualAccount409 | UpdateVirtualAccount429 | UpdateVirtualAccount502;
2222
4058
  };
2223
4059
  type RequestCredentials = "omit" | "same-origin" | "include";
2224
4060
  type RequestConfig<TData = unknown> = {
@@ -2227,7 +4063,6 @@ type RequestConfig<TData = unknown> = {
2227
4063
  method?: "GET" | "PUT" | "PATCH" | "POST" | "DELETE" | "OPTIONS" | "HEAD";
2228
4064
  params?: unknown;
2229
4065
  data?: TData;
2230
- responseType?: "arraybuffer" | "blob" | "document" | "json" | "text" | "stream";
2231
4066
  signal?: AbortSignal;
2232
4067
  headers?: [string, string][] | Record<string, string>;
2233
4068
  credentials?: RequestCredentials;
@@ -2235,8 +4070,6 @@ type RequestConfig<TData = unknown> = {
2235
4070
  type ResponseConfig<TData = unknown> = {
2236
4071
  data: TData;
2237
4072
  status: number;
2238
- statusText: string;
2239
- headers: Headers;
2240
4073
  };
2241
4074
  type ResponseErrorConfig<TError = unknown> = TError;
2242
4075
  type Client = <TResponseData, _TError = unknown, TRequestData = unknown>(config: RequestConfig<TRequestData>) => Promise<ResponseConfig<TResponseData>>;
@@ -2255,9 +4088,23 @@ declare class ApiError extends Error {
2255
4088
  status: number;
2256
4089
  });
2257
4090
  }
2258
- declare function getConfig(): Partial<RequestConfig>;
2259
- declare function setConfig(config: Partial<RequestConfig>): Partial<RequestConfig>;
2260
4091
  declare const client: Client;
4092
+ /**
4093
+ * @description Submits a card checkout for the session wallet using the encrypted card details supplied in `secure_card`. 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.
4094
+ * @summary Submit card checkout
4095
+ * {@link /v1/wallets/:address/card/checkout}
4096
+ */
4097
+ declare function checkoutCard(address: CheckoutCardPathParams["address"], data: CheckoutCardMutationRequest, config?: Partial<RequestConfig<CheckoutCardMutationRequest>> & {
4098
+ client?: Client;
4099
+ }): Promise<CheckoutCard200>;
4100
+ /**
4101
+ * @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.
4102
+ * @summary Check out a Stripe onramp session
4103
+ * {@link /v1/wallets/:address/stripe/session/:sessionId/checkout}
4104
+ */
4105
+ declare function checkoutStripeSession(address: CheckoutStripeSessionPathParams["address"], sessionId: CheckoutStripeSessionPathParams["sessionId"], config?: Partial<RequestConfig> & {
4106
+ client?: Client;
4107
+ }): Promise<CheckoutStripeSession200>;
2261
4108
  /**
2262
4109
  * @description Ends the session: clears both cookies and invalidates the refresh credential. No auth required; idempotent.
2263
4110
  * @summary Clear a session
@@ -2275,7 +4122,15 @@ declare function connectExchange(address: ConnectExchangePathParams["address"],
2275
4122
  client?: Client;
2276
4123
  }): Promise<ConnectExchange200>;
2277
4124
  /**
2278
- * @description Returns the hosted card-onramp URL for the wallet. The card provider authenticates the cardholder and settles USDC to the wallet.
4125
+ * @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.
4126
+ * @summary Authorize a deposit
4127
+ * {@link /v1/wallets/:address/blink/signature}
4128
+ */
4129
+ declare function createBlinkSignature(address: CreateBlinkSignaturePathParams["address"], data: CreateBlinkSignatureMutationRequest, config?: Partial<RequestConfig<CreateBlinkSignatureMutationRequest>> & {
4130
+ client?: Client;
4131
+ }): Promise<CreateBlinkSignature200>;
4132
+ /**
4133
+ * @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.
2279
4134
  * @summary Get the card-onramp link
2280
4135
  * {@link /v1/wallets/:address/card}
2281
4136
  */
@@ -2283,7 +4138,7 @@ declare function createCardLink(address: CreateCardLinkPathParams["address"], da
2283
4138
  client?: Client;
2284
4139
  }): Promise<CreateCardLink200>;
2285
4140
  /**
2286
- * @description Opens a Cash App onramp order and returns it, including the Cash App payment link. Poll `GET .../cashapp/:id` for status.
4141
+ * @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.
2287
4142
  * @summary Create a Cash App order
2288
4143
  * {@link /v1/wallets/:address/cashapp}
2289
4144
  */
@@ -2291,7 +4146,7 @@ declare function createCashAppOrder(address: CreateCashAppOrderPathParams["addre
2291
4146
  client?: Client;
2292
4147
  }): Promise<CreateCashAppOrder200>;
2293
4148
  /**
2294
- * @description Returns a pricing preview for a Cash App order — the destination amount, the fee, and the fee in basis points.
4149
+ * @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.
2295
4150
  * @summary Quote a Cash App order
2296
4151
  * {@link /v1/wallets/:address/cashapp/quote}
2297
4152
  */
@@ -2299,7 +4154,7 @@ declare function createCashAppQuote(address: CreateCashAppQuotePathParams["addre
2299
4154
  client?: Client;
2300
4155
  }): Promise<CreateCashAppQuote200>;
2301
4156
  /**
2302
- * @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.
4157
+ * @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.
2303
4158
  * @summary Create a crypto deposit address
2304
4159
  * {@link /v1/wallets/:address/deposit-address}
2305
4160
  */
@@ -2315,7 +4170,7 @@ declare function createExchangeWithdrawQuote(address: CreateExchangeWithdrawQuot
2315
4170
  client?: Client;
2316
4171
  }): Promise<CreateExchangeWithdrawQuote200>;
2317
4172
  /**
2318
- * @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.
4173
+ * @description Creates a session from a Dynamic identity token. The wallet must be linked to the token's user. Requires an `Authorization: Bearer <token>` header and the publishable key.
2319
4174
  * @summary Create a session (Dynamic)
2320
4175
  * {@link /v1/session/:address/dynamic}
2321
4176
  */
@@ -2323,7 +4178,7 @@ declare function createSessionDynamic(address: CreateSessionDynamicPathParams["a
2323
4178
  client?: Client;
2324
4179
  }): Promise<CreateSessionDynamic200>;
2325
4180
  /**
2326
- * @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.
4181
+ * @description Creates a session from a Privy identity token. The wallet must be linked to the token's user. Requires an `Authorization: Bearer <token>` header and the publishable key.
2327
4182
  * @summary Create a session (Privy)
2328
4183
  * {@link /v1/session/:address/privy}
2329
4184
  */
@@ -2331,7 +4186,7 @@ declare function createSessionPrivy(address: CreateSessionPrivyPathParams["addre
2331
4186
  client?: Client;
2332
4187
  }): Promise<CreateSessionPrivy200>;
2333
4188
  /**
2334
- * @description Verifies a signed EIP-4361 message and its nonce binding, then mints the session cookie pair. The publishable key rides inside the signed message's `Resources` field, so the wallet attests it.
4189
+ * @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.
2335
4190
  * @summary Create a session (SIWE)
2336
4191
  * {@link /v1/session/:address/siwe}
2337
4192
  */
@@ -2339,7 +4194,7 @@ declare function createSessionSiwe(address: CreateSessionSiwePathParams["address
2339
4194
  client?: Client;
2340
4195
  }): Promise<CreateSessionSiwe200>;
2341
4196
  /**
2342
- * @description Returns a nonce to embed in an EIP-4361 message and a short-lived binding to echo back on the SIWE create. Each call issues a fresh nonce; the binding expires after a few minutes.
4197
+ * @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.
2343
4198
  * @summary Issue a SIWE nonce binding
2344
4199
  * {@link /v1/session/:address/siwe/nonce}
2345
4200
  */
@@ -2347,7 +4202,23 @@ declare function createSiweNonce(address: CreateSiweNoncePathParams["address"],
2347
4202
  client?: Client;
2348
4203
  }): Promise<CreateSiweNonce200>;
2349
4204
  /**
2350
- * @description Mints an embedded onramp session and mirrors it into a local order. Returns Stripe's `client_secret` (which the SDK mounts the onramp iframe with) plus our own `order_id` to poll via `GET .../stripe/order/:id`. 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 requires a registered wallet and delivers to the session wallet. Amounts are optional; pass at most one of `source_amount` / `destination_amount`.
4205
+ * @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.
4206
+ * @summary Open a Stripe Link auth intent
4207
+ * {@link /v1/wallets/:address/stripe/auth-intent}
4208
+ */
4209
+ declare function createStripeAuthIntent(address: CreateStripeAuthIntentPathParams["address"], data: CreateStripeAuthIntentMutationRequest, config?: Partial<RequestConfig<CreateStripeAuthIntentMutationRequest>> & {
4210
+ client?: Client;
4211
+ }): Promise<CreateStripeAuthIntent200>;
4212
+ /**
4213
+ * @description Validates the crypto customer exists and persists the customer id onto the session so `/status` can re-derive it after a reopen.
4214
+ * @summary Persist a Stripe crypto customer
4215
+ * {@link /v1/wallets/:address/stripe/customer/:crypto_customer_id}
4216
+ */
4217
+ declare function createStripeCustomer(address: CreateStripeCustomerPathParams["address"], crypto_customer_id: CreateStripeCustomerPathParams["crypto_customer_id"], config?: Partial<RequestConfig> & {
4218
+ client?: Client;
4219
+ }): Promise<any>;
4220
+ /**
4221
+ * @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`.
2351
4222
  * @summary Open a Stripe onramp session
2352
4223
  * {@link /v1/wallets/:address/stripe/session}
2353
4224
  */
@@ -2355,7 +4226,15 @@ declare function createStripeSession(address: CreateStripeSessionPathParams["add
2355
4226
  client?: Client;
2356
4227
  }): Promise<CreateStripeSession200>;
2357
4228
  /**
2358
- * @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. The response carries the steps the client executes on-chain; source and destination chains may differ.
4229
+ * @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.
4230
+ * @summary Exchange an auth intent for tokens
4231
+ * {@link /v1/wallets/:address/stripe/tokens}
4232
+ */
4233
+ declare function createStripeTokens(address: CreateStripeTokensPathParams["address"], data: CreateStripeTokensMutationRequest, config?: Partial<RequestConfig<CreateStripeTokensMutationRequest>> & {
4234
+ client?: Client;
4235
+ }): Promise<any>;
4236
+ /**
4237
+ * @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.
2359
4238
  * @summary Quote a swap
2360
4239
  * {@link /v1/wallets/:address/swap/quote}
2361
4240
  */
@@ -2363,7 +4242,7 @@ declare function createSwapQuote(address: CreateSwapQuotePathParams["address"],
2363
4242
  client?: Client;
2364
4243
  }): Promise<CreateSwapQuote200>;
2365
4244
  /**
2366
- * @description Provisions a fiat→USDC virtual account for a `(currency, destination chain)` pair. Requires an approved identity verification. Returns 204; refetch the list to see the new account.
4245
+ * @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: 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.
2367
4246
  * @summary Create a virtual account
2368
4247
  * {@link /v1/wallets/:address/virtual-accounts}
2369
4248
  */
@@ -2387,7 +4266,7 @@ declare function executeExchangeWithdrawal(address: ExecuteExchangeWithdrawalPat
2387
4266
  client?: Client;
2388
4267
  }): Promise<ExecuteExchangeWithdrawal200>;
2389
4268
  /**
2390
- * @description Returns a single token's balance on one chain. `token` is a catalog symbol (`eth`, `hype`, `usdc`, `usdt`).
4269
+ * @description Returns a single token's balance on one chain. `token` is a catalog symbol (`eth`, `hype`, `mon`, `usdc`, `usdm`, `usdt`).
2391
4270
  * @summary Get one token balance
2392
4271
  * {@link /v1/wallets/:address/balances/:chain/:token}
2393
4272
  */
@@ -2395,13 +4274,53 @@ declare function getBalance(address: GetBalancePathParams["address"], chain: Get
2395
4274
  client?: Client;
2396
4275
  }): Promise<GetBalance200>;
2397
4276
  /**
2398
- * @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, so a destination-only chain like MegaETH (`4326`) must be requested explicitly.
4277
+ * @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.
2399
4278
  * @summary List wallet balances
2400
4279
  * {@link /v1/wallets/:address/balances}
2401
4280
  */
2402
4281
  declare function getBalances(address: GetBalancesPathParams["address"], params?: GetBalancesQueryParams, config?: Partial<RequestConfig> & {
2403
4282
  client?: Client;
2404
4283
  }): Promise<GetBalances200>;
4284
+ /**
4285
+ * @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.
4286
+ * @summary Get the deposit-rail runtime config
4287
+ * {@link /v1/wallets/:address/blink/config}
4288
+ */
4289
+ declare function getBlinkConfig(address: GetBlinkConfigPathParams["address"], config?: Partial<RequestConfig> & {
4290
+ client?: Client;
4291
+ }): Promise<GetBlinkConfig200>;
4292
+ /**
4293
+ * @description Returns the public client identifiers the card form must be initialized with. Every value is publishable — safe to embed in a browser, like a publishable key; no secret is on this surface.
4294
+ * @summary Get card flow config
4295
+ * {@link /v1/wallets/:address/card/config}
4296
+ */
4297
+ declare function getCardConfig(address: GetCardConfigPathParams["address"], config?: Partial<RequestConfig> & {
4298
+ client?: Client;
4299
+ }): Promise<GetCardConfig200>;
4300
+ /**
4301
+ * @description Returns the saved registration and billing profile for the session wallet.
4302
+ * @summary Get card registration + billing
4303
+ * {@link /v1/wallets/:address/card/customer}
4304
+ */
4305
+ declare function getCardCustomer(address: GetCardCustomerPathParams["address"], config?: Partial<RequestConfig> & {
4306
+ client?: Client;
4307
+ }): Promise<GetCardCustomer200>;
4308
+ /**
4309
+ * @description Returns the status of one card order, scoped to the session wallet.
4310
+ * @summary Get card order
4311
+ * {@link /v1/wallets/:address/card/orders/:id}
4312
+ */
4313
+ declare function getCardOrder(address: GetCardOrderPathParams["address"], id: GetCardOrderPathParams["id"], config?: Partial<RequestConfig> & {
4314
+ client?: Client;
4315
+ }): Promise<GetCardOrder200>;
4316
+ /**
4317
+ * @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.
4318
+ * @summary Quote a card amount
4319
+ * {@link /v1/wallets/:address/card/quote}
4320
+ */
4321
+ declare function getCardQuote(address: GetCardQuotePathParams["address"], params?: GetCardQuoteQueryParams, config?: Partial<RequestConfig> & {
4322
+ client?: Client;
4323
+ }): Promise<GetCardQuote200>;
2405
4324
  /**
2406
4325
  * @description Returns a Cash App order by id, including its current status and payment link.
2407
4326
  * @summary Get a Cash App order
@@ -2435,7 +4354,7 @@ declare function getExchangeWithdrawal(address: GetExchangeWithdrawalPathParams[
2435
4354
  client?: Client;
2436
4355
  }): Promise<GetExchangeWithdrawal200>;
2437
4356
  /**
2438
- * @description Returns USD→currency rates for showing amounts in the app's display currency. Public; rates are cached upstream.
4357
+ * @description Returns USD→currency rates for showing amounts in the app's display currency. No authentication required.
2439
4358
  * @summary Get display-currency exchange rates
2440
4359
  * {@link /v1/fx}
2441
4360
  */
@@ -2458,6 +4377,14 @@ declare function getIdentityVerificationLink(address: GetIdentityVerificationLin
2458
4377
  declare function getStripeConfig(address: GetStripeConfigPathParams["address"], config?: Partial<RequestConfig> & {
2459
4378
  client?: Client;
2460
4379
  }): Promise<GetStripeConfig200>;
4380
+ /**
4381
+ * @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.
4382
+ * @summary Poll a Stripe crypto customer's status
4383
+ * {@link /v1/wallets/:address/stripe/customer/:crypto_customer_id}
4384
+ */
4385
+ declare function getStripeCustomerStatus(address: GetStripeCustomerStatusPathParams["address"], crypto_customer_id: GetStripeCustomerStatusPathParams["crypto_customer_id"], config?: Partial<RequestConfig> & {
4386
+ client?: Client;
4387
+ }): Promise<GetStripeCustomerStatus200>;
2461
4388
  /**
2462
4389
  * @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).
2463
4390
  * @summary Get a Stripe onramp order
@@ -2466,6 +4393,22 @@ declare function getStripeConfig(address: GetStripeConfigPathParams["address"],
2466
4393
  declare function getStripeOrder(address: GetStripeOrderPathParams["address"], id: GetStripeOrderPathParams["id"], config?: Partial<RequestConfig> & {
2467
4394
  client?: Client;
2468
4395
  }): Promise<GetStripeOrder200>;
4396
+ /**
4397
+ * @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.
4398
+ * @summary Quote a Stripe onramp amount
4399
+ * {@link /v1/wallets/:address/stripe/quote}
4400
+ */
4401
+ declare function getStripeQuote(address: GetStripeQuotePathParams["address"], params?: GetStripeQuoteQueryParams, config?: Partial<RequestConfig> & {
4402
+ client?: Client;
4403
+ }): Promise<GetStripeQuote200>;
4404
+ /**
4405
+ * @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.
4406
+ * @summary Get the session's Stripe login state
4407
+ * {@link /v1/wallets/:address/stripe/status}
4408
+ */
4409
+ declare function getStripeStatus(address: GetStripeStatusPathParams["address"], config?: Partial<RequestConfig> & {
4410
+ client?: Client;
4411
+ }): Promise<GetStripeStatus200>;
2469
4412
  /**
2470
4413
  * @description Returns the hosted terms-of-service URL for the wallet. Present it to the user, then poll `GET /v1/wallets/:address` for acceptance.
2471
4414
  * @summary Get the terms-of-service link
@@ -2483,7 +4426,31 @@ declare function getWallet(address: GetWalletPathParams["address"], config?: Par
2483
4426
  client?: Client;
2484
4427
  }): Promise<GetWallet200>;
2485
4428
  /**
2486
- * @description Returns the wallet's virtual accounts, each with the bank-side deposit instructions the user needs to send fiat.
4429
+ * @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. `deposit_address` is null when the deposit arrived without a Calm-issued intake address. Requires a valid session cookie for the same wallet.
4430
+ * @summary List crypto deposits
4431
+ * {@link /v1/wallets/:address/crypto-deposits}
4432
+ */
4433
+ declare function listCryptoDeposits(address: ListCryptoDepositsPathParams["address"], config?: Partial<RequestConfig> & {
4434
+ client?: Client;
4435
+ }): Promise<ListCryptoDeposits200>;
4436
+ /**
4437
+ * @description Returns the payment methods the customer has on file. Read-passthrough — the SDK checks this before `collectPaymentMethod` to offer a saved method.
4438
+ * @summary List the customer's payment methods
4439
+ * {@link /v1/wallets/:address/stripe/payment-tokens}
4440
+ */
4441
+ declare function listStripePaymentTokens(address: ListStripePaymentTokensPathParams["address"], params?: ListStripePaymentTokensQueryParams, config?: Partial<RequestConfig> & {
4442
+ client?: Client;
4443
+ }): Promise<ListStripePaymentTokens200>;
4444
+ /**
4445
+ * @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.
4446
+ * @summary List the customer's crypto wallets
4447
+ * {@link /v1/wallets/:address/stripe/wallets}
4448
+ */
4449
+ declare function listStripeWallets(address: ListStripeWalletsPathParams["address"], params?: ListStripeWalletsQueryParams, config?: Partial<RequestConfig> & {
4450
+ client?: Client;
4451
+ }): Promise<ListStripeWallets200>;
4452
+ /**
4453
+ * @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.
2487
4454
  * @summary List virtual accounts
2488
4455
  * {@link /v1/wallets/:address/virtual-accounts}
2489
4456
  */
@@ -2499,7 +4466,7 @@ declare function refreshSession(address: RefreshSessionPathParams["address"], co
2499
4466
  client?: Client;
2500
4467
  }): Promise<RefreshSession200>;
2501
4468
  /**
2502
- * @description Submits the registration form (name + email) for the wallet. Returns 204; the SDK refetches the wallet state to pick up the new facts.
4469
+ * @description Submits the registration form (name + email) for the wallet. Returns 204; re-read `GET /v1/wallets/{address}` to pick up the new facts.
2503
4470
  * @summary Register a wallet
2504
4471
  * {@link /v1/wallets/:address/register}
2505
4472
  */
@@ -2523,14 +4490,11 @@ declare function submitTermsOfService(address: SubmitTermsOfServicePathParams["a
2523
4490
  client?: Client;
2524
4491
  }): Promise<any>;
2525
4492
  /**
2526
- * @description Updates a virtual account's destination chain. Returns 204; refetch the list to see the change.
4493
+ * @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 new destination. Omitting it with the chain unchanged leaves the account untouched; 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.
2527
4494
  * @summary Update a virtual account
2528
4495
  * {@link /v1/wallets/:address/virtual-accounts/:virtual-account-id}
2529
4496
  */
2530
4497
  declare function updateVirtualAccount(address: UpdateVirtualAccountPathParams["address"], virtualAccountId: UpdateVirtualAccountPathParams["virtual-account-id"], data: UpdateVirtualAccountMutationRequest, config?: Partial<RequestConfig<UpdateVirtualAccountMutationRequest>> & {
2531
4498
  client?: Client;
2532
4499
  }): Promise<any>;
2533
- declare function configureCalm(options: {
2534
- apiUrl: string;
2535
- }): void;
2536
- export { ApiError, 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 CreateCardLink200, type CreateCardLink400, type CreateCardLink401, type CreateCardLink403, type CreateCardLink429, type CreateCardLinkMutation, type CreateCardLinkMutationRequest, type CreateCardLinkMutationRequestCurrencyEnumKey, 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 CreateCashAppOrderMutationResponse, type CreateCashAppOrderPathParams, type CreateCashAppQuote200, type CreateCashAppQuote400, type CreateCashAppQuote401, type CreateCashAppQuote403, type CreateCashAppQuote429, type CreateCashAppQuote502, type CreateCashAppQuoteMutation, type CreateCashAppQuoteMutationRequest, type CreateCashAppQuoteMutationResponse, type CreateCashAppQuotePathParams, type CreateDepositAddress200, type CreateDepositAddress400, type CreateDepositAddress401, type CreateDepositAddress403, type CreateDepositAddress404, type CreateDepositAddress429, type CreateDepositAddressMutation, type CreateDepositAddressMutationRequest, 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 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 CreateStripeSession200, type CreateStripeSession400, type CreateStripeSession401, type CreateStripeSession403, type CreateStripeSession429, type CreateStripeSession502, type CreateStripeSessionMutation, type CreateStripeSessionMutationRequest, type CreateStripeSessionMutationResponse, type CreateStripeSessionPathParams, type CreateSwapQuote200, type CreateSwapQuote400, type CreateSwapQuote401, type CreateSwapQuote403, type CreateSwapQuote429, type CreateSwapQuote502, type CreateSwapQuoteMutation, type CreateSwapQuoteMutationRequest, 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 CreateVirtualAccountMutationRequestCurrencyEnumKey, type CreateVirtualAccountMutationResponse, type CreateVirtualAccountPathParams, type DataCurrencyEnumKey, 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 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 GetStripeOrder200, type GetStripeOrder200StatusEnumKey, type GetStripeOrder400, type GetStripeOrder401, type GetStripeOrder403, type GetStripeOrder404, type GetStripeOrder429, type GetStripeOrderPathParams, type GetStripeOrderQuery, type GetStripeOrderQueryResponse, 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 ListVirtualAccounts200, type ListVirtualAccounts400, type ListVirtualAccounts401, type ListVirtualAccounts403, type ListVirtualAccounts404, type ListVirtualAccounts429, type ListVirtualAccountsPathParams, type ListVirtualAccountsQuery, type ListVirtualAccountsQueryResponse, 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 UpdateVirtualAccount429, type UpdateVirtualAccount502, type UpdateVirtualAccountMutation, type UpdateVirtualAccountMutationRequest, type UpdateVirtualAccountMutationResponse, type UpdateVirtualAccountPathParams, clearSession, client, client as default, configureCalm, connectExchange, connectExchangePathParamsExchangeEnum, createCardLink, createCardLinkMutationRequestCurrencyEnum, createCashAppOrder, createCashAppOrder200StatusEnum, createCashAppQuote, createDepositAddress, createDepositAddressMutationRequestSourceTokenEnum, createExchangeWithdrawQuote, createExchangeWithdrawQuotePathParamsExchangeEnum, createSessionDynamic, createSessionPrivy, createSessionSiwe, createSiweNonce, createStripeSession, createSwapQuote, createSwapQuoteMutationRequestSourceTokenEnum, createSwapQuoteMutationRequestTradeTypeEnum, createVirtualAccount, createVirtualAccountMutationRequestCurrencyEnum, dataCurrencyEnum, disconnectExchange, disconnectExchangePathParamsExchangeEnum, executeExchangeWithdrawal, executeExchangeWithdrawal200StatusEnum, executeExchangeWithdrawalPathParamsExchangeEnum, getBalance, getBalancePathParamsTokenEnum, getBalances, getCashAppOrder, getCashAppOrder200StatusEnum, getConfig, getExchange, getExchangeAssets, getExchangeAssetsPathParamsExchangeEnum, getExchangePathParamsExchangeEnum, getExchangeWithdrawal, getExchangeWithdrawal200StatusEnum, getExchangeWithdrawalPathParamsExchangeEnum, getFxRates, getIdentityVerificationLink, getStripeConfig, getStripeOrder, getStripeOrder200StatusEnum, getTermsOfServiceLink, getWallet, getWallet200IdentityVerificationStatusEnum, listVirtualAccounts, refreshSession, registerWallet, setConfig, submitIdentityVerification, submitTermsOfService, updateVirtualAccount };
4500
+ 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, 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, 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, submitIdentityVerification, submitTermsOfService, updateVirtualAccount, updateVirtualAccountMutationRequestChainEnum, updateVirtualAccountMutationRequestDestinationTokenEnum };