@augustusbank/typescript-sdk 0.12.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +1 -1
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js +9 -1
- package/client.js.map +1 -1
- package/client.mjs +10 -2
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +2 -2
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/account-programs.d.mts.map +1 -1
- package/resources/account-programs.d.ts.map +1 -1
- package/resources/account-programs.mjs.map +1 -1
- package/resources/accounts.d.mts +156 -66
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +156 -66
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.mjs.map +1 -1
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-keys.mjs.map +1 -1
- package/resources/api-versions.d.mts.map +1 -1
- package/resources/api-versions.d.ts.map +1 -1
- package/resources/api-versions.mjs.map +1 -1
- package/resources/conversions.d.mts +8 -8
- package/resources/conversions.d.mts.map +1 -1
- package/resources/conversions.d.ts +8 -8
- package/resources/conversions.d.ts.map +1 -1
- package/resources/conversions.mjs.map +1 -1
- package/resources/deposits.d.mts +44 -8
- package/resources/deposits.d.mts.map +1 -1
- package/resources/deposits.d.ts +44 -8
- package/resources/deposits.d.ts.map +1 -1
- package/resources/deposits.mjs.map +1 -1
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/payouts.d.mts +28 -10
- package/resources/payouts.d.mts.map +1 -1
- package/resources/payouts.d.ts +28 -10
- package/resources/payouts.d.ts.map +1 -1
- package/resources/payouts.mjs.map +1 -1
- package/resources/quotes/index.d.mts.map +1 -1
- package/resources/quotes/index.d.ts.map +1 -1
- package/resources/quotes/index.mjs.map +1 -1
- package/resources/quotes/indicative.d.mts +5 -5
- package/resources/quotes/indicative.d.mts.map +1 -1
- package/resources/quotes/indicative.d.ts +5 -5
- package/resources/quotes/indicative.d.ts.map +1 -1
- package/resources/quotes/indicative.mjs.map +1 -1
- package/resources/quotes/quotes.d.mts +2 -2
- package/resources/quotes/quotes.d.mts.map +1 -1
- package/resources/quotes/quotes.d.ts +2 -2
- package/resources/quotes/quotes.d.ts.map +1 -1
- package/resources/quotes/quotes.mjs.map +1 -1
- package/resources/quotes.d.mts.map +1 -1
- package/resources/quotes.d.ts.map +1 -1
- package/resources/quotes.mjs.map +1 -1
- package/resources/returns.d.mts +161 -2
- package/resources/returns.d.mts.map +1 -1
- package/resources/returns.d.ts +161 -2
- package/resources/returns.d.ts.map +1 -1
- package/resources/returns.js +13 -0
- package/resources/returns.js.map +1 -1
- package/resources/returns.mjs +13 -0
- package/resources/returns.mjs.map +1 -1
- package/resources/scopes.d.mts.map +1 -1
- package/resources/scopes.d.ts.map +1 -1
- package/resources/scopes.mjs.map +1 -1
- package/resources/webhook-deliveries.d.mts.map +1 -1
- package/resources/webhook-deliveries.d.ts.map +1 -1
- package/resources/webhook-deliveries.mjs.map +1 -1
- package/resources/webhook-subscriptions.d.mts.map +1 -1
- package/resources/webhook-subscriptions.d.ts.map +1 -1
- package/resources/webhook-subscriptions.mjs.map +1 -1
- package/resources/webhooks.d.mts +40 -22
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +40 -22
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +27 -3
- package/src/resources/accounts.ts +500 -95
- package/src/resources/conversions.ts +8 -8
- package/src/resources/deposits.ts +76 -6
- package/src/resources/index.ts +9 -1
- package/src/resources/payouts.ts +65 -10
- package/src/resources/quotes/indicative.ts +5 -5
- package/src/resources/quotes/quotes.ts +2 -2
- package/src/resources/returns.ts +237 -2
- package/src/resources/webhooks.ts +87 -21
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/accounts.d.ts
CHANGED
|
@@ -53,12 +53,12 @@ export interface AccountCreateResponse {
|
|
|
53
53
|
/**
|
|
54
54
|
* ISO 4217 currency code for the account.
|
|
55
55
|
*/
|
|
56
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
56
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
57
57
|
/**
|
|
58
58
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
59
59
|
* this account can send or receive funds.
|
|
60
60
|
*/
|
|
61
|
-
financial_addresses: Array<AccountCreateResponse.
|
|
61
|
+
financial_addresses: Array<AccountCreateResponse.IbanFinancialAddress | AccountCreateResponse.SortCodeFinancialAddress | AccountCreateResponse.AbaFinancialAddress | AccountCreateResponse.CryptoWalletFinancialAddress>;
|
|
62
62
|
/**
|
|
63
63
|
* Human-readable label for the account.
|
|
64
64
|
*/
|
|
@@ -77,7 +77,7 @@ export interface AccountCreateResponse {
|
|
|
77
77
|
updated_at: string;
|
|
78
78
|
}
|
|
79
79
|
export declare namespace AccountCreateResponse {
|
|
80
|
-
interface
|
|
80
|
+
interface IbanFinancialAddress {
|
|
81
81
|
/**
|
|
82
82
|
* Name of the account holder.
|
|
83
83
|
*/
|
|
@@ -95,7 +95,7 @@ export declare namespace AccountCreateResponse {
|
|
|
95
95
|
*/
|
|
96
96
|
type: 'iban';
|
|
97
97
|
}
|
|
98
|
-
interface
|
|
98
|
+
interface SortCodeFinancialAddress {
|
|
99
99
|
/**
|
|
100
100
|
* Name of the account holder.
|
|
101
101
|
*/
|
|
@@ -113,7 +113,7 @@ export declare namespace AccountCreateResponse {
|
|
|
113
113
|
*/
|
|
114
114
|
type: 'sort_code';
|
|
115
115
|
}
|
|
116
|
-
interface
|
|
116
|
+
interface AbaFinancialAddress {
|
|
117
117
|
/**
|
|
118
118
|
* Name of the account holder.
|
|
119
119
|
*/
|
|
@@ -131,7 +131,7 @@ export declare namespace AccountCreateResponse {
|
|
|
131
131
|
*/
|
|
132
132
|
type: 'aba';
|
|
133
133
|
}
|
|
134
|
-
interface
|
|
134
|
+
interface CryptoWalletFinancialAddress {
|
|
135
135
|
/**
|
|
136
136
|
* Wallet address on the specified blockchain.
|
|
137
137
|
*/
|
|
@@ -139,7 +139,7 @@ export declare namespace AccountCreateResponse {
|
|
|
139
139
|
/**
|
|
140
140
|
* Blockchain network for the crypto wallet.
|
|
141
141
|
*/
|
|
142
|
-
blockchain: 'ethereum' | 'solana' | 'polygon';
|
|
142
|
+
blockchain: 'bitcoin' | 'ethereum' | 'solana' | 'polygon' | 'bitcoin_testnet4' | 'ethereum_sepolia' | 'solana_devnet' | 'polygon_amoy';
|
|
143
143
|
/**
|
|
144
144
|
* Discriminator for crypto wallet financial address.
|
|
145
145
|
*/
|
|
@@ -166,12 +166,12 @@ export interface AccountRetrieveResponse {
|
|
|
166
166
|
/**
|
|
167
167
|
* ISO 4217 currency code for the account.
|
|
168
168
|
*/
|
|
169
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
169
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
170
170
|
/**
|
|
171
171
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
172
172
|
* this account can send or receive funds.
|
|
173
173
|
*/
|
|
174
|
-
financial_addresses: Array<AccountRetrieveResponse.
|
|
174
|
+
financial_addresses: Array<AccountRetrieveResponse.IbanFinancialAddress | AccountRetrieveResponse.SortCodeFinancialAddress | AccountRetrieveResponse.AbaFinancialAddress | AccountRetrieveResponse.CryptoWalletFinancialAddress>;
|
|
175
175
|
/**
|
|
176
176
|
* Human-readable label for the account.
|
|
177
177
|
*/
|
|
@@ -190,7 +190,7 @@ export interface AccountRetrieveResponse {
|
|
|
190
190
|
updated_at: string;
|
|
191
191
|
}
|
|
192
192
|
export declare namespace AccountRetrieveResponse {
|
|
193
|
-
interface
|
|
193
|
+
interface IbanFinancialAddress {
|
|
194
194
|
/**
|
|
195
195
|
* Name of the account holder.
|
|
196
196
|
*/
|
|
@@ -208,7 +208,7 @@ export declare namespace AccountRetrieveResponse {
|
|
|
208
208
|
*/
|
|
209
209
|
type: 'iban';
|
|
210
210
|
}
|
|
211
|
-
interface
|
|
211
|
+
interface SortCodeFinancialAddress {
|
|
212
212
|
/**
|
|
213
213
|
* Name of the account holder.
|
|
214
214
|
*/
|
|
@@ -226,7 +226,7 @@ export declare namespace AccountRetrieveResponse {
|
|
|
226
226
|
*/
|
|
227
227
|
type: 'sort_code';
|
|
228
228
|
}
|
|
229
|
-
interface
|
|
229
|
+
interface AbaFinancialAddress {
|
|
230
230
|
/**
|
|
231
231
|
* Name of the account holder.
|
|
232
232
|
*/
|
|
@@ -244,7 +244,7 @@ export declare namespace AccountRetrieveResponse {
|
|
|
244
244
|
*/
|
|
245
245
|
type: 'aba';
|
|
246
246
|
}
|
|
247
|
-
interface
|
|
247
|
+
interface CryptoWalletFinancialAddress {
|
|
248
248
|
/**
|
|
249
249
|
* Wallet address on the specified blockchain.
|
|
250
250
|
*/
|
|
@@ -252,7 +252,7 @@ export declare namespace AccountRetrieveResponse {
|
|
|
252
252
|
/**
|
|
253
253
|
* Blockchain network for the crypto wallet.
|
|
254
254
|
*/
|
|
255
|
-
blockchain: 'ethereum' | 'solana' | 'polygon';
|
|
255
|
+
blockchain: 'bitcoin' | 'ethereum' | 'solana' | 'polygon' | 'bitcoin_testnet4' | 'ethereum_sepolia' | 'solana_devnet' | 'polygon_amoy';
|
|
256
256
|
/**
|
|
257
257
|
* Discriminator for crypto wallet financial address.
|
|
258
258
|
*/
|
|
@@ -279,12 +279,12 @@ export interface AccountListResponse {
|
|
|
279
279
|
/**
|
|
280
280
|
* ISO 4217 currency code for the account.
|
|
281
281
|
*/
|
|
282
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
282
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
283
283
|
/**
|
|
284
284
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
285
285
|
* this account can send or receive funds.
|
|
286
286
|
*/
|
|
287
|
-
financial_addresses: Array<AccountListResponse.
|
|
287
|
+
financial_addresses: Array<AccountListResponse.IbanFinancialAddress | AccountListResponse.SortCodeFinancialAddress | AccountListResponse.AbaFinancialAddress | AccountListResponse.CryptoWalletFinancialAddress>;
|
|
288
288
|
/**
|
|
289
289
|
* Human-readable label for the account.
|
|
290
290
|
*/
|
|
@@ -303,7 +303,7 @@ export interface AccountListResponse {
|
|
|
303
303
|
updated_at: string;
|
|
304
304
|
}
|
|
305
305
|
export declare namespace AccountListResponse {
|
|
306
|
-
interface
|
|
306
|
+
interface IbanFinancialAddress {
|
|
307
307
|
/**
|
|
308
308
|
* Name of the account holder.
|
|
309
309
|
*/
|
|
@@ -321,7 +321,7 @@ export declare namespace AccountListResponse {
|
|
|
321
321
|
*/
|
|
322
322
|
type: 'iban';
|
|
323
323
|
}
|
|
324
|
-
interface
|
|
324
|
+
interface SortCodeFinancialAddress {
|
|
325
325
|
/**
|
|
326
326
|
* Name of the account holder.
|
|
327
327
|
*/
|
|
@@ -339,7 +339,7 @@ export declare namespace AccountListResponse {
|
|
|
339
339
|
*/
|
|
340
340
|
type: 'sort_code';
|
|
341
341
|
}
|
|
342
|
-
interface
|
|
342
|
+
interface AbaFinancialAddress {
|
|
343
343
|
/**
|
|
344
344
|
* Name of the account holder.
|
|
345
345
|
*/
|
|
@@ -357,7 +357,7 @@ export declare namespace AccountListResponse {
|
|
|
357
357
|
*/
|
|
358
358
|
type: 'aba';
|
|
359
359
|
}
|
|
360
|
-
interface
|
|
360
|
+
interface CryptoWalletFinancialAddress {
|
|
361
361
|
/**
|
|
362
362
|
* Wallet address on the specified blockchain.
|
|
363
363
|
*/
|
|
@@ -365,7 +365,7 @@ export declare namespace AccountListResponse {
|
|
|
365
365
|
/**
|
|
366
366
|
* Blockchain network for the crypto wallet.
|
|
367
367
|
*/
|
|
368
|
-
blockchain: 'ethereum' | 'solana' | 'polygon';
|
|
368
|
+
blockchain: 'bitcoin' | 'ethereum' | 'solana' | 'polygon' | 'bitcoin_testnet4' | 'ethereum_sepolia' | 'solana_devnet' | 'polygon_amoy';
|
|
369
369
|
/**
|
|
370
370
|
* Discriminator for crypto wallet financial address.
|
|
371
371
|
*/
|
|
@@ -392,12 +392,12 @@ export interface AccountCloseResponse {
|
|
|
392
392
|
/**
|
|
393
393
|
* ISO 4217 currency code for the account.
|
|
394
394
|
*/
|
|
395
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
395
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
396
396
|
/**
|
|
397
397
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
398
398
|
* this account can send or receive funds.
|
|
399
399
|
*/
|
|
400
|
-
financial_addresses: Array<AccountCloseResponse.
|
|
400
|
+
financial_addresses: Array<AccountCloseResponse.IbanFinancialAddress | AccountCloseResponse.SortCodeFinancialAddress | AccountCloseResponse.AbaFinancialAddress | AccountCloseResponse.CryptoWalletFinancialAddress>;
|
|
401
401
|
/**
|
|
402
402
|
* Human-readable label for the account.
|
|
403
403
|
*/
|
|
@@ -416,7 +416,7 @@ export interface AccountCloseResponse {
|
|
|
416
416
|
updated_at: string;
|
|
417
417
|
}
|
|
418
418
|
export declare namespace AccountCloseResponse {
|
|
419
|
-
interface
|
|
419
|
+
interface IbanFinancialAddress {
|
|
420
420
|
/**
|
|
421
421
|
* Name of the account holder.
|
|
422
422
|
*/
|
|
@@ -434,7 +434,7 @@ export declare namespace AccountCloseResponse {
|
|
|
434
434
|
*/
|
|
435
435
|
type: 'iban';
|
|
436
436
|
}
|
|
437
|
-
interface
|
|
437
|
+
interface SortCodeFinancialAddress {
|
|
438
438
|
/**
|
|
439
439
|
* Name of the account holder.
|
|
440
440
|
*/
|
|
@@ -452,7 +452,7 @@ export declare namespace AccountCloseResponse {
|
|
|
452
452
|
*/
|
|
453
453
|
type: 'sort_code';
|
|
454
454
|
}
|
|
455
|
-
interface
|
|
455
|
+
interface AbaFinancialAddress {
|
|
456
456
|
/**
|
|
457
457
|
* Name of the account holder.
|
|
458
458
|
*/
|
|
@@ -470,7 +470,7 @@ export declare namespace AccountCloseResponse {
|
|
|
470
470
|
*/
|
|
471
471
|
type: 'aba';
|
|
472
472
|
}
|
|
473
|
-
interface
|
|
473
|
+
interface CryptoWalletFinancialAddress {
|
|
474
474
|
/**
|
|
475
475
|
* Wallet address on the specified blockchain.
|
|
476
476
|
*/
|
|
@@ -478,7 +478,7 @@ export declare namespace AccountCloseResponse {
|
|
|
478
478
|
/**
|
|
479
479
|
* Blockchain network for the crypto wallet.
|
|
480
480
|
*/
|
|
481
|
-
blockchain: 'ethereum' | 'solana' | 'polygon';
|
|
481
|
+
blockchain: 'bitcoin' | 'ethereum' | 'solana' | 'polygon' | 'bitcoin_testnet4' | 'ethereum_sepolia' | 'solana_devnet' | 'polygon_amoy';
|
|
482
482
|
/**
|
|
483
483
|
* Discriminator for crypto wallet financial address.
|
|
484
484
|
*/
|
|
@@ -505,12 +505,12 @@ export interface AccountFreezeResponse {
|
|
|
505
505
|
/**
|
|
506
506
|
* ISO 4217 currency code for the account.
|
|
507
507
|
*/
|
|
508
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
508
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
509
509
|
/**
|
|
510
510
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
511
511
|
* this account can send or receive funds.
|
|
512
512
|
*/
|
|
513
|
-
financial_addresses: Array<AccountFreezeResponse.
|
|
513
|
+
financial_addresses: Array<AccountFreezeResponse.IbanFinancialAddress | AccountFreezeResponse.SortCodeFinancialAddress | AccountFreezeResponse.AbaFinancialAddress | AccountFreezeResponse.CryptoWalletFinancialAddress>;
|
|
514
514
|
/**
|
|
515
515
|
* Human-readable label for the account.
|
|
516
516
|
*/
|
|
@@ -529,7 +529,7 @@ export interface AccountFreezeResponse {
|
|
|
529
529
|
updated_at: string;
|
|
530
530
|
}
|
|
531
531
|
export declare namespace AccountFreezeResponse {
|
|
532
|
-
interface
|
|
532
|
+
interface IbanFinancialAddress {
|
|
533
533
|
/**
|
|
534
534
|
* Name of the account holder.
|
|
535
535
|
*/
|
|
@@ -547,7 +547,7 @@ export declare namespace AccountFreezeResponse {
|
|
|
547
547
|
*/
|
|
548
548
|
type: 'iban';
|
|
549
549
|
}
|
|
550
|
-
interface
|
|
550
|
+
interface SortCodeFinancialAddress {
|
|
551
551
|
/**
|
|
552
552
|
* Name of the account holder.
|
|
553
553
|
*/
|
|
@@ -565,7 +565,7 @@ export declare namespace AccountFreezeResponse {
|
|
|
565
565
|
*/
|
|
566
566
|
type: 'sort_code';
|
|
567
567
|
}
|
|
568
|
-
interface
|
|
568
|
+
interface AbaFinancialAddress {
|
|
569
569
|
/**
|
|
570
570
|
* Name of the account holder.
|
|
571
571
|
*/
|
|
@@ -583,7 +583,7 @@ export declare namespace AccountFreezeResponse {
|
|
|
583
583
|
*/
|
|
584
584
|
type: 'aba';
|
|
585
585
|
}
|
|
586
|
-
interface
|
|
586
|
+
interface CryptoWalletFinancialAddress {
|
|
587
587
|
/**
|
|
588
588
|
* Wallet address on the specified blockchain.
|
|
589
589
|
*/
|
|
@@ -591,7 +591,7 @@ export declare namespace AccountFreezeResponse {
|
|
|
591
591
|
/**
|
|
592
592
|
* Blockchain network for the crypto wallet.
|
|
593
593
|
*/
|
|
594
|
-
blockchain: 'ethereum' | 'solana' | 'polygon';
|
|
594
|
+
blockchain: 'bitcoin' | 'ethereum' | 'solana' | 'polygon' | 'bitcoin_testnet4' | 'ethereum_sepolia' | 'solana_devnet' | 'polygon_amoy';
|
|
595
595
|
/**
|
|
596
596
|
* Discriminator for crypto wallet financial address.
|
|
597
597
|
*/
|
|
@@ -614,7 +614,7 @@ export interface AccountRetrieveBalanceResponse {
|
|
|
614
614
|
/**
|
|
615
615
|
* ISO 4217 currency code for the balance.
|
|
616
616
|
*/
|
|
617
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
617
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
618
618
|
/**
|
|
619
619
|
* Resource type discriminator.
|
|
620
620
|
*/
|
|
@@ -640,12 +640,12 @@ export interface AccountUnfreezeResponse {
|
|
|
640
640
|
/**
|
|
641
641
|
* ISO 4217 currency code for the account.
|
|
642
642
|
*/
|
|
643
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
643
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
644
644
|
/**
|
|
645
645
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
646
646
|
* this account can send or receive funds.
|
|
647
647
|
*/
|
|
648
|
-
financial_addresses: Array<AccountUnfreezeResponse.
|
|
648
|
+
financial_addresses: Array<AccountUnfreezeResponse.IbanFinancialAddress | AccountUnfreezeResponse.SortCodeFinancialAddress | AccountUnfreezeResponse.AbaFinancialAddress | AccountUnfreezeResponse.CryptoWalletFinancialAddress>;
|
|
649
649
|
/**
|
|
650
650
|
* Human-readable label for the account.
|
|
651
651
|
*/
|
|
@@ -664,7 +664,7 @@ export interface AccountUnfreezeResponse {
|
|
|
664
664
|
updated_at: string;
|
|
665
665
|
}
|
|
666
666
|
export declare namespace AccountUnfreezeResponse {
|
|
667
|
-
interface
|
|
667
|
+
interface IbanFinancialAddress {
|
|
668
668
|
/**
|
|
669
669
|
* Name of the account holder.
|
|
670
670
|
*/
|
|
@@ -682,7 +682,7 @@ export declare namespace AccountUnfreezeResponse {
|
|
|
682
682
|
*/
|
|
683
683
|
type: 'iban';
|
|
684
684
|
}
|
|
685
|
-
interface
|
|
685
|
+
interface SortCodeFinancialAddress {
|
|
686
686
|
/**
|
|
687
687
|
* Name of the account holder.
|
|
688
688
|
*/
|
|
@@ -700,7 +700,7 @@ export declare namespace AccountUnfreezeResponse {
|
|
|
700
700
|
*/
|
|
701
701
|
type: 'sort_code';
|
|
702
702
|
}
|
|
703
|
-
interface
|
|
703
|
+
interface AbaFinancialAddress {
|
|
704
704
|
/**
|
|
705
705
|
* Name of the account holder.
|
|
706
706
|
*/
|
|
@@ -718,7 +718,7 @@ export declare namespace AccountUnfreezeResponse {
|
|
|
718
718
|
*/
|
|
719
719
|
type: 'aba';
|
|
720
720
|
}
|
|
721
|
-
interface
|
|
721
|
+
interface CryptoWalletFinancialAddress {
|
|
722
722
|
/**
|
|
723
723
|
* Wallet address on the specified blockchain.
|
|
724
724
|
*/
|
|
@@ -726,7 +726,7 @@ export declare namespace AccountUnfreezeResponse {
|
|
|
726
726
|
/**
|
|
727
727
|
* Blockchain network for the crypto wallet.
|
|
728
728
|
*/
|
|
729
|
-
blockchain: 'ethereum' | 'solana' | 'polygon';
|
|
729
|
+
blockchain: 'bitcoin' | 'ethereum' | 'solana' | 'polygon' | 'bitcoin_testnet4' | 'ethereum_sepolia' | 'solana_devnet' | 'polygon_amoy';
|
|
730
730
|
/**
|
|
731
731
|
* Discriminator for crypto wallet financial address.
|
|
732
732
|
*/
|
|
@@ -745,27 +745,23 @@ export interface AccountCreateParams {
|
|
|
745
745
|
/**
|
|
746
746
|
* Personal information of the account beneficiary.
|
|
747
747
|
*/
|
|
748
|
-
beneficiary_data: AccountCreateParams.
|
|
748
|
+
beneficiary_data: AccountCreateParams.UsBeneficiaryData | AccountCreateParams.NonUsBeneficiaryData;
|
|
749
749
|
}
|
|
750
750
|
export declare namespace AccountCreateParams {
|
|
751
|
-
|
|
752
|
-
* Personal information of the account beneficiary.
|
|
753
|
-
*/
|
|
754
|
-
interface BeneficiaryData {
|
|
751
|
+
interface UsBeneficiaryData {
|
|
755
752
|
/**
|
|
756
753
|
* ISO 3166-1 alpha-2 country code of citizenship.
|
|
757
754
|
*/
|
|
758
|
-
country_of_citizenship: '
|
|
755
|
+
country_of_citizenship: 'US';
|
|
759
756
|
/**
|
|
760
|
-
* Date of birth
|
|
757
|
+
* Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
|
|
761
758
|
*/
|
|
762
759
|
date_of_birth: string;
|
|
763
760
|
/**
|
|
764
|
-
* Government-issued identification
|
|
765
|
-
*
|
|
766
|
-
* Taxpayer ID, format 9##-##-####).
|
|
761
|
+
* Government-issued identification with type: "ssn" (Social Security Number,
|
|
762
|
+
* format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
|
|
767
763
|
*/
|
|
768
|
-
identification:
|
|
764
|
+
identification: UsBeneficiaryData.SsnIdentification | UsBeneficiaryData.ItinIdentification;
|
|
769
765
|
/**
|
|
770
766
|
* Full legal name of the account holder.
|
|
771
767
|
*/
|
|
@@ -773,25 +769,97 @@ export declare namespace AccountCreateParams {
|
|
|
773
769
|
/**
|
|
774
770
|
* Residential address of the account holder.
|
|
775
771
|
*/
|
|
776
|
-
residential_address:
|
|
772
|
+
residential_address: UsBeneficiaryData.UsResidentialAddress | UsBeneficiaryData.NonUsResidentialAddress;
|
|
777
773
|
}
|
|
778
|
-
namespace
|
|
779
|
-
interface
|
|
780
|
-
type: 'id';
|
|
781
|
-
value: string;
|
|
782
|
-
}
|
|
783
|
-
interface UnionMember1 {
|
|
774
|
+
namespace UsBeneficiaryData {
|
|
775
|
+
interface SsnIdentification {
|
|
784
776
|
type: 'ssn';
|
|
785
777
|
value: string;
|
|
786
778
|
}
|
|
787
|
-
interface
|
|
779
|
+
interface ItinIdentification {
|
|
788
780
|
type: 'itin';
|
|
789
781
|
value: string;
|
|
790
782
|
}
|
|
783
|
+
interface UsResidentialAddress {
|
|
784
|
+
/**
|
|
785
|
+
* City name.
|
|
786
|
+
*/
|
|
787
|
+
city: string;
|
|
788
|
+
/**
|
|
789
|
+
* ISO 3166-1 alpha-2 country code.
|
|
790
|
+
*/
|
|
791
|
+
country: 'US';
|
|
792
|
+
/**
|
|
793
|
+
* Postal or ZIP code.
|
|
794
|
+
*/
|
|
795
|
+
postal_code: string;
|
|
796
|
+
/**
|
|
797
|
+
* Two-letter state code.
|
|
798
|
+
*/
|
|
799
|
+
state: string;
|
|
800
|
+
/**
|
|
801
|
+
* Primary street address.
|
|
802
|
+
*/
|
|
803
|
+
street_line_1: string;
|
|
804
|
+
/**
|
|
805
|
+
* Secondary street address (apartment, suite, etc.).
|
|
806
|
+
*/
|
|
807
|
+
street_line_2?: string;
|
|
808
|
+
}
|
|
809
|
+
interface NonUsResidentialAddress {
|
|
810
|
+
/**
|
|
811
|
+
* City name.
|
|
812
|
+
*/
|
|
813
|
+
city: string;
|
|
814
|
+
/**
|
|
815
|
+
* ISO 3166-1 alpha-2 country code.
|
|
816
|
+
*/
|
|
817
|
+
country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
|
|
818
|
+
/**
|
|
819
|
+
* Postal or ZIP code.
|
|
820
|
+
*/
|
|
821
|
+
postal_code: string;
|
|
822
|
+
/**
|
|
823
|
+
* Primary street address.
|
|
824
|
+
*/
|
|
825
|
+
street_line_1: string;
|
|
826
|
+
/**
|
|
827
|
+
* Secondary street address (apartment, suite, etc.).
|
|
828
|
+
*/
|
|
829
|
+
street_line_2?: string;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
interface NonUsBeneficiaryData {
|
|
833
|
+
/**
|
|
834
|
+
* ISO 3166-1 alpha-2 country code of citizenship.
|
|
835
|
+
*/
|
|
836
|
+
country_of_citizenship: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
|
|
837
|
+
/**
|
|
838
|
+
* Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
|
|
839
|
+
*/
|
|
840
|
+
date_of_birth: string;
|
|
841
|
+
/**
|
|
842
|
+
* Government-issued identification with type: "id" (generic government-issued ID).
|
|
843
|
+
*/
|
|
844
|
+
identification: NonUsBeneficiaryData.Identification;
|
|
845
|
+
/**
|
|
846
|
+
* Full legal name of the account holder.
|
|
847
|
+
*/
|
|
848
|
+
legal_name: string;
|
|
791
849
|
/**
|
|
792
850
|
* Residential address of the account holder.
|
|
793
851
|
*/
|
|
794
|
-
|
|
852
|
+
residential_address: NonUsBeneficiaryData.UsResidentialAddress | NonUsBeneficiaryData.NonUsResidentialAddress;
|
|
853
|
+
}
|
|
854
|
+
namespace NonUsBeneficiaryData {
|
|
855
|
+
/**
|
|
856
|
+
* Government-issued identification with type: "id" (generic government-issued ID).
|
|
857
|
+
*/
|
|
858
|
+
interface Identification {
|
|
859
|
+
type: 'id';
|
|
860
|
+
value: string;
|
|
861
|
+
}
|
|
862
|
+
interface UsResidentialAddress {
|
|
795
863
|
/**
|
|
796
864
|
* City name.
|
|
797
865
|
*/
|
|
@@ -799,19 +867,41 @@ export declare namespace AccountCreateParams {
|
|
|
799
867
|
/**
|
|
800
868
|
* ISO 3166-1 alpha-2 country code.
|
|
801
869
|
*/
|
|
802
|
-
country: '
|
|
870
|
+
country: 'US';
|
|
803
871
|
/**
|
|
804
872
|
* Postal or ZIP code.
|
|
805
873
|
*/
|
|
806
874
|
postal_code: string;
|
|
875
|
+
/**
|
|
876
|
+
* Two-letter state code.
|
|
877
|
+
*/
|
|
878
|
+
state: string;
|
|
807
879
|
/**
|
|
808
880
|
* Primary street address.
|
|
809
881
|
*/
|
|
810
882
|
street_line_1: string;
|
|
811
883
|
/**
|
|
812
|
-
*
|
|
884
|
+
* Secondary street address (apartment, suite, etc.).
|
|
885
|
+
*/
|
|
886
|
+
street_line_2?: string;
|
|
887
|
+
}
|
|
888
|
+
interface NonUsResidentialAddress {
|
|
889
|
+
/**
|
|
890
|
+
* City name.
|
|
891
|
+
*/
|
|
892
|
+
city: string;
|
|
893
|
+
/**
|
|
894
|
+
* ISO 3166-1 alpha-2 country code.
|
|
895
|
+
*/
|
|
896
|
+
country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IL' | 'IT' | 'JM' | 'JP' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'MK' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'SH' | 'KN' | 'LC' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'SC' | 'SL' | 'SG' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX' | 'BQ' | 'CW' | 'GG' | 'IM' | 'JE' | 'ME' | 'BL' | 'MF' | 'RS' | 'SX' | 'SS' | 'XK';
|
|
897
|
+
/**
|
|
898
|
+
* Postal or ZIP code.
|
|
813
899
|
*/
|
|
814
|
-
|
|
900
|
+
postal_code: string;
|
|
901
|
+
/**
|
|
902
|
+
* Primary street address.
|
|
903
|
+
*/
|
|
904
|
+
street_line_1: string;
|
|
815
905
|
/**
|
|
816
906
|
* Secondary street address (apartment, suite, etc.).
|
|
817
907
|
*/
|