@calm-xyz/core 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1558 -210
- package/dist/index.js +436 -22
- package/package.json +2 -8
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,254 @@ 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
|
+
};
|
|
20
268
|
type CheckoutStripeSessionPathParams = {
|
|
21
269
|
/**
|
|
22
270
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
@@ -33,14 +281,17 @@ type CheckoutStripeSessionPathParams = {
|
|
|
33
281
|
* @description The checked-out session\'s client secret.
|
|
34
282
|
*/
|
|
35
283
|
type CheckoutStripeSession200 = {
|
|
36
|
-
|
|
284
|
+
/**
|
|
285
|
+
* @type string,null
|
|
286
|
+
*/
|
|
287
|
+
client_secret: string | null;
|
|
37
288
|
};
|
|
38
289
|
/**
|
|
39
290
|
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
40
291
|
*/
|
|
41
292
|
type CheckoutStripeSession400 = Error$1;
|
|
42
293
|
/**
|
|
43
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
294
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
|
|
44
295
|
*/
|
|
45
296
|
type CheckoutStripeSession401 = Error$1;
|
|
46
297
|
/**
|
|
@@ -52,7 +303,11 @@ type CheckoutStripeSession402 = Error$1;
|
|
|
52
303
|
*/
|
|
53
304
|
type CheckoutStripeSession403 = Error$1;
|
|
54
305
|
/**
|
|
55
|
-
* @description
|
|
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.
|
|
56
311
|
*/
|
|
57
312
|
type CheckoutStripeSession409 = Error$1;
|
|
58
313
|
/**
|
|
@@ -67,7 +322,7 @@ type CheckoutStripeSessionMutationResponse = CheckoutStripeSession200;
|
|
|
67
322
|
type CheckoutStripeSessionMutation = {
|
|
68
323
|
Response: CheckoutStripeSession200;
|
|
69
324
|
PathParams: CheckoutStripeSessionPathParams;
|
|
70
|
-
Errors: CheckoutStripeSession400 | CheckoutStripeSession401 | CheckoutStripeSession402 | CheckoutStripeSession403 | CheckoutStripeSession409 | CheckoutStripeSession429 | CheckoutStripeSession502;
|
|
325
|
+
Errors: CheckoutStripeSession400 | CheckoutStripeSession401 | CheckoutStripeSession402 | CheckoutStripeSession403 | CheckoutStripeSession404 | CheckoutStripeSession409 | CheckoutStripeSession429 | CheckoutStripeSession502;
|
|
71
326
|
};
|
|
72
327
|
/**
|
|
73
328
|
* @description Cookies cleared.
|
|
@@ -111,11 +366,11 @@ type ConnectExchange200 = {
|
|
|
111
366
|
url: string;
|
|
112
367
|
};
|
|
113
368
|
/**
|
|
114
|
-
* @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.
|
|
115
370
|
*/
|
|
116
371
|
type ConnectExchange400 = Error$1;
|
|
117
372
|
/**
|
|
118
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
373
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
119
374
|
*/
|
|
120
375
|
type ConnectExchange401 = Error$1;
|
|
121
376
|
/**
|
|
@@ -131,7 +386,7 @@ type ConnectExchange404 = Error$1;
|
|
|
131
386
|
*/
|
|
132
387
|
type ConnectExchange429 = Error$1;
|
|
133
388
|
/**
|
|
134
|
-
* @description Bad Gateway —
|
|
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.
|
|
135
390
|
*/
|
|
136
391
|
type ConnectExchange502 = Error$1;
|
|
137
392
|
type ConnectExchangeMutationResponse = ConnectExchange200;
|
|
@@ -140,6 +395,114 @@ type ConnectExchangeMutation = {
|
|
|
140
395
|
PathParams: ConnectExchangePathParams;
|
|
141
396
|
Errors: ConnectExchange400 | ConnectExchange401 | ConnectExchange403 | ConnectExchange404 | ConnectExchange429 | ConnectExchange502;
|
|
142
397
|
};
|
|
398
|
+
type CreateBlinkSignaturePathParams = {
|
|
399
|
+
/**
|
|
400
|
+
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
401
|
+
* @type string
|
|
402
|
+
*/
|
|
403
|
+
address: string;
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* @description The signed deposit authorization.
|
|
407
|
+
*/
|
|
408
|
+
type CreateBlinkSignature200 = {
|
|
409
|
+
/**
|
|
410
|
+
* @type string
|
|
411
|
+
*/
|
|
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;
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* @description Bad Request — `error.code` includes: invalid_wallet, unsupported_chain, validation_error.
|
|
452
|
+
*/
|
|
453
|
+
type CreateBlinkSignature400 = Error$1;
|
|
454
|
+
/**
|
|
455
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
456
|
+
*/
|
|
457
|
+
type CreateBlinkSignature401 = Error$1;
|
|
458
|
+
/**
|
|
459
|
+
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
460
|
+
*/
|
|
461
|
+
type CreateBlinkSignature403 = Error$1;
|
|
462
|
+
/**
|
|
463
|
+
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
464
|
+
*/
|
|
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";
|
|
481
|
+
};
|
|
482
|
+
type CreateBlinkSignatureMutationRequestDestinationTokenEnumKey = (typeof createBlinkSignatureMutationRequestDestinationTokenEnum)[keyof typeof createBlinkSignatureMutationRequestDestinationTokenEnum];
|
|
483
|
+
type CreateBlinkSignatureMutationRequest = {
|
|
484
|
+
/**
|
|
485
|
+
* @pattern ^\d+(\.\d{1,2})?$
|
|
486
|
+
* @type string | undefined
|
|
487
|
+
*/
|
|
488
|
+
amount_usd?: string;
|
|
489
|
+
/**
|
|
490
|
+
* @type number
|
|
491
|
+
*/
|
|
492
|
+
destination_chain: CreateBlinkSignatureMutationRequestDestinationChainEnumKey;
|
|
493
|
+
/**
|
|
494
|
+
* @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
|
|
495
|
+
* @type string | undefined
|
|
496
|
+
*/
|
|
497
|
+
destination_token?: CreateBlinkSignatureMutationRequestDestinationTokenEnumKey;
|
|
498
|
+
};
|
|
499
|
+
type CreateBlinkSignatureMutationResponse = CreateBlinkSignature200;
|
|
500
|
+
type CreateBlinkSignatureMutation = {
|
|
501
|
+
Response: CreateBlinkSignature200;
|
|
502
|
+
Request: CreateBlinkSignatureMutationRequest;
|
|
503
|
+
PathParams: CreateBlinkSignaturePathParams;
|
|
504
|
+
Errors: CreateBlinkSignature400 | CreateBlinkSignature401 | CreateBlinkSignature403 | CreateBlinkSignature429;
|
|
505
|
+
};
|
|
143
506
|
type CreateCardLinkPathParams = {
|
|
144
507
|
/**
|
|
145
508
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
@@ -157,17 +520,21 @@ type CreateCardLink200 = {
|
|
|
157
520
|
url: string;
|
|
158
521
|
};
|
|
159
522
|
/**
|
|
160
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
523
|
+
* @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
|
|
161
524
|
*/
|
|
162
525
|
type CreateCardLink400 = Error$1;
|
|
163
526
|
/**
|
|
164
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
527
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
165
528
|
*/
|
|
166
529
|
type CreateCardLink401 = Error$1;
|
|
167
530
|
/**
|
|
168
531
|
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
169
532
|
*/
|
|
170
533
|
type CreateCardLink403 = Error$1;
|
|
534
|
+
/**
|
|
535
|
+
* @description Not Found — `error.code` includes: customer_not_registered.
|
|
536
|
+
*/
|
|
537
|
+
type CreateCardLink404 = Error$1;
|
|
171
538
|
/**
|
|
172
539
|
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
173
540
|
*/
|
|
@@ -178,31 +545,51 @@ declare const createCardLinkMutationRequestCurrencyEnum: {
|
|
|
178
545
|
readonly eur: "eur";
|
|
179
546
|
};
|
|
180
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];
|
|
181
565
|
type CreateCardLinkMutationRequest = {
|
|
182
|
-
/**
|
|
183
|
-
* @pattern ^\d+(\.\d{1,2})?$
|
|
184
|
-
* @type string | undefined
|
|
185
|
-
*/
|
|
186
|
-
amount_fiat_usd?: string;
|
|
187
566
|
/**
|
|
188
567
|
* @default "usd"
|
|
189
568
|
* @type string | undefined
|
|
190
569
|
*/
|
|
191
570
|
currency?: CreateCardLinkMutationRequestCurrencyEnumKey;
|
|
192
571
|
/**
|
|
193
|
-
* @
|
|
572
|
+
* @pattern ^[A-Z0-9]{2,10}$
|
|
194
573
|
* @default "USDC"
|
|
195
574
|
* @type string | undefined
|
|
196
575
|
*/
|
|
197
576
|
destination_asset?: string;
|
|
198
|
-
|
|
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;
|
|
199
586
|
};
|
|
200
587
|
type CreateCardLinkMutationResponse = CreateCardLink200;
|
|
201
588
|
type CreateCardLinkMutation = {
|
|
202
589
|
Response: CreateCardLink200;
|
|
203
590
|
Request: CreateCardLinkMutationRequest;
|
|
204
591
|
PathParams: CreateCardLinkPathParams;
|
|
205
|
-
Errors: CreateCardLink400 | CreateCardLink401 | CreateCardLink403 | CreateCardLink429;
|
|
592
|
+
Errors: CreateCardLink400 | CreateCardLink401 | CreateCardLink403 | CreateCardLink404 | CreateCardLink429;
|
|
206
593
|
};
|
|
207
594
|
type CreateCashAppOrderPathParams = {
|
|
208
595
|
/**
|
|
@@ -241,7 +628,7 @@ type CreateCashAppOrder200 = {
|
|
|
241
628
|
*/
|
|
242
629
|
amount_usd: string;
|
|
243
630
|
/**
|
|
244
|
-
* @description Chain id. Currently 1, 8453,
|
|
631
|
+
* @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
|
|
245
632
|
* @minLength -9007199254740991
|
|
246
633
|
* @maxLength 9007199254740991
|
|
247
634
|
* @type integer
|
|
@@ -289,6 +676,17 @@ type CreateCashAppOrder200 = {
|
|
|
289
676
|
*/
|
|
290
677
|
decimals: number;
|
|
291
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;
|
|
292
690
|
/**
|
|
293
691
|
* @type string
|
|
294
692
|
*/
|
|
@@ -299,11 +697,11 @@ type CreateCashAppOrder200 = {
|
|
|
299
697
|
token: string;
|
|
300
698
|
};
|
|
301
699
|
/**
|
|
302
|
-
* @description Bad Request — `error.code` includes: amount_too_large, invalid_wallet, 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.
|
|
303
701
|
*/
|
|
304
702
|
type CreateCashAppOrder400 = Error$1;
|
|
305
703
|
/**
|
|
306
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
704
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
307
705
|
*/
|
|
308
706
|
type CreateCashAppOrder401 = Error$1;
|
|
309
707
|
/**
|
|
@@ -322,6 +720,23 @@ type CreateCashAppOrder429 = Error$1;
|
|
|
322
720
|
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
323
721
|
*/
|
|
324
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];
|
|
325
740
|
type CreateCashAppOrderMutationRequest = {
|
|
326
741
|
/**
|
|
327
742
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
@@ -333,7 +748,15 @@ type CreateCashAppOrderMutationRequest = {
|
|
|
333
748
|
* @type string
|
|
334
749
|
*/
|
|
335
750
|
amount_usd: string;
|
|
336
|
-
|
|
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;
|
|
337
760
|
/**
|
|
338
761
|
* @type string
|
|
339
762
|
*/
|
|
@@ -391,13 +814,24 @@ type CreateCashAppQuote200 = {
|
|
|
391
814
|
*/
|
|
392
815
|
decimals: number;
|
|
393
816
|
};
|
|
394
|
-
|
|
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;
|
|
828
|
+
};
|
|
395
829
|
/**
|
|
396
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, 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.
|
|
397
831
|
*/
|
|
398
832
|
type CreateCashAppQuote400 = Error$1;
|
|
399
833
|
/**
|
|
400
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
834
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
401
835
|
*/
|
|
402
836
|
type CreateCashAppQuote401 = Error$1;
|
|
403
837
|
/**
|
|
@@ -412,13 +846,38 @@ type CreateCashAppQuote429 = Error$1;
|
|
|
412
846
|
* @description Bad Gateway — `error.code` includes: coinbase_spot_unavailable.
|
|
413
847
|
*/
|
|
414
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];
|
|
415
866
|
type CreateCashAppQuoteMutationRequest = {
|
|
416
867
|
/**
|
|
417
868
|
* @pattern ^\d+(\.\d{1,2})?$
|
|
418
869
|
* @type string
|
|
419
870
|
*/
|
|
420
871
|
amount_usd: string;
|
|
421
|
-
|
|
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;
|
|
422
881
|
/**
|
|
423
882
|
* @type string
|
|
424
883
|
*/
|
|
@@ -452,7 +911,7 @@ type CreateDepositAddress200 = {
|
|
|
452
911
|
*/
|
|
453
912
|
type CreateDepositAddress400 = Error$1;
|
|
454
913
|
/**
|
|
455
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
914
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
456
915
|
*/
|
|
457
916
|
type CreateDepositAddress401 = Error$1;
|
|
458
917
|
/**
|
|
@@ -467,16 +926,56 @@ type CreateDepositAddress404 = Error$1;
|
|
|
467
926
|
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
468
927
|
*/
|
|
469
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];
|
|
470
955
|
declare const createDepositAddressMutationRequestSourceTokenEnum: {
|
|
471
956
|
readonly eth: "eth";
|
|
472
957
|
readonly hype: "hype";
|
|
958
|
+
readonly mon: "mon";
|
|
959
|
+
readonly pol: "pol";
|
|
473
960
|
readonly usdc: "usdc";
|
|
961
|
+
readonly usdm: "usdm";
|
|
474
962
|
readonly usdt: "usdt";
|
|
475
963
|
};
|
|
476
964
|
type CreateDepositAddressMutationRequestSourceTokenEnumKey = (typeof createDepositAddressMutationRequestSourceTokenEnum)[keyof typeof createDepositAddressMutationRequestSourceTokenEnum];
|
|
477
965
|
type CreateDepositAddressMutationRequest = {
|
|
478
|
-
|
|
479
|
-
|
|
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;
|
|
480
979
|
/**
|
|
481
980
|
* @type string
|
|
482
981
|
*/
|
|
@@ -512,14 +1011,26 @@ type CreateExchangeWithdrawQuote200 = {
|
|
|
512
1011
|
* @type string
|
|
513
1012
|
*/
|
|
514
1013
|
amount: string;
|
|
515
|
-
|
|
516
|
-
|
|
1014
|
+
/**
|
|
1015
|
+
* @type number,null
|
|
1016
|
+
*/
|
|
1017
|
+
amount_no_fee: number | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* @type number,null
|
|
1020
|
+
*/
|
|
1021
|
+
amount_with_fee: number | null;
|
|
517
1022
|
/**
|
|
518
1023
|
* @type string
|
|
519
1024
|
*/
|
|
520
1025
|
asset: string;
|
|
521
|
-
|
|
522
|
-
|
|
1026
|
+
/**
|
|
1027
|
+
* @type number,null
|
|
1028
|
+
*/
|
|
1029
|
+
estimated_fee: number | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* @type number,null
|
|
1032
|
+
*/
|
|
1033
|
+
estimated_total: number | null;
|
|
523
1034
|
/**
|
|
524
1035
|
* @type string, date-time
|
|
525
1036
|
*/
|
|
@@ -534,11 +1045,11 @@ type CreateExchangeWithdrawQuote200 = {
|
|
|
534
1045
|
network: string;
|
|
535
1046
|
};
|
|
536
1047
|
/**
|
|
537
|
-
* @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.
|
|
538
1049
|
*/
|
|
539
1050
|
type CreateExchangeWithdrawQuote400 = Error$1;
|
|
540
1051
|
/**
|
|
541
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
1052
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
542
1053
|
*/
|
|
543
1054
|
type CreateExchangeWithdrawQuote401 = Error$1;
|
|
544
1055
|
/**
|
|
@@ -554,13 +1065,40 @@ type CreateExchangeWithdrawQuote404 = Error$1;
|
|
|
554
1065
|
*/
|
|
555
1066
|
type CreateExchangeWithdrawQuote409 = Error$1;
|
|
556
1067
|
/**
|
|
557
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
1068
|
+
* @description Too Many Requests — `error.code` includes: rate_limited, withdrawal_rate_limit_exceeded.
|
|
558
1069
|
*/
|
|
559
1070
|
type CreateExchangeWithdrawQuote429 = Error$1;
|
|
560
1071
|
/**
|
|
561
|
-
* @description Bad Gateway —
|
|
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.
|
|
562
1073
|
*/
|
|
563
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];
|
|
564
1102
|
type CreateExchangeWithdrawQuoteMutationRequest = {
|
|
565
1103
|
/**
|
|
566
1104
|
* @pattern ^\d+(\.\d+)?$
|
|
@@ -572,8 +1110,19 @@ type CreateExchangeWithdrawQuoteMutationRequest = {
|
|
|
572
1110
|
* @type string
|
|
573
1111
|
*/
|
|
574
1112
|
asset: string;
|
|
575
|
-
|
|
576
|
-
|
|
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;
|
|
577
1126
|
};
|
|
578
1127
|
type CreateExchangeWithdrawQuoteMutationResponse = CreateExchangeWithdrawQuote200;
|
|
579
1128
|
type CreateExchangeWithdrawQuoteMutation = {
|
|
@@ -604,11 +1153,11 @@ type CreateSessionDynamic200 = {
|
|
|
604
1153
|
wallet: string;
|
|
605
1154
|
};
|
|
606
1155
|
/**
|
|
607
|
-
* @description Bad Request — `error.code` includes:
|
|
1156
|
+
* @description Bad Request — `error.code` includes: invalid_wallet, malformed_token, publishable_key_missing, validation_error.
|
|
608
1157
|
*/
|
|
609
1158
|
type CreateSessionDynamic400 = Error$1;
|
|
610
1159
|
/**
|
|
611
|
-
* @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.
|
|
612
1161
|
*/
|
|
613
1162
|
type CreateSessionDynamic401 = Error$1;
|
|
614
1163
|
/**
|
|
@@ -647,11 +1196,11 @@ type CreateSessionPrivy200 = {
|
|
|
647
1196
|
wallet: string;
|
|
648
1197
|
};
|
|
649
1198
|
/**
|
|
650
|
-
* @description Bad Request — `error.code` includes:
|
|
1199
|
+
* @description Bad Request — `error.code` includes: invalid_wallet, malformed_token, publishable_key_missing, validation_error.
|
|
651
1200
|
*/
|
|
652
1201
|
type CreateSessionPrivy400 = Error$1;
|
|
653
1202
|
/**
|
|
654
|
-
* @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.
|
|
655
1204
|
*/
|
|
656
1205
|
type CreateSessionPrivy401 = Error$1;
|
|
657
1206
|
/**
|
|
@@ -690,11 +1239,11 @@ type CreateSessionSiwe200 = {
|
|
|
690
1239
|
wallet: string;
|
|
691
1240
|
};
|
|
692
1241
|
/**
|
|
693
|
-
* @description Bad Request — `error.code` includes: invalid_body,
|
|
1242
|
+
* @description Bad Request — `error.code` includes: invalid_body, invalid_wallet.
|
|
694
1243
|
*/
|
|
695
1244
|
type CreateSessionSiwe400 = Error$1;
|
|
696
1245
|
/**
|
|
697
|
-
* @description Unauthorized — `error.code` includes:
|
|
1246
|
+
* @description Unauthorized — `error.code` includes: binding_invalid, invalid_publishable_key, invalid_token, siwe_invalid, token_expired.
|
|
698
1247
|
*/
|
|
699
1248
|
type CreateSessionSiwe401 = Error$1;
|
|
700
1249
|
/**
|
|
@@ -756,7 +1305,7 @@ type CreateSiweNonce200 = {
|
|
|
756
1305
|
nonce: string;
|
|
757
1306
|
};
|
|
758
1307
|
/**
|
|
759
|
-
* @description Bad Request — `error.code` includes: invalid_wallet.
|
|
1308
|
+
* @description Bad Request — `error.code` includes: invalid_wallet, publishable_key_missing, validation_error.
|
|
760
1309
|
*/
|
|
761
1310
|
type CreateSiweNonce400 = Error$1;
|
|
762
1311
|
/**
|
|
@@ -794,7 +1343,7 @@ type CreateStripeAuthIntent200 = {
|
|
|
794
1343
|
*/
|
|
795
1344
|
type CreateStripeAuthIntent400 = Error$1;
|
|
796
1345
|
/**
|
|
797
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
1346
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
798
1347
|
*/
|
|
799
1348
|
type CreateStripeAuthIntent401 = Error$1;
|
|
800
1349
|
/**
|
|
@@ -847,7 +1396,7 @@ type CreateStripeCustomer204 = any;
|
|
|
847
1396
|
*/
|
|
848
1397
|
type CreateStripeCustomer400 = Error$1;
|
|
849
1398
|
/**
|
|
850
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
1399
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
|
|
851
1400
|
*/
|
|
852
1401
|
type CreateStripeCustomer401 = Error$1;
|
|
853
1402
|
/**
|
|
@@ -883,28 +1432,37 @@ type CreateStripeSessionPathParams = {
|
|
|
883
1432
|
* @description The opened onramp session.
|
|
884
1433
|
*/
|
|
885
1434
|
type CreateStripeSession200 = {
|
|
886
|
-
|
|
1435
|
+
/**
|
|
1436
|
+
* @type string,null
|
|
1437
|
+
*/
|
|
1438
|
+
destination_amount: string | null;
|
|
887
1439
|
/**
|
|
888
1440
|
* @type string
|
|
889
1441
|
*/
|
|
890
1442
|
order_id: string;
|
|
891
|
-
|
|
1443
|
+
/**
|
|
1444
|
+
* @type number,null
|
|
1445
|
+
*/
|
|
1446
|
+
quote_expires_at: number | null;
|
|
892
1447
|
/**
|
|
893
1448
|
* @type string
|
|
894
1449
|
*/
|
|
895
1450
|
session_id: string;
|
|
896
|
-
|
|
1451
|
+
/**
|
|
1452
|
+
* @type string,null
|
|
1453
|
+
*/
|
|
1454
|
+
source_amount: string | null;
|
|
897
1455
|
/**
|
|
898
1456
|
* @type string
|
|
899
1457
|
*/
|
|
900
1458
|
status: string;
|
|
901
1459
|
};
|
|
902
1460
|
/**
|
|
903
|
-
* @description Bad Request — `error.code` includes: 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.
|
|
904
1462
|
*/
|
|
905
1463
|
type CreateStripeSession400 = Error$1;
|
|
906
1464
|
/**
|
|
907
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
1465
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
|
|
908
1466
|
*/
|
|
909
1467
|
type CreateStripeSession401 = Error$1;
|
|
910
1468
|
/**
|
|
@@ -912,7 +1470,7 @@ type CreateStripeSession401 = Error$1;
|
|
|
912
1470
|
*/
|
|
913
1471
|
type CreateStripeSession403 = Error$1;
|
|
914
1472
|
/**
|
|
915
|
-
* @description Not Found — `error.code` includes: resource_missing.
|
|
1473
|
+
* @description Not Found — `error.code` includes: customer_not_registered, resource_missing.
|
|
916
1474
|
*/
|
|
917
1475
|
type CreateStripeSession404 = Error$1;
|
|
918
1476
|
/**
|
|
@@ -923,6 +1481,23 @@ type CreateStripeSession429 = Error$1;
|
|
|
923
1481
|
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
924
1482
|
*/
|
|
925
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];
|
|
926
1501
|
type CreateStripeSessionMutationRequest = {
|
|
927
1502
|
/**
|
|
928
1503
|
* @minLength 1
|
|
@@ -935,17 +1510,15 @@ type CreateStripeSessionMutationRequest = {
|
|
|
935
1510
|
*/
|
|
936
1511
|
destination_amount?: string;
|
|
937
1512
|
/**
|
|
938
|
-
* @
|
|
939
|
-
* @
|
|
940
|
-
* @type string | undefined
|
|
1513
|
+
* @default 999
|
|
1514
|
+
* @type number | undefined
|
|
941
1515
|
*/
|
|
942
|
-
|
|
1516
|
+
destination_chain?: CreateStripeSessionMutationRequestDestinationChainEnumKey;
|
|
943
1517
|
/**
|
|
944
|
-
* @
|
|
945
|
-
* @default "base"
|
|
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.
|
|
946
1519
|
* @type string | undefined
|
|
947
1520
|
*/
|
|
948
|
-
|
|
1521
|
+
destination_token?: CreateStripeSessionMutationRequestDestinationTokenEnumKey;
|
|
949
1522
|
/**
|
|
950
1523
|
* @minLength 1
|
|
951
1524
|
* @type string
|
|
@@ -990,7 +1563,7 @@ type CreateStripeTokens204 = any;
|
|
|
990
1563
|
*/
|
|
991
1564
|
type CreateStripeTokens400 = Error$1;
|
|
992
1565
|
/**
|
|
993
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
1566
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
994
1567
|
*/
|
|
995
1568
|
type CreateStripeTokens401 = Error$1;
|
|
996
1569
|
/**
|
|
@@ -1045,7 +1618,7 @@ type CreateSwapQuote200 = {
|
|
|
1045
1618
|
*/
|
|
1046
1619
|
type CreateSwapQuote400 = Error$1;
|
|
1047
1620
|
/**
|
|
1048
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
1621
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1049
1622
|
*/
|
|
1050
1623
|
type CreateSwapQuote401 = Error$1;
|
|
1051
1624
|
/**
|
|
@@ -1060,10 +1633,39 @@ type CreateSwapQuote429 = Error$1;
|
|
|
1060
1633
|
* @description Bad Gateway — `error.code` includes: bad_gateway.
|
|
1061
1634
|
*/
|
|
1062
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];
|
|
1063
1662
|
declare const createSwapQuoteMutationRequestSourceTokenEnum: {
|
|
1064
1663
|
readonly eth: "eth";
|
|
1065
1664
|
readonly hype: "hype";
|
|
1665
|
+
readonly mon: "mon";
|
|
1666
|
+
readonly pol: "pol";
|
|
1066
1667
|
readonly usdc: "usdc";
|
|
1668
|
+
readonly usdm: "usdm";
|
|
1067
1669
|
readonly usdt: "usdt";
|
|
1068
1670
|
};
|
|
1069
1671
|
type CreateSwapQuoteMutationRequestSourceTokenEnumKey = (typeof createSwapQuoteMutationRequestSourceTokenEnum)[keyof typeof createSwapQuoteMutationRequestSourceTokenEnum];
|
|
@@ -1079,8 +1681,19 @@ type CreateSwapQuoteMutationRequest = {
|
|
|
1079
1681
|
* @type string
|
|
1080
1682
|
*/
|
|
1081
1683
|
amount: string;
|
|
1082
|
-
|
|
1083
|
-
|
|
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;
|
|
1084
1697
|
/**
|
|
1085
1698
|
* @type string
|
|
1086
1699
|
*/
|
|
@@ -1109,11 +1722,11 @@ type CreateVirtualAccountPathParams = {
|
|
|
1109
1722
|
*/
|
|
1110
1723
|
type CreateVirtualAccount204 = any;
|
|
1111
1724
|
/**
|
|
1112
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, unsupported_chain, validation_error.
|
|
1725
|
+
* @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
|
|
1113
1726
|
*/
|
|
1114
1727
|
type CreateVirtualAccount400 = Error$1;
|
|
1115
1728
|
/**
|
|
1116
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
1729
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1117
1730
|
*/
|
|
1118
1731
|
type CreateVirtualAccount401 = Error$1;
|
|
1119
1732
|
/**
|
|
@@ -1136,18 +1749,43 @@ type CreateVirtualAccount429 = Error$1;
|
|
|
1136
1749
|
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
1137
1750
|
*/
|
|
1138
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];
|
|
1139
1762
|
declare const createVirtualAccountMutationRequestCurrencyEnum: {
|
|
1140
1763
|
readonly usd: "usd";
|
|
1141
1764
|
readonly gbp: "gbp";
|
|
1142
1765
|
readonly eur: "eur";
|
|
1143
1766
|
};
|
|
1144
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];
|
|
1145
1775
|
type CreateVirtualAccountMutationRequest = {
|
|
1146
|
-
|
|
1776
|
+
/**
|
|
1777
|
+
* @type number
|
|
1778
|
+
*/
|
|
1779
|
+
chain: CreateVirtualAccountMutationRequestChainEnumKey;
|
|
1147
1780
|
/**
|
|
1148
1781
|
* @type string
|
|
1149
1782
|
*/
|
|
1150
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;
|
|
1151
1789
|
};
|
|
1152
1790
|
type CreateVirtualAccountMutationResponse = CreateVirtualAccount204;
|
|
1153
1791
|
type CreateVirtualAccountMutation = {
|
|
@@ -1176,11 +1814,11 @@ type DisconnectExchangePathParams = {
|
|
|
1176
1814
|
*/
|
|
1177
1815
|
type DisconnectExchange204 = any;
|
|
1178
1816
|
/**
|
|
1179
|
-
* @description Bad Request — `error.code` includes: invalid_wallet.
|
|
1817
|
+
* @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet.
|
|
1180
1818
|
*/
|
|
1181
1819
|
type DisconnectExchange400 = Error$1;
|
|
1182
1820
|
/**
|
|
1183
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
1821
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1184
1822
|
*/
|
|
1185
1823
|
type DisconnectExchange401 = Error$1;
|
|
1186
1824
|
/**
|
|
@@ -1196,7 +1834,7 @@ type DisconnectExchange404 = Error$1;
|
|
|
1196
1834
|
*/
|
|
1197
1835
|
type DisconnectExchange429 = Error$1;
|
|
1198
1836
|
/**
|
|
1199
|
-
* @description Bad Gateway —
|
|
1837
|
+
* @description Bad Gateway — `error.code` includes: apikey_insufficient_permissions, exchange_provider_error, generic_internal_server_error, generic_unauthorized, wallet_invalid_credentials.
|
|
1200
1838
|
*/
|
|
1201
1839
|
type DisconnectExchange502 = Error$1;
|
|
1202
1840
|
type DisconnectExchangeMutationResponse = DisconnectExchange204;
|
|
@@ -1240,13 +1878,22 @@ type ExecuteExchangeWithdrawal200 = ({
|
|
|
1240
1878
|
* @type string
|
|
1241
1879
|
*/
|
|
1242
1880
|
asset: string;
|
|
1243
|
-
|
|
1881
|
+
/**
|
|
1882
|
+
* @type string,null, date-time
|
|
1883
|
+
*/
|
|
1884
|
+
completed_at: string | null;
|
|
1244
1885
|
/**
|
|
1245
1886
|
* @type string, date-time
|
|
1246
1887
|
*/
|
|
1247
1888
|
created_at: string;
|
|
1248
|
-
|
|
1249
|
-
|
|
1889
|
+
/**
|
|
1890
|
+
* @type string,null
|
|
1891
|
+
*/
|
|
1892
|
+
error_code: string | null;
|
|
1893
|
+
/**
|
|
1894
|
+
* @type string,null
|
|
1895
|
+
*/
|
|
1896
|
+
error_message: string | null;
|
|
1250
1897
|
/**
|
|
1251
1898
|
* @type string, uuid
|
|
1252
1899
|
*/
|
|
@@ -1259,7 +1906,10 @@ type ExecuteExchangeWithdrawal200 = ({
|
|
|
1259
1906
|
* @type string
|
|
1260
1907
|
*/
|
|
1261
1908
|
status: ExecuteExchangeWithdrawal200StatusEnumKey;
|
|
1262
|
-
|
|
1909
|
+
/**
|
|
1910
|
+
* @type string,null
|
|
1911
|
+
*/
|
|
1912
|
+
transaction_hash: string | null;
|
|
1263
1913
|
} | {
|
|
1264
1914
|
/**
|
|
1265
1915
|
* @type boolean
|
|
@@ -1267,11 +1917,11 @@ type ExecuteExchangeWithdrawal200 = ({
|
|
|
1267
1917
|
requires_2fa: true;
|
|
1268
1918
|
});
|
|
1269
1919
|
/**
|
|
1270
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
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.
|
|
1271
1921
|
*/
|
|
1272
1922
|
type ExecuteExchangeWithdrawal400 = Error$1;
|
|
1273
1923
|
/**
|
|
1274
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
1924
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1275
1925
|
*/
|
|
1276
1926
|
type ExecuteExchangeWithdrawal401 = Error$1;
|
|
1277
1927
|
/**
|
|
@@ -1287,11 +1937,11 @@ type ExecuteExchangeWithdrawal404 = Error$1;
|
|
|
1287
1937
|
*/
|
|
1288
1938
|
type ExecuteExchangeWithdrawal409 = Error$1;
|
|
1289
1939
|
/**
|
|
1290
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
1940
|
+
* @description Too Many Requests — `error.code` includes: rate_limited, withdrawal_rate_limit_exceeded.
|
|
1291
1941
|
*/
|
|
1292
1942
|
type ExecuteExchangeWithdrawal429 = Error$1;
|
|
1293
1943
|
/**
|
|
1294
|
-
* @description Bad Gateway — `error.code` includes: withdrawal_failed.
|
|
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.
|
|
1295
1945
|
*/
|
|
1296
1946
|
type ExecuteExchangeWithdrawal502 = Error$1;
|
|
1297
1947
|
type ExecuteExchangeWithdrawalMutationRequest = {
|
|
@@ -1314,7 +1964,10 @@ type ExecuteExchangeWithdrawalMutation = {
|
|
|
1314
1964
|
declare const getBalancePathParamsTokenEnum: {
|
|
1315
1965
|
readonly eth: "eth";
|
|
1316
1966
|
readonly hype: "hype";
|
|
1967
|
+
readonly mon: "mon";
|
|
1968
|
+
readonly pol: "pol";
|
|
1317
1969
|
readonly usdc: "usdc";
|
|
1970
|
+
readonly usdm: "usdm";
|
|
1318
1971
|
readonly usdt: "usdt";
|
|
1319
1972
|
};
|
|
1320
1973
|
type GetBalancePathParamsTokenEnumKey = (typeof getBalancePathParamsTokenEnum)[keyof typeof getBalancePathParamsTokenEnum];
|
|
@@ -1332,124 +1985,507 @@ type GetBalancePathParams = {
|
|
|
1332
1985
|
/**
|
|
1333
1986
|
* @type string
|
|
1334
1987
|
*/
|
|
1335
|
-
token: GetBalancePathParamsTokenEnumKey;
|
|
1336
|
-
};
|
|
1337
|
-
/**
|
|
1338
|
-
* @description The token balance.
|
|
1339
|
-
*/
|
|
1340
|
-
type GetBalance200 = {
|
|
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
|
+
};
|
|
2207
|
+
/**
|
|
2208
|
+
* @description Bad Request — `error.code` includes: invalid_wallet.
|
|
2209
|
+
*/
|
|
2210
|
+
type GetCardConfig400 = Error$1;
|
|
2211
|
+
/**
|
|
2212
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2213
|
+
*/
|
|
2214
|
+
type GetCardConfig401 = Error$1;
|
|
2215
|
+
/**
|
|
2216
|
+
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
2217
|
+
*/
|
|
2218
|
+
type GetCardConfig403 = Error$1;
|
|
2219
|
+
/**
|
|
2220
|
+
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
2221
|
+
*/
|
|
2222
|
+
type GetCardConfig429 = Error$1;
|
|
2223
|
+
/**
|
|
2224
|
+
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
2225
|
+
*/
|
|
2226
|
+
type GetCardConfig502 = Error$1;
|
|
2227
|
+
type GetCardConfigQueryResponse = GetCardConfig200;
|
|
2228
|
+
type GetCardConfigQuery = {
|
|
2229
|
+
Response: GetCardConfig200;
|
|
2230
|
+
PathParams: GetCardConfigPathParams;
|
|
2231
|
+
Errors: GetCardConfig400 | GetCardConfig401 | GetCardConfig403 | GetCardConfig429 | GetCardConfig502;
|
|
2232
|
+
};
|
|
2233
|
+
type GetCardCustomerPathParams = {
|
|
2234
|
+
/**
|
|
2235
|
+
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
2236
|
+
* @type string
|
|
2237
|
+
*/
|
|
2238
|
+
address: string;
|
|
2239
|
+
};
|
|
2240
|
+
/**
|
|
2241
|
+
* @description The saved registration + billing profile.
|
|
2242
|
+
*/
|
|
2243
|
+
type GetCardCustomer200 = {
|
|
2244
|
+
/**
|
|
2245
|
+
* @type object
|
|
2246
|
+
*/
|
|
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
|
+
};
|
|
2273
|
+
/**
|
|
2274
|
+
* @type object
|
|
2275
|
+
*/
|
|
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
|
+
};
|
|
2291
|
+
/**
|
|
2292
|
+
* @description Bad Request — `error.code` includes: invalid_wallet.
|
|
2293
|
+
*/
|
|
2294
|
+
type GetCardCustomer400 = Error$1;
|
|
2295
|
+
/**
|
|
2296
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2297
|
+
*/
|
|
2298
|
+
type GetCardCustomer401 = Error$1;
|
|
2299
|
+
/**
|
|
2300
|
+
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
2301
|
+
*/
|
|
2302
|
+
type GetCardCustomer403 = Error$1;
|
|
2303
|
+
/**
|
|
2304
|
+
* @description Not Found — `error.code` includes: card_customer_not_found.
|
|
2305
|
+
*/
|
|
2306
|
+
type GetCardCustomer404 = Error$1;
|
|
2307
|
+
/**
|
|
2308
|
+
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
2309
|
+
*/
|
|
2310
|
+
type GetCardCustomer429 = Error$1;
|
|
2311
|
+
type GetCardCustomerQueryResponse = GetCardCustomer200;
|
|
2312
|
+
type GetCardCustomerQuery = {
|
|
2313
|
+
Response: GetCardCustomer200;
|
|
2314
|
+
PathParams: GetCardCustomerPathParams;
|
|
2315
|
+
Errors: GetCardCustomer400 | GetCardCustomer401 | GetCardCustomer403 | GetCardCustomer404 | GetCardCustomer429;
|
|
2316
|
+
};
|
|
2317
|
+
type GetCardOrderPathParams = {
|
|
2318
|
+
/**
|
|
2319
|
+
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
2320
|
+
* @type string
|
|
2321
|
+
*/
|
|
2322
|
+
address: string;
|
|
2323
|
+
/**
|
|
2324
|
+
* @type string, uuid
|
|
2325
|
+
*/
|
|
2326
|
+
id: string;
|
|
2327
|
+
};
|
|
2328
|
+
declare const getCardOrder200ChainEnum: {
|
|
2329
|
+
readonly "1": 1;
|
|
2330
|
+
readonly "8453": 8453;
|
|
2331
|
+
readonly "999": 999;
|
|
2332
|
+
readonly "1337": 1337;
|
|
2333
|
+
readonly "4326": 4326;
|
|
2334
|
+
readonly "143": 143;
|
|
2335
|
+
readonly "137": 137;
|
|
2336
|
+
};
|
|
2337
|
+
type GetCardOrder200ChainEnumKey = (typeof getCardOrder200ChainEnum)[keyof typeof getCardOrder200ChainEnum];
|
|
2338
|
+
declare const getCardOrder200StatusEnum: {
|
|
2339
|
+
readonly submitted: "submitted";
|
|
2340
|
+
readonly processing: "processing";
|
|
2341
|
+
readonly completed: "completed";
|
|
2342
|
+
readonly failed: "failed";
|
|
2343
|
+
readonly requires_3ds: "requires_3ds";
|
|
2344
|
+
};
|
|
2345
|
+
type GetCardOrder200StatusEnumKey = (typeof getCardOrder200StatusEnum)[keyof typeof getCardOrder200StatusEnum];
|
|
2346
|
+
/**
|
|
2347
|
+
* @description The card order.
|
|
2348
|
+
*/
|
|
2349
|
+
type GetCardOrder200 = {
|
|
2350
|
+
/**
|
|
2351
|
+
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
2352
|
+
* @type string
|
|
2353
|
+
*/
|
|
2354
|
+
address: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* @type string
|
|
2357
|
+
*/
|
|
2358
|
+
amount_usd: string;
|
|
2359
|
+
/**
|
|
2360
|
+
* @type string
|
|
2361
|
+
*/
|
|
2362
|
+
asset: string;
|
|
2363
|
+
/**
|
|
2364
|
+
* @type string,null
|
|
2365
|
+
*/
|
|
2366
|
+
card_brand: string | null;
|
|
2367
|
+
/**
|
|
2368
|
+
* @type string,null
|
|
2369
|
+
*/
|
|
2370
|
+
card_last_four: string | null;
|
|
2371
|
+
/**
|
|
2372
|
+
* @type number
|
|
2373
|
+
*/
|
|
2374
|
+
chain: GetCardOrder200ChainEnumKey;
|
|
2375
|
+
/**
|
|
2376
|
+
* @type string, date-time
|
|
2377
|
+
*/
|
|
2378
|
+
created_at: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* @description Why the charge failed, drawn from the same set of codes a synchronous checkout answers with. Null unless the order failed.
|
|
2381
|
+
* @type string,null
|
|
2382
|
+
*/
|
|
2383
|
+
error_code: string | null;
|
|
2384
|
+
/**
|
|
2385
|
+
* @description Human-readable explanation of `error_code`.
|
|
2386
|
+
* @type string,null
|
|
2387
|
+
*/
|
|
2388
|
+
error_message: string | null;
|
|
1341
2389
|
/**
|
|
1342
|
-
* @type string
|
|
2390
|
+
* @type string, uuid
|
|
1343
2391
|
*/
|
|
1344
|
-
|
|
2392
|
+
id: string;
|
|
1345
2393
|
/**
|
|
1346
|
-
* @
|
|
1347
|
-
* @minLength -9007199254740991
|
|
1348
|
-
* @maxLength 9007199254740991
|
|
1349
|
-
* @type integer
|
|
2394
|
+
* @type string
|
|
1350
2395
|
*/
|
|
1351
|
-
|
|
1352
|
-
token: (string | null);
|
|
2396
|
+
source_currency: string;
|
|
1353
2397
|
/**
|
|
1354
|
-
* @type
|
|
2398
|
+
* @type string
|
|
1355
2399
|
*/
|
|
1356
|
-
|
|
2400
|
+
status: GetCardOrder200StatusEnumKey;
|
|
1357
2401
|
};
|
|
1358
2402
|
/**
|
|
1359
2403
|
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
1360
2404
|
*/
|
|
1361
|
-
type
|
|
2405
|
+
type GetCardOrder400 = Error$1;
|
|
1362
2406
|
/**
|
|
1363
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2407
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1364
2408
|
*/
|
|
1365
|
-
type
|
|
2409
|
+
type GetCardOrder401 = Error$1;
|
|
1366
2410
|
/**
|
|
1367
2411
|
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
1368
2412
|
*/
|
|
1369
|
-
type
|
|
2413
|
+
type GetCardOrder403 = Error$1;
|
|
1370
2414
|
/**
|
|
1371
|
-
* @description Not Found — `error.code` includes:
|
|
2415
|
+
* @description Not Found — `error.code` includes: order_not_found.
|
|
1372
2416
|
*/
|
|
1373
|
-
type
|
|
2417
|
+
type GetCardOrder404 = Error$1;
|
|
1374
2418
|
/**
|
|
1375
2419
|
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
1376
2420
|
*/
|
|
1377
|
-
type
|
|
1378
|
-
type
|
|
1379
|
-
type
|
|
1380
|
-
Response:
|
|
1381
|
-
PathParams:
|
|
1382
|
-
Errors:
|
|
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;
|
|
1383
2427
|
};
|
|
1384
|
-
type
|
|
2428
|
+
type GetCardQuotePathParams = {
|
|
1385
2429
|
/**
|
|
1386
2430
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
1387
2431
|
* @type string
|
|
1388
2432
|
*/
|
|
1389
2433
|
address: string;
|
|
1390
2434
|
};
|
|
1391
|
-
type
|
|
2435
|
+
type GetCardQuoteQueryParams = {
|
|
1392
2436
|
/**
|
|
1393
|
-
* @
|
|
1394
|
-
* @pattern ^\d+(,\d+)*$
|
|
2437
|
+
* @pattern ^\d{1,7}(\.\d{1,2})?$
|
|
1395
2438
|
* @type string | undefined
|
|
1396
2439
|
*/
|
|
1397
|
-
|
|
2440
|
+
amount_usd?: string;
|
|
1398
2441
|
};
|
|
1399
2442
|
/**
|
|
1400
|
-
* @description
|
|
2443
|
+
* @description The price estimate for the requested amount.
|
|
1401
2444
|
*/
|
|
1402
|
-
type
|
|
2445
|
+
type GetCardQuote200 = {
|
|
1403
2446
|
/**
|
|
1404
|
-
* @
|
|
1405
|
-
* @maxLength 9007199254740991
|
|
1406
|
-
* @type integer
|
|
2447
|
+
* @type string
|
|
1407
2448
|
*/
|
|
1408
|
-
|
|
2449
|
+
destination_amount: string;
|
|
1409
2450
|
/**
|
|
1410
|
-
* @type
|
|
2451
|
+
* @type number
|
|
1411
2452
|
*/
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
* @type integer
|
|
1422
|
-
*/
|
|
1423
|
-
chain: number;
|
|
1424
|
-
token: (string | null);
|
|
1425
|
-
/**
|
|
1426
|
-
* @type number
|
|
1427
|
-
*/
|
|
1428
|
-
usd_value: number;
|
|
1429
|
-
}[];
|
|
2453
|
+
exchange_rate: number;
|
|
2454
|
+
/**
|
|
2455
|
+
* @type string
|
|
2456
|
+
*/
|
|
2457
|
+
fees: string;
|
|
2458
|
+
/**
|
|
2459
|
+
* @type string
|
|
2460
|
+
*/
|
|
2461
|
+
source_amount: string;
|
|
1430
2462
|
};
|
|
1431
2463
|
/**
|
|
1432
2464
|
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
1433
2465
|
*/
|
|
1434
|
-
type
|
|
2466
|
+
type GetCardQuote400 = Error$1;
|
|
1435
2467
|
/**
|
|
1436
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2468
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1437
2469
|
*/
|
|
1438
|
-
type
|
|
2470
|
+
type GetCardQuote401 = Error$1;
|
|
1439
2471
|
/**
|
|
1440
2472
|
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
1441
2473
|
*/
|
|
1442
|
-
type
|
|
2474
|
+
type GetCardQuote403 = Error$1;
|
|
1443
2475
|
/**
|
|
1444
2476
|
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
1445
2477
|
*/
|
|
1446
|
-
type
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
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;
|
|
1453
2489
|
};
|
|
1454
2490
|
type GetCashAppOrderPathParams = {
|
|
1455
2491
|
/**
|
|
@@ -1492,7 +2528,7 @@ type GetCashAppOrder200 = {
|
|
|
1492
2528
|
*/
|
|
1493
2529
|
amount_usd: string;
|
|
1494
2530
|
/**
|
|
1495
|
-
* @description Chain id. Currently 1, 8453,
|
|
2531
|
+
* @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
|
|
1496
2532
|
* @minLength -9007199254740991
|
|
1497
2533
|
* @maxLength 9007199254740991
|
|
1498
2534
|
* @type integer
|
|
@@ -1540,6 +2576,17 @@ type GetCashAppOrder200 = {
|
|
|
1540
2576
|
*/
|
|
1541
2577
|
decimals: number;
|
|
1542
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;
|
|
1543
2590
|
/**
|
|
1544
2591
|
* @type string
|
|
1545
2592
|
*/
|
|
@@ -1554,7 +2601,7 @@ type GetCashAppOrder200 = {
|
|
|
1554
2601
|
*/
|
|
1555
2602
|
type GetCashAppOrder400 = Error$1;
|
|
1556
2603
|
/**
|
|
1557
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2604
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1558
2605
|
*/
|
|
1559
2606
|
type GetCashAppOrder401 = Error$1;
|
|
1560
2607
|
/**
|
|
@@ -1598,19 +2645,25 @@ type GetExchange200 = {
|
|
|
1598
2645
|
* @type boolean
|
|
1599
2646
|
*/
|
|
1600
2647
|
connected: boolean;
|
|
1601
|
-
|
|
2648
|
+
/**
|
|
2649
|
+
* @type string,null, date-time
|
|
2650
|
+
*/
|
|
2651
|
+
connected_at: string | null;
|
|
1602
2652
|
/**
|
|
1603
2653
|
* @type string
|
|
1604
2654
|
*/
|
|
1605
2655
|
exchange: string;
|
|
1606
|
-
|
|
2656
|
+
/**
|
|
2657
|
+
* @type string,null, uuid
|
|
2658
|
+
*/
|
|
2659
|
+
id: string | null;
|
|
1607
2660
|
};
|
|
1608
2661
|
/**
|
|
1609
|
-
* @description Bad Request — `error.code` includes: invalid_wallet.
|
|
2662
|
+
* @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet.
|
|
1610
2663
|
*/
|
|
1611
2664
|
type GetExchange400 = Error$1;
|
|
1612
2665
|
/**
|
|
1613
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2666
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1614
2667
|
*/
|
|
1615
2668
|
type GetExchange401 = Error$1;
|
|
1616
2669
|
/**
|
|
@@ -1626,7 +2679,7 @@ type GetExchange404 = Error$1;
|
|
|
1626
2679
|
*/
|
|
1627
2680
|
type GetExchange429 = Error$1;
|
|
1628
2681
|
/**
|
|
1629
|
-
* @description Bad Gateway —
|
|
2682
|
+
* @description Bad Gateway — `error.code` includes: apikey_insufficient_permissions, exchange_provider_error, generic_internal_server_error, generic_unauthorized, wallet_invalid_credentials.
|
|
1630
2683
|
*/
|
|
1631
2684
|
type GetExchange502 = Error$1;
|
|
1632
2685
|
type GetExchangeQueryResponse = GetExchange200;
|
|
@@ -1662,7 +2715,10 @@ type GetExchangeAssets200 = {
|
|
|
1662
2715
|
* @type number
|
|
1663
2716
|
*/
|
|
1664
2717
|
amount: number;
|
|
1665
|
-
|
|
2718
|
+
/**
|
|
2719
|
+
* @type number,null
|
|
2720
|
+
*/
|
|
2721
|
+
amount_in_fiat: number | null;
|
|
1666
2722
|
/**
|
|
1667
2723
|
* @type string
|
|
1668
2724
|
*/
|
|
@@ -1671,7 +2727,12 @@ type GetExchangeAssets200 = {
|
|
|
1671
2727
|
* @type array
|
|
1672
2728
|
*/
|
|
1673
2729
|
networks: {
|
|
1674
|
-
|
|
2730
|
+
/**
|
|
2731
|
+
* @minLength -9007199254740991
|
|
2732
|
+
* @maxLength 9007199254740991
|
|
2733
|
+
* @type integer,null
|
|
2734
|
+
*/
|
|
2735
|
+
chain_id: number | null;
|
|
1675
2736
|
/**
|
|
1676
2737
|
* @type string
|
|
1677
2738
|
*/
|
|
@@ -1680,7 +2741,10 @@ type GetExchangeAssets200 = {
|
|
|
1680
2741
|
* @type string
|
|
1681
2742
|
*/
|
|
1682
2743
|
id: string;
|
|
1683
|
-
|
|
2744
|
+
/**
|
|
2745
|
+
* @type string,null
|
|
2746
|
+
*/
|
|
2747
|
+
max_withdrawal: string | null;
|
|
1684
2748
|
/**
|
|
1685
2749
|
* @type string
|
|
1686
2750
|
*/
|
|
@@ -1697,11 +2761,11 @@ type GetExchangeAssets200 = {
|
|
|
1697
2761
|
last_sync_at: string;
|
|
1698
2762
|
};
|
|
1699
2763
|
/**
|
|
1700
|
-
* @description Bad Request — `error.code` includes: invalid_wallet.
|
|
2764
|
+
* @description Bad Request — `error.code` includes: generic_invalid_request, generic_validation_error, invalid_wallet.
|
|
1701
2765
|
*/
|
|
1702
2766
|
type GetExchangeAssets400 = Error$1;
|
|
1703
2767
|
/**
|
|
1704
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2768
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1705
2769
|
*/
|
|
1706
2770
|
type GetExchangeAssets401 = Error$1;
|
|
1707
2771
|
/**
|
|
@@ -1721,7 +2785,7 @@ type GetExchangeAssets409 = Error$1;
|
|
|
1721
2785
|
*/
|
|
1722
2786
|
type GetExchangeAssets429 = Error$1;
|
|
1723
2787
|
/**
|
|
1724
|
-
* @description Bad Gateway —
|
|
2788
|
+
* @description Bad Gateway — `error.code` includes: apikey_insufficient_permissions, exchange_provider_error, generic_internal_server_error, generic_unauthorized, wallet_invalid_credentials.
|
|
1725
2789
|
*/
|
|
1726
2790
|
type GetExchangeAssets502 = Error$1;
|
|
1727
2791
|
type GetExchangeAssetsQueryResponse = GetExchangeAssets200;
|
|
@@ -1769,13 +2833,22 @@ type GetExchangeWithdrawal200 = {
|
|
|
1769
2833
|
* @type string
|
|
1770
2834
|
*/
|
|
1771
2835
|
asset: string;
|
|
1772
|
-
|
|
2836
|
+
/**
|
|
2837
|
+
* @type string,null, date-time
|
|
2838
|
+
*/
|
|
2839
|
+
completed_at: string | null;
|
|
1773
2840
|
/**
|
|
1774
2841
|
* @type string, date-time
|
|
1775
2842
|
*/
|
|
1776
2843
|
created_at: string;
|
|
1777
|
-
|
|
1778
|
-
|
|
2844
|
+
/**
|
|
2845
|
+
* @type string,null
|
|
2846
|
+
*/
|
|
2847
|
+
error_code: string | null;
|
|
2848
|
+
/**
|
|
2849
|
+
* @type string,null
|
|
2850
|
+
*/
|
|
2851
|
+
error_message: string | null;
|
|
1779
2852
|
/**
|
|
1780
2853
|
* @type string, uuid
|
|
1781
2854
|
*/
|
|
@@ -1788,14 +2861,17 @@ type GetExchangeWithdrawal200 = {
|
|
|
1788
2861
|
* @type string
|
|
1789
2862
|
*/
|
|
1790
2863
|
status: GetExchangeWithdrawal200StatusEnumKey;
|
|
1791
|
-
|
|
2864
|
+
/**
|
|
2865
|
+
* @type string,null
|
|
2866
|
+
*/
|
|
2867
|
+
transaction_hash: string | null;
|
|
1792
2868
|
};
|
|
1793
2869
|
/**
|
|
1794
2870
|
* @description Bad Request — `error.code` includes: invalid_wallet.
|
|
1795
2871
|
*/
|
|
1796
2872
|
type GetExchangeWithdrawal400 = Error$1;
|
|
1797
2873
|
/**
|
|
1798
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2874
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1799
2875
|
*/
|
|
1800
2876
|
type GetExchangeWithdrawal401 = Error$1;
|
|
1801
2877
|
/**
|
|
@@ -1867,7 +2943,7 @@ type GetIdentityVerificationLink200 = {
|
|
|
1867
2943
|
*/
|
|
1868
2944
|
type GetIdentityVerificationLink400 = Error$1;
|
|
1869
2945
|
/**
|
|
1870
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2946
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1871
2947
|
*/
|
|
1872
2948
|
type GetIdentityVerificationLink401 = Error$1;
|
|
1873
2949
|
/**
|
|
@@ -1913,7 +2989,7 @@ type GetStripeConfig200 = {
|
|
|
1913
2989
|
*/
|
|
1914
2990
|
type GetStripeConfig400 = Error$1;
|
|
1915
2991
|
/**
|
|
1916
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2992
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1917
2993
|
*/
|
|
1918
2994
|
type GetStripeConfig401 = Error$1;
|
|
1919
2995
|
/**
|
|
@@ -1964,7 +3040,7 @@ type GetStripeCustomerStatus200 = {
|
|
|
1964
3040
|
*/
|
|
1965
3041
|
type GetStripeCustomerStatus400 = Error$1;
|
|
1966
3042
|
/**
|
|
1967
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
3043
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
|
|
1968
3044
|
*/
|
|
1969
3045
|
type GetStripeCustomerStatus401 = Error$1;
|
|
1970
3046
|
/**
|
|
@@ -2022,7 +3098,17 @@ type GetStripeOrder200 = {
|
|
|
2022
3098
|
* @type string, date-time
|
|
2023
3099
|
*/
|
|
2024
3100
|
created_at: string;
|
|
2025
|
-
|
|
3101
|
+
/**
|
|
3102
|
+
* @type string,null
|
|
3103
|
+
*/
|
|
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;
|
|
2026
3112
|
/**
|
|
2027
3113
|
* @type string
|
|
2028
3114
|
*/
|
|
@@ -2035,7 +3121,10 @@ type GetStripeOrder200 = {
|
|
|
2035
3121
|
* @type string, uuid
|
|
2036
3122
|
*/
|
|
2037
3123
|
id: string;
|
|
2038
|
-
|
|
3124
|
+
/**
|
|
3125
|
+
* @type string,null
|
|
3126
|
+
*/
|
|
3127
|
+
source_amount: string | null;
|
|
2039
3128
|
/**
|
|
2040
3129
|
* @type string
|
|
2041
3130
|
*/
|
|
@@ -2050,7 +3139,7 @@ type GetStripeOrder200 = {
|
|
|
2050
3139
|
*/
|
|
2051
3140
|
type GetStripeOrder400 = Error$1;
|
|
2052
3141
|
/**
|
|
2053
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
3142
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2054
3143
|
*/
|
|
2055
3144
|
type GetStripeOrder401 = Error$1;
|
|
2056
3145
|
/**
|
|
@@ -2137,7 +3226,7 @@ type GetStripeQuote200 = {
|
|
|
2137
3226
|
*/
|
|
2138
3227
|
type GetStripeQuote400 = Error$1;
|
|
2139
3228
|
/**
|
|
2140
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
3229
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2141
3230
|
*/
|
|
2142
3231
|
type GetStripeQuote401 = Error$1;
|
|
2143
3232
|
/**
|
|
@@ -2188,7 +3277,7 @@ type GetStripeStatus200 = {
|
|
|
2188
3277
|
*/
|
|
2189
3278
|
type GetStripeStatus400 = Error$1;
|
|
2190
3279
|
/**
|
|
2191
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
3280
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2192
3281
|
*/
|
|
2193
3282
|
type GetStripeStatus401 = Error$1;
|
|
2194
3283
|
/**
|
|
@@ -2226,7 +3315,7 @@ type GetTermsOfServiceLink200 = {
|
|
|
2226
3315
|
*/
|
|
2227
3316
|
type GetTermsOfServiceLink400 = Error$1;
|
|
2228
3317
|
/**
|
|
2229
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
3318
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2230
3319
|
*/
|
|
2231
3320
|
type GetTermsOfServiceLink401 = Error$1;
|
|
2232
3321
|
/**
|
|
@@ -2278,8 +3367,14 @@ type GetWallet200 = {
|
|
|
2278
3367
|
* @type string, date-time
|
|
2279
3368
|
*/
|
|
2280
3369
|
created_at: string;
|
|
2281
|
-
|
|
2282
|
-
|
|
3370
|
+
/**
|
|
3371
|
+
* @type string,null, date-time
|
|
3372
|
+
*/
|
|
3373
|
+
deleted_at: string | null;
|
|
3374
|
+
/**
|
|
3375
|
+
* @type string,null, date-time
|
|
3376
|
+
*/
|
|
3377
|
+
form_filled_at: string | null;
|
|
2283
3378
|
/**
|
|
2284
3379
|
* @type boolean
|
|
2285
3380
|
*/
|
|
@@ -2288,9 +3383,18 @@ type GetWallet200 = {
|
|
|
2288
3383
|
* @type string
|
|
2289
3384
|
*/
|
|
2290
3385
|
identity_verification_status: GetWallet200IdentityVerificationStatusEnumKey;
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
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;
|
|
2294
3398
|
/**
|
|
2295
3399
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
2296
3400
|
* @type string
|
|
@@ -2302,7 +3406,7 @@ type GetWallet200 = {
|
|
|
2302
3406
|
*/
|
|
2303
3407
|
type GetWallet400 = Error$1;
|
|
2304
3408
|
/**
|
|
2305
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
3409
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2306
3410
|
*/
|
|
2307
3411
|
type GetWallet401 = Error$1;
|
|
2308
3412
|
/**
|
|
@@ -2323,6 +3427,152 @@ type GetWalletQuery = {
|
|
|
2323
3427
|
PathParams: GetWalletPathParams;
|
|
2324
3428
|
Errors: GetWallet400 | GetWallet401 | GetWallet403 | GetWallet404 | GetWallet429;
|
|
2325
3429
|
};
|
|
3430
|
+
type ListCryptoDepositsPathParams = {
|
|
3431
|
+
/**
|
|
3432
|
+
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
3433
|
+
* @type string
|
|
3434
|
+
*/
|
|
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 = {
|
|
3448
|
+
/**
|
|
3449
|
+
* @minLength -9007199254740991
|
|
3450
|
+
* @maxLength 9007199254740991
|
|
3451
|
+
* @type integer
|
|
3452
|
+
*/
|
|
3453
|
+
count: number;
|
|
3454
|
+
/**
|
|
3455
|
+
* @type array
|
|
3456
|
+
*/
|
|
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
|
+
}[];
|
|
3549
|
+
};
|
|
3550
|
+
/**
|
|
3551
|
+
* @description Bad Request — `error.code` includes: invalid_wallet.
|
|
3552
|
+
*/
|
|
3553
|
+
type ListCryptoDeposits400 = Error$1;
|
|
3554
|
+
/**
|
|
3555
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
3556
|
+
*/
|
|
3557
|
+
type ListCryptoDeposits401 = Error$1;
|
|
3558
|
+
/**
|
|
3559
|
+
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
3560
|
+
*/
|
|
3561
|
+
type ListCryptoDeposits403 = Error$1;
|
|
3562
|
+
/**
|
|
3563
|
+
* @description Not Found — `error.code` includes: customer_not_registered.
|
|
3564
|
+
*/
|
|
3565
|
+
type ListCryptoDeposits404 = Error$1;
|
|
3566
|
+
/**
|
|
3567
|
+
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
3568
|
+
*/
|
|
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;
|
|
3575
|
+
};
|
|
2326
3576
|
type ListStripePaymentTokensPathParams = {
|
|
2327
3577
|
/**
|
|
2328
3578
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
@@ -2364,7 +3614,7 @@ type ListStripePaymentTokens200 = {
|
|
|
2364
3614
|
*/
|
|
2365
3615
|
type ListStripePaymentTokens400 = Error$1;
|
|
2366
3616
|
/**
|
|
2367
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
3617
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
|
|
2368
3618
|
*/
|
|
2369
3619
|
type ListStripePaymentTokens401 = Error$1;
|
|
2370
3620
|
/**
|
|
@@ -2439,7 +3689,7 @@ type ListStripeWallets200 = {
|
|
|
2439
3689
|
*/
|
|
2440
3690
|
type ListStripeWallets400 = Error$1;
|
|
2441
3691
|
/**
|
|
2442
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
3692
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, stripe_auth_required, token_expired.
|
|
2443
3693
|
*/
|
|
2444
3694
|
type ListStripeWallets401 = Error$1;
|
|
2445
3695
|
/**
|
|
@@ -2493,7 +3743,7 @@ type ListVirtualAccounts200 = {
|
|
|
2493
3743
|
*/
|
|
2494
3744
|
data: {
|
|
2495
3745
|
/**
|
|
2496
|
-
* @description Chain id. Currently 1, 8453,
|
|
3746
|
+
* @description Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137 — additive; tolerate unknown values.
|
|
2497
3747
|
* @minLength -9007199254740991
|
|
2498
3748
|
* @maxLength 9007199254740991
|
|
2499
3749
|
* @type integer
|
|
@@ -2503,6 +3753,11 @@ type ListVirtualAccounts200 = {
|
|
|
2503
3753
|
* @type string
|
|
2504
3754
|
*/
|
|
2505
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;
|
|
2506
3761
|
/**
|
|
2507
3762
|
* @type string, uuid
|
|
2508
3763
|
*/
|
|
@@ -2520,7 +3775,7 @@ type ListVirtualAccounts200 = {
|
|
|
2520
3775
|
*/
|
|
2521
3776
|
type ListVirtualAccounts400 = Error$1;
|
|
2522
3777
|
/**
|
|
2523
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
3778
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2524
3779
|
*/
|
|
2525
3780
|
type ListVirtualAccounts401 = Error$1;
|
|
2526
3781
|
/**
|
|
@@ -2596,11 +3851,11 @@ type RegisterWalletPathParams = {
|
|
|
2596
3851
|
*/
|
|
2597
3852
|
type RegisterWallet204 = any;
|
|
2598
3853
|
/**
|
|
2599
|
-
* @description Bad Request — `error.code` includes:
|
|
3854
|
+
* @description Bad Request — `error.code` includes: bad_customer_request, invalid_parameters, invalid_wallet, validation_error.
|
|
2600
3855
|
*/
|
|
2601
3856
|
type RegisterWallet400 = Error$1;
|
|
2602
3857
|
/**
|
|
2603
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
3858
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2604
3859
|
*/
|
|
2605
3860
|
type RegisterWallet401 = Error$1;
|
|
2606
3861
|
/**
|
|
@@ -2664,7 +3919,7 @@ type SubmitIdentityVerification204 = any;
|
|
|
2664
3919
|
*/
|
|
2665
3920
|
type SubmitIdentityVerification400 = Error$1;
|
|
2666
3921
|
/**
|
|
2667
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
3922
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2668
3923
|
*/
|
|
2669
3924
|
type SubmitIdentityVerification401 = Error$1;
|
|
2670
3925
|
/**
|
|
@@ -2701,7 +3956,7 @@ type SubmitTermsOfService204 = any;
|
|
|
2701
3956
|
*/
|
|
2702
3957
|
type SubmitTermsOfService400 = Error$1;
|
|
2703
3958
|
/**
|
|
2704
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
3959
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2705
3960
|
*/
|
|
2706
3961
|
type SubmitTermsOfService401 = Error$1;
|
|
2707
3962
|
/**
|
|
@@ -2738,11 +3993,11 @@ type UpdateVirtualAccountPathParams = {
|
|
|
2738
3993
|
*/
|
|
2739
3994
|
type UpdateVirtualAccount204 = any;
|
|
2740
3995
|
/**
|
|
2741
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, unsupported_chain, validation_error.
|
|
3996
|
+
* @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, unsupported_chain, validation_error.
|
|
2742
3997
|
*/
|
|
2743
3998
|
type UpdateVirtualAccount400 = Error$1;
|
|
2744
3999
|
/**
|
|
2745
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
4000
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2746
4001
|
*/
|
|
2747
4002
|
type UpdateVirtualAccount401 = Error$1;
|
|
2748
4003
|
/**
|
|
@@ -2753,6 +4008,10 @@ type UpdateVirtualAccount403 = Error$1;
|
|
|
2753
4008
|
* @description Not Found — `error.code` includes: customer_not_registered, virtual_account_not_found.
|
|
2754
4009
|
*/
|
|
2755
4010
|
type UpdateVirtualAccount404 = Error$1;
|
|
4011
|
+
/**
|
|
4012
|
+
* @description Conflict — `error.code` includes: virtual_account_exists.
|
|
4013
|
+
*/
|
|
4014
|
+
type UpdateVirtualAccount409 = Error$1;
|
|
2756
4015
|
/**
|
|
2757
4016
|
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
2758
4017
|
*/
|
|
@@ -2761,15 +4020,40 @@ type UpdateVirtualAccount429 = Error$1;
|
|
|
2761
4020
|
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
2762
4021
|
*/
|
|
2763
4022
|
type UpdateVirtualAccount502 = Error$1;
|
|
4023
|
+
declare const updateVirtualAccountMutationRequestChainEnum: {
|
|
4024
|
+
readonly "1": 1;
|
|
4025
|
+
readonly "8453": 8453;
|
|
4026
|
+
readonly "999": 999;
|
|
4027
|
+
readonly "1337": 1337;
|
|
4028
|
+
readonly "4326": 4326;
|
|
4029
|
+
readonly "143": 143;
|
|
4030
|
+
readonly "137": 137;
|
|
4031
|
+
};
|
|
4032
|
+
type UpdateVirtualAccountMutationRequestChainEnumKey = (typeof updateVirtualAccountMutationRequestChainEnum)[keyof typeof updateVirtualAccountMutationRequestChainEnum];
|
|
4033
|
+
declare const updateVirtualAccountMutationRequestDestinationTokenEnum: {
|
|
4034
|
+
readonly usdc: "usdc";
|
|
4035
|
+
readonly usdm: "usdm";
|
|
4036
|
+
readonly ausd: "ausd";
|
|
4037
|
+
readonly "usdc.e": "usdc.e";
|
|
4038
|
+
};
|
|
4039
|
+
type UpdateVirtualAccountMutationRequestDestinationTokenEnumKey = (typeof updateVirtualAccountMutationRequestDestinationTokenEnum)[keyof typeof updateVirtualAccountMutationRequestDestinationTokenEnum];
|
|
2764
4040
|
type UpdateVirtualAccountMutationRequest = {
|
|
2765
|
-
|
|
4041
|
+
/**
|
|
4042
|
+
* @type number
|
|
4043
|
+
*/
|
|
4044
|
+
chain: UpdateVirtualAccountMutationRequestChainEnumKey;
|
|
4045
|
+
/**
|
|
4046
|
+
* @description Payout token. Defaults to the destination chain\'s own — only Monad (143: `usdc`, `ausd`) and Polygon (137: `usdc`, `usdc.e`) offer a choice. A token the chain doesn\'t pay out is a 400.
|
|
4047
|
+
* @type string | undefined
|
|
4048
|
+
*/
|
|
4049
|
+
destination_token?: UpdateVirtualAccountMutationRequestDestinationTokenEnumKey;
|
|
2766
4050
|
};
|
|
2767
4051
|
type UpdateVirtualAccountMutationResponse = UpdateVirtualAccount204;
|
|
2768
4052
|
type UpdateVirtualAccountMutation = {
|
|
2769
4053
|
Response: UpdateVirtualAccount204;
|
|
2770
4054
|
Request: UpdateVirtualAccountMutationRequest;
|
|
2771
4055
|
PathParams: UpdateVirtualAccountPathParams;
|
|
2772
|
-
Errors: UpdateVirtualAccount400 | UpdateVirtualAccount401 | UpdateVirtualAccount403 | UpdateVirtualAccount404 | UpdateVirtualAccount429 | UpdateVirtualAccount502;
|
|
4056
|
+
Errors: UpdateVirtualAccount400 | UpdateVirtualAccount401 | UpdateVirtualAccount403 | UpdateVirtualAccount404 | UpdateVirtualAccount409 | UpdateVirtualAccount429 | UpdateVirtualAccount502;
|
|
2773
4057
|
};
|
|
2774
4058
|
type RequestCredentials = "omit" | "same-origin" | "include";
|
|
2775
4059
|
type RequestConfig<TData = unknown> = {
|
|
@@ -2809,6 +4093,14 @@ declare class ApiError extends Error {
|
|
|
2809
4093
|
declare function getConfig(): Partial<RequestConfig>;
|
|
2810
4094
|
declare function setConfig(config: Partial<RequestConfig>): Partial<RequestConfig>;
|
|
2811
4095
|
declare const client: Client;
|
|
4096
|
+
/**
|
|
4097
|
+
* @description Submits a card checkout for the session wallet using encrypted card details collected by the SDK. Every chain is a valid `chain`: the ones the card provider settles to directly are delivered by it, and the rest are routed on arrival, which requires a registered wallet.
|
|
4098
|
+
* @summary Submit card checkout
|
|
4099
|
+
* {@link /v1/wallets/:address/card/checkout}
|
|
4100
|
+
*/
|
|
4101
|
+
declare function checkoutCard(address: CheckoutCardPathParams["address"], data: CheckoutCardMutationRequest, config?: Partial<RequestConfig<CheckoutCardMutationRequest>> & {
|
|
4102
|
+
client?: Client;
|
|
4103
|
+
}): Promise<CheckoutCard200>;
|
|
2812
4104
|
/**
|
|
2813
4105
|
* @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.
|
|
2814
4106
|
* @summary Check out a Stripe onramp session
|
|
@@ -2834,7 +4126,15 @@ declare function connectExchange(address: ConnectExchangePathParams["address"],
|
|
|
2834
4126
|
client?: Client;
|
|
2835
4127
|
}): Promise<ConnectExchange200>;
|
|
2836
4128
|
/**
|
|
2837
|
-
* @description Returns the hosted
|
|
4129
|
+
* @description Returns the signed authorization the hosted deposit flow requires before it will accept a deposit. The destination is the session wallet and the destination chain's payout token — USDC on most chains, USDm on MegaETH (`4326`) — or the token named by `destination_token` where the chain offers a choice. The authorization is short-lived.
|
|
4130
|
+
* @summary Authorize a deposit
|
|
4131
|
+
* {@link /v1/wallets/:address/blink/signature}
|
|
4132
|
+
*/
|
|
4133
|
+
declare function createBlinkSignature(address: CreateBlinkSignaturePathParams["address"], data: CreateBlinkSignatureMutationRequest, config?: Partial<RequestConfig<CreateBlinkSignatureMutationRequest>> & {
|
|
4134
|
+
client?: Client;
|
|
4135
|
+
}): Promise<CreateBlinkSignature200>;
|
|
4136
|
+
/**
|
|
4137
|
+
* @description Returns the hosted card-onramp URL for the wallet. The card provider authenticates the cardholder and settles USDC to the wallet. Every chain is a valid `destination_chain`: the ones the card provider settles to directly are delivered by it, and the rest are routed on arrival, which ignores `destination_asset` and delivers to the session wallet.
|
|
2838
4138
|
* @summary Get the card-onramp link
|
|
2839
4139
|
* {@link /v1/wallets/:address/card}
|
|
2840
4140
|
*/
|
|
@@ -2842,7 +4142,7 @@ declare function createCardLink(address: CreateCardLinkPathParams["address"], da
|
|
|
2842
4142
|
client?: Client;
|
|
2843
4143
|
}): Promise<CreateCardLink200>;
|
|
2844
4144
|
/**
|
|
2845
|
-
* @description Opens a Cash App onramp order and returns it, including the Cash App payment link. Poll `GET .../cashapp/:id` for status.
|
|
4145
|
+
* @description Opens a Cash App onramp order and returns it, including the Cash App payment link. Poll `GET .../cashapp/:id` for status. Every chain is a valid `chain`: the ones Cash App settles to directly are delivered by it, and the rest are routed on arrival, which requires a registered wallet and delivers to the session wallet — pass it as `address` or the request is refused.
|
|
2846
4146
|
* @summary Create a Cash App order
|
|
2847
4147
|
* {@link /v1/wallets/:address/cashapp}
|
|
2848
4148
|
*/
|
|
@@ -2850,7 +4150,7 @@ declare function createCashAppOrder(address: CreateCashAppOrderPathParams["addre
|
|
|
2850
4150
|
client?: Client;
|
|
2851
4151
|
}): Promise<CreateCashAppOrder200>;
|
|
2852
4152
|
/**
|
|
2853
|
-
* @description Returns a pricing preview for a Cash App order — the destination amount, the fee, and the fee in basis points.
|
|
4153
|
+
* @description Returns a pricing preview for a Cash App order — the destination amount, the fee, and the fee in basis points. Every chain is a valid `chain`: the ones Cash App settles to directly are quoted against the destination, and the rest are quoted against the chain the order settles on before it is routed onward, which `routed` and `settlement_chain` name.
|
|
2854
4154
|
* @summary Quote a Cash App order
|
|
2855
4155
|
* {@link /v1/wallets/:address/cashapp/quote}
|
|
2856
4156
|
*/
|
|
@@ -2858,7 +4158,7 @@ declare function createCashAppQuote(address: CreateCashAppQuotePathParams["addre
|
|
|
2858
4158
|
client?: Client;
|
|
2859
4159
|
}): Promise<CreateCashAppQuote200>;
|
|
2860
4160
|
/**
|
|
2861
|
-
* @description Returns an intake address for a `(source chain, source token) → destination` route. Funding it delivers USDC
|
|
4161
|
+
* @description Returns an intake address for a `(source chain, source token) → destination` route. Funding it delivers the destination chain's payout token — USDC on most chains, USDm on MegaETH (`4326`) — at that token's own decimals; the same route reuses one address. Pass `destination_token` to pick among a chain's payout tokens where it offers more than one.
|
|
2862
4162
|
* @summary Create a crypto deposit address
|
|
2863
4163
|
* {@link /v1/wallets/:address/deposit-address}
|
|
2864
4164
|
*/
|
|
@@ -2890,7 +4190,7 @@ declare function createSessionPrivy(address: CreateSessionPrivyPathParams["addre
|
|
|
2890
4190
|
client?: Client;
|
|
2891
4191
|
}): Promise<CreateSessionPrivy200>;
|
|
2892
4192
|
/**
|
|
2893
|
-
* @description Verifies a signed EIP-4361 message and its nonce binding, then mints the session cookie pair. The publishable key
|
|
4193
|
+
* @description Verifies a signed EIP-4361 message and its nonce binding, then mints the session cookie pair. The message is standard EIP-4361 with no Calm-specific fields — the publishable key comes from the binding issued by `/siwe/nonce`, which welds it to the nonce the wallet signed over.
|
|
2894
4194
|
* @summary Create a session (SIWE)
|
|
2895
4195
|
* {@link /v1/session/:address/siwe}
|
|
2896
4196
|
*/
|
|
@@ -2898,7 +4198,7 @@ declare function createSessionSiwe(address: CreateSessionSiwePathParams["address
|
|
|
2898
4198
|
client?: Client;
|
|
2899
4199
|
}): Promise<CreateSessionSiwe200>;
|
|
2900
4200
|
/**
|
|
2901
|
-
* @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.
|
|
4201
|
+
* @description Returns a nonce to embed in an EIP-4361 message and a short-lived binding to echo back on the SIWE create. Send the publishable key as `X-Calm-Publishable-Key`: it is welded into the binding, so the message itself stays standard EIP-4361 with no Calm-specific fields. Each call issues a fresh nonce; the binding expires after a few minutes.
|
|
2902
4202
|
* @summary Issue a SIWE nonce binding
|
|
2903
4203
|
* {@link /v1/session/:address/siwe/nonce}
|
|
2904
4204
|
*/
|
|
@@ -2922,7 +4222,7 @@ declare function createStripeCustomer(address: CreateStripeCustomerPathParams["a
|
|
|
2922
4222
|
client?: Client;
|
|
2923
4223
|
}): Promise<any>;
|
|
2924
4224
|
/**
|
|
2925
|
-
* @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`. Pass exactly one of `source_amount` / `destination_amount`.
|
|
4225
|
+
* @description Opens a headless onramp session and mirrors it into a local order. Returns Stripe's `session_id` (fed to the client SDK's `performCheckout`) plus our own `order_id` to poll via `GET .../stripe/order/:id`. Every chain is a valid `destination_chain`: the ones Stripe settles to directly are delivered by it, and the rest are routed on arrival, which requires a registered wallet and delivers to the session wallet. Pass exactly one of `source_amount` / `destination_amount`.
|
|
2926
4226
|
* @summary Open a Stripe onramp session
|
|
2927
4227
|
* {@link /v1/wallets/:address/stripe/session}
|
|
2928
4228
|
*/
|
|
@@ -2938,7 +4238,7 @@ declare function createStripeTokens(address: CreateStripeTokensPathParams["addre
|
|
|
2938
4238
|
client?: Client;
|
|
2939
4239
|
}): Promise<any>;
|
|
2940
4240
|
/**
|
|
2941
|
-
* @description Returns an executable quote for swapping a source token into destination USDC. The response carries the steps the client executes on-chain; source and destination chains may differ.
|
|
4241
|
+
* @description Returns an executable quote for swapping a source token into the destination chain's payout token — USDC on most chains, USDm on MegaETH (`4326`) — at that token's own decimals. Pass `destination_token` to pick among a chain's payout tokens where it offers more than one; omitted, the chain's default applies. The response carries the steps the client executes on-chain; source and destination chains may differ.
|
|
2942
4242
|
* @summary Quote a swap
|
|
2943
4243
|
* {@link /v1/wallets/:address/swap/quote}
|
|
2944
4244
|
*/
|
|
@@ -2946,7 +4246,7 @@ declare function createSwapQuote(address: CreateSwapQuotePathParams["address"],
|
|
|
2946
4246
|
client?: Client;
|
|
2947
4247
|
}): Promise<CreateSwapQuote200>;
|
|
2948
4248
|
/**
|
|
2949
|
-
* @description Provisions a fiat→USDC virtual account for a `(currency, destination chain)`
|
|
4249
|
+
* @description Provisions a fiat→USDC virtual account for a `(currency, destination chain, payout token)` triple — repeating a triple returns the account that already exists, while changing `destination_token` on the same currency and chain provisions a SECOND account, since the two deliver different tokens and have different bank details. Every chain is accepted: the ones the banking rail settles to directly are delivered by it, and the rest are routed on arrival. Requires an approved identity verification. Returns 204; refetch the list to see the new account.
|
|
2950
4250
|
* @summary Create a virtual account
|
|
2951
4251
|
* {@link /v1/wallets/:address/virtual-accounts}
|
|
2952
4252
|
*/
|
|
@@ -2970,7 +4270,7 @@ declare function executeExchangeWithdrawal(address: ExecuteExchangeWithdrawalPat
|
|
|
2970
4270
|
client?: Client;
|
|
2971
4271
|
}): Promise<ExecuteExchangeWithdrawal200>;
|
|
2972
4272
|
/**
|
|
2973
|
-
* @description Returns a single token's balance on one chain. `token` is a catalog symbol (`eth`, `hype`, `usdc`, `usdt`).
|
|
4273
|
+
* @description Returns a single token's balance on one chain. `token` is a catalog symbol (`eth`, `hype`, `mon`, `usdc`, `usdm`, `usdt`).
|
|
2974
4274
|
* @summary Get one token balance
|
|
2975
4275
|
* {@link /v1/wallets/:address/balances/:chain/:token}
|
|
2976
4276
|
*/
|
|
@@ -2978,13 +4278,53 @@ declare function getBalance(address: GetBalancePathParams["address"], chain: Get
|
|
|
2978
4278
|
client?: Client;
|
|
2979
4279
|
}): Promise<GetBalance200>;
|
|
2980
4280
|
/**
|
|
2981
|
-
* @description Returns the wallet's token balances across the supported source chains, each with its USD value. Filter with `?chains=1,8453`; the default
|
|
4281
|
+
* @description Returns the wallet's token balances across the supported source chains, each with its USD value. Filter with `?chains=1,8453`; the default covers the source chains.
|
|
2982
4282
|
* @summary List wallet balances
|
|
2983
4283
|
* {@link /v1/wallets/:address/balances}
|
|
2984
4284
|
*/
|
|
2985
4285
|
declare function getBalances(address: GetBalancesPathParams["address"], params?: GetBalancesQueryParams, config?: Partial<RequestConfig> & {
|
|
2986
4286
|
client?: Client;
|
|
2987
4287
|
}): Promise<GetBalances200>;
|
|
4288
|
+
/**
|
|
4289
|
+
* @description Returns the environment-specific settings the SDK needs to open the hosted deposit flow. A null value means the SDK should use its bundled default.
|
|
4290
|
+
* @summary Get the deposit-rail runtime config
|
|
4291
|
+
* {@link /v1/wallets/:address/blink/config}
|
|
4292
|
+
*/
|
|
4293
|
+
declare function getBlinkConfig(address: GetBlinkConfigPathParams["address"], config?: Partial<RequestConfig> & {
|
|
4294
|
+
client?: Client;
|
|
4295
|
+
}): Promise<GetBlinkConfig200>;
|
|
4296
|
+
/**
|
|
4297
|
+
* @description Returns public configuration used by the SDK to render secure card collection and risk checks.
|
|
4298
|
+
* @summary Get card flow config
|
|
4299
|
+
* {@link /v1/wallets/:address/card/config}
|
|
4300
|
+
*/
|
|
4301
|
+
declare function getCardConfig(address: GetCardConfigPathParams["address"], config?: Partial<RequestConfig> & {
|
|
4302
|
+
client?: Client;
|
|
4303
|
+
}): Promise<GetCardConfig200>;
|
|
4304
|
+
/**
|
|
4305
|
+
* @description Returns the saved registration and billing profile for the session wallet so the card flow can prefill its forms.
|
|
4306
|
+
* @summary Get card registration + billing
|
|
4307
|
+
* {@link /v1/wallets/:address/card/customer}
|
|
4308
|
+
*/
|
|
4309
|
+
declare function getCardCustomer(address: GetCardCustomerPathParams["address"], config?: Partial<RequestConfig> & {
|
|
4310
|
+
client?: Client;
|
|
4311
|
+
}): Promise<GetCardCustomer200>;
|
|
4312
|
+
/**
|
|
4313
|
+
* @description Returns the status of one card order, scoped to the session wallet.
|
|
4314
|
+
* @summary Get card order
|
|
4315
|
+
* {@link /v1/wallets/:address/card/orders/:id}
|
|
4316
|
+
*/
|
|
4317
|
+
declare function getCardOrder(address: GetCardOrderPathParams["address"], id: GetCardOrderPathParams["id"], config?: Partial<RequestConfig> & {
|
|
4318
|
+
client?: Client;
|
|
4319
|
+
}): Promise<GetCardOrder200>;
|
|
4320
|
+
/**
|
|
4321
|
+
* @description Returns an informational price estimate for a fiat card spend: the net USDC the buyer receives, the all-in fiat charged, the fee, and the exchange rate.
|
|
4322
|
+
* @summary Quote a card amount
|
|
4323
|
+
* {@link /v1/wallets/:address/card/quote}
|
|
4324
|
+
*/
|
|
4325
|
+
declare function getCardQuote(address: GetCardQuotePathParams["address"], params?: GetCardQuoteQueryParams, config?: Partial<RequestConfig> & {
|
|
4326
|
+
client?: Client;
|
|
4327
|
+
}): Promise<GetCardQuote200>;
|
|
2988
4328
|
/**
|
|
2989
4329
|
* @description Returns a Cash App order by id, including its current status and payment link.
|
|
2990
4330
|
* @summary Get a Cash App order
|
|
@@ -3028,7 +4368,7 @@ declare function getFxRates(config?: Partial<RequestConfig> & {
|
|
|
3028
4368
|
/**
|
|
3029
4369
|
* @description Returns the hosted identity-verification URL for the wallet. Present it to the user, then poll `GET /v1/wallets/:address` for the resulting status.
|
|
3030
4370
|
* @summary Get the identity-verification link
|
|
3031
|
-
* {@link /v1/wallets/:address/identity-verification}
|
|
4371
|
+
* {@link /v1/wallets/:address/virtual-accounts/identity-verification}
|
|
3032
4372
|
*/
|
|
3033
4373
|
declare function getIdentityVerificationLink(address: GetIdentityVerificationLinkPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3034
4374
|
client?: Client;
|
|
@@ -3076,7 +4416,7 @@ declare function getStripeStatus(address: GetStripeStatusPathParams["address"],
|
|
|
3076
4416
|
/**
|
|
3077
4417
|
* @description Returns the hosted terms-of-service URL for the wallet. Present it to the user, then poll `GET /v1/wallets/:address` for acceptance.
|
|
3078
4418
|
* @summary Get the terms-of-service link
|
|
3079
|
-
* {@link /v1/wallets/:address/terms-of-service}
|
|
4419
|
+
* {@link /v1/wallets/:address/virtual-accounts/terms-of-service}
|
|
3080
4420
|
*/
|
|
3081
4421
|
declare function getTermsOfServiceLink(address: GetTermsOfServiceLinkPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3082
4422
|
client?: Client;
|
|
@@ -3089,6 +4429,14 @@ declare function getTermsOfServiceLink(address: GetTermsOfServiceLinkPathParams[
|
|
|
3089
4429
|
declare function getWallet(address: GetWalletPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3090
4430
|
client?: Client;
|
|
3091
4431
|
}): Promise<GetWallet200>;
|
|
4432
|
+
/**
|
|
4433
|
+
* @description Returns the wallet's crypto-deposit history, newest first: every detected deposit with its current status (processing, completed, failed, or refunded), amounts, and transaction hashes. Served from the local ledger, which is reconciled against the upstream provider as each transfer progresses. `deposit_address` is null for deposits made through a provider that mints its own intake address. Requires a valid session cookie for the same wallet.
|
|
4434
|
+
* @summary List crypto deposits
|
|
4435
|
+
* {@link /v1/wallets/:address/crypto-deposits}
|
|
4436
|
+
*/
|
|
4437
|
+
declare function listCryptoDeposits(address: ListCryptoDepositsPathParams["address"], config?: Partial<RequestConfig> & {
|
|
4438
|
+
client?: Client;
|
|
4439
|
+
}): Promise<ListCryptoDeposits200>;
|
|
3092
4440
|
/**
|
|
3093
4441
|
* @description Returns the payment methods the customer has on file. Read-passthrough — the SDK checks this before `collectPaymentMethod` to offer a saved method.
|
|
3094
4442
|
* @summary List the customer's payment methods
|
|
@@ -3106,7 +4454,7 @@ declare function listStripeWallets(address: ListStripeWalletsPathParams["address
|
|
|
3106
4454
|
client?: Client;
|
|
3107
4455
|
}): Promise<ListStripeWallets200>;
|
|
3108
4456
|
/**
|
|
3109
|
-
* @description Returns the wallet's virtual accounts, each with the bank-side deposit instructions the user needs to send fiat.
|
|
4457
|
+
* @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.
|
|
3110
4458
|
* @summary List virtual accounts
|
|
3111
4459
|
* {@link /v1/wallets/:address/virtual-accounts}
|
|
3112
4460
|
*/
|
|
@@ -3132,7 +4480,7 @@ declare function registerWallet(address: RegisterWalletPathParams["address"], da
|
|
|
3132
4480
|
/**
|
|
3133
4481
|
* @description Records that the user finished the identity-verification flow and returns 204. Internal to the SDK's instant-submit UX — partners should create the link, then poll `GET /v1/wallets/:address` for the resulting status instead.
|
|
3134
4482
|
* @summary Record identity-verification completion
|
|
3135
|
-
* {@link /v1/wallets/:address/identity-verification/submit}
|
|
4483
|
+
* {@link /v1/wallets/:address/virtual-accounts/identity-verification/submit}
|
|
3136
4484
|
*/
|
|
3137
4485
|
declare function submitIdentityVerification(address: SubmitIdentityVerificationPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3138
4486
|
client?: Client;
|
|
@@ -3140,13 +4488,13 @@ declare function submitIdentityVerification(address: SubmitIdentityVerificationP
|
|
|
3140
4488
|
/**
|
|
3141
4489
|
* @description Records that the user finished the terms-of-service flow and returns 204. Internal to the SDK's instant-submit UX — partners should create the link, then poll `GET /v1/wallets/:address` for acceptance instead.
|
|
3142
4490
|
* @summary Record terms-of-service completion
|
|
3143
|
-
* {@link /v1/wallets/:address/terms-of-service/submit}
|
|
4491
|
+
* {@link /v1/wallets/:address/virtual-accounts/terms-of-service/submit}
|
|
3144
4492
|
*/
|
|
3145
4493
|
declare function submitTermsOfService(address: SubmitTermsOfServicePathParams["address"], config?: Partial<RequestConfig> & {
|
|
3146
4494
|
client?: Client;
|
|
3147
4495
|
}): Promise<any>;
|
|
3148
4496
|
/**
|
|
3149
|
-
* @description Updates a virtual account's destination chain. Returns 204; refetch the list to see the change.
|
|
4497
|
+
* @description Updates a virtual account's destination chain. Every chain is accepted: the ones the banking rail settles to directly are delivered by it, and the rest are routed on arrival. `destination_token` picks the payout token for the account's new destination; omitting it with the chain unchanged leaves the account untouched, while omitting it on a chain change takes the NEW chain's default rather than carrying the current token over. Send `destination_token` explicitly whenever the account should keep a non-default payout. Returns 204; refetch the list to see the change.
|
|
3150
4498
|
* @summary Update a virtual account
|
|
3151
4499
|
* {@link /v1/wallets/:address/virtual-accounts/:virtual-account-id}
|
|
3152
4500
|
*/
|
|
@@ -3156,4 +4504,4 @@ declare function updateVirtualAccount(address: UpdateVirtualAccountPathParams["a
|
|
|
3156
4504
|
declare function configureCalm(options: {
|
|
3157
4505
|
apiUrl: string;
|
|
3158
4506
|
}): void;
|
|
3159
|
-
export { ApiError, type CheckoutStripeSession200, type CheckoutStripeSession400, type CheckoutStripeSession401, type CheckoutStripeSession402, type CheckoutStripeSession403, 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 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 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 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 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 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 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 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, checkoutStripeSession, clearSession, client, client as default, configureCalm, connectExchange, connectExchangePathParamsExchangeEnum, createCardLink, createCardLinkMutationRequestCurrencyEnum, createCashAppOrder, createCashAppOrder200StatusEnum, createCashAppQuote, createDepositAddress, createDepositAddressMutationRequestSourceTokenEnum, createExchangeWithdrawQuote, createExchangeWithdrawQuotePathParamsExchangeEnum, createSessionDynamic, createSessionPrivy, createSessionSiwe, createSiweNonce, createStripeAuthIntent, createStripeCustomer, createStripeSession, createStripeTokens, 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, getStripeCustomerStatus, getStripeOrder, getStripeOrder200StatusEnum, getStripeQuote, getStripeStatus, getTermsOfServiceLink, getWallet, getWallet200IdentityVerificationStatusEnum, listStripePaymentTokens, listStripeWallets, listVirtualAccounts, refreshSession, registerWallet, setConfig, submitIdentityVerification, submitTermsOfService, updateVirtualAccount };
|
|
4507
|
+
export { ApiError, type CheckoutCard200, type CheckoutCard400, type CheckoutCard401, type CheckoutCard403, type CheckoutCard404, type CheckoutCard429, type CheckoutCard502, type CheckoutCardMutation, type CheckoutCardMutationRequest, type CheckoutCardMutationRequestChainEnumKey, type CheckoutCardMutationRequestDestinationTokenEnumKey, type CheckoutCardMutationResponse, type CheckoutCardPathParams, type CheckoutStripeSession200, type CheckoutStripeSession400, type CheckoutStripeSession401, type CheckoutStripeSession402, type CheckoutStripeSession403, type CheckoutStripeSession404, type CheckoutStripeSession409, type CheckoutStripeSession429, type CheckoutStripeSession502, type CheckoutStripeSessionMutation, type CheckoutStripeSessionMutationResponse, type CheckoutStripeSessionPathParams, type ClearSession204, type ClearSession429, type ClearSessionMutation, type ClearSessionMutationResponse, type Client, type ConnectExchange200, type ConnectExchange400, type ConnectExchange401, type ConnectExchange403, type ConnectExchange404, type ConnectExchange429, type ConnectExchange502, type ConnectExchangeMutation, type ConnectExchangeMutationResponse, type ConnectExchangePathParams, type ConnectExchangePathParamsExchangeEnumKey, type CreateBlinkSignature200, type CreateBlinkSignature400, type CreateBlinkSignature401, type CreateBlinkSignature403, type CreateBlinkSignature429, type CreateBlinkSignatureMutation, type CreateBlinkSignatureMutationRequest, type CreateBlinkSignatureMutationRequestDestinationChainEnumKey, type CreateBlinkSignatureMutationRequestDestinationTokenEnumKey, type CreateBlinkSignatureMutationResponse, type CreateBlinkSignaturePathParams, type CreateCardLink200, type CreateCardLink400, type CreateCardLink401, type CreateCardLink403, type CreateCardLink404, type CreateCardLink429, type CreateCardLinkMutation, type CreateCardLinkMutationRequest, type CreateCardLinkMutationRequestCurrencyEnumKey, type CreateCardLinkMutationRequestDestinationChainEnumKey, type CreateCardLinkMutationRequestDestinationTokenEnumKey, type CreateCardLinkMutationResponse, type CreateCardLinkPathParams, type CreateCashAppOrder200, type CreateCashAppOrder200StatusEnumKey, type CreateCashAppOrder400, type CreateCashAppOrder401, type CreateCashAppOrder403, type CreateCashAppOrder404, type CreateCashAppOrder429, type CreateCashAppOrder502, type CreateCashAppOrderMutation, type CreateCashAppOrderMutationRequest, type CreateCashAppOrderMutationRequestChainEnumKey, type CreateCashAppOrderMutationRequestDestinationTokenEnumKey, type CreateCashAppOrderMutationResponse, type CreateCashAppOrderPathParams, type CreateCashAppQuote200, type CreateCashAppQuote400, type CreateCashAppQuote401, type CreateCashAppQuote403, type CreateCashAppQuote429, type CreateCashAppQuote502, type CreateCashAppQuoteMutation, type CreateCashAppQuoteMutationRequest, type CreateCashAppQuoteMutationRequestChainEnumKey, type CreateCashAppQuoteMutationRequestDestinationTokenEnumKey, type CreateCashAppQuoteMutationResponse, type CreateCashAppQuotePathParams, type CreateDepositAddress200, type CreateDepositAddress400, type CreateDepositAddress401, type CreateDepositAddress403, type CreateDepositAddress404, type CreateDepositAddress429, type CreateDepositAddressMutation, type CreateDepositAddressMutationRequest, type CreateDepositAddressMutationRequestDestinationChainEnumKey, type CreateDepositAddressMutationRequestDestinationTokenEnumKey, type CreateDepositAddressMutationRequestSourceChainEnumKey, type CreateDepositAddressMutationRequestSourceTokenEnumKey, type CreateDepositAddressMutationResponse, type CreateDepositAddressPathParams, type CreateExchangeWithdrawQuote200, type CreateExchangeWithdrawQuote400, type CreateExchangeWithdrawQuote401, type CreateExchangeWithdrawQuote403, type CreateExchangeWithdrawQuote404, type CreateExchangeWithdrawQuote409, type CreateExchangeWithdrawQuote429, type CreateExchangeWithdrawQuote502, type CreateExchangeWithdrawQuoteMutation, type CreateExchangeWithdrawQuoteMutationRequest, type CreateExchangeWithdrawQuoteMutationRequestDestinationChainEnumKey, type CreateExchangeWithdrawQuoteMutationRequestDestinationTokenEnumKey, type CreateExchangeWithdrawQuoteMutationRequestOriginChainEnumKey, type CreateExchangeWithdrawQuoteMutationResponse, type CreateExchangeWithdrawQuotePathParams, type CreateExchangeWithdrawQuotePathParamsExchangeEnumKey, type CreateSessionDynamic200, type CreateSessionDynamic400, type CreateSessionDynamic401, type CreateSessionDynamic403, type CreateSessionDynamic429, type CreateSessionDynamicMutation, type CreateSessionDynamicMutationResponse, type CreateSessionDynamicPathParams, type CreateSessionPrivy200, type CreateSessionPrivy400, type CreateSessionPrivy401, type CreateSessionPrivy403, type CreateSessionPrivy429, type CreateSessionPrivyMutation, type CreateSessionPrivyMutationResponse, type CreateSessionPrivyPathParams, type CreateSessionSiwe200, type CreateSessionSiwe400, type CreateSessionSiwe401, type CreateSessionSiwe403, type CreateSessionSiwe429, type CreateSessionSiweMutation, type CreateSessionSiweMutationRequest, type CreateSessionSiweMutationResponse, type CreateSessionSiwePathParams, type CreateSiweNonce200, type CreateSiweNonce400, type CreateSiweNonce429, type CreateSiweNonceMutation, type CreateSiweNonceMutationResponse, type CreateSiweNoncePathParams, type CreateStripeAuthIntent200, type CreateStripeAuthIntent400, type CreateStripeAuthIntent401, type CreateStripeAuthIntent403, type CreateStripeAuthIntent404, type CreateStripeAuthIntent429, type CreateStripeAuthIntent502, type CreateStripeAuthIntentMutation, type CreateStripeAuthIntentMutationRequest, type CreateStripeAuthIntentMutationResponse, type CreateStripeAuthIntentPathParams, type CreateStripeCustomer204, type CreateStripeCustomer400, type CreateStripeCustomer401, type CreateStripeCustomer403, type CreateStripeCustomer404, type CreateStripeCustomer429, type CreateStripeCustomer502, type CreateStripeCustomerMutation, type CreateStripeCustomerMutationResponse, type CreateStripeCustomerPathParams, type CreateStripeSession200, type CreateStripeSession400, type CreateStripeSession401, type CreateStripeSession403, type CreateStripeSession404, type CreateStripeSession429, type CreateStripeSession502, type CreateStripeSessionMutation, type CreateStripeSessionMutationRequest, type CreateStripeSessionMutationRequestDestinationChainEnumKey, type CreateStripeSessionMutationRequestDestinationTokenEnumKey, type CreateStripeSessionMutationResponse, type CreateStripeSessionPathParams, type CreateStripeTokens204, type CreateStripeTokens400, type CreateStripeTokens401, type CreateStripeTokens403, type CreateStripeTokens404, type CreateStripeTokens409, type CreateStripeTokens429, type CreateStripeTokens502, type CreateStripeTokensMutation, type CreateStripeTokensMutationRequest, type CreateStripeTokensMutationResponse, type CreateStripeTokensPathParams, type CreateSwapQuote200, type CreateSwapQuote400, type CreateSwapQuote401, type CreateSwapQuote403, type CreateSwapQuote429, type CreateSwapQuote502, type CreateSwapQuoteMutation, type CreateSwapQuoteMutationRequest, type CreateSwapQuoteMutationRequestDestinationChainEnumKey, type CreateSwapQuoteMutationRequestDestinationTokenEnumKey, type CreateSwapQuoteMutationRequestSourceChainEnumKey, type CreateSwapQuoteMutationRequestSourceTokenEnumKey, type CreateSwapQuoteMutationRequestTradeTypeEnumKey, type CreateSwapQuoteMutationResponse, type CreateSwapQuotePathParams, type CreateVirtualAccount204, type CreateVirtualAccount400, type CreateVirtualAccount401, type CreateVirtualAccount403, type CreateVirtualAccount404, type CreateVirtualAccount409, type CreateVirtualAccount429, type CreateVirtualAccount502, type CreateVirtualAccountMutation, type CreateVirtualAccountMutationRequest, type CreateVirtualAccountMutationRequestChainEnumKey, type CreateVirtualAccountMutationRequestCurrencyEnumKey, type CreateVirtualAccountMutationRequestDestinationTokenEnumKey, type CreateVirtualAccountMutationResponse, type CreateVirtualAccountPathParams, type DataCurrencyEnumKey, type DataStatusEnumKey, type DisconnectExchange204, type DisconnectExchange400, type DisconnectExchange401, type DisconnectExchange403, type DisconnectExchange404, type DisconnectExchange429, type DisconnectExchange502, type DisconnectExchangeMutation, type DisconnectExchangeMutationResponse, type DisconnectExchangePathParams, type DisconnectExchangePathParamsExchangeEnumKey, type Error$1 as Error, type ExecuteExchangeWithdrawal200, type ExecuteExchangeWithdrawal200StatusEnumKey, type ExecuteExchangeWithdrawal400, type ExecuteExchangeWithdrawal401, type ExecuteExchangeWithdrawal403, type ExecuteExchangeWithdrawal404, type ExecuteExchangeWithdrawal409, type ExecuteExchangeWithdrawal429, type ExecuteExchangeWithdrawal502, type ExecuteExchangeWithdrawalMutation, type ExecuteExchangeWithdrawalMutationRequest, type ExecuteExchangeWithdrawalMutationResponse, type ExecuteExchangeWithdrawalPathParams, type ExecuteExchangeWithdrawalPathParamsExchangeEnumKey, type GetBalance200, type GetBalance400, type GetBalance401, type GetBalance403, type GetBalance404, type GetBalance429, type GetBalancePathParams, type GetBalancePathParamsTokenEnumKey, type GetBalanceQuery, type GetBalanceQueryResponse, type GetBalances200, type GetBalances400, type GetBalances401, type GetBalances403, type GetBalances429, type GetBalancesPathParams, type GetBalancesQuery, type GetBalancesQueryParams, type GetBalancesQueryResponse, type GetBlinkConfig200, type GetBlinkConfig400, type GetBlinkConfig401, type GetBlinkConfig403, type GetBlinkConfig429, type GetBlinkConfigPathParams, type GetBlinkConfigQuery, type GetBlinkConfigQueryResponse, type GetCardConfig200, type GetCardConfig400, type GetCardConfig401, type GetCardConfig403, type GetCardConfig429, type GetCardConfig502, type GetCardConfigPathParams, type GetCardConfigQuery, type GetCardConfigQueryResponse, type GetCardCustomer200, type GetCardCustomer400, type GetCardCustomer401, type GetCardCustomer403, type GetCardCustomer404, type GetCardCustomer429, type GetCardCustomerPathParams, type GetCardCustomerQuery, type GetCardCustomerQueryResponse, type GetCardOrder200, type GetCardOrder200ChainEnumKey, type GetCardOrder200StatusEnumKey, type GetCardOrder400, type GetCardOrder401, type GetCardOrder403, type GetCardOrder404, type GetCardOrder429, type GetCardOrderPathParams, type GetCardOrderQuery, type GetCardOrderQueryResponse, type GetCardQuote200, type GetCardQuote400, type GetCardQuote401, type GetCardQuote403, type GetCardQuote429, type GetCardQuote502, type GetCardQuotePathParams, type GetCardQuoteQuery, type GetCardQuoteQueryParams, type GetCardQuoteQueryResponse, type GetCashAppOrder200, type GetCashAppOrder200StatusEnumKey, type GetCashAppOrder400, type GetCashAppOrder401, type GetCashAppOrder403, type GetCashAppOrder404, type GetCashAppOrder429, type GetCashAppOrderPathParams, type GetCashAppOrderQuery, type GetCashAppOrderQueryResponse, type GetExchange200, type GetExchange400, type GetExchange401, type GetExchange403, type GetExchange404, type GetExchange429, type GetExchange502, type GetExchangeAssets200, type GetExchangeAssets400, type GetExchangeAssets401, type GetExchangeAssets403, type GetExchangeAssets404, type GetExchangeAssets409, type GetExchangeAssets429, type GetExchangeAssets502, type GetExchangeAssetsPathParams, type GetExchangeAssetsPathParamsExchangeEnumKey, type GetExchangeAssetsQuery, type GetExchangeAssetsQueryResponse, type GetExchangePathParams, type GetExchangePathParamsExchangeEnumKey, type GetExchangeQuery, type GetExchangeQueryResponse, type GetExchangeWithdrawal200, type GetExchangeWithdrawal200StatusEnumKey, type GetExchangeWithdrawal400, type GetExchangeWithdrawal401, type GetExchangeWithdrawal403, type GetExchangeWithdrawal404, type GetExchangeWithdrawal429, type GetExchangeWithdrawalPathParams, type GetExchangeWithdrawalPathParamsExchangeEnumKey, type GetExchangeWithdrawalQuery, type GetExchangeWithdrawalQueryResponse, type GetFxRates200, type GetFxRates429, type GetFxRates502, type GetFxRatesQuery, type GetFxRatesQueryResponse, type GetIdentityVerificationLink200, type GetIdentityVerificationLink400, type GetIdentityVerificationLink401, type GetIdentityVerificationLink403, type GetIdentityVerificationLink404, type GetIdentityVerificationLink429, type GetIdentityVerificationLink502, type GetIdentityVerificationLinkMutation, type GetIdentityVerificationLinkMutationResponse, type GetIdentityVerificationLinkPathParams, type GetStripeConfig200, type GetStripeConfig400, type GetStripeConfig401, type GetStripeConfig403, type GetStripeConfig429, type GetStripeConfigPathParams, type GetStripeConfigQuery, type GetStripeConfigQueryResponse, type GetStripeCustomerStatus200, type GetStripeCustomerStatus400, type GetStripeCustomerStatus401, type GetStripeCustomerStatus403, type GetStripeCustomerStatus404, type GetStripeCustomerStatus429, type GetStripeCustomerStatus502, type GetStripeCustomerStatusPathParams, type GetStripeCustomerStatusQuery, type GetStripeCustomerStatusQueryResponse, type GetStripeOrder200, type GetStripeOrder200StatusEnumKey, type GetStripeOrder400, type GetStripeOrder401, type GetStripeOrder403, type GetStripeOrder404, type GetStripeOrder429, type GetStripeOrderPathParams, type GetStripeOrderQuery, type GetStripeOrderQueryResponse, type GetStripeQuote200, type GetStripeQuote400, type GetStripeQuote401, type GetStripeQuote403, type GetStripeQuote429, type GetStripeQuote502, type GetStripeQuotePathParams, type GetStripeQuoteQuery, type GetStripeQuoteQueryParams, type GetStripeQuoteQueryResponse, type GetStripeStatus200, type GetStripeStatus400, type GetStripeStatus401, type GetStripeStatus403, type GetStripeStatus429, type GetStripeStatusPathParams, type GetStripeStatusQuery, type GetStripeStatusQueryResponse, type GetTermsOfServiceLink200, type GetTermsOfServiceLink400, type GetTermsOfServiceLink401, type GetTermsOfServiceLink403, type GetTermsOfServiceLink404, type GetTermsOfServiceLink429, type GetTermsOfServiceLink502, type GetTermsOfServiceLinkMutation, type GetTermsOfServiceLinkMutationResponse, type GetTermsOfServiceLinkPathParams, type GetWallet200, type GetWallet200IdentityVerificationStatusEnumKey, type GetWallet400, type GetWallet401, type GetWallet403, type GetWallet404, type GetWallet429, type GetWalletPathParams, type GetWalletQuery, type GetWalletQueryResponse, type ListCryptoDeposits200, type ListCryptoDeposits400, type ListCryptoDeposits401, type ListCryptoDeposits403, type ListCryptoDeposits404, type ListCryptoDeposits429, type ListCryptoDepositsPathParams, type ListCryptoDepositsQuery, type ListCryptoDepositsQueryResponse, type ListStripePaymentTokens200, type ListStripePaymentTokens400, type ListStripePaymentTokens401, type ListStripePaymentTokens403, type ListStripePaymentTokens404, type ListStripePaymentTokens429, type ListStripePaymentTokens502, type ListStripePaymentTokensPathParams, type ListStripePaymentTokensQuery, type ListStripePaymentTokensQueryParams, type ListStripePaymentTokensQueryResponse, type ListStripeWallets200, type ListStripeWallets400, type ListStripeWallets401, type ListStripeWallets403, type ListStripeWallets404, type ListStripeWallets429, type ListStripeWallets502, type ListStripeWalletsPathParams, type ListStripeWalletsQuery, type ListStripeWalletsQueryParams, type ListStripeWalletsQueryResponse, type ListVirtualAccounts200, type ListVirtualAccounts400, type ListVirtualAccounts401, type ListVirtualAccounts403, type ListVirtualAccounts404, type ListVirtualAccounts429, type ListVirtualAccountsPathParams, type ListVirtualAccountsQuery, type ListVirtualAccountsQueryResponse, type ProcessorEnvEnumKey, type RefreshSession200, type RefreshSession400, type RefreshSession401, type RefreshSession403, type RefreshSession429, type RefreshSessionMutation, type RefreshSessionMutationResponse, type RefreshSessionPathParams, type RegisterWallet204, type RegisterWallet400, type RegisterWallet401, type RegisterWallet403, type RegisterWallet404, type RegisterWallet409, type RegisterWallet429, type RegisterWallet502, type RegisterWalletMutation, type RegisterWalletMutationRequest, type RegisterWalletMutationResponse, type RegisterWalletPathParams, type RequestConfig, type RequestCredentials, type ResponseConfig, type ResponseErrorConfig, type SubmitIdentityVerification204, type SubmitIdentityVerification400, type SubmitIdentityVerification401, type SubmitIdentityVerification403, type SubmitIdentityVerification404, type SubmitIdentityVerification429, type SubmitIdentityVerificationMutation, type SubmitIdentityVerificationMutationResponse, type SubmitIdentityVerificationPathParams, type SubmitTermsOfService204, type SubmitTermsOfService400, type SubmitTermsOfService401, type SubmitTermsOfService403, type SubmitTermsOfService404, type SubmitTermsOfService429, type SubmitTermsOfServiceMutation, type SubmitTermsOfServiceMutationResponse, type SubmitTermsOfServicePathParams, type UpdateVirtualAccount204, type UpdateVirtualAccount400, type UpdateVirtualAccount401, type UpdateVirtualAccount403, type UpdateVirtualAccount404, type UpdateVirtualAccount409, type UpdateVirtualAccount429, type UpdateVirtualAccount502, type UpdateVirtualAccountMutation, type UpdateVirtualAccountMutationRequest, type UpdateVirtualAccountMutationRequestChainEnumKey, type UpdateVirtualAccountMutationRequestDestinationTokenEnumKey, type UpdateVirtualAccountMutationResponse, type UpdateVirtualAccountPathParams, checkoutCard, checkoutCardMutationRequestChainEnum, checkoutCardMutationRequestDestinationTokenEnum, checkoutStripeSession, clearSession, client, client as default, configureCalm, connectExchange, connectExchangePathParamsExchangeEnum, createBlinkSignature, createBlinkSignatureMutationRequestDestinationChainEnum, createBlinkSignatureMutationRequestDestinationTokenEnum, createCardLink, createCardLinkMutationRequestCurrencyEnum, createCardLinkMutationRequestDestinationChainEnum, createCardLinkMutationRequestDestinationTokenEnum, createCashAppOrder, createCashAppOrder200StatusEnum, createCashAppOrderMutationRequestChainEnum, createCashAppOrderMutationRequestDestinationTokenEnum, createCashAppQuote, createCashAppQuoteMutationRequestChainEnum, createCashAppQuoteMutationRequestDestinationTokenEnum, createDepositAddress, createDepositAddressMutationRequestDestinationChainEnum, createDepositAddressMutationRequestDestinationTokenEnum, createDepositAddressMutationRequestSourceChainEnum, createDepositAddressMutationRequestSourceTokenEnum, createExchangeWithdrawQuote, createExchangeWithdrawQuoteMutationRequestDestinationChainEnum, createExchangeWithdrawQuoteMutationRequestDestinationTokenEnum, createExchangeWithdrawQuoteMutationRequestOriginChainEnum, createExchangeWithdrawQuotePathParamsExchangeEnum, createSessionDynamic, createSessionPrivy, createSessionSiwe, createSiweNonce, createStripeAuthIntent, createStripeCustomer, createStripeSession, createStripeSessionMutationRequestDestinationChainEnum, createStripeSessionMutationRequestDestinationTokenEnum, createStripeTokens, createSwapQuote, createSwapQuoteMutationRequestDestinationChainEnum, createSwapQuoteMutationRequestDestinationTokenEnum, createSwapQuoteMutationRequestSourceChainEnum, createSwapQuoteMutationRequestSourceTokenEnum, createSwapQuoteMutationRequestTradeTypeEnum, createVirtualAccount, createVirtualAccountMutationRequestChainEnum, createVirtualAccountMutationRequestCurrencyEnum, createVirtualAccountMutationRequestDestinationTokenEnum, dataCurrencyEnum, dataStatusEnum, disconnectExchange, disconnectExchangePathParamsExchangeEnum, executeExchangeWithdrawal, executeExchangeWithdrawal200StatusEnum, executeExchangeWithdrawalPathParamsExchangeEnum, getBalance, getBalancePathParamsTokenEnum, getBalances, getBlinkConfig, getCardConfig, getCardCustomer, getCardOrder, getCardOrder200ChainEnum, getCardOrder200StatusEnum, getCardQuote, getCashAppOrder, getCashAppOrder200StatusEnum, getConfig, getExchange, getExchangeAssets, getExchangeAssetsPathParamsExchangeEnum, getExchangePathParamsExchangeEnum, getExchangeWithdrawal, getExchangeWithdrawal200StatusEnum, getExchangeWithdrawalPathParamsExchangeEnum, getFxRates, getIdentityVerificationLink, getStripeConfig, getStripeCustomerStatus, getStripeOrder, getStripeOrder200StatusEnum, getStripeQuote, getStripeStatus, getTermsOfServiceLink, getWallet, getWallet200IdentityVerificationStatusEnum, listCryptoDeposits, listStripePaymentTokens, listStripeWallets, listVirtualAccounts, processorEnvEnum, refreshSession, registerWallet, setConfig, submitIdentityVerification, submitTermsOfService, updateVirtualAccount, updateVirtualAccountMutationRequestChainEnum, updateVirtualAccountMutationRequestDestinationTokenEnum };
|