squarefi-bff-api-module 1.36.0 → 1.36.1
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/api/types/autogen/apiV1External.types.d.ts +19 -3
- package/dist/api/types/autogen/apiV1Frontend.types.d.ts +174 -8
- package/dist/api/types/autogen/apiV1Legacy.types.d.ts +74 -109
- package/dist/api/types/autogen/apiV1Tenant.types.d.ts +17 -1
- package/dist/api/types/autogen/apiV2.types.d.ts +139 -341
- package/dist/api/types/types.d.ts +12 -0
- package/package.json +1 -1
|
@@ -2011,7 +2011,7 @@ export interface paths {
|
|
|
2011
2011
|
sub_account_type?: "prepaid" | "balance";
|
|
2012
2012
|
/** @description Filter cards by status */
|
|
2013
2013
|
status?: "ACTIVE" | "INACTIVE" | "SUSPENDED" | "CANCELED";
|
|
2014
|
-
/** @description Filter cards by
|
|
2014
|
+
/** @description Filter cards by last 4 digits of the card number (partial, case-insensitive match) */
|
|
2015
2015
|
last4?: string;
|
|
2016
2016
|
/** @description Number of items to skip */
|
|
2017
2017
|
offset?: number;
|
|
@@ -5494,7 +5494,8 @@ export interface paths {
|
|
|
5494
5494
|
* from the API key — presence of a rate row is treated as the enable flag.
|
|
5495
5495
|
*
|
|
5496
5496
|
* Each returned item includes a `tenant_rates` object (`markup_percent`,
|
|
5497
|
-
* `markup_fixed`, `mon_min_usd`)
|
|
5497
|
+
* `markup_fixed`, `mon_min_usd`) and may expose product-facing guardrails
|
|
5498
|
+
* such as `min_amount`, `max_amount`, and `first_party_only`.
|
|
5498
5499
|
*
|
|
5499
5500
|
* **Authentication**: x-api-key header required
|
|
5500
5501
|
*
|
|
@@ -7522,8 +7523,11 @@ export interface components {
|
|
|
7522
7523
|
* @description External vendor account ID
|
|
7523
7524
|
*/
|
|
7524
7525
|
vendor_account_id?: string | null;
|
|
7525
|
-
/** @description
|
|
7526
|
+
/** @description When false, deposit_instructions and account_details are returned as null (deposits disabled for this account) */
|
|
7527
|
+
is_deposit_enabled?: boolean;
|
|
7528
|
+
/** @description Bank account details for deposits. Returned null when is_deposit_enabled is false. */
|
|
7526
7529
|
account_details?: components["schemas"]["BankAccountDetails"];
|
|
7530
|
+
/** @description Deposit requisites. Returned null when is_deposit_enabled is false. */
|
|
7527
7531
|
deposit_instructions?: Record<string, never> | null;
|
|
7528
7532
|
current_balance?: number | null;
|
|
7529
7533
|
available_balance?: number | null;
|
|
@@ -7616,6 +7620,18 @@ export interface components {
|
|
|
7616
7620
|
is_internal?: boolean;
|
|
7617
7621
|
payment_method?: string | null;
|
|
7618
7622
|
is_trusted?: boolean;
|
|
7623
|
+
/**
|
|
7624
|
+
* @description Optional minimum amount the product should allow for this order type
|
|
7625
|
+
* @example 100
|
|
7626
|
+
*/
|
|
7627
|
+
min_amount?: number | null;
|
|
7628
|
+
/**
|
|
7629
|
+
* @description Optional maximum amount the product should allow for this order type
|
|
7630
|
+
* @example 50000
|
|
7631
|
+
*/
|
|
7632
|
+
max_amount?: number | null;
|
|
7633
|
+
/** @description Whether payouts for this order type are limited to the wallet owner's own account */
|
|
7634
|
+
first_party_only?: boolean;
|
|
7619
7635
|
/** @description Tenant-specific billing rates (present when tenant context is available) */
|
|
7620
7636
|
tenant_rates?: {
|
|
7621
7637
|
/**
|
|
@@ -1736,7 +1736,7 @@ export interface paths {
|
|
|
1736
1736
|
sub_account_type?: "prepaid" | "balance";
|
|
1737
1737
|
/** @description Filter cards by status */
|
|
1738
1738
|
status?: "ACTIVE" | "INACTIVE" | "SUSPENDED" | "CANCELED";
|
|
1739
|
-
/** @description Filter cards by
|
|
1739
|
+
/** @description Filter cards by last 4 digits of the card number (partial, case-insensitive match) */
|
|
1740
1740
|
last4?: string;
|
|
1741
1741
|
/** @description Number of items to skip */
|
|
1742
1742
|
offset?: number;
|
|
@@ -5222,6 +5222,129 @@ export interface paths {
|
|
|
5222
5222
|
patch?: never;
|
|
5223
5223
|
trace?: never;
|
|
5224
5224
|
};
|
|
5225
|
+
"/frontend/orders/{order_id}/approve": {
|
|
5226
|
+
parameters: {
|
|
5227
|
+
query?: never;
|
|
5228
|
+
header?: never;
|
|
5229
|
+
path?: never;
|
|
5230
|
+
cookie?: never;
|
|
5231
|
+
};
|
|
5232
|
+
get?: never;
|
|
5233
|
+
put?: never;
|
|
5234
|
+
/**
|
|
5235
|
+
* Approve an order
|
|
5236
|
+
* @description Moves a PENDING order to PROCESSING, triggering its workflow. Validates the order's request_id via OTP.
|
|
5237
|
+
*/
|
|
5238
|
+
post: {
|
|
5239
|
+
parameters: {
|
|
5240
|
+
query?: never;
|
|
5241
|
+
header?: never;
|
|
5242
|
+
path: {
|
|
5243
|
+
order_id: string;
|
|
5244
|
+
};
|
|
5245
|
+
cookie?: never;
|
|
5246
|
+
};
|
|
5247
|
+
requestBody: {
|
|
5248
|
+
content: {
|
|
5249
|
+
"application/json": {
|
|
5250
|
+
/** Format: uuid */
|
|
5251
|
+
wallet_id: string;
|
|
5252
|
+
};
|
|
5253
|
+
};
|
|
5254
|
+
};
|
|
5255
|
+
responses: {
|
|
5256
|
+
/** @description Order moved to PROCESSING */
|
|
5257
|
+
200: {
|
|
5258
|
+
headers: {
|
|
5259
|
+
[name: string]: unknown;
|
|
5260
|
+
};
|
|
5261
|
+
content: {
|
|
5262
|
+
"application/json": {
|
|
5263
|
+
/** @example true */
|
|
5264
|
+
success?: boolean;
|
|
5265
|
+
data?: components["schemas"]["Order"];
|
|
5266
|
+
};
|
|
5267
|
+
};
|
|
5268
|
+
};
|
|
5269
|
+
/** @description Order is not in an approvable state */
|
|
5270
|
+
409: {
|
|
5271
|
+
headers: {
|
|
5272
|
+
[name: string]: unknown;
|
|
5273
|
+
};
|
|
5274
|
+
content: {
|
|
5275
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5276
|
+
};
|
|
5277
|
+
};
|
|
5278
|
+
};
|
|
5279
|
+
};
|
|
5280
|
+
delete?: never;
|
|
5281
|
+
options?: never;
|
|
5282
|
+
head?: never;
|
|
5283
|
+
patch?: never;
|
|
5284
|
+
trace?: never;
|
|
5285
|
+
};
|
|
5286
|
+
"/frontend/orders/{order_id}/cancel": {
|
|
5287
|
+
parameters: {
|
|
5288
|
+
query?: never;
|
|
5289
|
+
header?: never;
|
|
5290
|
+
path?: never;
|
|
5291
|
+
cookie?: never;
|
|
5292
|
+
};
|
|
5293
|
+
get?: never;
|
|
5294
|
+
put?: never;
|
|
5295
|
+
/**
|
|
5296
|
+
* Cancel an order
|
|
5297
|
+
* @description Cancels a PENDING/FAILED order, cancels its workflow run, and refunds the blocked funds.
|
|
5298
|
+
*/
|
|
5299
|
+
post: {
|
|
5300
|
+
parameters: {
|
|
5301
|
+
query?: never;
|
|
5302
|
+
header?: never;
|
|
5303
|
+
path: {
|
|
5304
|
+
order_id: string;
|
|
5305
|
+
};
|
|
5306
|
+
cookie?: never;
|
|
5307
|
+
};
|
|
5308
|
+
requestBody: {
|
|
5309
|
+
content: {
|
|
5310
|
+
"application/json": {
|
|
5311
|
+
/** Format: uuid */
|
|
5312
|
+
wallet_id: string;
|
|
5313
|
+
reason?: string;
|
|
5314
|
+
};
|
|
5315
|
+
};
|
|
5316
|
+
};
|
|
5317
|
+
responses: {
|
|
5318
|
+
/** @description Order canceled and funds refunded */
|
|
5319
|
+
200: {
|
|
5320
|
+
headers: {
|
|
5321
|
+
[name: string]: unknown;
|
|
5322
|
+
};
|
|
5323
|
+
content: {
|
|
5324
|
+
"application/json": {
|
|
5325
|
+
/** @example true */
|
|
5326
|
+
success?: boolean;
|
|
5327
|
+
data?: components["schemas"]["Order"];
|
|
5328
|
+
};
|
|
5329
|
+
};
|
|
5330
|
+
};
|
|
5331
|
+
/** @description Order is not in a cancelable state */
|
|
5332
|
+
409: {
|
|
5333
|
+
headers: {
|
|
5334
|
+
[name: string]: unknown;
|
|
5335
|
+
};
|
|
5336
|
+
content: {
|
|
5337
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5338
|
+
};
|
|
5339
|
+
};
|
|
5340
|
+
};
|
|
5341
|
+
};
|
|
5342
|
+
delete?: never;
|
|
5343
|
+
options?: never;
|
|
5344
|
+
head?: never;
|
|
5345
|
+
patch?: never;
|
|
5346
|
+
trace?: never;
|
|
5347
|
+
};
|
|
5225
5348
|
"/frontend/orders/types": {
|
|
5226
5349
|
parameters: {
|
|
5227
5350
|
query?: never;
|
|
@@ -6162,7 +6285,8 @@ export interface paths {
|
|
|
6162
6285
|
* the enable flag.
|
|
6163
6286
|
*
|
|
6164
6287
|
* Each returned item includes a `tenant_rates` object (`markup_percent`,
|
|
6165
|
-
* `markup_fixed`, `mon_min_usd`)
|
|
6288
|
+
* `markup_fixed`, `mon_min_usd`) and may expose product-facing guardrails
|
|
6289
|
+
* such as `min_amount`, `max_amount`, and `first_party_only`.
|
|
6166
6290
|
*
|
|
6167
6291
|
* **Authentication**: Bearer token + x-tenant-id header
|
|
6168
6292
|
*
|
|
@@ -7147,8 +7271,15 @@ export interface paths {
|
|
|
7147
7271
|
"application/json": {
|
|
7148
7272
|
success?: boolean;
|
|
7149
7273
|
data?: {
|
|
7150
|
-
/**
|
|
7151
|
-
|
|
7274
|
+
/**
|
|
7275
|
+
* @description Display label for the wallet. The wallet's own name when set,
|
|
7276
|
+
* otherwise derived from its KYC entity: `business_name` for
|
|
7277
|
+
* businesses, `first_name last_name` for individuals, falling back
|
|
7278
|
+
* to "Business account" / "Individual account" / "New account".
|
|
7279
|
+
*
|
|
7280
|
+
* @example Acme LLC
|
|
7281
|
+
*/
|
|
7282
|
+
wallet_name?: string;
|
|
7152
7283
|
/** @enum {string} */
|
|
7153
7284
|
role?: "user" | "admin";
|
|
7154
7285
|
};
|
|
@@ -7236,8 +7367,13 @@ export interface paths {
|
|
|
7236
7367
|
data: {
|
|
7237
7368
|
/** Format: uuid */
|
|
7238
7369
|
uuid: string;
|
|
7239
|
-
/** @description
|
|
7370
|
+
/** @description Raw wallet name (may be null) */
|
|
7240
7371
|
name: string | null;
|
|
7372
|
+
/**
|
|
7373
|
+
* @description Computed label — wallet name, else KYC-derived (business_name / first+last), else "New account". Always present.
|
|
7374
|
+
* @example Acme LLC
|
|
7375
|
+
*/
|
|
7376
|
+
display_name?: string;
|
|
7241
7377
|
/** @description Avatar URL for the wallet */
|
|
7242
7378
|
logo_url: string | null;
|
|
7243
7379
|
/** Format: uuid */
|
|
@@ -7305,7 +7441,11 @@ export interface paths {
|
|
|
7305
7441
|
* Create wallet
|
|
7306
7442
|
* @description Creates a new wallet for the authenticated user.
|
|
7307
7443
|
*
|
|
7308
|
-
* - **name**
|
|
7444
|
+
* - **name** — if provided (non-empty) it is used as-is.
|
|
7445
|
+
* - When **name** is omitted/blank, **empty_name** decides the fallback:
|
|
7446
|
+
* - `empty_name: false` or omitted (default) → a random placeholder name
|
|
7447
|
+
* is generated (e.g., "Golden Vault 42").
|
|
7448
|
+
* - `empty_name: true` → the wallet is created with `name: null`.
|
|
7309
7449
|
*
|
|
7310
7450
|
* **Authentication**: Bearer token with x-tenant-id header required
|
|
7311
7451
|
*
|
|
@@ -7321,10 +7461,18 @@ export interface paths {
|
|
|
7321
7461
|
content: {
|
|
7322
7462
|
"application/json": {
|
|
7323
7463
|
/**
|
|
7324
|
-
* @description Wallet name
|
|
7464
|
+
* @description Wallet name. Used as-is when non-empty.
|
|
7325
7465
|
* @example My Main Wallet
|
|
7326
7466
|
*/
|
|
7327
7467
|
name?: string;
|
|
7468
|
+
/**
|
|
7469
|
+
* @description Only relevant when `name` is omitted/blank.
|
|
7470
|
+
* `true` → store `name: null`; `false`/omitted → generate a random name.
|
|
7471
|
+
*
|
|
7472
|
+
* @default false
|
|
7473
|
+
* @example true
|
|
7474
|
+
*/
|
|
7475
|
+
empty_name?: boolean;
|
|
7328
7476
|
};
|
|
7329
7477
|
};
|
|
7330
7478
|
};
|
|
@@ -7343,6 +7491,11 @@ export interface paths {
|
|
|
7343
7491
|
uuid: string;
|
|
7344
7492
|
/** @example Golden Vault 42 */
|
|
7345
7493
|
name: string | null;
|
|
7494
|
+
/**
|
|
7495
|
+
* @description Computed label — wallet name, else KYC-derived (business_name / first+last), else "New account". Always present.
|
|
7496
|
+
* @example Golden Vault 42
|
|
7497
|
+
*/
|
|
7498
|
+
display_name?: string;
|
|
7346
7499
|
logo_url: string | null;
|
|
7347
7500
|
/** Format: uuid */
|
|
7348
7501
|
tenant_id: string;
|
|
@@ -7610,6 +7763,11 @@ export interface paths {
|
|
|
7610
7763
|
/** Format: uuid */
|
|
7611
7764
|
uuid: string;
|
|
7612
7765
|
name: string | null;
|
|
7766
|
+
/**
|
|
7767
|
+
* @description Computed label — wallet name, else KYC-derived (business_name / first+last), else "New account". Always present.
|
|
7768
|
+
* @example Acme LLC
|
|
7769
|
+
*/
|
|
7770
|
+
display_name?: string;
|
|
7613
7771
|
logo_url: string | null;
|
|
7614
7772
|
/** Format: uuid */
|
|
7615
7773
|
tenant_id: string;
|
|
@@ -7735,6 +7893,11 @@ export interface paths {
|
|
|
7735
7893
|
uuid: string;
|
|
7736
7894
|
/** @example My Updated Wallet */
|
|
7737
7895
|
name: string | null;
|
|
7896
|
+
/**
|
|
7897
|
+
* @description Computed label — wallet name, else KYC-derived (business_name / first+last), else "New account". Always present.
|
|
7898
|
+
* @example My Updated Wallet
|
|
7899
|
+
*/
|
|
7900
|
+
display_name?: string;
|
|
7738
7901
|
logo_url: string | null;
|
|
7739
7902
|
/** Format: uuid */
|
|
7740
7903
|
tenant_id: string;
|
|
@@ -9426,8 +9589,11 @@ export interface components {
|
|
|
9426
9589
|
/** Format: uuid */
|
|
9427
9590
|
destination_currency?: string;
|
|
9428
9591
|
vendor_account_id?: string | null;
|
|
9429
|
-
/** @description
|
|
9592
|
+
/** @description When false, deposit_instructions and account_details are returned as null (deposits disabled for this account) */
|
|
9593
|
+
is_deposit_enabled?: boolean;
|
|
9594
|
+
/** @description Bank account details for deposits. Returned null when is_deposit_enabled is false. */
|
|
9430
9595
|
account_details?: Record<string, never> | null;
|
|
9596
|
+
/** @description Deposit requisites. Returned null when is_deposit_enabled is false. */
|
|
9431
9597
|
deposit_instructions?: Record<string, never> | null;
|
|
9432
9598
|
current_balance?: number | null;
|
|
9433
9599
|
available_balance?: number | null;
|
|
@@ -1261,7 +1261,7 @@ export interface paths {
|
|
|
1261
1261
|
/** @description Sort direction */
|
|
1262
1262
|
sort_order?: "ASC" | "DESC";
|
|
1263
1263
|
/**
|
|
1264
|
-
* @description Filter cards by
|
|
1264
|
+
* @description Filter cards by last 4 digits of the card number (partial, case-insensitive match against `issuing_cards.last4`).
|
|
1265
1265
|
* @example 1234
|
|
1266
1266
|
*/
|
|
1267
1267
|
"filter[last4]"?: string;
|
|
@@ -1271,7 +1271,7 @@ export interface paths {
|
|
|
1271
1271
|
* 3. For nested filtering: `filter[fiat_account][type]=prepaid`
|
|
1272
1272
|
*
|
|
1273
1273
|
* Common filter fields:
|
|
1274
|
-
* - `last4`: Filter by last 4 digits of card (
|
|
1274
|
+
* - `last4`: Filter by last 4 digits of card (partial, case-insensitive match)
|
|
1275
1275
|
* - `card_status`: Filter by status (ACTIVE, INACTIVE, CANCELED)
|
|
1276
1276
|
* - `fiat_account.type`: Filter by account type (prepaid, balance)
|
|
1277
1277
|
* - `from_created_at`: Filter cards created on or after this date (ISO 8601 format)
|
|
@@ -3183,25 +3183,7 @@ export interface paths {
|
|
|
3183
3183
|
[name: string]: unknown;
|
|
3184
3184
|
};
|
|
3185
3185
|
content: {
|
|
3186
|
-
"application/json":
|
|
3187
|
-
id?: string;
|
|
3188
|
-
name?: string;
|
|
3189
|
-
description?: string;
|
|
3190
|
-
is_active?: boolean;
|
|
3191
|
-
/** @description Associated KYC rails for this order type */
|
|
3192
|
-
order_types_kyc_rails?: {
|
|
3193
|
-
/**
|
|
3194
|
-
* Format: uuid
|
|
3195
|
-
* @description Unique identifier of the association
|
|
3196
|
-
*/
|
|
3197
|
-
id?: string;
|
|
3198
|
-
/**
|
|
3199
|
-
* Format: uuid
|
|
3200
|
-
* @description ID of the associated KYC rail
|
|
3201
|
-
*/
|
|
3202
|
-
kyc_rail_id?: string;
|
|
3203
|
-
}[];
|
|
3204
|
-
}[];
|
|
3186
|
+
"application/json": components["schemas"]["OrderType"][];
|
|
3205
3187
|
};
|
|
3206
3188
|
};
|
|
3207
3189
|
/** @description Server error */
|
|
@@ -3254,28 +3236,7 @@ export interface paths {
|
|
|
3254
3236
|
[name: string]: unknown;
|
|
3255
3237
|
};
|
|
3256
3238
|
content: {
|
|
3257
|
-
"application/json":
|
|
3258
|
-
id?: string;
|
|
3259
|
-
name?: string;
|
|
3260
|
-
description?: string;
|
|
3261
|
-
is_active?: boolean;
|
|
3262
|
-
direction?: string;
|
|
3263
|
-
is_internal?: boolean;
|
|
3264
|
-
payment_method?: string;
|
|
3265
|
-
/** @description Associated KYC rails for this order type */
|
|
3266
|
-
order_types_kyc_rails?: {
|
|
3267
|
-
/**
|
|
3268
|
-
* Format: uuid
|
|
3269
|
-
* @description Unique identifier of the association
|
|
3270
|
-
*/
|
|
3271
|
-
id?: string;
|
|
3272
|
-
/**
|
|
3273
|
-
* Format: uuid
|
|
3274
|
-
* @description ID of the associated KYC rail
|
|
3275
|
-
*/
|
|
3276
|
-
kyc_rail_id?: string;
|
|
3277
|
-
}[];
|
|
3278
|
-
};
|
|
3239
|
+
"application/json": components["schemas"]["OrderType"];
|
|
3279
3240
|
};
|
|
3280
3241
|
};
|
|
3281
3242
|
/** @description Order type not found */
|
|
@@ -4783,39 +4744,7 @@ export interface paths {
|
|
|
4783
4744
|
[name: string]: unknown;
|
|
4784
4745
|
};
|
|
4785
4746
|
content: {
|
|
4786
|
-
"application/json":
|
|
4787
|
-
/** @description Order type identifier (e.g., EXCHANGE, WITHDRAWAL_CRYPTO) */
|
|
4788
|
-
id?: string;
|
|
4789
|
-
/** @description Human-readable description of the order type */
|
|
4790
|
-
description?: string;
|
|
4791
|
-
/** @description Direction of the order type (in/out) */
|
|
4792
|
-
direction?: string;
|
|
4793
|
-
/** @description Whether this is an internal order type */
|
|
4794
|
-
is_internal?: boolean;
|
|
4795
|
-
/**
|
|
4796
|
-
* Format: uuid
|
|
4797
|
-
* @description Associated KYC rail configuration ID
|
|
4798
|
-
*/
|
|
4799
|
-
kyc_rails_id?: string | null;
|
|
4800
|
-
/**
|
|
4801
|
-
* @description Payment method associated with this order type
|
|
4802
|
-
* @enum {string|null}
|
|
4803
|
-
*/
|
|
4804
|
-
payment_method?: "FEDWIRE" | "ACH" | "SWIFT" | "SEPA" | "CHAPS" | "FPS" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | null;
|
|
4805
|
-
/** @description Associated KYC rails for this order type */
|
|
4806
|
-
order_types_kyc_rails?: {
|
|
4807
|
-
/**
|
|
4808
|
-
* Format: uuid
|
|
4809
|
-
* @description Unique identifier of the association
|
|
4810
|
-
*/
|
|
4811
|
-
id?: string;
|
|
4812
|
-
/**
|
|
4813
|
-
* Format: uuid
|
|
4814
|
-
* @description ID of the associated KYC rail
|
|
4815
|
-
*/
|
|
4816
|
-
kyc_rail_id?: string;
|
|
4817
|
-
}[];
|
|
4818
|
-
}[];
|
|
4747
|
+
"application/json": components["schemas"]["OrderType"][];
|
|
4819
4748
|
};
|
|
4820
4749
|
};
|
|
4821
4750
|
/** @description Server error */
|
|
@@ -4868,39 +4797,7 @@ export interface paths {
|
|
|
4868
4797
|
[name: string]: unknown;
|
|
4869
4798
|
};
|
|
4870
4799
|
content: {
|
|
4871
|
-
"application/json":
|
|
4872
|
-
/** @description Order type identifier (e.g., EXCHANGE, WITHDRAWAL_CRYPTO) */
|
|
4873
|
-
id?: string;
|
|
4874
|
-
/** @description Human-readable description of the order type */
|
|
4875
|
-
description?: string;
|
|
4876
|
-
/** @description Direction of the order type (in/out) */
|
|
4877
|
-
direction?: string;
|
|
4878
|
-
/** @description Whether this is an internal order type */
|
|
4879
|
-
is_internal?: boolean;
|
|
4880
|
-
/**
|
|
4881
|
-
* Format: uuid
|
|
4882
|
-
* @description Associated KYC rail configuration ID
|
|
4883
|
-
*/
|
|
4884
|
-
kyc_rails_id?: string | null;
|
|
4885
|
-
/**
|
|
4886
|
-
* @description Payment method associated with this order type
|
|
4887
|
-
* @enum {string|null}
|
|
4888
|
-
*/
|
|
4889
|
-
payment_method?: "FEDWIRE" | "ACH" | "SWIFT" | "SEPA" | "CHAPS" | "FPS" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | null;
|
|
4890
|
-
/** @description Associated KYC rails for this order type */
|
|
4891
|
-
order_types_kyc_rails?: {
|
|
4892
|
-
/**
|
|
4893
|
-
* Format: uuid
|
|
4894
|
-
* @description Unique identifier of the association
|
|
4895
|
-
*/
|
|
4896
|
-
id?: string;
|
|
4897
|
-
/**
|
|
4898
|
-
* Format: uuid
|
|
4899
|
-
* @description ID of the associated KYC rail
|
|
4900
|
-
*/
|
|
4901
|
-
kyc_rail_id?: string;
|
|
4902
|
-
}[];
|
|
4903
|
-
};
|
|
4800
|
+
"application/json": components["schemas"]["OrderType"];
|
|
4904
4801
|
};
|
|
4905
4802
|
};
|
|
4906
4803
|
/** @description Order type not found */
|
|
@@ -8390,6 +8287,74 @@ export interface components {
|
|
|
8390
8287
|
* @enum {string}
|
|
8391
8288
|
*/
|
|
8392
8289
|
OrderTypeId: "EXCHANGE_OMNI" | "EXCHANGE_OMNI_ONRAMP" | "EXCHANGE_OMNI_OFFRAMP" | "EXCHANGE_OMNI_CRYPTO" | "EXCHANGE_CRYPTO_INTERNAL" | "L2F_ACH_ONRAMP" | "L2F_ACH_OFFRAMP" | "L2F_SEPA_ONRAMP" | "L2F_SEPA_OFFRAMP" | "L2F_SWIFT_ONRAMP" | "L2F_SWIFT_OFFRAMP" | "L2F_WIRE_ONRAMP" | "L2F_WIRE_OFFRAMP" | "L2F_CHAPS_ONRAMP" | "L2F_CHAPS_OFFRAMP" | "L2F_FPS_ONRAMP" | "L2F_FPS_OFFRAMP" | "BRL_WIRE_ONRAMP" | "BRL_WIRE_OFFRAMP" | "BRL_ACH_ONRAMP" | "BRL_ACH_OFFRAMP" | "OMNIBUS_CRYPTO_TRANSFER" | "OMNIBUS_CRYPTO_WITHDRAWAL" | "OMNIBUS_INTERNAL_TRANSFER" | "SEGREGATED_CRYPTO_TRANSFER" | "TRANSFER_INTERNAL" | "TRANSFER_CARD_PREPAID" | "TRANSFER_CARD_SUBACCOUNT" | "TRANSFER_CARD_WHOLESALE" | "WITHDRAW_CARD_PREPAID" | "WITHDRAW_CARD_SUBACCOUNT" | "REFUND_CARD_PREPAID" | "REFUND_CARD_SUBACCOUNT" | "RN_CARDS_OFFRAMP" | "CARD_ISSUING_FEE";
|
|
8290
|
+
/** @description Order type reference with optional product guardrails, associated KYC rails and tenant billing rates */
|
|
8291
|
+
OrderType: {
|
|
8292
|
+
/** @description Order type identifier (e.g. EXCHANGE, WITHDRAWAL_CRYPTO) */
|
|
8293
|
+
id?: string;
|
|
8294
|
+
/** @description Human-readable name of the order type */
|
|
8295
|
+
name?: string | null;
|
|
8296
|
+
/** @description Human-readable description of the order type */
|
|
8297
|
+
description?: string;
|
|
8298
|
+
/** @description Direction of the order type (in/out) */
|
|
8299
|
+
direction?: string | null;
|
|
8300
|
+
/** @description Whether this is an internal order type */
|
|
8301
|
+
is_internal?: boolean;
|
|
8302
|
+
/** @description Whether this order type is trusted */
|
|
8303
|
+
is_trusted?: boolean;
|
|
8304
|
+
/**
|
|
8305
|
+
* @description Payment method associated with this order type
|
|
8306
|
+
* @enum {string|null}
|
|
8307
|
+
*/
|
|
8308
|
+
payment_method?: "DOMESTIC_WIRE" | "FEDWIRE" | "ACH" | "SWIFT" | "SEPA" | "CHAPS" | "FPS" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | null;
|
|
8309
|
+
/**
|
|
8310
|
+
* Format: uuid
|
|
8311
|
+
* @description Associated KYC rail configuration ID
|
|
8312
|
+
*/
|
|
8313
|
+
kyc_rails_id?: string | null;
|
|
8314
|
+
/**
|
|
8315
|
+
* @description Optional minimum amount the product should allow for this order type
|
|
8316
|
+
* @example 100
|
|
8317
|
+
*/
|
|
8318
|
+
min_amount?: number | null;
|
|
8319
|
+
/**
|
|
8320
|
+
* @description Optional maximum amount the product should allow for this order type
|
|
8321
|
+
* @example 50000
|
|
8322
|
+
*/
|
|
8323
|
+
max_amount?: number | null;
|
|
8324
|
+
/** @description Whether payouts for this order type are limited to the wallet owner's own account */
|
|
8325
|
+
first_party_only?: boolean;
|
|
8326
|
+
/** @description Associated KYC rails for this order type */
|
|
8327
|
+
order_types_kyc_rails?: {
|
|
8328
|
+
/**
|
|
8329
|
+
* Format: uuid
|
|
8330
|
+
* @description Unique identifier of the association
|
|
8331
|
+
*/
|
|
8332
|
+
id?: string;
|
|
8333
|
+
/**
|
|
8334
|
+
* Format: uuid
|
|
8335
|
+
* @description ID of the associated KYC rail
|
|
8336
|
+
*/
|
|
8337
|
+
kyc_rail_id?: string;
|
|
8338
|
+
}[];
|
|
8339
|
+
/** @description Tenant-specific billing rates (present when tenant context is available) */
|
|
8340
|
+
tenant_rates?: {
|
|
8341
|
+
/**
|
|
8342
|
+
* @description Percentage markup on order volume
|
|
8343
|
+
* @example 1.8
|
|
8344
|
+
*/
|
|
8345
|
+
markup_percent?: number;
|
|
8346
|
+
/**
|
|
8347
|
+
* @description Fixed fee per order (USD)
|
|
8348
|
+
* @example 0
|
|
8349
|
+
*/
|
|
8350
|
+
markup_fixed?: number;
|
|
8351
|
+
/**
|
|
8352
|
+
* @description Minimum monthly payment (USD)
|
|
8353
|
+
* @example 0
|
|
8354
|
+
*/
|
|
8355
|
+
mon_min_usd?: number;
|
|
8356
|
+
} | null;
|
|
8357
|
+
};
|
|
8393
8358
|
SubAccount: {
|
|
8394
8359
|
/**
|
|
8395
8360
|
* @description Unique identifier for the sub-account
|
|
@@ -3761,7 +3761,9 @@ export interface paths {
|
|
|
3761
3761
|
* - When the request is scoped to a tenant (via `x-tenant-id` header or session),
|
|
3762
3762
|
* the list is **filtered** to order types enabled for that tenant —
|
|
3763
3763
|
* i.e. those having a row in `tenant_order_type_rates`. Each returned item is
|
|
3764
|
-
* enriched with `tenant_rates` (`markup_percent`, `markup_fixed`, `mon_min_usd`)
|
|
3764
|
+
* enriched with `tenant_rates` (`markup_percent`, `markup_fixed`, `mon_min_usd`)
|
|
3765
|
+
* and may expose product-facing guardrails such as `min_amount`,
|
|
3766
|
+
* `max_amount`, and `first_party_only`.
|
|
3765
3767
|
* - Without a tenant scope (admin global view), the full catalogue is returned
|
|
3766
3768
|
* and `tenant_rates` is omitted.
|
|
3767
3769
|
*
|
|
@@ -7609,6 +7611,18 @@ export interface components {
|
|
|
7609
7611
|
is_internal?: boolean;
|
|
7610
7612
|
payment_method?: string | null;
|
|
7611
7613
|
is_trusted?: boolean;
|
|
7614
|
+
/**
|
|
7615
|
+
* @description Optional minimum amount the product should allow for this order type
|
|
7616
|
+
* @example 100
|
|
7617
|
+
*/
|
|
7618
|
+
min_amount?: number | null;
|
|
7619
|
+
/**
|
|
7620
|
+
* @description Optional maximum amount the product should allow for this order type
|
|
7621
|
+
* @example 50000
|
|
7622
|
+
*/
|
|
7623
|
+
max_amount?: number | null;
|
|
7624
|
+
/** @description Whether payouts for this order type are limited to the wallet owner's own account */
|
|
7625
|
+
first_party_only?: boolean;
|
|
7612
7626
|
kyc_rails?: {
|
|
7613
7627
|
/** Format: uuid */
|
|
7614
7628
|
id?: string;
|
|
@@ -7722,6 +7736,8 @@ export interface components {
|
|
|
7722
7736
|
account_currency?: string;
|
|
7723
7737
|
/** Format: uuid */
|
|
7724
7738
|
destination_currency?: string;
|
|
7739
|
+
/** @description Whether deposits are enabled for this account. When false, public (Frontend/Developer) responses suppress deposit_instructions/account_details; admin responses still expose them. */
|
|
7740
|
+
is_deposit_enabled?: boolean;
|
|
7725
7741
|
/** @description Bank deposit instructions grouped by instruction type (ACH, FEDWIRE, SWIFT) */
|
|
7726
7742
|
deposit_instructions?: {
|
|
7727
7743
|
/**
|
|
@@ -818,6 +818,23 @@ export interface paths {
|
|
|
818
818
|
patch?: never;
|
|
819
819
|
trace?: never;
|
|
820
820
|
};
|
|
821
|
+
"/kyc/integration-sumsub-levels": {
|
|
822
|
+
parameters: {
|
|
823
|
+
query?: never;
|
|
824
|
+
header?: never;
|
|
825
|
+
path?: never;
|
|
826
|
+
cookie?: never;
|
|
827
|
+
};
|
|
828
|
+
/** Get KYC integration Sumsub levels */
|
|
829
|
+
get: operations["IntegrationSumsubLevelController_findAll"];
|
|
830
|
+
put?: never;
|
|
831
|
+
post?: never;
|
|
832
|
+
delete?: never;
|
|
833
|
+
options?: never;
|
|
834
|
+
head?: never;
|
|
835
|
+
patch?: never;
|
|
836
|
+
trace?: never;
|
|
837
|
+
};
|
|
821
838
|
"/counterparties/{wallet_id}": {
|
|
822
839
|
parameters: {
|
|
823
840
|
query?: never;
|
|
@@ -1128,75 +1145,6 @@ export interface paths {
|
|
|
1128
1145
|
patch?: never;
|
|
1129
1146
|
trace?: never;
|
|
1130
1147
|
};
|
|
1131
|
-
"/wallets/{wallet_id}/invites": {
|
|
1132
|
-
parameters: {
|
|
1133
|
-
query?: never;
|
|
1134
|
-
header?: never;
|
|
1135
|
-
path?: never;
|
|
1136
|
-
cookie?: never;
|
|
1137
|
-
};
|
|
1138
|
-
/** Get wallet invites list */
|
|
1139
|
-
get: operations["WalletsInvitesController_all"];
|
|
1140
|
-
put?: never;
|
|
1141
|
-
/** Create wallet invite */
|
|
1142
|
-
post: operations["WalletsInvitesController_create"];
|
|
1143
|
-
delete?: never;
|
|
1144
|
-
options?: never;
|
|
1145
|
-
head?: never;
|
|
1146
|
-
patch?: never;
|
|
1147
|
-
trace?: never;
|
|
1148
|
-
};
|
|
1149
|
-
"/wallets/{wallet_id}/invites/{id}": {
|
|
1150
|
-
parameters: {
|
|
1151
|
-
query?: never;
|
|
1152
|
-
header?: never;
|
|
1153
|
-
path?: never;
|
|
1154
|
-
cookie?: never;
|
|
1155
|
-
};
|
|
1156
|
-
/** View wallet invite */
|
|
1157
|
-
get: operations["WalletsInvitesController_view"];
|
|
1158
|
-
put?: never;
|
|
1159
|
-
post?: never;
|
|
1160
|
-
/** Cancel wallet invite */
|
|
1161
|
-
delete: operations["WalletsInvitesController_cancel"];
|
|
1162
|
-
options?: never;
|
|
1163
|
-
head?: never;
|
|
1164
|
-
patch?: never;
|
|
1165
|
-
trace?: never;
|
|
1166
|
-
};
|
|
1167
|
-
"/wallets/accept-invite": {
|
|
1168
|
-
parameters: {
|
|
1169
|
-
query?: never;
|
|
1170
|
-
header?: never;
|
|
1171
|
-
path?: never;
|
|
1172
|
-
cookie?: never;
|
|
1173
|
-
};
|
|
1174
|
-
get?: never;
|
|
1175
|
-
put?: never;
|
|
1176
|
-
/** Accept wallet invite by code */
|
|
1177
|
-
post: operations["WalletsInvitesAcceptController_accept"];
|
|
1178
|
-
delete?: never;
|
|
1179
|
-
options?: never;
|
|
1180
|
-
head?: never;
|
|
1181
|
-
patch?: never;
|
|
1182
|
-
trace?: never;
|
|
1183
|
-
};
|
|
1184
|
-
"/webhooks/mailer": {
|
|
1185
|
-
parameters: {
|
|
1186
|
-
query?: never;
|
|
1187
|
-
header?: never;
|
|
1188
|
-
path?: never;
|
|
1189
|
-
cookie?: never;
|
|
1190
|
-
};
|
|
1191
|
-
get?: never;
|
|
1192
|
-
put?: never;
|
|
1193
|
-
post: operations["MailerController_handleQStashWebhook"];
|
|
1194
|
-
delete?: never;
|
|
1195
|
-
options?: never;
|
|
1196
|
-
head?: never;
|
|
1197
|
-
patch?: never;
|
|
1198
|
-
trace?: never;
|
|
1199
|
-
};
|
|
1200
1148
|
}
|
|
1201
1149
|
export type webhooks = Record<string, never>;
|
|
1202
1150
|
export interface components {
|
|
@@ -1496,6 +1444,8 @@ export interface components {
|
|
|
1496
1444
|
logo_url: string | null;
|
|
1497
1445
|
name: string | null;
|
|
1498
1446
|
created_at: string;
|
|
1447
|
+
/** @description Is main wallet for user */
|
|
1448
|
+
is_main: boolean;
|
|
1499
1449
|
/** @enum {string} */
|
|
1500
1450
|
role: "owner" | "admin" | "user";
|
|
1501
1451
|
readonly kyc_info?: components["schemas"]["WalletKycInfoDto"];
|
|
@@ -1525,6 +1475,8 @@ export interface components {
|
|
|
1525
1475
|
logo_url: string | null;
|
|
1526
1476
|
name: string | null;
|
|
1527
1477
|
created_at: string;
|
|
1478
|
+
/** @description Is main wallet for user */
|
|
1479
|
+
is_main: boolean;
|
|
1528
1480
|
/** @enum {string} */
|
|
1529
1481
|
role: "owner" | "admin" | "user";
|
|
1530
1482
|
readonly kyc_info?: components["schemas"]["WalletKycInfoDto"];
|
|
@@ -1779,6 +1731,16 @@ export interface components {
|
|
|
1779
1731
|
supplementary_url: string | null;
|
|
1780
1732
|
tax_identification_number: string | null;
|
|
1781
1733
|
selfie_url?: string | null;
|
|
1734
|
+
/**
|
|
1735
|
+
* @default individual
|
|
1736
|
+
* @enum {string|null}
|
|
1737
|
+
*/
|
|
1738
|
+
type: "individual" | "business" | null;
|
|
1739
|
+
tax_residence_country: string | null;
|
|
1740
|
+
corporate_name: string | null;
|
|
1741
|
+
corporate_registration_number: string | null;
|
|
1742
|
+
corporate_type: string | null;
|
|
1743
|
+
corporate_country: string | null;
|
|
1782
1744
|
id?: string;
|
|
1783
1745
|
address?: components["schemas"]["KycAddressDto"] | null;
|
|
1784
1746
|
};
|
|
@@ -1792,7 +1754,8 @@ export interface components {
|
|
|
1792
1754
|
additional_id_type?: string | null;
|
|
1793
1755
|
articles_of_association_url?: string | null;
|
|
1794
1756
|
business_description?: string | null;
|
|
1795
|
-
business_industry?: string | null;
|
|
1757
|
+
business_industry?: string[] | null;
|
|
1758
|
+
business_industry_other?: string | null;
|
|
1796
1759
|
business_name?: string | null;
|
|
1797
1760
|
business_name_local?: string | null;
|
|
1798
1761
|
business_registration_doc_url?: string | null;
|
|
@@ -1894,6 +1857,25 @@ export interface components {
|
|
|
1894
1857
|
regulated_status?: "REGULATED" | "REGISTERED" | "LICENSED" | "NONE" | "NOT_REQUIRED" | null;
|
|
1895
1858
|
total_assets?: string | null;
|
|
1896
1859
|
vendors_and_counterparties?: ("SELF" | "MERCHANTS_SUPPLIERS" | "CUSTOMERS" | "EMPLOYEES" | "CONTRACTORS" | "FRIENDS" | "FAMILY")[] | null;
|
|
1860
|
+
stablecoin_primary_purpose?: string[] | null;
|
|
1861
|
+
stablecoin_primary_purpose_other?: string | null;
|
|
1862
|
+
pep_declaration?: boolean | null;
|
|
1863
|
+
expected_monthly_transactions_count?: number | null;
|
|
1864
|
+
outgoing_payment_purposes?: string[] | null;
|
|
1865
|
+
incoming_payment_purposes?: string[] | null;
|
|
1866
|
+
supplier_names?: string | null;
|
|
1867
|
+
customer_names?: string | null;
|
|
1868
|
+
business_activity_type?: string | null;
|
|
1869
|
+
primary_account_currency?: string | null;
|
|
1870
|
+
regulatory_authority_name?: string | null;
|
|
1871
|
+
regulatory_authority_country?: string | null;
|
|
1872
|
+
regulatory_license_number?: string | null;
|
|
1873
|
+
regulatory_license_urls?: string[] | null;
|
|
1874
|
+
state_registry_doc_url?: string | null;
|
|
1875
|
+
good_standing_cert_url?: string | null;
|
|
1876
|
+
business_proof_of_address_url?: string | null;
|
|
1877
|
+
/** @enum {string|null} */
|
|
1878
|
+
business_proof_of_address_type?: "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | null;
|
|
1897
1879
|
address?: components["schemas"]["KycAddressDto"] | null;
|
|
1898
1880
|
physical_address?: components["schemas"]["KycAddressDto"] | null;
|
|
1899
1881
|
beneficial_owners?: components["schemas"]["KycBeneficialOwnerDto"][] | null;
|
|
@@ -1908,7 +1890,8 @@ export interface components {
|
|
|
1908
1890
|
additional_id_type?: string | null;
|
|
1909
1891
|
articles_of_association_url?: string | null;
|
|
1910
1892
|
business_description?: string | null;
|
|
1911
|
-
business_industry?: string | null;
|
|
1893
|
+
business_industry?: string[] | null;
|
|
1894
|
+
business_industry_other?: string | null;
|
|
1912
1895
|
business_name?: string | null;
|
|
1913
1896
|
business_name_local?: string | null;
|
|
1914
1897
|
business_registration_doc_url?: string | null;
|
|
@@ -2005,6 +1988,25 @@ export interface components {
|
|
|
2005
1988
|
regulated_status?: "REGULATED" | "REGISTERED" | "LICENSED" | "NONE" | "NOT_REQUIRED" | null;
|
|
2006
1989
|
total_assets?: string | null;
|
|
2007
1990
|
vendors_and_counterparties?: ("SELF" | "MERCHANTS_SUPPLIERS" | "CUSTOMERS" | "EMPLOYEES" | "CONTRACTORS" | "FRIENDS" | "FAMILY")[] | null;
|
|
1991
|
+
stablecoin_primary_purpose?: string[] | null;
|
|
1992
|
+
stablecoin_primary_purpose_other?: string | null;
|
|
1993
|
+
pep_declaration?: boolean | null;
|
|
1994
|
+
expected_monthly_transactions_count?: number | null;
|
|
1995
|
+
outgoing_payment_purposes?: string[] | null;
|
|
1996
|
+
incoming_payment_purposes?: string[] | null;
|
|
1997
|
+
supplier_names?: string | null;
|
|
1998
|
+
customer_names?: string | null;
|
|
1999
|
+
business_activity_type?: string | null;
|
|
2000
|
+
primary_account_currency?: string | null;
|
|
2001
|
+
regulatory_authority_name?: string | null;
|
|
2002
|
+
regulatory_authority_country?: string | null;
|
|
2003
|
+
regulatory_license_number?: string | null;
|
|
2004
|
+
regulatory_license_urls?: string[] | null;
|
|
2005
|
+
state_registry_doc_url?: string | null;
|
|
2006
|
+
good_standing_cert_url?: string | null;
|
|
2007
|
+
business_proof_of_address_url?: string | null;
|
|
2008
|
+
/** @enum {string|null} */
|
|
2009
|
+
business_proof_of_address_type?: "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | null;
|
|
2008
2010
|
address?: components["schemas"]["KycAddressDto"] | null;
|
|
2009
2011
|
physical_address?: components["schemas"]["KycAddressDto"] | null;
|
|
2010
2012
|
beneficial_owners?: components["schemas"]["KycBeneficialOwnerDto"][] | null;
|
|
@@ -2092,6 +2094,15 @@ export interface components {
|
|
|
2092
2094
|
/** @description Has more data flag */
|
|
2093
2095
|
readonly has_more: boolean;
|
|
2094
2096
|
};
|
|
2097
|
+
IntegrationSumsubLevelEntityDto: Record<string, never>;
|
|
2098
|
+
FindAllIntegrationSumsubLevelsResponseDto: {
|
|
2099
|
+
/** @example 20 */
|
|
2100
|
+
total: number;
|
|
2101
|
+
/** @description Data */
|
|
2102
|
+
data: components["schemas"]["IntegrationSumsubLevelEntityDto"][];
|
|
2103
|
+
/** @description Has more data flag */
|
|
2104
|
+
readonly has_more: boolean;
|
|
2105
|
+
};
|
|
2095
2106
|
CounterpartiesFilter: {
|
|
2096
2107
|
email?: string | null;
|
|
2097
2108
|
/** @description Phone number */
|
|
@@ -2267,10 +2278,6 @@ export interface components {
|
|
|
2267
2278
|
readonly yandex_metric_id?: string;
|
|
2268
2279
|
readonly google_analytics_id?: string;
|
|
2269
2280
|
};
|
|
2270
|
-
SupportedLocalesEntity: {
|
|
2271
|
-
default: string;
|
|
2272
|
-
supported: string[];
|
|
2273
|
-
};
|
|
2274
2281
|
StatementBrandingEntity: {
|
|
2275
2282
|
readonly company_name?: string | null;
|
|
2276
2283
|
readonly logo_url?: string | null;
|
|
@@ -2290,7 +2297,6 @@ export interface components {
|
|
|
2290
2297
|
enable_crypto_withdrawal: boolean;
|
|
2291
2298
|
enable_referral_program: boolean;
|
|
2292
2299
|
readonly metrics_data?: components["schemas"]["MetricsDataEntity"] | null;
|
|
2293
|
-
readonly supported_locales?: components["schemas"]["SupportedLocalesEntity"] | null;
|
|
2294
2300
|
readonly statement_branding?: components["schemas"]["StatementBrandingEntity"] | null;
|
|
2295
2301
|
base_currency: string;
|
|
2296
2302
|
};
|
|
@@ -2367,37 +2373,6 @@ export interface components {
|
|
|
2367
2373
|
/** @enum {string} */
|
|
2368
2374
|
role: "user";
|
|
2369
2375
|
};
|
|
2370
|
-
CreateWalletInviteRequestDto: {
|
|
2371
|
-
email: string;
|
|
2372
|
-
/**
|
|
2373
|
-
* @example user
|
|
2374
|
-
* @enum {string}
|
|
2375
|
-
*/
|
|
2376
|
-
role: "user";
|
|
2377
|
-
};
|
|
2378
|
-
WalletInviteDto: {
|
|
2379
|
-
id: string;
|
|
2380
|
-
email: string;
|
|
2381
|
-
role: string;
|
|
2382
|
-
code: string;
|
|
2383
|
-
expires_at: string;
|
|
2384
|
-
used_at: string | null;
|
|
2385
|
-
created_at: string;
|
|
2386
|
-
};
|
|
2387
|
-
WalletInvitesFilterDto: {
|
|
2388
|
-
/** @enum {string} */
|
|
2389
|
-
role?: "owner" | "admin" | "user";
|
|
2390
|
-
/** @description Search by email */
|
|
2391
|
-
search?: string;
|
|
2392
|
-
};
|
|
2393
|
-
AcceptWalletInviteRequestDto: {
|
|
2394
|
-
/** @example ABC123XYZ */
|
|
2395
|
-
code: string;
|
|
2396
|
-
};
|
|
2397
|
-
AcceptWalletInviteResponseDto: {
|
|
2398
|
-
wallet_id: string;
|
|
2399
|
-
};
|
|
2400
|
-
QStashWebhookDto: Record<string, never>;
|
|
2401
2376
|
};
|
|
2402
2377
|
responses: never;
|
|
2403
2378
|
parameters: never;
|
|
@@ -3413,7 +3388,7 @@ export interface operations {
|
|
|
3413
3388
|
};
|
|
3414
3389
|
content?: never;
|
|
3415
3390
|
};
|
|
3416
|
-
/** @description You don
|
|
3391
|
+
/** @description You don`t have access to current wallet */
|
|
3417
3392
|
403: {
|
|
3418
3393
|
headers: {
|
|
3419
3394
|
[name: string]: unknown;
|
|
@@ -3448,7 +3423,7 @@ export interface operations {
|
|
|
3448
3423
|
};
|
|
3449
3424
|
content?: never;
|
|
3450
3425
|
};
|
|
3451
|
-
/** @description You don
|
|
3426
|
+
/** @description You don`t have access to current wallet */
|
|
3452
3427
|
403: {
|
|
3453
3428
|
headers: {
|
|
3454
3429
|
[name: string]: unknown;
|
|
@@ -3484,7 +3459,7 @@ export interface operations {
|
|
|
3484
3459
|
};
|
|
3485
3460
|
content?: never;
|
|
3486
3461
|
};
|
|
3487
|
-
/** @description You don
|
|
3462
|
+
/** @description You don`t have access to current wallet */
|
|
3488
3463
|
403: {
|
|
3489
3464
|
headers: {
|
|
3490
3465
|
[name: string]: unknown;
|
|
@@ -3524,7 +3499,7 @@ export interface operations {
|
|
|
3524
3499
|
};
|
|
3525
3500
|
content?: never;
|
|
3526
3501
|
};
|
|
3527
|
-
/** @description You don
|
|
3502
|
+
/** @description You don`t have access to current wallet */
|
|
3528
3503
|
403: {
|
|
3529
3504
|
headers: {
|
|
3530
3505
|
[name: string]: unknown;
|
|
@@ -3569,7 +3544,7 @@ export interface operations {
|
|
|
3569
3544
|
};
|
|
3570
3545
|
content?: never;
|
|
3571
3546
|
};
|
|
3572
|
-
/** @description You don
|
|
3547
|
+
/** @description You don`t have access to current wallet */
|
|
3573
3548
|
403: {
|
|
3574
3549
|
headers: {
|
|
3575
3550
|
[name: string]: unknown;
|
|
@@ -3605,7 +3580,7 @@ export interface operations {
|
|
|
3605
3580
|
};
|
|
3606
3581
|
content?: never;
|
|
3607
3582
|
};
|
|
3608
|
-
/** @description You don
|
|
3583
|
+
/** @description You don`t have access to current wallet */
|
|
3609
3584
|
403: {
|
|
3610
3585
|
headers: {
|
|
3611
3586
|
[name: string]: unknown;
|
|
@@ -3634,7 +3609,7 @@ export interface operations {
|
|
|
3634
3609
|
};
|
|
3635
3610
|
content?: never;
|
|
3636
3611
|
};
|
|
3637
|
-
/** @description You don
|
|
3612
|
+
/** @description You don`t have access to current wallet */
|
|
3638
3613
|
403: {
|
|
3639
3614
|
headers: {
|
|
3640
3615
|
[name: string]: unknown;
|
|
@@ -3801,7 +3776,7 @@ export interface operations {
|
|
|
3801
3776
|
};
|
|
3802
3777
|
content?: never;
|
|
3803
3778
|
};
|
|
3804
|
-
/** @description You don
|
|
3779
|
+
/** @description You don`t have access to current wallet */
|
|
3805
3780
|
403: {
|
|
3806
3781
|
headers: {
|
|
3807
3782
|
[name: string]: unknown;
|
|
@@ -3837,7 +3812,7 @@ export interface operations {
|
|
|
3837
3812
|
};
|
|
3838
3813
|
content?: never;
|
|
3839
3814
|
};
|
|
3840
|
-
/** @description You don
|
|
3815
|
+
/** @description You don`t have access to current wallet */
|
|
3841
3816
|
403: {
|
|
3842
3817
|
headers: {
|
|
3843
3818
|
[name: string]: unknown;
|
|
@@ -3900,7 +3875,7 @@ export interface operations {
|
|
|
3900
3875
|
};
|
|
3901
3876
|
content?: never;
|
|
3902
3877
|
};
|
|
3903
|
-
/** @description You don
|
|
3878
|
+
/** @description You don`t have access to current wallet */
|
|
3904
3879
|
403: {
|
|
3905
3880
|
headers: {
|
|
3906
3881
|
[name: string]: unknown;
|
|
@@ -3945,7 +3920,7 @@ export interface operations {
|
|
|
3945
3920
|
};
|
|
3946
3921
|
content?: never;
|
|
3947
3922
|
};
|
|
3948
|
-
/** @description You don
|
|
3923
|
+
/** @description You don`t have access to current wallet */
|
|
3949
3924
|
403: {
|
|
3950
3925
|
headers: {
|
|
3951
3926
|
[name: string]: unknown;
|
|
@@ -3986,7 +3961,7 @@ export interface operations {
|
|
|
3986
3961
|
};
|
|
3987
3962
|
content?: never;
|
|
3988
3963
|
};
|
|
3989
|
-
/** @description You don
|
|
3964
|
+
/** @description You don`t have access to current wallet */
|
|
3990
3965
|
403: {
|
|
3991
3966
|
headers: {
|
|
3992
3967
|
[name: string]: unknown;
|
|
@@ -4028,7 +4003,7 @@ export interface operations {
|
|
|
4028
4003
|
};
|
|
4029
4004
|
content?: never;
|
|
4030
4005
|
};
|
|
4031
|
-
/** @description You don
|
|
4006
|
+
/** @description You don`t have access to current wallet */
|
|
4032
4007
|
403: {
|
|
4033
4008
|
headers: {
|
|
4034
4009
|
[name: string]: unknown;
|
|
@@ -4078,7 +4053,7 @@ export interface operations {
|
|
|
4078
4053
|
};
|
|
4079
4054
|
content?: never;
|
|
4080
4055
|
};
|
|
4081
|
-
/** @description You don
|
|
4056
|
+
/** @description You don`t have access to current wallet */
|
|
4082
4057
|
403: {
|
|
4083
4058
|
headers: {
|
|
4084
4059
|
[name: string]: unknown;
|
|
@@ -4121,7 +4096,7 @@ export interface operations {
|
|
|
4121
4096
|
};
|
|
4122
4097
|
content?: never;
|
|
4123
4098
|
};
|
|
4124
|
-
/** @description You don
|
|
4099
|
+
/** @description You don`t have access to current wallet */
|
|
4125
4100
|
403: {
|
|
4126
4101
|
headers: {
|
|
4127
4102
|
[name: string]: unknown;
|
|
@@ -4189,7 +4164,7 @@ export interface operations {
|
|
|
4189
4164
|
};
|
|
4190
4165
|
content?: never;
|
|
4191
4166
|
};
|
|
4192
|
-
/** @description You don
|
|
4167
|
+
/** @description You don`t have access to current wallet */
|
|
4193
4168
|
403: {
|
|
4194
4169
|
headers: {
|
|
4195
4170
|
[name: string]: unknown;
|
|
@@ -4225,7 +4200,7 @@ export interface operations {
|
|
|
4225
4200
|
};
|
|
4226
4201
|
content?: never;
|
|
4227
4202
|
};
|
|
4228
|
-
/** @description You don
|
|
4203
|
+
/** @description You don`t have access to current wallet */
|
|
4229
4204
|
403: {
|
|
4230
4205
|
headers: {
|
|
4231
4206
|
[name: string]: unknown;
|
|
@@ -4273,6 +4248,38 @@ export interface operations {
|
|
|
4273
4248
|
};
|
|
4274
4249
|
};
|
|
4275
4250
|
};
|
|
4251
|
+
IntegrationSumsubLevelController_findAll: {
|
|
4252
|
+
parameters: {
|
|
4253
|
+
query?: never;
|
|
4254
|
+
header?: never;
|
|
4255
|
+
path?: never;
|
|
4256
|
+
cookie?: never;
|
|
4257
|
+
};
|
|
4258
|
+
requestBody?: never;
|
|
4259
|
+
responses: {
|
|
4260
|
+
200: {
|
|
4261
|
+
headers: {
|
|
4262
|
+
[name: string]: unknown;
|
|
4263
|
+
};
|
|
4264
|
+
content: {
|
|
4265
|
+
"application/json": components["schemas"]["FindAllIntegrationSumsubLevelsResponseDto"];
|
|
4266
|
+
};
|
|
4267
|
+
};
|
|
4268
|
+
/** @description Unauthorized */
|
|
4269
|
+
401: {
|
|
4270
|
+
headers: {
|
|
4271
|
+
[name: string]: unknown;
|
|
4272
|
+
};
|
|
4273
|
+
content?: never;
|
|
4274
|
+
};
|
|
4275
|
+
404: {
|
|
4276
|
+
headers: {
|
|
4277
|
+
[name: string]: unknown;
|
|
4278
|
+
};
|
|
4279
|
+
content?: never;
|
|
4280
|
+
};
|
|
4281
|
+
};
|
|
4282
|
+
};
|
|
4276
4283
|
CounterpartyAccountsController_findAll: {
|
|
4277
4284
|
parameters: {
|
|
4278
4285
|
query?: {
|
|
@@ -4307,7 +4314,7 @@ export interface operations {
|
|
|
4307
4314
|
};
|
|
4308
4315
|
content?: never;
|
|
4309
4316
|
};
|
|
4310
|
-
/** @description You don
|
|
4317
|
+
/** @description You don`t have access to current wallet */
|
|
4311
4318
|
403: {
|
|
4312
4319
|
headers: {
|
|
4313
4320
|
[name: string]: unknown;
|
|
@@ -4352,7 +4359,7 @@ export interface operations {
|
|
|
4352
4359
|
};
|
|
4353
4360
|
content?: never;
|
|
4354
4361
|
};
|
|
4355
|
-
/** @description You don
|
|
4362
|
+
/** @description You don`t have access to current wallet */
|
|
4356
4363
|
403: {
|
|
4357
4364
|
headers: {
|
|
4358
4365
|
[name: string]: unknown;
|
|
@@ -5012,7 +5019,7 @@ export interface operations {
|
|
|
5012
5019
|
};
|
|
5013
5020
|
content?: never;
|
|
5014
5021
|
};
|
|
5015
|
-
/** @description You don
|
|
5022
|
+
/** @description You don`t have access to current wallet */
|
|
5016
5023
|
403: {
|
|
5017
5024
|
headers: {
|
|
5018
5025
|
[name: string]: unknown;
|
|
@@ -5048,7 +5055,7 @@ export interface operations {
|
|
|
5048
5055
|
};
|
|
5049
5056
|
content?: never;
|
|
5050
5057
|
};
|
|
5051
|
-
/** @description You don
|
|
5058
|
+
/** @description You don`t have access to current wallet */
|
|
5052
5059
|
403: {
|
|
5053
5060
|
headers: {
|
|
5054
5061
|
[name: string]: unknown;
|
|
@@ -5083,7 +5090,7 @@ export interface operations {
|
|
|
5083
5090
|
};
|
|
5084
5091
|
content?: never;
|
|
5085
5092
|
};
|
|
5086
|
-
/** @description You don
|
|
5093
|
+
/** @description You don`t have access to current wallet */
|
|
5087
5094
|
403: {
|
|
5088
5095
|
headers: {
|
|
5089
5096
|
[name: string]: unknown;
|
|
@@ -5123,7 +5130,7 @@ export interface operations {
|
|
|
5123
5130
|
};
|
|
5124
5131
|
content?: never;
|
|
5125
5132
|
};
|
|
5126
|
-
/** @description You don
|
|
5133
|
+
/** @description You don`t have access to current wallet */
|
|
5127
5134
|
403: {
|
|
5128
5135
|
headers: {
|
|
5129
5136
|
[name: string]: unknown;
|
|
@@ -5159,7 +5166,7 @@ export interface operations {
|
|
|
5159
5166
|
};
|
|
5160
5167
|
content?: never;
|
|
5161
5168
|
};
|
|
5162
|
-
/** @description You don
|
|
5169
|
+
/** @description You don`t have access to current wallet */
|
|
5163
5170
|
403: {
|
|
5164
5171
|
headers: {
|
|
5165
5172
|
[name: string]: unknown;
|
|
@@ -5195,52 +5202,7 @@ export interface operations {
|
|
|
5195
5202
|
};
|
|
5196
5203
|
content?: never;
|
|
5197
5204
|
};
|
|
5198
|
-
/** @description You don
|
|
5199
|
-
403: {
|
|
5200
|
-
headers: {
|
|
5201
|
-
[name: string]: unknown;
|
|
5202
|
-
};
|
|
5203
|
-
content?: never;
|
|
5204
|
-
};
|
|
5205
|
-
};
|
|
5206
|
-
};
|
|
5207
|
-
WalletsInvitesController_all: {
|
|
5208
|
-
parameters: {
|
|
5209
|
-
query?: {
|
|
5210
|
-
/** @description Number of records to skip */
|
|
5211
|
-
offset?: number;
|
|
5212
|
-
/** @description Number of records to return */
|
|
5213
|
-
limit?: number;
|
|
5214
|
-
sort_order?: "ASC" | "DESC";
|
|
5215
|
-
sort_by?: "created_at" | null;
|
|
5216
|
-
filter?: components["schemas"]["WalletInvitesFilterDto"];
|
|
5217
|
-
};
|
|
5218
|
-
header?: never;
|
|
5219
|
-
path: {
|
|
5220
|
-
wallet_id: string;
|
|
5221
|
-
};
|
|
5222
|
-
cookie?: never;
|
|
5223
|
-
};
|
|
5224
|
-
requestBody?: never;
|
|
5225
|
-
responses: {
|
|
5226
|
-
200: {
|
|
5227
|
-
headers: {
|
|
5228
|
-
[name: string]: unknown;
|
|
5229
|
-
};
|
|
5230
|
-
content: {
|
|
5231
|
-
"application/json": components["schemas"]["PaginationResponseDto"] & {
|
|
5232
|
-
data?: unknown;
|
|
5233
|
-
};
|
|
5234
|
-
};
|
|
5235
|
-
};
|
|
5236
|
-
/** @description Unauthorized */
|
|
5237
|
-
401: {
|
|
5238
|
-
headers: {
|
|
5239
|
-
[name: string]: unknown;
|
|
5240
|
-
};
|
|
5241
|
-
content?: never;
|
|
5242
|
-
};
|
|
5243
|
-
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
5205
|
+
/** @description You don`t have access to current wallet */
|
|
5244
5206
|
403: {
|
|
5245
5207
|
headers: {
|
|
5246
5208
|
[name: string]: unknown;
|
|
@@ -5249,168 +5211,4 @@ export interface operations {
|
|
|
5249
5211
|
};
|
|
5250
5212
|
};
|
|
5251
5213
|
};
|
|
5252
|
-
WalletsInvitesController_create: {
|
|
5253
|
-
parameters: {
|
|
5254
|
-
query?: never;
|
|
5255
|
-
header?: never;
|
|
5256
|
-
path: {
|
|
5257
|
-
wallet_id: string;
|
|
5258
|
-
};
|
|
5259
|
-
cookie?: never;
|
|
5260
|
-
};
|
|
5261
|
-
requestBody: {
|
|
5262
|
-
content: {
|
|
5263
|
-
"application/json": components["schemas"]["CreateWalletInviteRequestDto"];
|
|
5264
|
-
};
|
|
5265
|
-
};
|
|
5266
|
-
responses: {
|
|
5267
|
-
200: {
|
|
5268
|
-
headers: {
|
|
5269
|
-
[name: string]: unknown;
|
|
5270
|
-
};
|
|
5271
|
-
content: {
|
|
5272
|
-
"application/json": components["schemas"]["WalletInviteDto"];
|
|
5273
|
-
};
|
|
5274
|
-
};
|
|
5275
|
-
/** @description Unauthorized */
|
|
5276
|
-
401: {
|
|
5277
|
-
headers: {
|
|
5278
|
-
[name: string]: unknown;
|
|
5279
|
-
};
|
|
5280
|
-
content?: never;
|
|
5281
|
-
};
|
|
5282
|
-
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
5283
|
-
403: {
|
|
5284
|
-
headers: {
|
|
5285
|
-
[name: string]: unknown;
|
|
5286
|
-
};
|
|
5287
|
-
content?: never;
|
|
5288
|
-
};
|
|
5289
|
-
};
|
|
5290
|
-
};
|
|
5291
|
-
WalletsInvitesController_view: {
|
|
5292
|
-
parameters: {
|
|
5293
|
-
query?: never;
|
|
5294
|
-
header?: never;
|
|
5295
|
-
path: {
|
|
5296
|
-
wallet_id: string;
|
|
5297
|
-
id: string;
|
|
5298
|
-
};
|
|
5299
|
-
cookie?: never;
|
|
5300
|
-
};
|
|
5301
|
-
requestBody?: never;
|
|
5302
|
-
responses: {
|
|
5303
|
-
200: {
|
|
5304
|
-
headers: {
|
|
5305
|
-
[name: string]: unknown;
|
|
5306
|
-
};
|
|
5307
|
-
content: {
|
|
5308
|
-
"application/json": components["schemas"]["WalletInviteDto"];
|
|
5309
|
-
};
|
|
5310
|
-
};
|
|
5311
|
-
/** @description Unauthorized */
|
|
5312
|
-
401: {
|
|
5313
|
-
headers: {
|
|
5314
|
-
[name: string]: unknown;
|
|
5315
|
-
};
|
|
5316
|
-
content?: never;
|
|
5317
|
-
};
|
|
5318
|
-
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
5319
|
-
403: {
|
|
5320
|
-
headers: {
|
|
5321
|
-
[name: string]: unknown;
|
|
5322
|
-
};
|
|
5323
|
-
content?: never;
|
|
5324
|
-
};
|
|
5325
|
-
};
|
|
5326
|
-
};
|
|
5327
|
-
WalletsInvitesController_cancel: {
|
|
5328
|
-
parameters: {
|
|
5329
|
-
query?: never;
|
|
5330
|
-
header?: never;
|
|
5331
|
-
path: {
|
|
5332
|
-
wallet_id: string;
|
|
5333
|
-
id: string;
|
|
5334
|
-
};
|
|
5335
|
-
cookie?: never;
|
|
5336
|
-
};
|
|
5337
|
-
requestBody?: never;
|
|
5338
|
-
responses: {
|
|
5339
|
-
/** @description Invite cancelled */
|
|
5340
|
-
200: {
|
|
5341
|
-
headers: {
|
|
5342
|
-
[name: string]: unknown;
|
|
5343
|
-
};
|
|
5344
|
-
content?: never;
|
|
5345
|
-
};
|
|
5346
|
-
/** @description Unauthorized */
|
|
5347
|
-
401: {
|
|
5348
|
-
headers: {
|
|
5349
|
-
[name: string]: unknown;
|
|
5350
|
-
};
|
|
5351
|
-
content?: never;
|
|
5352
|
-
};
|
|
5353
|
-
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
5354
|
-
403: {
|
|
5355
|
-
headers: {
|
|
5356
|
-
[name: string]: unknown;
|
|
5357
|
-
};
|
|
5358
|
-
content?: never;
|
|
5359
|
-
};
|
|
5360
|
-
};
|
|
5361
|
-
};
|
|
5362
|
-
WalletsInvitesAcceptController_accept: {
|
|
5363
|
-
parameters: {
|
|
5364
|
-
query?: never;
|
|
5365
|
-
header?: never;
|
|
5366
|
-
path?: never;
|
|
5367
|
-
cookie?: never;
|
|
5368
|
-
};
|
|
5369
|
-
requestBody: {
|
|
5370
|
-
content: {
|
|
5371
|
-
"application/json": components["schemas"]["AcceptWalletInviteRequestDto"];
|
|
5372
|
-
};
|
|
5373
|
-
};
|
|
5374
|
-
responses: {
|
|
5375
|
-
/** @description Invite accepted */
|
|
5376
|
-
200: {
|
|
5377
|
-
headers: {
|
|
5378
|
-
[name: string]: unknown;
|
|
5379
|
-
};
|
|
5380
|
-
content: {
|
|
5381
|
-
"application/json": components["schemas"]["AcceptWalletInviteResponseDto"];
|
|
5382
|
-
};
|
|
5383
|
-
};
|
|
5384
|
-
/** @description Unauthorized */
|
|
5385
|
-
401: {
|
|
5386
|
-
headers: {
|
|
5387
|
-
[name: string]: unknown;
|
|
5388
|
-
};
|
|
5389
|
-
content?: never;
|
|
5390
|
-
};
|
|
5391
|
-
};
|
|
5392
|
-
};
|
|
5393
|
-
MailerController_handleQStashWebhook: {
|
|
5394
|
-
parameters: {
|
|
5395
|
-
query?: never;
|
|
5396
|
-
header: {
|
|
5397
|
-
"upstash-signature": string;
|
|
5398
|
-
};
|
|
5399
|
-
path?: never;
|
|
5400
|
-
cookie?: never;
|
|
5401
|
-
};
|
|
5402
|
-
requestBody: {
|
|
5403
|
-
content: {
|
|
5404
|
-
"application/json": components["schemas"]["QStashWebhookDto"];
|
|
5405
|
-
};
|
|
5406
|
-
};
|
|
5407
|
-
responses: {
|
|
5408
|
-
201: {
|
|
5409
|
-
headers: {
|
|
5410
|
-
[name: string]: unknown;
|
|
5411
|
-
};
|
|
5412
|
-
content?: never;
|
|
5413
|
-
};
|
|
5414
|
-
};
|
|
5415
|
-
};
|
|
5416
5214
|
}
|
|
@@ -1182,6 +1182,12 @@ export declare namespace API {
|
|
|
1182
1182
|
is_internal: boolean;
|
|
1183
1183
|
order_types_kyc_rails: OrderTypeKycRail[];
|
|
1184
1184
|
payment_method: API.Orders.V2.OrderTypes.PaymentMethod;
|
|
1185
|
+
/** Optional minimum amount the product should allow for this order type */
|
|
1186
|
+
min_amount: number | null;
|
|
1187
|
+
/** Optional maximum amount the product should allow for this order type */
|
|
1188
|
+
max_amount: number | null;
|
|
1189
|
+
/** Whether payouts for this order type are limited to the wallet owner's own account */
|
|
1190
|
+
first_party_only: boolean;
|
|
1185
1191
|
}
|
|
1186
1192
|
namespace List {
|
|
1187
1193
|
type Response = OrderInfo[];
|
|
@@ -1481,6 +1487,12 @@ export declare namespace API {
|
|
|
1481
1487
|
is_internal: boolean;
|
|
1482
1488
|
payment_method: PaymentMethod;
|
|
1483
1489
|
is_trusted: boolean;
|
|
1490
|
+
/** Optional minimum amount the product should allow for this order type */
|
|
1491
|
+
min_amount: number | null;
|
|
1492
|
+
/** Optional maximum amount the product should allow for this order type */
|
|
1493
|
+
max_amount: number | null;
|
|
1494
|
+
/** Whether payouts for this order type are limited to the wallet owner's own account */
|
|
1495
|
+
first_party_only: boolean;
|
|
1484
1496
|
order_types_kyc_rails: OrderTypeKycRail[];
|
|
1485
1497
|
}
|
|
1486
1498
|
namespace List {
|