squarefi-bff-api-module 1.36.5 → 1.36.7
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/counterparties.d.ts +8 -8
- package/dist/api/counterparties.js +68 -13
- package/dist/api/orders.d.ts +5 -0
- package/dist/api/orders.js +5 -0
- package/dist/api/types/autogen/apiV1External.types.d.ts +37 -11
- package/dist/api/types/autogen/apiV1Frontend.types.d.ts +519 -33
- package/dist/api/types/autogen/apiV1Legacy.types.d.ts +365 -2
- package/dist/api/types/autogen/apiV1Tenant.types.d.ts +147 -6
- package/dist/api/types/types.d.ts +104 -68
- package/dist/constants.d.ts +22 -3
- package/dist/constants.js +20 -0
- package/package.json +1 -1
|
@@ -7032,6 +7032,369 @@ export interface paths {
|
|
|
7032
7032
|
patch?: never;
|
|
7033
7033
|
trace?: never;
|
|
7034
7034
|
};
|
|
7035
|
+
"/v2/orders/BRL_RTP_OFFRAMP": {
|
|
7036
|
+
parameters: {
|
|
7037
|
+
query?: never;
|
|
7038
|
+
header?: never;
|
|
7039
|
+
path?: never;
|
|
7040
|
+
cookie?: never;
|
|
7041
|
+
};
|
|
7042
|
+
get?: never;
|
|
7043
|
+
put?: never;
|
|
7044
|
+
/**
|
|
7045
|
+
* Create Brale RTP offramp order (USD)
|
|
7046
|
+
* @description Submit a stablecoin → USD RTP transfer via Brale. Behaves like
|
|
7047
|
+
* BRL_ACH_OFFRAMP except the destination rail is `rtp_credit`
|
|
7048
|
+
* (Real-Time Payments — settles in minutes, available 24/7
|
|
7049
|
+
* including weekends and holidays). The destination must reference
|
|
7050
|
+
* a counterparty of type `ACH` whose Brale external address has
|
|
7051
|
+
* had RTP eligibility confirmed by Brale's banking partner — that
|
|
7052
|
+
* confirmation is asynchronous and is reflected by `rtp_credit`
|
|
7053
|
+
* appearing in the address's `transfer_types`. The workflow
|
|
7054
|
+
* refuses to send if RTP is not yet enabled, in which case the
|
|
7055
|
+
* caller can retry shortly or fall back to BRL_ACH_OFFRAMP.
|
|
7056
|
+
*
|
|
7057
|
+
*/
|
|
7058
|
+
post: {
|
|
7059
|
+
parameters: {
|
|
7060
|
+
query?: never;
|
|
7061
|
+
header?: never;
|
|
7062
|
+
path?: never;
|
|
7063
|
+
cookie?: never;
|
|
7064
|
+
};
|
|
7065
|
+
requestBody: {
|
|
7066
|
+
content: {
|
|
7067
|
+
"application/json": {
|
|
7068
|
+
request_id: string;
|
|
7069
|
+
counterparty_destination_id: string;
|
|
7070
|
+
amount: number;
|
|
7071
|
+
wallet_id: string;
|
|
7072
|
+
from_currency_id: string;
|
|
7073
|
+
to_currency_id?: string;
|
|
7074
|
+
virtual_account_id: string;
|
|
7075
|
+
reference?: string;
|
|
7076
|
+
note?: string;
|
|
7077
|
+
};
|
|
7078
|
+
};
|
|
7079
|
+
};
|
|
7080
|
+
responses: {
|
|
7081
|
+
/** @description Order successfully created. */
|
|
7082
|
+
200: {
|
|
7083
|
+
headers: {
|
|
7084
|
+
[name: string]: unknown;
|
|
7085
|
+
};
|
|
7086
|
+
content?: never;
|
|
7087
|
+
};
|
|
7088
|
+
/** @description Validation error. */
|
|
7089
|
+
400: {
|
|
7090
|
+
headers: {
|
|
7091
|
+
[name: string]: unknown;
|
|
7092
|
+
};
|
|
7093
|
+
content?: never;
|
|
7094
|
+
};
|
|
7095
|
+
/** @description Server error. */
|
|
7096
|
+
500: {
|
|
7097
|
+
headers: {
|
|
7098
|
+
[name: string]: unknown;
|
|
7099
|
+
};
|
|
7100
|
+
content?: never;
|
|
7101
|
+
};
|
|
7102
|
+
};
|
|
7103
|
+
};
|
|
7104
|
+
delete?: never;
|
|
7105
|
+
options?: never;
|
|
7106
|
+
head?: never;
|
|
7107
|
+
patch?: never;
|
|
7108
|
+
trace?: never;
|
|
7109
|
+
};
|
|
7110
|
+
"/v2/orders/DLS_WIRE_OFFRAMP": {
|
|
7111
|
+
parameters: {
|
|
7112
|
+
query?: never;
|
|
7113
|
+
header?: never;
|
|
7114
|
+
path?: never;
|
|
7115
|
+
cookie?: never;
|
|
7116
|
+
};
|
|
7117
|
+
get?: never;
|
|
7118
|
+
put?: never;
|
|
7119
|
+
/**
|
|
7120
|
+
* Create Delos FedWire offramp order (USD)
|
|
7121
|
+
* @description Submit a USD domestic wire withdrawal via Delos Financial. Body shape
|
|
7122
|
+
* mirrors BRL_WIRE_OFFRAMP — `virtual_account_id` (Delos VA, source of
|
|
7123
|
+
* funds) is REQUIRED, and `counterparty_destination_id` must reference a
|
|
7124
|
+
* US bank destination of type `FEDWIRE`. Beneficiary registration with
|
|
7125
|
+
* Delos is performed lazily and cached; the workflow waits for
|
|
7126
|
+
* Delos-side beneficiary verification before submitting the payout.
|
|
7127
|
+
*
|
|
7128
|
+
*/
|
|
7129
|
+
post: {
|
|
7130
|
+
parameters: {
|
|
7131
|
+
query?: never;
|
|
7132
|
+
header?: never;
|
|
7133
|
+
path?: never;
|
|
7134
|
+
cookie?: never;
|
|
7135
|
+
};
|
|
7136
|
+
requestBody: {
|
|
7137
|
+
content: {
|
|
7138
|
+
"application/json": {
|
|
7139
|
+
request_id: string;
|
|
7140
|
+
/** @description Delos virtual account (source of funds). */
|
|
7141
|
+
virtual_account_id: string;
|
|
7142
|
+
/** @description US bank destination (must be FEDWIRE type). */
|
|
7143
|
+
counterparty_destination_id: string;
|
|
7144
|
+
/** @description Amount to disburse in USD. */
|
|
7145
|
+
amount: number;
|
|
7146
|
+
wallet_id: string;
|
|
7147
|
+
from_currency_id: string;
|
|
7148
|
+
to_currency_id?: string;
|
|
7149
|
+
/** @description Free-form payment note (sent as Delos comment). */
|
|
7150
|
+
reference?: string;
|
|
7151
|
+
note?: string;
|
|
7152
|
+
documents?: components["schemas"]["OrderDocuments"];
|
|
7153
|
+
};
|
|
7154
|
+
};
|
|
7155
|
+
};
|
|
7156
|
+
responses: {
|
|
7157
|
+
/** @description Order successfully created. */
|
|
7158
|
+
200: {
|
|
7159
|
+
headers: {
|
|
7160
|
+
[name: string]: unknown;
|
|
7161
|
+
};
|
|
7162
|
+
content?: never;
|
|
7163
|
+
};
|
|
7164
|
+
/** @description Validation error. */
|
|
7165
|
+
400: {
|
|
7166
|
+
headers: {
|
|
7167
|
+
[name: string]: unknown;
|
|
7168
|
+
};
|
|
7169
|
+
content?: never;
|
|
7170
|
+
};
|
|
7171
|
+
/** @description Server error. */
|
|
7172
|
+
500: {
|
|
7173
|
+
headers: {
|
|
7174
|
+
[name: string]: unknown;
|
|
7175
|
+
};
|
|
7176
|
+
content?: never;
|
|
7177
|
+
};
|
|
7178
|
+
};
|
|
7179
|
+
};
|
|
7180
|
+
delete?: never;
|
|
7181
|
+
options?: never;
|
|
7182
|
+
head?: never;
|
|
7183
|
+
patch?: never;
|
|
7184
|
+
trace?: never;
|
|
7185
|
+
};
|
|
7186
|
+
"/v2/orders/DLS_ACH_OFFRAMP": {
|
|
7187
|
+
parameters: {
|
|
7188
|
+
query?: never;
|
|
7189
|
+
header?: never;
|
|
7190
|
+
path?: never;
|
|
7191
|
+
cookie?: never;
|
|
7192
|
+
};
|
|
7193
|
+
get?: never;
|
|
7194
|
+
put?: never;
|
|
7195
|
+
/**
|
|
7196
|
+
* Create Delos ACH offramp order (USD)
|
|
7197
|
+
* @description Submit a USD ACH withdrawal via Delos Financial. Identical to
|
|
7198
|
+
* DLS_WIRE_OFFRAMP except `counterparty_destination_id` must reference
|
|
7199
|
+
* a destination of type `ACH`.
|
|
7200
|
+
*
|
|
7201
|
+
*/
|
|
7202
|
+
post: {
|
|
7203
|
+
parameters: {
|
|
7204
|
+
query?: never;
|
|
7205
|
+
header?: never;
|
|
7206
|
+
path?: never;
|
|
7207
|
+
cookie?: never;
|
|
7208
|
+
};
|
|
7209
|
+
requestBody: {
|
|
7210
|
+
content: {
|
|
7211
|
+
"application/json": {
|
|
7212
|
+
request_id: string;
|
|
7213
|
+
virtual_account_id: string;
|
|
7214
|
+
/** @description US bank destination (must be ACH type). */
|
|
7215
|
+
counterparty_destination_id: string;
|
|
7216
|
+
amount: number;
|
|
7217
|
+
wallet_id: string;
|
|
7218
|
+
from_currency_id: string;
|
|
7219
|
+
to_currency_id?: string;
|
|
7220
|
+
reference?: string;
|
|
7221
|
+
note?: string;
|
|
7222
|
+
documents?: components["schemas"]["OrderDocuments"];
|
|
7223
|
+
};
|
|
7224
|
+
};
|
|
7225
|
+
};
|
|
7226
|
+
responses: {
|
|
7227
|
+
/** @description Order successfully created. */
|
|
7228
|
+
200: {
|
|
7229
|
+
headers: {
|
|
7230
|
+
[name: string]: unknown;
|
|
7231
|
+
};
|
|
7232
|
+
content?: never;
|
|
7233
|
+
};
|
|
7234
|
+
/** @description Validation error. */
|
|
7235
|
+
400: {
|
|
7236
|
+
headers: {
|
|
7237
|
+
[name: string]: unknown;
|
|
7238
|
+
};
|
|
7239
|
+
content?: never;
|
|
7240
|
+
};
|
|
7241
|
+
/** @description Server error. */
|
|
7242
|
+
500: {
|
|
7243
|
+
headers: {
|
|
7244
|
+
[name: string]: unknown;
|
|
7245
|
+
};
|
|
7246
|
+
content?: never;
|
|
7247
|
+
};
|
|
7248
|
+
};
|
|
7249
|
+
};
|
|
7250
|
+
delete?: never;
|
|
7251
|
+
options?: never;
|
|
7252
|
+
head?: never;
|
|
7253
|
+
patch?: never;
|
|
7254
|
+
trace?: never;
|
|
7255
|
+
};
|
|
7256
|
+
"/v2/orders/DLS_SEPA_OFFRAMP": {
|
|
7257
|
+
parameters: {
|
|
7258
|
+
query?: never;
|
|
7259
|
+
header?: never;
|
|
7260
|
+
path?: never;
|
|
7261
|
+
cookie?: never;
|
|
7262
|
+
};
|
|
7263
|
+
get?: never;
|
|
7264
|
+
put?: never;
|
|
7265
|
+
/**
|
|
7266
|
+
* Create Delos SEPA offramp order (EUR)
|
|
7267
|
+
* @description Submit a EUR SEPA Credit Transfer withdrawal via Delos Financial.
|
|
7268
|
+
* `counterparty_destination_id` must reference a destination of type
|
|
7269
|
+
* `SEPA` (IBAN required).
|
|
7270
|
+
*
|
|
7271
|
+
*/
|
|
7272
|
+
post: {
|
|
7273
|
+
parameters: {
|
|
7274
|
+
query?: never;
|
|
7275
|
+
header?: never;
|
|
7276
|
+
path?: never;
|
|
7277
|
+
cookie?: never;
|
|
7278
|
+
};
|
|
7279
|
+
requestBody: {
|
|
7280
|
+
content: {
|
|
7281
|
+
"application/json": {
|
|
7282
|
+
request_id: string;
|
|
7283
|
+
virtual_account_id: string;
|
|
7284
|
+
/** @description SEPA destination (IBAN required). */
|
|
7285
|
+
counterparty_destination_id: string;
|
|
7286
|
+
amount: number;
|
|
7287
|
+
wallet_id: string;
|
|
7288
|
+
from_currency_id: string;
|
|
7289
|
+
to_currency_id?: string;
|
|
7290
|
+
reference?: string;
|
|
7291
|
+
note?: string;
|
|
7292
|
+
documents?: components["schemas"]["OrderDocuments"];
|
|
7293
|
+
};
|
|
7294
|
+
};
|
|
7295
|
+
};
|
|
7296
|
+
responses: {
|
|
7297
|
+
/** @description Order successfully created. */
|
|
7298
|
+
200: {
|
|
7299
|
+
headers: {
|
|
7300
|
+
[name: string]: unknown;
|
|
7301
|
+
};
|
|
7302
|
+
content?: never;
|
|
7303
|
+
};
|
|
7304
|
+
/** @description Validation error. */
|
|
7305
|
+
400: {
|
|
7306
|
+
headers: {
|
|
7307
|
+
[name: string]: unknown;
|
|
7308
|
+
};
|
|
7309
|
+
content?: never;
|
|
7310
|
+
};
|
|
7311
|
+
/** @description Server error. */
|
|
7312
|
+
500: {
|
|
7313
|
+
headers: {
|
|
7314
|
+
[name: string]: unknown;
|
|
7315
|
+
};
|
|
7316
|
+
content?: never;
|
|
7317
|
+
};
|
|
7318
|
+
};
|
|
7319
|
+
};
|
|
7320
|
+
delete?: never;
|
|
7321
|
+
options?: never;
|
|
7322
|
+
head?: never;
|
|
7323
|
+
patch?: never;
|
|
7324
|
+
trace?: never;
|
|
7325
|
+
};
|
|
7326
|
+
"/v2/orders/DLS_SWIFT_OFFRAMP": {
|
|
7327
|
+
parameters: {
|
|
7328
|
+
query?: never;
|
|
7329
|
+
header?: never;
|
|
7330
|
+
path?: never;
|
|
7331
|
+
cookie?: never;
|
|
7332
|
+
};
|
|
7333
|
+
get?: never;
|
|
7334
|
+
put?: never;
|
|
7335
|
+
/**
|
|
7336
|
+
* Create Delos SWIFT offramp order (USD/EUR/GBP)
|
|
7337
|
+
* @description Submit an international SWIFT withdrawal via Delos Financial.
|
|
7338
|
+
* `counterparty_destination_id` must reference a destination of type
|
|
7339
|
+
* `SWIFT` (SWIFT/BIC required; bank address with country required for
|
|
7340
|
+
* regional routing). GBP payouts use this route until Delos confirms a
|
|
7341
|
+
* local UK rail (FPS/CHAPS).
|
|
7342
|
+
*
|
|
7343
|
+
*/
|
|
7344
|
+
post: {
|
|
7345
|
+
parameters: {
|
|
7346
|
+
query?: never;
|
|
7347
|
+
header?: never;
|
|
7348
|
+
path?: never;
|
|
7349
|
+
cookie?: never;
|
|
7350
|
+
};
|
|
7351
|
+
requestBody: {
|
|
7352
|
+
content: {
|
|
7353
|
+
"application/json": {
|
|
7354
|
+
request_id: string;
|
|
7355
|
+
virtual_account_id: string;
|
|
7356
|
+
/** @description SWIFT destination (BIC + bank country required). */
|
|
7357
|
+
counterparty_destination_id: string;
|
|
7358
|
+
amount: number;
|
|
7359
|
+
wallet_id: string;
|
|
7360
|
+
from_currency_id: string;
|
|
7361
|
+
to_currency_id?: string;
|
|
7362
|
+
reference?: string;
|
|
7363
|
+
note?: string;
|
|
7364
|
+
documents?: components["schemas"]["OrderDocuments"];
|
|
7365
|
+
};
|
|
7366
|
+
};
|
|
7367
|
+
};
|
|
7368
|
+
responses: {
|
|
7369
|
+
/** @description Order successfully created. */
|
|
7370
|
+
200: {
|
|
7371
|
+
headers: {
|
|
7372
|
+
[name: string]: unknown;
|
|
7373
|
+
};
|
|
7374
|
+
content?: never;
|
|
7375
|
+
};
|
|
7376
|
+
/** @description Validation error. */
|
|
7377
|
+
400: {
|
|
7378
|
+
headers: {
|
|
7379
|
+
[name: string]: unknown;
|
|
7380
|
+
};
|
|
7381
|
+
content?: never;
|
|
7382
|
+
};
|
|
7383
|
+
/** @description Server error. */
|
|
7384
|
+
500: {
|
|
7385
|
+
headers: {
|
|
7386
|
+
[name: string]: unknown;
|
|
7387
|
+
};
|
|
7388
|
+
content?: never;
|
|
7389
|
+
};
|
|
7390
|
+
};
|
|
7391
|
+
};
|
|
7392
|
+
delete?: never;
|
|
7393
|
+
options?: never;
|
|
7394
|
+
head?: never;
|
|
7395
|
+
patch?: never;
|
|
7396
|
+
trace?: never;
|
|
7397
|
+
};
|
|
7035
7398
|
"/v2/orders/L2F_SEPA_OFFRAMP": {
|
|
7036
7399
|
parameters: {
|
|
7037
7400
|
query?: never;
|
|
@@ -8286,7 +8649,7 @@ export interface components {
|
|
|
8286
8649
|
* @example EXCHANGE_OMNI
|
|
8287
8650
|
* @enum {string}
|
|
8288
8651
|
*/
|
|
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";
|
|
8652
|
+
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" | "BRL_RTP_OFFRAMP" | "DLS_WIRE_ONRAMP" | "DLS_WIRE_OFFRAMP" | "DLS_ACH_ONRAMP" | "DLS_ACH_OFFRAMP" | "DLS_SEPA_ONRAMP" | "DLS_SEPA_OFFRAMP" | "DLS_SWIFT_ONRAMP" | "DLS_SWIFT_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
8653
|
/** @description Order type reference with optional product guardrails, associated KYC rails and tenant billing rates */
|
|
8291
8654
|
OrderType: {
|
|
8292
8655
|
/** @description Order type identifier (e.g. EXCHANGE, WITHDRAWAL_CRYPTO) */
|
|
@@ -8305,7 +8668,7 @@ export interface components {
|
|
|
8305
8668
|
* @description Payment method associated with this order type
|
|
8306
8669
|
* @enum {string|null}
|
|
8307
8670
|
*/
|
|
8308
|
-
payment_method?: "
|
|
8671
|
+
payment_method?: "FEDWIRE" | "ACH" | "RTP" | "SWIFT" | "SEPA" | "CHAPS" | "FPS" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | null;
|
|
8309
8672
|
/**
|
|
8310
8673
|
* Format: uuid
|
|
8311
8674
|
* @description Associated KYC rail configuration ID
|
|
@@ -581,6 +581,9 @@ export interface paths {
|
|
|
581
581
|
* **Crypto types** (CRYPTO_EXTERNAL, CRYPTO_INTERNAL):
|
|
582
582
|
* crypto_data: { address, currency_id, memo }
|
|
583
583
|
*
|
|
584
|
+
* **Internal type** (INTERNAL):
|
|
585
|
+
* internal_data: { wallet_id, description? } — receiver wallet on the same platform
|
|
586
|
+
*
|
|
584
587
|
*/
|
|
585
588
|
post: {
|
|
586
589
|
parameters: {
|
|
@@ -600,7 +603,7 @@ export interface paths {
|
|
|
600
603
|
/** Format: uuid */
|
|
601
604
|
counterparty_account_id: string;
|
|
602
605
|
/** @enum {string} */
|
|
603
|
-
type: "ACH" | "SWIFT" | "SEPA" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | "CHAPS" | "FPS" | "FEDWIRE";
|
|
606
|
+
type: "ACH" | "SWIFT" | "SEPA" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | "CHAPS" | "FPS" | "FEDWIRE" | "INTERNAL";
|
|
604
607
|
nickname?: string;
|
|
605
608
|
banking_data?: {
|
|
606
609
|
account_number?: string;
|
|
@@ -626,6 +629,16 @@ export interface paths {
|
|
|
626
629
|
currency_id?: string;
|
|
627
630
|
memo?: string;
|
|
628
631
|
};
|
|
632
|
+
/** @description Required for type INTERNAL — points at the receiver wallet on the same platform. */
|
|
633
|
+
internal_data?: {
|
|
634
|
+
/**
|
|
635
|
+
* Format: uuid
|
|
636
|
+
* @description Target (receiver) wallet uuid on the same platform.
|
|
637
|
+
*/
|
|
638
|
+
wallet_id: string;
|
|
639
|
+
/** @description Optional, reserved for future use. */
|
|
640
|
+
description?: string;
|
|
641
|
+
};
|
|
629
642
|
};
|
|
630
643
|
};
|
|
631
644
|
};
|
|
@@ -2354,8 +2367,11 @@ export interface paths {
|
|
|
2354
2367
|
"application/json": {
|
|
2355
2368
|
/** Format: uuid */
|
|
2356
2369
|
from_currency_id: string;
|
|
2357
|
-
/**
|
|
2358
|
-
|
|
2370
|
+
/**
|
|
2371
|
+
* Format: uuid
|
|
2372
|
+
* @description Counterparty destination of type INTERNAL (points at the receiver wallet).
|
|
2373
|
+
*/
|
|
2374
|
+
counterparty_destination_id: string;
|
|
2359
2375
|
amount: number;
|
|
2360
2376
|
request_id: string;
|
|
2361
2377
|
documents?: Record<string, never>[];
|
|
@@ -4915,6 +4931,117 @@ export interface paths {
|
|
|
4915
4931
|
};
|
|
4916
4932
|
trace?: never;
|
|
4917
4933
|
};
|
|
4934
|
+
"/admin/wallets/{wallet_id}/soft-delete": {
|
|
4935
|
+
parameters: {
|
|
4936
|
+
query?: never;
|
|
4937
|
+
header?: never;
|
|
4938
|
+
path?: never;
|
|
4939
|
+
cookie?: never;
|
|
4940
|
+
};
|
|
4941
|
+
get?: never;
|
|
4942
|
+
put?: never;
|
|
4943
|
+
/**
|
|
4944
|
+
* Soft-delete wallet
|
|
4945
|
+
* @description Soft-deletes the wallet without removing its related KYC/history. The
|
|
4946
|
+
* wallet disappears from user-facing wallet selection flows and access
|
|
4947
|
+
* checks start denying it for all members.
|
|
4948
|
+
*
|
|
4949
|
+
*/
|
|
4950
|
+
post: {
|
|
4951
|
+
parameters: {
|
|
4952
|
+
query?: never;
|
|
4953
|
+
header?: never;
|
|
4954
|
+
path: {
|
|
4955
|
+
wallet_id: string;
|
|
4956
|
+
};
|
|
4957
|
+
cookie?: never;
|
|
4958
|
+
};
|
|
4959
|
+
requestBody?: never;
|
|
4960
|
+
responses: {
|
|
4961
|
+
/** @description Wallet soft-deleted */
|
|
4962
|
+
200: {
|
|
4963
|
+
headers: {
|
|
4964
|
+
[name: string]: unknown;
|
|
4965
|
+
};
|
|
4966
|
+
content?: never;
|
|
4967
|
+
};
|
|
4968
|
+
/** @description Wallet does not belong to this tenant */
|
|
4969
|
+
403: {
|
|
4970
|
+
headers: {
|
|
4971
|
+
[name: string]: unknown;
|
|
4972
|
+
};
|
|
4973
|
+
content?: never;
|
|
4974
|
+
};
|
|
4975
|
+
/** @description Wallet not found */
|
|
4976
|
+
404: {
|
|
4977
|
+
headers: {
|
|
4978
|
+
[name: string]: unknown;
|
|
4979
|
+
};
|
|
4980
|
+
content?: never;
|
|
4981
|
+
};
|
|
4982
|
+
};
|
|
4983
|
+
};
|
|
4984
|
+
delete?: never;
|
|
4985
|
+
options?: never;
|
|
4986
|
+
head?: never;
|
|
4987
|
+
patch?: never;
|
|
4988
|
+
trace?: never;
|
|
4989
|
+
};
|
|
4990
|
+
"/admin/wallets/{wallet_id}/restore": {
|
|
4991
|
+
parameters: {
|
|
4992
|
+
query?: never;
|
|
4993
|
+
header?: never;
|
|
4994
|
+
path?: never;
|
|
4995
|
+
cookie?: never;
|
|
4996
|
+
};
|
|
4997
|
+
get?: never;
|
|
4998
|
+
put?: never;
|
|
4999
|
+
/**
|
|
5000
|
+
* Restore soft-deleted wallet
|
|
5001
|
+
* @description Internal rollback operation for wallet soft-delete. Restores wallet
|
|
5002
|
+
* visibility and access for all members.
|
|
5003
|
+
*
|
|
5004
|
+
*/
|
|
5005
|
+
post: {
|
|
5006
|
+
parameters: {
|
|
5007
|
+
query?: never;
|
|
5008
|
+
header?: never;
|
|
5009
|
+
path: {
|
|
5010
|
+
wallet_id: string;
|
|
5011
|
+
};
|
|
5012
|
+
cookie?: never;
|
|
5013
|
+
};
|
|
5014
|
+
requestBody?: never;
|
|
5015
|
+
responses: {
|
|
5016
|
+
/** @description Wallet restored */
|
|
5017
|
+
200: {
|
|
5018
|
+
headers: {
|
|
5019
|
+
[name: string]: unknown;
|
|
5020
|
+
};
|
|
5021
|
+
content?: never;
|
|
5022
|
+
};
|
|
5023
|
+
/** @description Wallet does not belong to this tenant */
|
|
5024
|
+
403: {
|
|
5025
|
+
headers: {
|
|
5026
|
+
[name: string]: unknown;
|
|
5027
|
+
};
|
|
5028
|
+
content?: never;
|
|
5029
|
+
};
|
|
5030
|
+
/** @description Wallet not found */
|
|
5031
|
+
404: {
|
|
5032
|
+
headers: {
|
|
5033
|
+
[name: string]: unknown;
|
|
5034
|
+
};
|
|
5035
|
+
content?: never;
|
|
5036
|
+
};
|
|
5037
|
+
};
|
|
5038
|
+
};
|
|
5039
|
+
delete?: never;
|
|
5040
|
+
options?: never;
|
|
5041
|
+
head?: never;
|
|
5042
|
+
patch?: never;
|
|
5043
|
+
trace?: never;
|
|
5044
|
+
};
|
|
4918
5045
|
"/admin/wallets/{wallet_id}/balance": {
|
|
4919
5046
|
parameters: {
|
|
4920
5047
|
query?: never;
|
|
@@ -5794,7 +5921,10 @@ export interface paths {
|
|
|
5794
5921
|
query: {
|
|
5795
5922
|
wallet_id: string;
|
|
5796
5923
|
program_id?: string;
|
|
5797
|
-
|
|
5924
|
+
/** @description Filter cards by status.
|
|
5925
|
+
* Accepts a single value or a comma-separated list, e.g. `status=ACTIVE,CANCELED`.
|
|
5926
|
+
* */
|
|
5927
|
+
status?: ("ACTIVE" | "INACTIVE" | "SUSPENDED" | "CANCELED")[];
|
|
5798
5928
|
sub_account_type?: "balance" | "prepaid";
|
|
5799
5929
|
offset?: number;
|
|
5800
5930
|
limit?: number;
|
|
@@ -7438,13 +7568,23 @@ export interface components {
|
|
|
7438
7568
|
memo?: string | null;
|
|
7439
7569
|
currency?: components["schemas"]["CurrencyRef"];
|
|
7440
7570
|
} | null;
|
|
7571
|
+
/** @description Internal destination payload — the receiver wallet on the same platform. Populated when type is INTERNAL; null otherwise. */
|
|
7572
|
+
CounterpartyInternalData: {
|
|
7573
|
+
/**
|
|
7574
|
+
* Format: uuid
|
|
7575
|
+
* @description Target (receiver) wallet uuid
|
|
7576
|
+
*/
|
|
7577
|
+
wallet_id?: string;
|
|
7578
|
+
/** @description Optional, reserved for future use */
|
|
7579
|
+
description?: string | null;
|
|
7580
|
+
} | null;
|
|
7441
7581
|
CounterpartyDestination: {
|
|
7442
7582
|
/** Format: uuid */
|
|
7443
7583
|
id?: string;
|
|
7444
7584
|
/** Format: uuid */
|
|
7445
7585
|
counterparty_account_id?: string;
|
|
7446
7586
|
/** @enum {string} */
|
|
7447
|
-
type?: "ACH" | "SWIFT" | "SEPA" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | "CHAPS" | "FPS" | "FEDWIRE";
|
|
7587
|
+
type?: "ACH" | "SWIFT" | "SEPA" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | "CHAPS" | "FPS" | "FEDWIRE" | "INTERNAL";
|
|
7448
7588
|
nickname?: string | null;
|
|
7449
7589
|
/** Format: date-time */
|
|
7450
7590
|
created_at?: string;
|
|
@@ -7452,6 +7592,7 @@ export interface components {
|
|
|
7452
7592
|
updated_at?: string;
|
|
7453
7593
|
banking_data?: components["schemas"]["BankingData"];
|
|
7454
7594
|
crypto_data?: components["schemas"]["CryptoData"];
|
|
7595
|
+
internal_data?: components["schemas"]["CounterpartyInternalData"];
|
|
7455
7596
|
};
|
|
7456
7597
|
AdminApiKey: {
|
|
7457
7598
|
/** Format: uuid */
|
|
@@ -7604,7 +7745,7 @@ export interface components {
|
|
|
7604
7745
|
* @example EXCHANGE_OMNI
|
|
7605
7746
|
* @enum {string}
|
|
7606
7747
|
*/
|
|
7607
|
-
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";
|
|
7748
|
+
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" | "BRL_RTP_OFFRAMP" | "DLS_WIRE_ONRAMP" | "DLS_WIRE_OFFRAMP" | "DLS_ACH_ONRAMP" | "DLS_ACH_OFFRAMP" | "DLS_SEPA_ONRAMP" | "DLS_SEPA_OFFRAMP" | "DLS_SWIFT_ONRAMP" | "DLS_SWIFT_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";
|
|
7608
7749
|
OrderType: {
|
|
7609
7750
|
id?: components["schemas"]["OrderTypeId"];
|
|
7610
7751
|
description?: string;
|