@mintmoney/react 0.1.0-alpha.30 → 0.1.0-alpha.31
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/esm/api/checkouts.js +3 -10
- package/dist/esm/api/checkouts.js.map +1 -1
- package/dist/esm/api/generated.js +16 -500
- package/dist/esm/api/generated.js.map +1 -1
- package/dist/esm/api/payments.js +28 -29
- package/dist/esm/api/payments.js.map +1 -1
- package/dist/esm/api/types.js.map +1 -1
- package/dist/esm/checkout/modal.js +7 -7
- package/dist/esm/checkout/modal.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/direct-details.js +135 -16
- package/dist/esm/checkout/views/crypto-intent/direct-details.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/methods.js +5 -5
- package/dist/esm/checkout/views/crypto-intent/methods.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/wallet-payment-confirmation-amount.js +30 -0
- package/dist/esm/checkout/views/crypto-intent/wallet-payment-confirmation-amount.js.map +1 -0
- package/dist/esm/checkout/views/crypto-intent/wallet-payment-options.js +680 -0
- package/dist/esm/checkout/views/crypto-intent/wallet-payment-options.js.map +1 -0
- package/dist/esm/checkout/views/crypto-intent/wallet-select.js +3 -31
- package/dist/esm/checkout/views/crypto-intent/wallet-select.js.map +1 -1
- package/dist/esm/checkout/views/initial.js +1 -4
- package/dist/esm/checkout/views/initial.js.map +1 -1
- package/dist/esm/components/wallet-selector/wallets/wagmi/index.js +8 -1
- package/dist/esm/components/wallet-selector/wallets/wagmi/index.js.map +1 -1
- package/dist/esm/config.js +1 -1
- package/dist/esm/config.js.map +1 -1
- package/dist/esm/integrations/evm-chain.js +22 -0
- package/dist/esm/integrations/evm-chain.js.map +1 -0
- package/dist/esm/integrations/index.js +1 -0
- package/dist/esm/integrations/index.js.map +1 -1
- package/dist/esm/integrations/lifi.js +200 -0
- package/dist/esm/integrations/lifi.js.map +1 -0
- package/dist/esm/state/checkout/payment-attempt.js +43 -0
- package/dist/esm/state/checkout/payment-attempt.js.map +1 -0
- package/dist/esm/state/checkout/store.js +120 -30
- package/dist/esm/state/checkout/store.js.map +1 -1
- package/dist/types/api/checkouts.d.ts +0 -1
- package/dist/types/api/checkouts.d.ts.map +1 -1
- package/dist/types/api/generated.d.ts +162 -1406
- package/dist/types/api/generated.d.ts.map +1 -1
- package/dist/types/api/payments.d.ts +18 -8
- package/dist/types/api/payments.d.ts.map +1 -1
- package/dist/types/api/types.d.ts +6 -8
- package/dist/types/api/types.d.ts.map +1 -1
- package/dist/types/checkout/views/crypto-intent/direct-details.d.ts.map +1 -1
- package/dist/types/checkout/views/crypto-intent/wallet-payment-confirmation-amount.d.ts +13 -0
- package/dist/types/checkout/views/crypto-intent/wallet-payment-confirmation-amount.d.ts.map +1 -0
- package/dist/types/checkout/views/crypto-intent/wallet-payment-options.d.ts +3 -0
- package/dist/types/checkout/views/crypto-intent/wallet-payment-options.d.ts.map +1 -0
- package/dist/types/checkout/views/crypto-intent/wallet-select.d.ts.map +1 -1
- package/dist/types/checkout/views/initial.d.ts.map +1 -1
- package/dist/types/components/wallet-selector/domain.d.ts +9 -0
- package/dist/types/components/wallet-selector/domain.d.ts.map +1 -1
- package/dist/types/components/wallet-selector/wallets/wagmi/index.d.ts +449 -0
- package/dist/types/components/wallet-selector/wallets/wagmi/index.d.ts.map +1 -1
- package/dist/types/config.d.ts +64 -1
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/integrations/evm-chain.d.ts +3 -0
- package/dist/types/integrations/evm-chain.d.ts.map +1 -0
- package/dist/types/integrations/index.d.ts +1 -0
- package/dist/types/integrations/index.d.ts.map +1 -1
- package/dist/types/integrations/lifi.d.ts +14 -0
- package/dist/types/integrations/lifi.d.ts.map +1 -0
- package/dist/types/state/checkout/payment-attempt.d.ts +9 -0
- package/dist/types/state/checkout/payment-attempt.d.ts.map +1 -0
- package/dist/types/state/checkout/store.d.ts +12 -86
- package/dist/types/state/checkout/store.d.ts.map +1 -1
- package/package.json +4 -2
- package/dist/esm/checkout/views/crypto-intent/currency-select.js +0 -44
- package/dist/esm/checkout/views/crypto-intent/currency-select.js.map +0 -1
- package/dist/esm/components/crypto/default-currency-selector.js +0 -62
- package/dist/esm/components/crypto/default-currency-selector.js.map +0 -1
- package/dist/types/checkout/views/crypto-intent/currency-select.d.ts +0 -3
- package/dist/types/checkout/views/crypto-intent/currency-select.d.ts.map +0 -1
- package/dist/types/components/crypto/default-currency-selector.d.ts +0 -9
- package/dist/types/components/crypto/default-currency-selector.d.ts.map +0 -1
|
@@ -1,69 +1,4 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
message: string;
|
|
3
|
-
}
|
|
4
|
-
export interface OrganizationsCreatePayload {
|
|
5
|
-
name: string;
|
|
6
|
-
emailAddress: string;
|
|
7
|
-
}
|
|
8
|
-
export interface OrganizationsCreateData {
|
|
9
|
-
data: {
|
|
10
|
-
id: string;
|
|
11
|
-
name: string;
|
|
12
|
-
/** @format date-time */
|
|
13
|
-
createdAt: string;
|
|
14
|
-
/** @format date-time */
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
};
|
|
17
|
-
meta: {
|
|
18
|
-
total: number;
|
|
19
|
-
offset: number;
|
|
20
|
-
limit: number;
|
|
21
|
-
} | null;
|
|
22
|
-
/** @default 200 */
|
|
23
|
-
status?: number;
|
|
24
|
-
error: string | null;
|
|
25
|
-
}
|
|
26
|
-
export interface AccountsMeListData {
|
|
27
|
-
data: {
|
|
28
|
-
id: string;
|
|
29
|
-
emailAddress: string;
|
|
30
|
-
organization: {
|
|
31
|
-
id: string;
|
|
32
|
-
name: string;
|
|
33
|
-
/** @format date-time */
|
|
34
|
-
createdAt: string;
|
|
35
|
-
/** @format date-time */
|
|
36
|
-
updatedAt: string;
|
|
37
|
-
};
|
|
38
|
-
/** @format date-time */
|
|
39
|
-
createdAt: string;
|
|
40
|
-
/** @format date-time */
|
|
41
|
-
updatedAt: string;
|
|
42
|
-
};
|
|
43
|
-
meta: {
|
|
44
|
-
total: number;
|
|
45
|
-
offset: number;
|
|
46
|
-
limit: number;
|
|
47
|
-
} | null;
|
|
48
|
-
/** @default 200 */
|
|
49
|
-
status?: number;
|
|
50
|
-
error: string | null;
|
|
51
|
-
}
|
|
52
|
-
export interface PaymentsCreatePayload {
|
|
53
|
-
currency: string;
|
|
54
|
-
checkout_id: string;
|
|
55
|
-
order_id?: string | null;
|
|
56
|
-
customer_id?: string;
|
|
57
|
-
metadata?: Record<string, string | number>;
|
|
58
|
-
line_items?: {
|
|
59
|
-
name: string;
|
|
60
|
-
quantity: number;
|
|
61
|
-
image_url: string;
|
|
62
|
-
price: number;
|
|
63
|
-
}[];
|
|
64
|
-
amount: number;
|
|
65
|
-
}
|
|
66
|
-
export interface PaymentsCreateData {
|
|
1
|
+
export interface PaymentsDetailData {
|
|
67
2
|
data: {
|
|
68
3
|
id: string;
|
|
69
4
|
currency: string;
|
|
@@ -71,851 +6,101 @@ export interface PaymentsCreateData {
|
|
|
71
6
|
created_at: string;
|
|
72
7
|
/** @format date-time */
|
|
73
8
|
updated_at: string;
|
|
74
|
-
checkout_id: string;
|
|
75
|
-
checkout: {
|
|
76
|
-
id: string;
|
|
77
|
-
organization_id: string;
|
|
78
|
-
name: string;
|
|
79
|
-
/** @format date-time */
|
|
80
|
-
created_at: string;
|
|
81
|
-
/** @format date-time */
|
|
82
|
-
updated_at: string;
|
|
83
|
-
checkout_config: {
|
|
84
|
-
crypto?: {
|
|
85
|
-
/** @default false */
|
|
86
|
-
enabled?: boolean;
|
|
87
|
-
settlementConfig?: {
|
|
88
|
-
chain: string;
|
|
89
|
-
asset: string;
|
|
90
|
-
asset_name: string;
|
|
91
|
-
chain_name: string;
|
|
92
|
-
asset_id: string;
|
|
93
|
-
display_name?: string;
|
|
94
|
-
};
|
|
95
|
-
withdrawAddress?: {
|
|
96
|
-
chain: string;
|
|
97
|
-
address: string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
card?: {
|
|
101
|
-
/** @default false */
|
|
102
|
-
enabled?: boolean;
|
|
103
|
-
};
|
|
104
|
-
bank?: {
|
|
105
|
-
/** @default false */
|
|
106
|
-
enabled?: boolean;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
withdraw_address_config?: {
|
|
110
|
-
chain: string;
|
|
111
|
-
address: string;
|
|
112
|
-
};
|
|
113
|
-
is_live: boolean;
|
|
114
|
-
logo_url?: string;
|
|
115
|
-
};
|
|
116
|
-
organization_id: string;
|
|
117
|
-
status: "pending" | "confirming_payment" | "paid" | "failed";
|
|
118
|
-
is_test: boolean;
|
|
119
|
-
payment_attempt?: {
|
|
120
|
-
payment_id: string;
|
|
121
|
-
from_token: string;
|
|
122
|
-
amount: number;
|
|
123
|
-
amount_formatted: number;
|
|
124
|
-
from_chain: string;
|
|
125
|
-
settlement_token_address: string;
|
|
126
|
-
destination_address: string;
|
|
127
|
-
/** @format date-time */
|
|
128
|
-
created_at: string;
|
|
129
|
-
/** @format date-time */
|
|
130
|
-
updated_at: string;
|
|
131
|
-
required_confirmations: number;
|
|
132
|
-
is_bridge: boolean;
|
|
133
|
-
};
|
|
134
|
-
fiat_payment_attempt?: {
|
|
135
|
-
payment_id: string;
|
|
136
|
-
provider: string;
|
|
137
|
-
provider_attempt_id: string;
|
|
138
|
-
provider_payment_id?: string | null;
|
|
139
|
-
error_code?: string | null;
|
|
140
|
-
error_message?: string | null;
|
|
141
|
-
client_params: Record<string, any>;
|
|
142
|
-
raw_provider_payload?: Record<string, any>;
|
|
143
|
-
/** @format date-time */
|
|
144
|
-
created_at: string;
|
|
145
|
-
/** @format date-time */
|
|
146
|
-
updated_at: string;
|
|
147
|
-
};
|
|
148
|
-
order_id?: string | null;
|
|
149
|
-
customer_id?: string;
|
|
150
|
-
metadata?: Record<string, string | number>;
|
|
151
|
-
line_items?: {
|
|
152
|
-
name: string;
|
|
153
|
-
quantity: number;
|
|
154
|
-
image_url: string;
|
|
155
|
-
price: number;
|
|
156
|
-
}[];
|
|
157
|
-
amount: number;
|
|
158
|
-
};
|
|
159
|
-
meta: {
|
|
160
|
-
total: number;
|
|
161
|
-
offset: number;
|
|
162
|
-
limit: number;
|
|
163
|
-
} | null;
|
|
164
|
-
/** @default 200 */
|
|
165
|
-
status?: number;
|
|
166
|
-
error: string | null;
|
|
167
|
-
}
|
|
168
|
-
export interface PaymentsListParams {
|
|
169
|
-
mode?: string;
|
|
170
|
-
checkoutId?: string;
|
|
171
|
-
sort?: (any | string) & {
|
|
172
|
-
field?: "createdAt";
|
|
173
|
-
order?: "asc" | "desc";
|
|
174
|
-
};
|
|
175
|
-
/** @default 10 */
|
|
176
|
-
limit?: number;
|
|
177
|
-
/** @default 0 */
|
|
178
|
-
offset?: number;
|
|
179
|
-
}
|
|
180
|
-
export interface PaymentsListData {
|
|
181
|
-
data: {
|
|
182
|
-
id: string;
|
|
183
|
-
currency: string;
|
|
184
|
-
/** @format date-time */
|
|
185
|
-
created_at: string;
|
|
186
9
|
/** @format date-time */
|
|
187
|
-
|
|
10
|
+
expires_at: string;
|
|
188
11
|
checkout_id: string;
|
|
189
12
|
checkout: {
|
|
190
13
|
id: string;
|
|
191
|
-
organization_id: string;
|
|
192
14
|
name: string;
|
|
193
|
-
/** @format date-time */
|
|
194
|
-
created_at: string;
|
|
195
|
-
/** @format date-time */
|
|
196
|
-
updated_at: string;
|
|
197
|
-
checkout_config: {
|
|
198
|
-
crypto?: {
|
|
199
|
-
/** @default false */
|
|
200
|
-
enabled?: boolean;
|
|
201
|
-
settlementConfig?: {
|
|
202
|
-
chain: string;
|
|
203
|
-
asset: string;
|
|
204
|
-
asset_name: string;
|
|
205
|
-
chain_name: string;
|
|
206
|
-
asset_id: string;
|
|
207
|
-
display_name?: string;
|
|
208
|
-
};
|
|
209
|
-
withdrawAddress?: {
|
|
210
|
-
chain: string;
|
|
211
|
-
address: string;
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
card?: {
|
|
215
|
-
/** @default false */
|
|
216
|
-
enabled?: boolean;
|
|
217
|
-
};
|
|
218
|
-
bank?: {
|
|
219
|
-
/** @default false */
|
|
220
|
-
enabled?: boolean;
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
withdraw_address_config?: {
|
|
224
|
-
chain: string;
|
|
225
|
-
address: string;
|
|
226
|
-
};
|
|
227
|
-
is_live: boolean;
|
|
228
15
|
logo_url?: string;
|
|
229
|
-
|
|
230
|
-
organization_id: string;
|
|
231
|
-
status: "pending" | "confirming_payment" | "paid" | "failed";
|
|
232
|
-
is_test: boolean;
|
|
233
|
-
payment_attempt?: {
|
|
234
|
-
payment_id: string;
|
|
235
|
-
from_token: string;
|
|
236
|
-
amount: number;
|
|
237
|
-
amount_formatted: number;
|
|
238
|
-
from_chain: string;
|
|
239
|
-
settlement_token_address: string;
|
|
240
|
-
destination_address: string;
|
|
241
|
-
/** @format date-time */
|
|
242
|
-
created_at: string;
|
|
243
|
-
/** @format date-time */
|
|
244
|
-
updated_at: string;
|
|
245
|
-
required_confirmations: number;
|
|
246
|
-
is_bridge: boolean;
|
|
247
|
-
};
|
|
248
|
-
fiat_payment_attempt?: {
|
|
249
|
-
payment_id: string;
|
|
250
|
-
provider: string;
|
|
251
|
-
provider_attempt_id: string;
|
|
252
|
-
provider_payment_id?: string | null;
|
|
253
|
-
error_code?: string | null;
|
|
254
|
-
error_message?: string | null;
|
|
255
|
-
client_params: Record<string, any>;
|
|
256
|
-
raw_provider_payload?: Record<string, any>;
|
|
257
|
-
/** @format date-time */
|
|
258
|
-
created_at: string;
|
|
259
|
-
/** @format date-time */
|
|
260
|
-
updated_at: string;
|
|
261
|
-
};
|
|
262
|
-
order_id?: string | null;
|
|
263
|
-
customer_id?: string;
|
|
264
|
-
metadata?: Record<string, string | number>;
|
|
265
|
-
line_items?: {
|
|
266
|
-
name: string;
|
|
267
|
-
quantity: number;
|
|
268
|
-
image_url: string;
|
|
269
|
-
price: number;
|
|
270
|
-
}[];
|
|
271
|
-
amount: number;
|
|
272
|
-
}[];
|
|
273
|
-
meta: {
|
|
274
|
-
total: number;
|
|
275
|
-
offset: number;
|
|
276
|
-
limit: number;
|
|
277
|
-
} | null;
|
|
278
|
-
/** @default 200 */
|
|
279
|
-
status?: number;
|
|
280
|
-
error: string | null;
|
|
281
|
-
}
|
|
282
|
-
export interface PaymentsDetailData {
|
|
283
|
-
data: {
|
|
284
|
-
id: string;
|
|
285
|
-
currency: string;
|
|
286
|
-
/** @format date-time */
|
|
287
|
-
created_at: string;
|
|
288
|
-
/** @format date-time */
|
|
289
|
-
updated_at: string;
|
|
290
|
-
checkout_id: string;
|
|
291
|
-
checkout: {
|
|
292
|
-
id: string;
|
|
293
|
-
organization_id: string;
|
|
294
|
-
name: string;
|
|
295
|
-
/** @format date-time */
|
|
296
|
-
created_at: string;
|
|
297
|
-
/** @format date-time */
|
|
298
|
-
updated_at: string;
|
|
16
|
+
is_live: boolean;
|
|
299
17
|
checkout_config: {
|
|
300
18
|
crypto?: {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
settlementConfig?: {
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
settlementConfig: {
|
|
304
21
|
chain: string;
|
|
22
|
+
/** @pattern ^0x[0-9a-f]+$ */
|
|
23
|
+
chain_hex?: string;
|
|
305
24
|
asset: string;
|
|
306
25
|
asset_name: string;
|
|
307
26
|
chain_name: string;
|
|
308
27
|
asset_id: string;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
withdrawAddress?: {
|
|
312
|
-
chain: string;
|
|
313
|
-
address: string;
|
|
28
|
+
logo_url?: string;
|
|
29
|
+
chain_logo_url?: string;
|
|
314
30
|
};
|
|
315
31
|
};
|
|
316
32
|
card?: {
|
|
317
|
-
|
|
318
|
-
enabled?: boolean;
|
|
33
|
+
enabled: boolean;
|
|
319
34
|
};
|
|
320
|
-
bank?: {
|
|
321
|
-
/** @default false */
|
|
322
|
-
enabled?: boolean;
|
|
323
|
-
};
|
|
324
|
-
};
|
|
325
|
-
withdraw_address_config?: {
|
|
326
|
-
chain: string;
|
|
327
|
-
address: string;
|
|
328
35
|
};
|
|
329
|
-
is_live: boolean;
|
|
330
|
-
logo_url?: string;
|
|
331
36
|
};
|
|
332
|
-
organization_id: string;
|
|
333
37
|
status: "pending" | "confirming_payment" | "paid" | "failed";
|
|
334
38
|
is_test: boolean;
|
|
335
39
|
payment_attempt?: {
|
|
336
40
|
payment_id: string;
|
|
337
|
-
from_token: string;
|
|
338
41
|
amount: number;
|
|
339
42
|
amount_formatted: number;
|
|
340
|
-
from_chain: string;
|
|
341
|
-
settlement_token_address: string;
|
|
342
|
-
destination_address: string;
|
|
343
|
-
/** @format date-time */
|
|
344
|
-
created_at: string;
|
|
345
|
-
/** @format date-time */
|
|
346
|
-
updated_at: string;
|
|
347
|
-
required_confirmations: number;
|
|
348
|
-
is_bridge: boolean;
|
|
349
|
-
};
|
|
350
|
-
fiat_payment_attempt?: {
|
|
351
|
-
payment_id: string;
|
|
352
|
-
provider: string;
|
|
353
|
-
provider_attempt_id: string;
|
|
354
|
-
provider_payment_id?: string | null;
|
|
355
|
-
error_code?: string | null;
|
|
356
|
-
error_message?: string | null;
|
|
357
|
-
client_params: Record<string, any>;
|
|
358
|
-
raw_provider_payload?: Record<string, any>;
|
|
359
43
|
/** @format date-time */
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
};
|
|
364
|
-
order_id?: string | null;
|
|
365
|
-
customer_id?: string;
|
|
366
|
-
metadata?: Record<string, string | number>;
|
|
367
|
-
line_items?: {
|
|
368
|
-
name: string;
|
|
369
|
-
quantity: number;
|
|
370
|
-
image_url: string;
|
|
371
|
-
price: number;
|
|
372
|
-
}[];
|
|
373
|
-
amount: number;
|
|
374
|
-
};
|
|
375
|
-
meta: {
|
|
376
|
-
total: number;
|
|
377
|
-
offset: number;
|
|
378
|
-
limit: number;
|
|
379
|
-
} | null;
|
|
380
|
-
/** @default 200 */
|
|
381
|
-
status?: number;
|
|
382
|
-
error: string | null;
|
|
383
|
-
}
|
|
384
|
-
export interface PaymentsCryptoPayCreatePayload {
|
|
385
|
-
asset: string;
|
|
386
|
-
chain: string;
|
|
387
|
-
/** @default false */
|
|
388
|
-
is_bridge?: boolean;
|
|
389
|
-
sendingAddress: string;
|
|
390
|
-
required_confirmations?: number;
|
|
391
|
-
}
|
|
392
|
-
export interface PaymentsCryptoPayCreateData {
|
|
393
|
-
data: {
|
|
394
|
-
payment_id: string;
|
|
395
|
-
from_token: string;
|
|
396
|
-
amount: number;
|
|
397
|
-
amount_formatted: number;
|
|
398
|
-
from_chain: string;
|
|
399
|
-
settlement_token_address: string;
|
|
400
|
-
destination_address: string;
|
|
401
|
-
/** @format date-time */
|
|
402
|
-
created_at: string;
|
|
403
|
-
/** @format date-time */
|
|
404
|
-
updated_at: string;
|
|
405
|
-
required_confirmations: number;
|
|
406
|
-
is_bridge: boolean;
|
|
407
|
-
};
|
|
408
|
-
meta: {
|
|
409
|
-
total: number;
|
|
410
|
-
offset: number;
|
|
411
|
-
limit: number;
|
|
412
|
-
} | null;
|
|
413
|
-
/** @default 200 */
|
|
414
|
-
status?: number;
|
|
415
|
-
error: string | null;
|
|
416
|
-
}
|
|
417
|
-
export interface PaymentsFiatAttemptsCreatePayload {
|
|
418
|
-
/** Payment method: card or bank transfer */
|
|
419
|
-
method: "card" | "bank";
|
|
420
|
-
}
|
|
421
|
-
export interface PaymentsFiatAttemptsCreateData {
|
|
422
|
-
provider: string;
|
|
423
|
-
/** @format uuid */
|
|
424
|
-
payment_id: string;
|
|
425
|
-
/** @format uuid */
|
|
426
|
-
fiat_payment_attempt_id: string;
|
|
427
|
-
client_params: Record<string, any>;
|
|
428
|
-
}
|
|
429
|
-
export interface ChainsListParams {
|
|
430
|
-
search?: string;
|
|
431
|
-
/** @default 10 */
|
|
432
|
-
limit?: number;
|
|
433
|
-
/** @default 0 */
|
|
434
|
-
offset?: number;
|
|
435
|
-
}
|
|
436
|
-
export interface ChainsListData {
|
|
437
|
-
data: {
|
|
438
|
-
id: string;
|
|
439
|
-
name: string;
|
|
440
|
-
networkId: string;
|
|
441
|
-
explorerUrl: string;
|
|
442
|
-
rpcNodeUrl: string;
|
|
443
|
-
logoUrl: string;
|
|
444
|
-
nativeTokenDecimals: number;
|
|
445
|
-
nativeTokenName: string;
|
|
446
|
-
nativeTokenSymbol: string;
|
|
447
|
-
nativeTokenLogoUrl: string;
|
|
448
|
-
caip2: string;
|
|
449
|
-
}[];
|
|
450
|
-
meta: {
|
|
451
|
-
total: number;
|
|
452
|
-
offset: number;
|
|
453
|
-
limit: number;
|
|
454
|
-
} | null;
|
|
455
|
-
/** @default 200 */
|
|
456
|
-
status?: number;
|
|
457
|
-
error: string | null;
|
|
458
|
-
}
|
|
459
|
-
export interface TokensListParams {
|
|
460
|
-
chain?: string;
|
|
461
|
-
search?: string;
|
|
462
|
-
id?: string;
|
|
463
|
-
token?: string;
|
|
464
|
-
/** @default 10 */
|
|
465
|
-
limit?: number;
|
|
466
|
-
/** @default 0 */
|
|
467
|
-
offset?: number;
|
|
468
|
-
}
|
|
469
|
-
export interface TokensListData {
|
|
470
|
-
data: {
|
|
471
|
-
id: string;
|
|
472
|
-
name: string;
|
|
473
|
-
symbol: string;
|
|
474
|
-
chain: {
|
|
475
|
-
id: string;
|
|
476
|
-
name: string;
|
|
477
|
-
networkId: string;
|
|
478
|
-
explorerUrl: string;
|
|
479
|
-
rpcNodeUrl: string;
|
|
480
|
-
logoUrl: string;
|
|
481
|
-
nativeTokenDecimals: number;
|
|
482
|
-
nativeTokenName: string;
|
|
483
|
-
nativeTokenSymbol: string;
|
|
484
|
-
nativeTokenLogoUrl: string;
|
|
485
|
-
caip2: string;
|
|
486
|
-
};
|
|
487
|
-
caip21: string;
|
|
488
|
-
contractAddress: string | null;
|
|
489
|
-
decimals: number;
|
|
490
|
-
isNative: boolean;
|
|
491
|
-
logoUrl: string;
|
|
492
|
-
}[];
|
|
493
|
-
meta: {
|
|
494
|
-
total: number;
|
|
495
|
-
offset: number;
|
|
496
|
-
limit: number;
|
|
497
|
-
} | null;
|
|
498
|
-
/** @default 200 */
|
|
499
|
-
status?: number;
|
|
500
|
-
error: string | null;
|
|
501
|
-
}
|
|
502
|
-
export interface WebhooksCreatePayload {
|
|
503
|
-
/** @format uri */
|
|
504
|
-
webhook_url: string;
|
|
505
|
-
}
|
|
506
|
-
export interface WebhooksCreateData {
|
|
507
|
-
data: {
|
|
508
|
-
id: string;
|
|
509
|
-
organization_id: string;
|
|
510
|
-
webhook_url: string;
|
|
511
|
-
/** @format date-time */
|
|
512
|
-
created_at: string;
|
|
513
|
-
/** @format date-time */
|
|
514
|
-
updated_at: string;
|
|
515
|
-
webhook_secret: string;
|
|
516
|
-
};
|
|
517
|
-
meta: {
|
|
518
|
-
total: number;
|
|
519
|
-
offset: number;
|
|
520
|
-
limit: number;
|
|
521
|
-
} | null;
|
|
522
|
-
/** @default 200 */
|
|
523
|
-
status?: number;
|
|
524
|
-
error: string | null;
|
|
525
|
-
}
|
|
526
|
-
export interface WebhooksListParams {
|
|
527
|
-
webhookUrl?: string;
|
|
528
|
-
sort?: (any | string) & {
|
|
529
|
-
field?: "created_at";
|
|
530
|
-
order?: "asc" | "desc";
|
|
531
|
-
};
|
|
532
|
-
/** @default 10 */
|
|
533
|
-
limit?: number;
|
|
534
|
-
/** @default 0 */
|
|
535
|
-
offset?: number;
|
|
536
|
-
}
|
|
537
|
-
export interface WebhooksListData {
|
|
538
|
-
data: {
|
|
539
|
-
id: string;
|
|
540
|
-
organization_id: string;
|
|
541
|
-
webhook_url: string;
|
|
542
|
-
/** @format date-time */
|
|
543
|
-
created_at: string;
|
|
544
|
-
/** @format date-time */
|
|
545
|
-
updated_at: string;
|
|
546
|
-
webhook_secret: string;
|
|
547
|
-
}[];
|
|
548
|
-
meta: {
|
|
549
|
-
total: number;
|
|
550
|
-
offset: number;
|
|
551
|
-
limit: number;
|
|
552
|
-
} | null;
|
|
553
|
-
/** @default 200 */
|
|
554
|
-
status?: number;
|
|
555
|
-
error: string | null;
|
|
556
|
-
}
|
|
557
|
-
export interface WebhooksProvidersCardCreateData {
|
|
558
|
-
success: boolean;
|
|
559
|
-
}
|
|
560
|
-
export type WebhooksProvidersCardCreateError = {
|
|
561
|
-
error: string;
|
|
562
|
-
};
|
|
563
|
-
export interface ApiKeysCreatePayload {
|
|
564
|
-
name: string;
|
|
565
|
-
}
|
|
566
|
-
export interface ApiKeysCreateData {
|
|
567
|
-
data: {
|
|
568
|
-
id: string;
|
|
569
|
-
organization_id: string;
|
|
570
|
-
name: string;
|
|
571
|
-
/** @format date-time */
|
|
572
|
-
created_at: string;
|
|
573
|
-
/** @format date-time */
|
|
574
|
-
updated_at: string;
|
|
575
|
-
secret_key: string;
|
|
576
|
-
public_key: string;
|
|
577
|
-
allowed_origins: string[];
|
|
578
|
-
};
|
|
579
|
-
meta: {
|
|
580
|
-
total: number;
|
|
581
|
-
offset: number;
|
|
582
|
-
limit: number;
|
|
583
|
-
} | null;
|
|
584
|
-
/** @default 200 */
|
|
585
|
-
status?: number;
|
|
586
|
-
error: string | null;
|
|
587
|
-
}
|
|
588
|
-
export interface ApiKeysListParams {
|
|
589
|
-
name?: string;
|
|
590
|
-
sort?: (any | string) & {
|
|
591
|
-
field?: "created_at";
|
|
592
|
-
order?: "asc" | "desc";
|
|
593
|
-
};
|
|
594
|
-
/** @default 10 */
|
|
595
|
-
limit?: number;
|
|
596
|
-
/** @default 0 */
|
|
597
|
-
offset?: number;
|
|
598
|
-
}
|
|
599
|
-
export interface ApiKeysListData {
|
|
600
|
-
data: {
|
|
601
|
-
id: string;
|
|
602
|
-
organization_id: string;
|
|
603
|
-
name: string;
|
|
604
|
-
/** @format date-time */
|
|
605
|
-
created_at: string;
|
|
606
|
-
/** @format date-time */
|
|
607
|
-
updated_at: string;
|
|
608
|
-
secret_key: string;
|
|
609
|
-
public_key: string;
|
|
610
|
-
allowed_origins: string[];
|
|
611
|
-
}[];
|
|
612
|
-
meta: {
|
|
613
|
-
total: number;
|
|
614
|
-
offset: number;
|
|
615
|
-
limit: number;
|
|
616
|
-
} | null;
|
|
617
|
-
/** @default 200 */
|
|
618
|
-
status?: number;
|
|
619
|
-
error: string | null;
|
|
620
|
-
}
|
|
621
|
-
export interface ApiKeysDashboardListData {
|
|
622
|
-
data: {
|
|
623
|
-
id: string;
|
|
624
|
-
organization_id: string;
|
|
625
|
-
name: string;
|
|
626
|
-
/** @format date-time */
|
|
627
|
-
created_at: string;
|
|
628
|
-
/** @format date-time */
|
|
629
|
-
updated_at: string;
|
|
630
|
-
secret_key: string;
|
|
631
|
-
public_key: string;
|
|
632
|
-
allowed_origins: string[];
|
|
633
|
-
};
|
|
634
|
-
meta: {
|
|
635
|
-
total: number;
|
|
636
|
-
offset: number;
|
|
637
|
-
limit: number;
|
|
638
|
-
} | null;
|
|
639
|
-
/** @default 200 */
|
|
640
|
-
status?: number;
|
|
641
|
-
error: string | null;
|
|
642
|
-
}
|
|
643
|
-
export interface ApiKeysDeleteData {
|
|
644
|
-
data: {
|
|
645
|
-
status: string;
|
|
646
|
-
};
|
|
647
|
-
meta: {
|
|
648
|
-
total: number;
|
|
649
|
-
offset: number;
|
|
650
|
-
limit: number;
|
|
651
|
-
} | null;
|
|
652
|
-
/** @default 200 */
|
|
653
|
-
status?: number;
|
|
654
|
-
error: string | null;
|
|
655
|
-
}
|
|
656
|
-
export interface ApiKeysPartialUpdatePayload {
|
|
657
|
-
name?: string;
|
|
658
|
-
allowed_origins?: string[];
|
|
659
|
-
}
|
|
660
|
-
export interface ApiKeysPartialUpdateData {
|
|
661
|
-
data: {
|
|
662
|
-
id: string;
|
|
663
|
-
organization_id: string;
|
|
664
|
-
name: string;
|
|
665
|
-
/** @format date-time */
|
|
666
|
-
created_at: string;
|
|
667
|
-
/** @format date-time */
|
|
668
|
-
updated_at: string;
|
|
669
|
-
secret_key: string;
|
|
670
|
-
public_key: string;
|
|
671
|
-
allowed_origins: string[];
|
|
672
|
-
};
|
|
673
|
-
meta: {
|
|
674
|
-
total: number;
|
|
675
|
-
offset: number;
|
|
676
|
-
limit: number;
|
|
677
|
-
} | null;
|
|
678
|
-
/** @default 200 */
|
|
679
|
-
status?: number;
|
|
680
|
-
error: string | null;
|
|
681
|
-
}
|
|
682
|
-
export interface BlocksCreatePayload {
|
|
683
|
-
caip2: string;
|
|
684
|
-
blockNumber: number;
|
|
685
|
-
}
|
|
686
|
-
export interface BlocksCreateData {
|
|
687
|
-
data: {
|
|
688
|
-
status: string;
|
|
689
|
-
};
|
|
690
|
-
meta: {
|
|
691
|
-
total: number;
|
|
692
|
-
offset: number;
|
|
693
|
-
limit: number;
|
|
694
|
-
} | null;
|
|
695
|
-
/** @default 200 */
|
|
696
|
-
status?: number;
|
|
697
|
-
error: string | null;
|
|
698
|
-
}
|
|
699
|
-
export interface AuthIdentifyStartCreatePayload {
|
|
700
|
-
emailAddress: string;
|
|
701
|
-
}
|
|
702
|
-
export interface AuthIdentifyStartCreateData {
|
|
703
|
-
data: {
|
|
704
|
-
publicKey: string;
|
|
705
|
-
};
|
|
706
|
-
meta: {
|
|
707
|
-
total: number;
|
|
708
|
-
offset: number;
|
|
709
|
-
limit: number;
|
|
710
|
-
} | null;
|
|
711
|
-
/** @default 200 */
|
|
712
|
-
status?: number;
|
|
713
|
-
error: string | null;
|
|
714
|
-
}
|
|
715
|
-
export interface AuthIdentifyVerifyCreatePayload {
|
|
716
|
-
token: string;
|
|
717
|
-
publicKey: string;
|
|
718
|
-
}
|
|
719
|
-
export interface AuthIdentifyVerifyCreateData {
|
|
720
|
-
data: {
|
|
721
|
-
access_token: string;
|
|
722
|
-
};
|
|
723
|
-
meta: {
|
|
724
|
-
total: number;
|
|
725
|
-
offset: number;
|
|
726
|
-
limit: number;
|
|
727
|
-
} | null;
|
|
728
|
-
/** @default 200 */
|
|
729
|
-
status?: number;
|
|
730
|
-
error: string | null;
|
|
731
|
-
}
|
|
732
|
-
export interface CheckoutsCreatePayload {
|
|
733
|
-
name: string;
|
|
734
|
-
checkout_config: {
|
|
735
|
-
crypto?: {
|
|
736
|
-
/** @default false */
|
|
737
|
-
enabled?: boolean;
|
|
738
|
-
settlementConfig?: {
|
|
44
|
+
expires_at: string;
|
|
45
|
+
settlement_token_address: string;
|
|
46
|
+
settlement_config: {
|
|
739
47
|
chain: string;
|
|
48
|
+
/** @pattern ^0x[0-9a-f]+$ */
|
|
49
|
+
chain_hex?: string;
|
|
740
50
|
asset: string;
|
|
741
51
|
asset_name: string;
|
|
742
52
|
chain_name: string;
|
|
743
53
|
asset_id: string;
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
withdrawAddress?: {
|
|
747
|
-
chain: string;
|
|
748
|
-
address: string;
|
|
54
|
+
logo_url?: string;
|
|
55
|
+
chain_logo_url?: string;
|
|
749
56
|
};
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
withdraw_address_config?: {
|
|
761
|
-
chain: string;
|
|
762
|
-
address: string;
|
|
763
|
-
};
|
|
764
|
-
logo_url?: string;
|
|
765
|
-
}
|
|
766
|
-
export interface CheckoutsCreateData {
|
|
767
|
-
data: {
|
|
768
|
-
id: string;
|
|
769
|
-
organization_id: string;
|
|
770
|
-
name: string;
|
|
771
|
-
/** @format date-time */
|
|
772
|
-
created_at: string;
|
|
773
|
-
/** @format date-time */
|
|
774
|
-
updated_at: string;
|
|
775
|
-
checkout_config: {
|
|
776
|
-
crypto?: {
|
|
777
|
-
/** @default false */
|
|
778
|
-
enabled?: boolean;
|
|
779
|
-
settlementConfig?: {
|
|
780
|
-
chain: string;
|
|
781
|
-
asset: string;
|
|
782
|
-
asset_name: string;
|
|
783
|
-
chain_name: string;
|
|
784
|
-
asset_id: string;
|
|
785
|
-
display_name?: string;
|
|
786
|
-
};
|
|
787
|
-
withdrawAddress?: {
|
|
788
|
-
chain: string;
|
|
789
|
-
address: string;
|
|
790
|
-
};
|
|
791
|
-
};
|
|
792
|
-
card?: {
|
|
793
|
-
/** @default false */
|
|
794
|
-
enabled?: boolean;
|
|
795
|
-
};
|
|
796
|
-
bank?: {
|
|
797
|
-
/** @default false */
|
|
798
|
-
enabled?: boolean;
|
|
799
|
-
};
|
|
800
|
-
};
|
|
801
|
-
withdraw_address_config?: {
|
|
802
|
-
chain: string;
|
|
803
|
-
address: string;
|
|
804
|
-
};
|
|
805
|
-
is_live: boolean;
|
|
806
|
-
logo_url?: string;
|
|
807
|
-
};
|
|
808
|
-
meta: {
|
|
809
|
-
total: number;
|
|
810
|
-
offset: number;
|
|
811
|
-
limit: number;
|
|
812
|
-
} | null;
|
|
813
|
-
/** @default 200 */
|
|
814
|
-
status?: number;
|
|
815
|
-
error: string | null;
|
|
816
|
-
}
|
|
817
|
-
export interface CheckoutsListParams {
|
|
818
|
-
sort?: {
|
|
819
|
-
field?: string;
|
|
820
|
-
order?: "asc" | "desc";
|
|
821
|
-
};
|
|
822
|
-
/** @default 10 */
|
|
823
|
-
limit?: number;
|
|
824
|
-
/** @default 0 */
|
|
825
|
-
offset?: number;
|
|
826
|
-
}
|
|
827
|
-
export interface CheckoutsListData {
|
|
828
|
-
data: {
|
|
829
|
-
id: string;
|
|
830
|
-
organization_id: string;
|
|
831
|
-
name: string;
|
|
832
|
-
/** @format date-time */
|
|
833
|
-
created_at: string;
|
|
834
|
-
/** @format date-time */
|
|
835
|
-
updated_at: string;
|
|
836
|
-
checkout_config: {
|
|
837
|
-
crypto?: {
|
|
838
|
-
/** @default false */
|
|
839
|
-
enabled?: boolean;
|
|
840
|
-
settlementConfig?: {
|
|
57
|
+
destination_address: string;
|
|
58
|
+
/** @format date-time */
|
|
59
|
+
created_at: string;
|
|
60
|
+
/** @format date-time */
|
|
61
|
+
updated_at: string;
|
|
62
|
+
required_confirmations: number;
|
|
63
|
+
routing: {
|
|
64
|
+
type: "direct";
|
|
65
|
+
source: {
|
|
66
|
+
token: string;
|
|
841
67
|
chain: string;
|
|
842
|
-
asset: string;
|
|
843
|
-
asset_name: string;
|
|
844
|
-
chain_name: string;
|
|
845
|
-
asset_id: string;
|
|
846
|
-
display_name?: string;
|
|
847
68
|
};
|
|
848
|
-
|
|
69
|
+
} | {
|
|
70
|
+
type: "swap";
|
|
71
|
+
source: {
|
|
72
|
+
token: string;
|
|
849
73
|
chain: string;
|
|
850
|
-
address: string;
|
|
851
74
|
};
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
enabled?: boolean;
|
|
856
|
-
};
|
|
857
|
-
bank?: {
|
|
858
|
-
/** @default false */
|
|
859
|
-
enabled?: boolean;
|
|
860
|
-
};
|
|
861
|
-
};
|
|
862
|
-
withdraw_address_config?: {
|
|
863
|
-
chain: string;
|
|
864
|
-
address: string;
|
|
865
|
-
};
|
|
866
|
-
is_live: boolean;
|
|
867
|
-
logo_url?: string;
|
|
868
|
-
}[];
|
|
869
|
-
meta: {
|
|
870
|
-
total: number;
|
|
871
|
-
offset: number;
|
|
872
|
-
limit: number;
|
|
873
|
-
} | null;
|
|
874
|
-
/** @default 200 */
|
|
875
|
-
status?: number;
|
|
876
|
-
error: string | null;
|
|
877
|
-
}
|
|
878
|
-
export interface CheckoutsDetailData {
|
|
879
|
-
data: {
|
|
880
|
-
id: string;
|
|
881
|
-
organization_id: string;
|
|
882
|
-
name: string;
|
|
883
|
-
/** @format date-time */
|
|
884
|
-
created_at: string;
|
|
885
|
-
/** @format date-time */
|
|
886
|
-
updated_at: string;
|
|
887
|
-
checkout_config: {
|
|
888
|
-
crypto?: {
|
|
889
|
-
/** @default false */
|
|
890
|
-
enabled?: boolean;
|
|
891
|
-
settlementConfig?: {
|
|
892
|
-
chain: string;
|
|
893
|
-
asset: string;
|
|
894
|
-
asset_name: string;
|
|
895
|
-
chain_name: string;
|
|
896
|
-
asset_id: string;
|
|
897
|
-
display_name?: string;
|
|
75
|
+
lifi?: {
|
|
76
|
+
quote_id: string;
|
|
77
|
+
route_id?: string | null;
|
|
898
78
|
};
|
|
899
|
-
|
|
79
|
+
} | {
|
|
80
|
+
type: "bridge";
|
|
81
|
+
source: {
|
|
82
|
+
token: string;
|
|
900
83
|
chain: string;
|
|
901
|
-
|
|
84
|
+
};
|
|
85
|
+
lifi?: {
|
|
86
|
+
quote_id: string;
|
|
87
|
+
route_id?: string | null;
|
|
902
88
|
};
|
|
903
89
|
};
|
|
904
|
-
card?: {
|
|
905
|
-
/** @default false */
|
|
906
|
-
enabled?: boolean;
|
|
907
|
-
};
|
|
908
|
-
bank?: {
|
|
909
|
-
/** @default false */
|
|
910
|
-
enabled?: boolean;
|
|
911
|
-
};
|
|
912
|
-
};
|
|
913
|
-
withdraw_address_config?: {
|
|
914
|
-
chain: string;
|
|
915
|
-
address: string;
|
|
916
90
|
};
|
|
917
|
-
|
|
918
|
-
|
|
91
|
+
payment_address?: string;
|
|
92
|
+
payment_url?: string;
|
|
93
|
+
order_id?: string | null;
|
|
94
|
+
return_url?: string | null;
|
|
95
|
+
customer_id?: string | null;
|
|
96
|
+
metadata?: Record<string, string | number>;
|
|
97
|
+
line_items?: {
|
|
98
|
+
name: string;
|
|
99
|
+
quantity: number;
|
|
100
|
+
image_url: string;
|
|
101
|
+
price: number;
|
|
102
|
+
}[];
|
|
103
|
+
amount: number;
|
|
919
104
|
};
|
|
920
105
|
meta: {
|
|
921
106
|
total: number;
|
|
@@ -926,138 +111,89 @@ export interface CheckoutsDetailData {
|
|
|
926
111
|
status?: number;
|
|
927
112
|
error: string | null;
|
|
928
113
|
}
|
|
929
|
-
export interface
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
chain: string;
|
|
948
|
-
asset: string;
|
|
949
|
-
asset_name: string;
|
|
950
|
-
chain_name: string;
|
|
951
|
-
asset_id: string;
|
|
952
|
-
display_name?: string;
|
|
953
|
-
};
|
|
954
|
-
withdrawAddress?: {
|
|
955
|
-
chain: string;
|
|
956
|
-
address: string;
|
|
957
|
-
};
|
|
114
|
+
export interface PaymentsCryptoPayCreatePayload {
|
|
115
|
+
sendingAddress: string;
|
|
116
|
+
required_confirmations?: number;
|
|
117
|
+
routing: {
|
|
118
|
+
type: "direct";
|
|
119
|
+
source: {
|
|
120
|
+
token: string;
|
|
121
|
+
chain: string;
|
|
122
|
+
};
|
|
123
|
+
} | {
|
|
124
|
+
type: "swap";
|
|
125
|
+
source: {
|
|
126
|
+
token: string;
|
|
127
|
+
chain: string;
|
|
128
|
+
};
|
|
129
|
+
lifi?: {
|
|
130
|
+
quote_id: string;
|
|
131
|
+
route_id?: string | null;
|
|
958
132
|
};
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
133
|
+
} | {
|
|
134
|
+
type: "bridge";
|
|
135
|
+
source: {
|
|
136
|
+
token: string;
|
|
137
|
+
chain: string;
|
|
962
138
|
};
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
139
|
+
lifi?: {
|
|
140
|
+
quote_id: string;
|
|
141
|
+
route_id?: string | null;
|
|
966
142
|
};
|
|
967
143
|
};
|
|
968
144
|
}
|
|
969
|
-
export interface
|
|
145
|
+
export interface PaymentsCryptoPayCreateData {
|
|
970
146
|
data: {
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
/** @format date-time */
|
|
975
|
-
created_at: string;
|
|
147
|
+
payment_id: string;
|
|
148
|
+
amount: number;
|
|
149
|
+
amount_formatted: number;
|
|
976
150
|
/** @format date-time */
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
/** @default false */
|
|
981
|
-
enabled?: boolean;
|
|
982
|
-
settlementConfig?: {
|
|
983
|
-
chain: string;
|
|
984
|
-
asset: string;
|
|
985
|
-
asset_name: string;
|
|
986
|
-
chain_name: string;
|
|
987
|
-
asset_id: string;
|
|
988
|
-
display_name?: string;
|
|
989
|
-
};
|
|
990
|
-
withdrawAddress?: {
|
|
991
|
-
chain: string;
|
|
992
|
-
address: string;
|
|
993
|
-
};
|
|
994
|
-
};
|
|
995
|
-
card?: {
|
|
996
|
-
/** @default false */
|
|
997
|
-
enabled?: boolean;
|
|
998
|
-
};
|
|
999
|
-
bank?: {
|
|
1000
|
-
/** @default false */
|
|
1001
|
-
enabled?: boolean;
|
|
1002
|
-
};
|
|
1003
|
-
};
|
|
1004
|
-
withdraw_address_config?: {
|
|
151
|
+
expires_at: string;
|
|
152
|
+
settlement_token_address: string;
|
|
153
|
+
settlement_config: {
|
|
1005
154
|
chain: string;
|
|
1006
|
-
|
|
155
|
+
/** @pattern ^0x[0-9a-f]+$ */
|
|
156
|
+
chain_hex?: string;
|
|
157
|
+
asset: string;
|
|
158
|
+
asset_name: string;
|
|
159
|
+
chain_name: string;
|
|
160
|
+
asset_id: string;
|
|
161
|
+
logo_url?: string;
|
|
162
|
+
chain_logo_url?: string;
|
|
1007
163
|
};
|
|
1008
|
-
|
|
1009
|
-
logo_url?: string;
|
|
1010
|
-
};
|
|
1011
|
-
meta: {
|
|
1012
|
-
total: number;
|
|
1013
|
-
offset: number;
|
|
1014
|
-
limit: number;
|
|
1015
|
-
} | null;
|
|
1016
|
-
/** @default 200 */
|
|
1017
|
-
status?: number;
|
|
1018
|
-
error: string | null;
|
|
1019
|
-
}
|
|
1020
|
-
export interface CheckoutsPublishCreateData {
|
|
1021
|
-
data: {
|
|
1022
|
-
id: string;
|
|
1023
|
-
organization_id: string;
|
|
1024
|
-
name: string;
|
|
164
|
+
destination_address: string;
|
|
1025
165
|
/** @format date-time */
|
|
1026
166
|
created_at: string;
|
|
1027
167
|
/** @format date-time */
|
|
1028
168
|
updated_at: string;
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
asset: string;
|
|
1036
|
-
asset_name: string;
|
|
1037
|
-
chain_name: string;
|
|
1038
|
-
asset_id: string;
|
|
1039
|
-
display_name?: string;
|
|
1040
|
-
};
|
|
1041
|
-
withdrawAddress?: {
|
|
1042
|
-
chain: string;
|
|
1043
|
-
address: string;
|
|
1044
|
-
};
|
|
169
|
+
required_confirmations: number;
|
|
170
|
+
routing: {
|
|
171
|
+
type: "direct";
|
|
172
|
+
source: {
|
|
173
|
+
token: string;
|
|
174
|
+
chain: string;
|
|
1045
175
|
};
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
176
|
+
} | {
|
|
177
|
+
type: "swap";
|
|
178
|
+
source: {
|
|
179
|
+
token: string;
|
|
180
|
+
chain: string;
|
|
1049
181
|
};
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
182
|
+
lifi?: {
|
|
183
|
+
quote_id: string;
|
|
184
|
+
route_id?: string | null;
|
|
185
|
+
};
|
|
186
|
+
} | {
|
|
187
|
+
type: "bridge";
|
|
188
|
+
source: {
|
|
189
|
+
token: string;
|
|
190
|
+
chain: string;
|
|
191
|
+
};
|
|
192
|
+
lifi?: {
|
|
193
|
+
quote_id: string;
|
|
194
|
+
route_id?: string | null;
|
|
1053
195
|
};
|
|
1054
196
|
};
|
|
1055
|
-
withdraw_address_config?: {
|
|
1056
|
-
chain: string;
|
|
1057
|
-
address: string;
|
|
1058
|
-
};
|
|
1059
|
-
is_live: boolean;
|
|
1060
|
-
logo_url?: string;
|
|
1061
197
|
};
|
|
1062
198
|
meta: {
|
|
1063
199
|
total: number;
|
|
@@ -1068,57 +204,29 @@ export interface CheckoutsPublishCreateData {
|
|
|
1068
204
|
status?: number;
|
|
1069
205
|
error: string | null;
|
|
1070
206
|
}
|
|
1071
|
-
export interface
|
|
1072
|
-
chain: string;
|
|
1073
|
-
withdraw_address: string;
|
|
1074
|
-
}
|
|
1075
|
-
export interface MerchantAccountsCreateData {
|
|
207
|
+
export interface PaymentsCryptoPayPayerOptionsDetailData {
|
|
1076
208
|
data: {
|
|
1077
209
|
id: string;
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
} | null;
|
|
1091
|
-
/** @default 200 */
|
|
1092
|
-
status?: number;
|
|
1093
|
-
error: string | null;
|
|
1094
|
-
}
|
|
1095
|
-
export interface StatsAssetsListParams {
|
|
1096
|
-
/** @format date-time */
|
|
1097
|
-
startDate: string;
|
|
1098
|
-
/** @format date-time */
|
|
1099
|
-
endDate: string;
|
|
1100
|
-
isLiveMode?: "true" | "false";
|
|
1101
|
-
/** @default 10 */
|
|
1102
|
-
limit?: number;
|
|
1103
|
-
/** @default 0 */
|
|
1104
|
-
offset?: number;
|
|
1105
|
-
}
|
|
1106
|
-
export interface StatsAssetsListData {
|
|
1107
|
-
data: {
|
|
1108
|
-
assets: {
|
|
1109
|
-
id: string;
|
|
210
|
+
kind: "direct" | "swap" | "bridge";
|
|
211
|
+
badge: string | null;
|
|
212
|
+
estimated_duration_minutes: number | null;
|
|
213
|
+
from_chain: {
|
|
214
|
+
caip2: string;
|
|
215
|
+
name: string;
|
|
216
|
+
logo_url: string;
|
|
217
|
+
chain_hex: string;
|
|
218
|
+
};
|
|
219
|
+
from_token: {
|
|
220
|
+
caip21: string;
|
|
221
|
+
name: string;
|
|
1110
222
|
symbol: string;
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
};
|
|
1119
|
-
}[];
|
|
1120
|
-
isLiveMode: boolean;
|
|
1121
|
-
};
|
|
223
|
+
logo_url: string;
|
|
224
|
+
is_native: boolean;
|
|
225
|
+
};
|
|
226
|
+
balance_raw: string;
|
|
227
|
+
balance_formatted: string;
|
|
228
|
+
balance_display: string;
|
|
229
|
+
}[];
|
|
1122
230
|
meta: {
|
|
1123
231
|
total: number;
|
|
1124
232
|
offset: number;
|
|
@@ -1128,79 +236,19 @@ export interface StatsAssetsListData {
|
|
|
1128
236
|
status?: number;
|
|
1129
237
|
error: string | null;
|
|
1130
238
|
}
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
}
|
|
1139
|
-
export interface StatsAssetsChartListData {
|
|
1140
|
-
data: {
|
|
1141
|
-
chartData: ({
|
|
1142
|
-
date: string;
|
|
1143
|
-
totalPayments?: number;
|
|
1144
|
-
totalAmount?: number;
|
|
1145
|
-
} & Record<string, string | number | any>)[];
|
|
1146
|
-
checkoutNames: Record<string, string>;
|
|
1147
|
-
checkoutStats: {
|
|
1148
|
-
id: string;
|
|
1149
|
-
name: string;
|
|
1150
|
-
totalAmount: number;
|
|
1151
|
-
numPayments: number;
|
|
1152
|
-
assetSymbol?: string;
|
|
1153
|
-
assetIcon?: string;
|
|
1154
|
-
}[];
|
|
1155
|
-
isLiveMode: boolean;
|
|
239
|
+
/** @default {} */
|
|
240
|
+
export interface PaymentsConfirmCreatePayload {
|
|
241
|
+
tx_hash?: string;
|
|
242
|
+
lifi_quote?: {
|
|
243
|
+
quote_id: string;
|
|
244
|
+
route_id?: string | null;
|
|
245
|
+
route?: any;
|
|
1156
246
|
};
|
|
1157
|
-
meta: {
|
|
1158
|
-
total: number;
|
|
1159
|
-
offset: number;
|
|
1160
|
-
limit: number;
|
|
1161
|
-
} | null;
|
|
1162
|
-
/** @default 200 */
|
|
1163
|
-
status?: number;
|
|
1164
|
-
error: string | null;
|
|
1165
|
-
}
|
|
1166
|
-
export interface TeamListData {
|
|
1167
|
-
data: {
|
|
1168
|
-
id: string;
|
|
1169
|
-
emailAddress: string;
|
|
1170
|
-
role: string;
|
|
1171
|
-
/** @format date-time */
|
|
1172
|
-
lastLoginAt: string | null;
|
|
1173
|
-
/** @format date-time */
|
|
1174
|
-
createdAt: string;
|
|
1175
|
-
}[];
|
|
1176
247
|
}
|
|
1177
|
-
export interface
|
|
1178
|
-
/** @format email */
|
|
1179
|
-
emailAddress: string;
|
|
1180
|
-
roleName: "Admin" | "Developer" | "User";
|
|
1181
|
-
}
|
|
1182
|
-
export interface TeamInviteCreateData {
|
|
248
|
+
export interface PaymentsConfirmCreateData {
|
|
1183
249
|
data: {
|
|
1184
|
-
id: string;
|
|
1185
|
-
emailAddress: string;
|
|
1186
250
|
status: string;
|
|
1187
251
|
};
|
|
1188
|
-
}
|
|
1189
|
-
export interface TeamRolePartialUpdatePayload {
|
|
1190
|
-
roleName: "Admin" | "Developer" | "User";
|
|
1191
|
-
}
|
|
1192
|
-
export type TeamRolePartialUpdateData = any;
|
|
1193
|
-
export type TeamDeleteData = any;
|
|
1194
|
-
export interface RbacPermissionsAvailableListData {
|
|
1195
|
-
data: ("USER_READ" | "USER_WRITE" | "USER_DELETE" | "TEAM_INVITE" | "TEAM_REMOVE" | "TEAM_ROLE_UPDATE" | "CHECKOUT_READ" | "CHECKOUT_WRITE" | "CHECKOUT_DELETE" | "PAYMENT_READ" | "PAYMENT_WRITE" | "API_KEY_READ" | "API_KEY_WRITE" | "API_KEY_DELETE" | "WEBHOOK_READ" | "WEBHOOK_WRITE" | "WEBHOOK_DELETE" | "ORG_SETTINGS_READ" | "ORG_SETTINGS_WRITE")[];
|
|
1196
|
-
}
|
|
1197
|
-
export interface RbacPermissionsListData {
|
|
1198
|
-
data: {
|
|
1199
|
-
userId: string;
|
|
1200
|
-
organizationId: string;
|
|
1201
|
-
permissions: ("USER_READ" | "USER_WRITE" | "USER_DELETE" | "TEAM_INVITE" | "TEAM_REMOVE" | "TEAM_ROLE_UPDATE" | "CHECKOUT_READ" | "CHECKOUT_WRITE" | "CHECKOUT_DELETE" | "PAYMENT_READ" | "PAYMENT_WRITE" | "API_KEY_READ" | "API_KEY_WRITE" | "API_KEY_DELETE" | "WEBHOOK_READ" | "WEBHOOK_WRITE" | "WEBHOOK_DELETE" | "ORG_SETTINGS_READ" | "ORG_SETTINGS_WRITE")[];
|
|
1202
|
-
roles: string[];
|
|
1203
|
-
};
|
|
1204
252
|
meta: {
|
|
1205
253
|
total: number;
|
|
1206
254
|
offset: number;
|
|
@@ -1271,64 +319,19 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
1271
319
|
/**
|
|
1272
320
|
* @title Mint Money API
|
|
1273
321
|
* @version 1.0.0
|
|
1274
|
-
* @baseUrl https://api.
|
|
322
|
+
* @baseUrl https://api.getmint.money
|
|
1275
323
|
*
|
|
1276
324
|
* API for the getmint.money platform
|
|
1277
325
|
*/
|
|
1278
326
|
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
1279
327
|
v1: {
|
|
1280
|
-
/**
|
|
1281
|
-
* No description
|
|
1282
|
-
*
|
|
1283
|
-
* @tags Health
|
|
1284
|
-
* @name HealthzList
|
|
1285
|
-
* @request GET:/v1/healthz
|
|
1286
|
-
* @response `200` `HealthzListData` Default Response
|
|
1287
|
-
*/
|
|
1288
|
-
healthzList: (params?: RequestParams) => Promise<HttpResponse<HealthzListData, any>>;
|
|
1289
|
-
/**
|
|
1290
|
-
* @description Create a new organisation
|
|
1291
|
-
*
|
|
1292
|
-
* @tags Organisations
|
|
1293
|
-
* @name OrganizationsCreate
|
|
1294
|
-
* @request POST:/v1/organizations/
|
|
1295
|
-
* @response `201` `OrganizationsCreateData` Default Response
|
|
1296
|
-
*/
|
|
1297
|
-
organizationsCreate: (data: OrganizationsCreatePayload, params?: RequestParams) => Promise<HttpResponse<OrganizationsCreateData, any>>;
|
|
1298
|
-
/**
|
|
1299
|
-
* @description Get account details for the current user
|
|
1300
|
-
*
|
|
1301
|
-
* @tags Account
|
|
1302
|
-
* @name AccountsMeList
|
|
1303
|
-
* @request GET:/v1/accounts/me
|
|
1304
|
-
* @response `200` `AccountsMeListData` Default Response
|
|
1305
|
-
*/
|
|
1306
|
-
accountsMeList: (params?: RequestParams) => Promise<HttpResponse<AccountsMeListData, any>>;
|
|
1307
|
-
/**
|
|
1308
|
-
* @description Create a new on-chain payment
|
|
1309
|
-
*
|
|
1310
|
-
* @tags Payments
|
|
1311
|
-
* @name PaymentsCreate
|
|
1312
|
-
* @request POST:/v1/payments/
|
|
1313
|
-
* @response `201` `PaymentsCreateData` Default Response
|
|
1314
|
-
*/
|
|
1315
|
-
paymentsCreate: (data: PaymentsCreatePayload, params?: RequestParams) => Promise<HttpResponse<PaymentsCreateData, any>>;
|
|
1316
|
-
/**
|
|
1317
|
-
* @description Fetch all payment by id
|
|
1318
|
-
*
|
|
1319
|
-
* @tags Payments
|
|
1320
|
-
* @name PaymentsList
|
|
1321
|
-
* @request GET:/v1/payments/
|
|
1322
|
-
* @response `200` `PaymentsListData` Default Response
|
|
1323
|
-
*/
|
|
1324
|
-
paymentsList: (query: PaymentsListParams, params?: RequestParams) => Promise<HttpResponse<PaymentsListData, any>>;
|
|
1325
328
|
/**
|
|
1326
329
|
* @description Fetch a payment by id
|
|
1327
330
|
*
|
|
1328
331
|
* @tags Payments
|
|
1329
332
|
* @name PaymentsDetail
|
|
1330
333
|
* @request GET:/v1/payments/{paymentId}
|
|
1331
|
-
* @response `
|
|
334
|
+
* @response `200` `PaymentsDetailData` Default Response
|
|
1332
335
|
*/
|
|
1333
336
|
paymentsDetail: (paymentId: string, params?: RequestParams) => Promise<HttpResponse<PaymentsDetailData, any>>;
|
|
1334
337
|
/**
|
|
@@ -1341,270 +344,23 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1341
344
|
*/
|
|
1342
345
|
paymentsCryptoPayCreate: (paymentId: string, data: PaymentsCryptoPayCreatePayload, params?: RequestParams) => Promise<HttpResponse<PaymentsCryptoPayCreateData, any>>;
|
|
1343
346
|
/**
|
|
1344
|
-
* @description
|
|
347
|
+
* @description Discover supported wallet payment options for a payer address
|
|
1345
348
|
*
|
|
1346
349
|
* @tags Payments
|
|
1347
|
-
* @name
|
|
1348
|
-
* @request
|
|
1349
|
-
* @response `
|
|
1350
|
-
*/
|
|
1351
|
-
paymentsFiatAttemptsCreate: (paymentId: string, data: PaymentsFiatAttemptsCreatePayload, params?: RequestParams) => Promise<HttpResponse<PaymentsFiatAttemptsCreateData, any>>;
|
|
1352
|
-
/**
|
|
1353
|
-
* @description Fetch the supported chains
|
|
1354
|
-
*
|
|
1355
|
-
* @tags Chain
|
|
1356
|
-
* @name ChainsList
|
|
1357
|
-
* @request GET:/v1/chains
|
|
1358
|
-
* @response `200` `ChainsListData` Default Response
|
|
1359
|
-
*/
|
|
1360
|
-
chainsList: (query: ChainsListParams, params?: RequestParams) => Promise<HttpResponse<ChainsListData, any>>;
|
|
1361
|
-
/**
|
|
1362
|
-
* @description Fetch the supported tokens
|
|
1363
|
-
*
|
|
1364
|
-
* @tags Chain
|
|
1365
|
-
* @name TokensList
|
|
1366
|
-
* @request GET:/v1/tokens
|
|
1367
|
-
* @response `200` `TokensListData` Default Response
|
|
1368
|
-
*/
|
|
1369
|
-
tokensList: (query: TokensListParams, params?: RequestParams) => Promise<HttpResponse<TokensListData, any>>;
|
|
1370
|
-
/**
|
|
1371
|
-
* @description Create a new endpoint for the organization
|
|
1372
|
-
*
|
|
1373
|
-
* @tags Webhooks
|
|
1374
|
-
* @name WebhooksCreate
|
|
1375
|
-
* @request POST:/v1/webhooks/
|
|
1376
|
-
* @response `201` `WebhooksCreateData` Default Response
|
|
1377
|
-
*/
|
|
1378
|
-
webhooksCreate: (data: WebhooksCreatePayload, params?: RequestParams) => Promise<HttpResponse<WebhooksCreateData, any>>;
|
|
1379
|
-
/**
|
|
1380
|
-
* @description Fetch all WebhookUrls
|
|
1381
|
-
*
|
|
1382
|
-
* @tags Webhooks
|
|
1383
|
-
* @name WebhooksList
|
|
1384
|
-
* @request GET:/v1/webhooks/
|
|
1385
|
-
* @response `200` `WebhooksListData` Default Response
|
|
1386
|
-
*/
|
|
1387
|
-
webhooksList: (query: WebhooksListParams, params?: RequestParams) => Promise<HttpResponse<WebhooksListData, any>>;
|
|
1388
|
-
/**
|
|
1389
|
-
* @description Generic webhook endpoint for card payment providers
|
|
1390
|
-
*
|
|
1391
|
-
* @tags Webhooks
|
|
1392
|
-
* @name WebhooksProvidersCardCreate
|
|
1393
|
-
* @request POST:/v1/webhooks/providers/card/{webhookId}
|
|
1394
|
-
* @response `200` `WebhooksProvidersCardCreateData` Default Response
|
|
1395
|
-
* @response `404` `{
|
|
1396
|
-
error: string,
|
|
1397
|
-
|
|
1398
|
-
}` Default Response
|
|
1399
|
-
*/
|
|
1400
|
-
webhooksProvidersCardCreate: (webhookId: string, params?: RequestParams) => Promise<HttpResponse<WebhooksProvidersCardCreateData, WebhooksProvidersCardCreateError>>;
|
|
1401
|
-
/**
|
|
1402
|
-
* @description Create a new API key for the organization
|
|
1403
|
-
*
|
|
1404
|
-
* @tags ApiKeys
|
|
1405
|
-
* @name ApiKeysCreate
|
|
1406
|
-
* @request POST:/v1/api-keys/
|
|
1407
|
-
* @response `201` `ApiKeysCreateData` Default Response
|
|
350
|
+
* @name PaymentsCryptoPayPayerOptionsDetail
|
|
351
|
+
* @request GET:/v1/payments/crypto-pay/{paymentId}/payer/{address}/options
|
|
352
|
+
* @response `200` `PaymentsCryptoPayPayerOptionsDetailData` Default Response
|
|
1408
353
|
*/
|
|
1409
|
-
|
|
354
|
+
paymentsCryptoPayPayerOptionsDetail: (paymentId: string, address: string, params?: RequestParams) => Promise<HttpResponse<PaymentsCryptoPayPayerOptionsDetailData, any>>;
|
|
1410
355
|
/**
|
|
1411
|
-
* @description
|
|
356
|
+
* @description Confirm a crypto payment by tx hash
|
|
1412
357
|
*
|
|
1413
|
-
* @tags
|
|
1414
|
-
* @name
|
|
1415
|
-
* @request
|
|
1416
|
-
* @response `
|
|
1417
|
-
*/
|
|
1418
|
-
apiKeysList: (query: ApiKeysListParams, params?: RequestParams) => Promise<HttpResponse<ApiKeysListData, any>>;
|
|
1419
|
-
/**
|
|
1420
|
-
* @description Fetch the dashboard API key for the organization
|
|
1421
|
-
*
|
|
1422
|
-
* @tags ApiKeys
|
|
1423
|
-
* @name ApiKeysDashboardList
|
|
1424
|
-
* @request GET:/v1/api-keys/dashboard
|
|
1425
|
-
* @response `200` `ApiKeysDashboardListData` Default Response
|
|
1426
|
-
*/
|
|
1427
|
-
apiKeysDashboardList: (params?: RequestParams) => Promise<HttpResponse<ApiKeysDashboardListData, any>>;
|
|
1428
|
-
/**
|
|
1429
|
-
* @description Delete an ApiKey
|
|
1430
|
-
*
|
|
1431
|
-
* @tags ApiKeys
|
|
1432
|
-
* @name ApiKeysDelete
|
|
1433
|
-
* @request DELETE:/v1/api-keys/{apiKeyId}
|
|
1434
|
-
* @response `200` `ApiKeysDeleteData` Default Response
|
|
1435
|
-
*/
|
|
1436
|
-
apiKeysDelete: (apiKeyId: string, params?: RequestParams) => Promise<HttpResponse<ApiKeysDeleteData, any>>;
|
|
1437
|
-
/**
|
|
1438
|
-
* @description Patch an ApiKey
|
|
1439
|
-
*
|
|
1440
|
-
* @tags ApiKeys
|
|
1441
|
-
* @name ApiKeysPartialUpdate
|
|
1442
|
-
* @request PATCH:/v1/api-keys/{apiKeyId}
|
|
1443
|
-
* @response `201` `ApiKeysPartialUpdateData` Default Response
|
|
1444
|
-
*/
|
|
1445
|
-
apiKeysPartialUpdate: (apiKeyId: string, data: ApiKeysPartialUpdatePayload, params?: RequestParams) => Promise<HttpResponse<ApiKeysPartialUpdateData, any>>;
|
|
1446
|
-
/**
|
|
1447
|
-
* @description Sync a specific block
|
|
1448
|
-
*
|
|
1449
|
-
* @tags Blocks
|
|
1450
|
-
* @name BlocksCreate
|
|
1451
|
-
* @request POST:/v1/blocks
|
|
1452
|
-
* @response `200` `BlocksCreateData` Default Response
|
|
1453
|
-
*/
|
|
1454
|
-
blocksCreate: (data: BlocksCreatePayload, params?: RequestParams) => Promise<HttpResponse<BlocksCreateData, any>>;
|
|
1455
|
-
/**
|
|
1456
|
-
* @description Begin identity verification
|
|
1457
|
-
*
|
|
1458
|
-
* @tags Auth
|
|
1459
|
-
* @name AuthIdentifyStartCreate
|
|
1460
|
-
* @request POST:/v1/auth/identify/start
|
|
1461
|
-
* @response `200` `AuthIdentifyStartCreateData` Default Response
|
|
1462
|
-
*/
|
|
1463
|
-
authIdentifyStartCreate: (data: AuthIdentifyStartCreatePayload, params?: RequestParams) => Promise<HttpResponse<AuthIdentifyStartCreateData, any>>;
|
|
1464
|
-
/**
|
|
1465
|
-
* @description Send identity verification
|
|
1466
|
-
*
|
|
1467
|
-
* @tags Auth
|
|
1468
|
-
* @name AuthIdentifyVerifyCreate
|
|
1469
|
-
* @request POST:/v1/auth/identify/verify
|
|
1470
|
-
* @response `200` `AuthIdentifyVerifyCreateData` Default Response
|
|
1471
|
-
*/
|
|
1472
|
-
authIdentifyVerifyCreate: (data: AuthIdentifyVerifyCreatePayload, params?: RequestParams) => Promise<HttpResponse<AuthIdentifyVerifyCreateData, any>>;
|
|
1473
|
-
/**
|
|
1474
|
-
* @description Create a new checkout
|
|
1475
|
-
*
|
|
1476
|
-
* @tags Checkouts
|
|
1477
|
-
* @name CheckoutsCreate
|
|
1478
|
-
* @request POST:/v1/checkouts/
|
|
1479
|
-
* @response `201` `CheckoutsCreateData` Default Response
|
|
1480
|
-
*/
|
|
1481
|
-
checkoutsCreate: (data: CheckoutsCreatePayload, params?: RequestParams) => Promise<HttpResponse<CheckoutsCreateData, any>>;
|
|
1482
|
-
/**
|
|
1483
|
-
* @description Get all checkouts
|
|
1484
|
-
*
|
|
1485
|
-
* @tags Checkouts
|
|
1486
|
-
* @name CheckoutsList
|
|
1487
|
-
* @request GET:/v1/checkouts/
|
|
1488
|
-
* @response `200` `CheckoutsListData` Default Response
|
|
1489
|
-
*/
|
|
1490
|
-
checkoutsList: (query: CheckoutsListParams, params?: RequestParams) => Promise<HttpResponse<CheckoutsListData, any>>;
|
|
1491
|
-
/**
|
|
1492
|
-
* @description Get a checkout by id
|
|
1493
|
-
*
|
|
1494
|
-
* @tags Checkouts
|
|
1495
|
-
* @name CheckoutsDetail
|
|
1496
|
-
* @request GET:/v1/checkouts/{id}
|
|
1497
|
-
* @response `200` `CheckoutsDetailData` Default Response
|
|
1498
|
-
*/
|
|
1499
|
-
checkoutsDetail: (id: string, params?: RequestParams) => Promise<HttpResponse<CheckoutsDetailData, any>>;
|
|
1500
|
-
/**
|
|
1501
|
-
* @description Delete a checkout by id
|
|
1502
|
-
*
|
|
1503
|
-
* @tags Checkouts
|
|
1504
|
-
* @name CheckoutsDelete
|
|
1505
|
-
* @request DELETE:/v1/checkouts/{id}
|
|
1506
|
-
* @response `204` `CheckoutsDeleteData` Default Response
|
|
1507
|
-
*/
|
|
1508
|
-
checkoutsDelete: (id: string, params?: RequestParams) => Promise<HttpResponse<CheckoutsDeleteData, any>>;
|
|
1509
|
-
/**
|
|
1510
|
-
* @description Update a checkout by id
|
|
1511
|
-
*
|
|
1512
|
-
* @tags Checkouts
|
|
1513
|
-
* @name CheckoutsPartialUpdate
|
|
1514
|
-
* @request PATCH:/v1/checkouts/{id}
|
|
1515
|
-
* @response `200` `CheckoutsPartialUpdateData` Default Response
|
|
1516
|
-
*/
|
|
1517
|
-
checkoutsPartialUpdate: (id: string, data: CheckoutsPartialUpdatePayload, params?: RequestParams) => Promise<HttpResponse<CheckoutsPartialUpdateData, any>>;
|
|
1518
|
-
/**
|
|
1519
|
-
* @description Publish a checkout by id
|
|
1520
|
-
*
|
|
1521
|
-
* @tags Checkouts
|
|
1522
|
-
* @name CheckoutsPublishCreate
|
|
1523
|
-
* @request POST:/v1/checkouts/{id}/publish
|
|
1524
|
-
* @response `200` `CheckoutsPublishCreateData` Default Response
|
|
1525
|
-
*/
|
|
1526
|
-
checkoutsPublishCreate: (id: string, params?: RequestParams) => Promise<HttpResponse<CheckoutsPublishCreateData, any>>;
|
|
1527
|
-
/**
|
|
1528
|
-
* @description Create a new merchant account
|
|
1529
|
-
*
|
|
1530
|
-
* @tags Merchant Accounts
|
|
1531
|
-
* @name MerchantAccountsCreate
|
|
1532
|
-
* @request POST:/v1/merchant-accounts/
|
|
1533
|
-
* @response `201` `MerchantAccountsCreateData` Default Response
|
|
1534
|
-
*/
|
|
1535
|
-
merchantAccountsCreate: (data: MerchantAccountsCreatePayload, params?: RequestParams) => Promise<HttpResponse<MerchantAccountsCreateData, any>>;
|
|
1536
|
-
/**
|
|
1537
|
-
* @description Get all assets data with statistics
|
|
1538
|
-
*
|
|
1539
|
-
* @tags Stats
|
|
1540
|
-
* @name StatsAssetsList
|
|
1541
|
-
* @request GET:/v1/stats/assets
|
|
1542
|
-
* @response `200` `StatsAssetsListData` Default Response
|
|
1543
|
-
*/
|
|
1544
|
-
statsAssetsList: (query: StatsAssetsListParams, params?: RequestParams) => Promise<HttpResponse<StatsAssetsListData, any>>;
|
|
1545
|
-
/**
|
|
1546
|
-
* @description Get chart data for a specific asset
|
|
1547
|
-
*
|
|
1548
|
-
* @tags Stats
|
|
1549
|
-
* @name StatsAssetsChartList
|
|
1550
|
-
* @request GET:/v1/stats/assets/chart
|
|
1551
|
-
* @response `200` `StatsAssetsChartListData` Default Response
|
|
1552
|
-
*/
|
|
1553
|
-
statsAssetsChartList: (query: StatsAssetsChartListParams, params?: RequestParams) => Promise<HttpResponse<StatsAssetsChartListData, any>>;
|
|
1554
|
-
/**
|
|
1555
|
-
* @description Get all team members
|
|
1556
|
-
*
|
|
1557
|
-
* @tags Team
|
|
1558
|
-
* @name TeamList
|
|
1559
|
-
* @request GET:/v1/team/
|
|
1560
|
-
* @response `200` `TeamListData` Default Response
|
|
1561
|
-
*/
|
|
1562
|
-
teamList: (params?: RequestParams) => Promise<HttpResponse<TeamListData, any>>;
|
|
1563
|
-
/**
|
|
1564
|
-
* @description Invite a new team member
|
|
1565
|
-
*
|
|
1566
|
-
* @tags Team
|
|
1567
|
-
* @name TeamInviteCreate
|
|
1568
|
-
* @request POST:/v1/team/invite
|
|
1569
|
-
* @response `201` `TeamInviteCreateData` Default Response
|
|
1570
|
-
*/
|
|
1571
|
-
teamInviteCreate: (data: TeamInviteCreatePayload, params?: RequestParams) => Promise<HttpResponse<TeamInviteCreateData, any>>;
|
|
1572
|
-
/**
|
|
1573
|
-
* @description Update team member role
|
|
1574
|
-
*
|
|
1575
|
-
* @tags Team
|
|
1576
|
-
* @name TeamRolePartialUpdate
|
|
1577
|
-
* @request PATCH:/v1/team/{userId}/role
|
|
1578
|
-
* @response `200` `TeamRolePartialUpdateData` Default Response
|
|
1579
|
-
*/
|
|
1580
|
-
teamRolePartialUpdate: (userId: string, data: TeamRolePartialUpdatePayload, params?: RequestParams) => Promise<HttpResponse<any, any>>;
|
|
1581
|
-
/**
|
|
1582
|
-
* @description Remove team member
|
|
1583
|
-
*
|
|
1584
|
-
* @tags Team
|
|
1585
|
-
* @name TeamDelete
|
|
1586
|
-
* @request DELETE:/v1/team/{userId}
|
|
1587
|
-
* @response `200` `TeamDeleteData` Default Response
|
|
1588
|
-
*/
|
|
1589
|
-
teamDelete: (userId: string, params?: RequestParams) => Promise<HttpResponse<any, any>>;
|
|
1590
|
-
/**
|
|
1591
|
-
* @description Get all available permissions
|
|
1592
|
-
*
|
|
1593
|
-
* @tags RBAC
|
|
1594
|
-
* @name RbacPermissionsAvailableList
|
|
1595
|
-
* @request GET:/v1/rbac/permissions/available
|
|
1596
|
-
* @response `200` `RbacPermissionsAvailableListData` Default Response
|
|
1597
|
-
*/
|
|
1598
|
-
rbacPermissionsAvailableList: (params?: RequestParams) => Promise<HttpResponse<RbacPermissionsAvailableListData, any>>;
|
|
1599
|
-
/**
|
|
1600
|
-
* @description Get current user permissions and roles
|
|
1601
|
-
*
|
|
1602
|
-
* @tags RBAC
|
|
1603
|
-
* @name RbacPermissionsList
|
|
1604
|
-
* @request GET:/v1/rbac/permissions
|
|
1605
|
-
* @response `200` `RbacPermissionsListData` Default Response
|
|
358
|
+
* @tags Payments
|
|
359
|
+
* @name PaymentsConfirmCreate
|
|
360
|
+
* @request POST:/v1/payments/{paymentId}/confirm
|
|
361
|
+
* @response `202` `PaymentsConfirmCreateData` Default Response
|
|
1606
362
|
*/
|
|
1607
|
-
|
|
363
|
+
paymentsConfirmCreate: (paymentId: string, data: PaymentsConfirmCreatePayload, params?: RequestParams) => Promise<HttpResponse<PaymentsConfirmCreateData, any>>;
|
|
1608
364
|
};
|
|
1609
365
|
}
|
|
1610
366
|
export {};
|