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