@augustusbank/typescript-sdk 0.27.0 → 0.28.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 +7 -0
- package/package.json +1 -1
- package/resources/accounts.d.mts +186 -114
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +186 -114
- package/resources/accounts.d.ts.map +1 -1
- package/resources/counterparties.d.mts +243 -97
- package/resources/counterparties.d.mts.map +1 -1
- package/resources/counterparties.d.ts +243 -97
- package/resources/counterparties.d.ts.map +1 -1
- package/resources/counterparties.js +3 -2
- package/resources/counterparties.js.map +1 -1
- package/resources/counterparties.mjs +3 -2
- package/resources/counterparties.mjs.map +1 -1
- package/resources/payouts.d.mts +1 -1
- package/resources/payouts.d.ts +1 -1
- package/resources/payouts.js +1 -1
- package/resources/payouts.mjs +1 -1
- package/resources/simulations/account-programs.d.mts +37 -22
- package/resources/simulations/account-programs.d.mts.map +1 -1
- package/resources/simulations/account-programs.d.ts +37 -22
- package/resources/simulations/account-programs.d.ts.map +1 -1
- package/resources/simulations/account-programs.js +3 -2
- package/resources/simulations/account-programs.js.map +1 -1
- package/resources/simulations/account-programs.mjs +3 -2
- package/resources/simulations/account-programs.mjs.map +1 -1
- package/resources/simulations/accounts.d.mts +37 -22
- package/resources/simulations/accounts.d.mts.map +1 -1
- package/resources/simulations/accounts.d.ts +37 -22
- package/resources/simulations/accounts.d.ts.map +1 -1
- package/resources/simulations/accounts.js +4 -3
- package/resources/simulations/accounts.js.map +1 -1
- package/resources/simulations/accounts.mjs +4 -3
- package/resources/simulations/accounts.mjs.map +1 -1
- package/resources/simulations/deposits.d.mts +41 -20
- package/resources/simulations/deposits.d.mts.map +1 -1
- package/resources/simulations/deposits.d.ts +41 -20
- package/resources/simulations/deposits.d.ts.map +1 -1
- package/resources/simulations/deposits.js +1 -1
- package/resources/simulations/deposits.mjs +1 -1
- package/resources/transactions.d.mts +62 -38
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +62 -38
- package/resources/transactions.d.ts.map +1 -1
- package/resources/webhooks.d.mts +258 -114
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +258 -114
- package/resources/webhooks.d.ts.map +1 -1
- package/src/resources/accounts.ts +216 -126
- package/src/resources/counterparties.ts +286 -107
- package/src/resources/payouts.ts +1 -1
- package/src/resources/simulations/account-programs.ts +42 -25
- package/src/resources/simulations/accounts.ts +42 -25
- package/src/resources/simulations/deposits.ts +46 -22
- package/src/resources/transactions.ts +72 -42
- package/src/resources/webhooks.ts +306 -126
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -9932,6 +9932,11 @@ export namespace CounterpartyCreatedWebhookEvent {
|
|
|
9932
9932
|
*/
|
|
9933
9933
|
date_of_birth: string | null;
|
|
9934
9934
|
|
|
9935
|
+
/**
|
|
9936
|
+
* Email address of the counterparty, or null if not recorded.
|
|
9937
|
+
*/
|
|
9938
|
+
email: string | null;
|
|
9939
|
+
|
|
9935
9940
|
/**
|
|
9936
9941
|
* Whether the counterparty is a business or an individual.
|
|
9937
9942
|
*/
|
|
@@ -9941,9 +9946,9 @@ export namespace CounterpartyCreatedWebhookEvent {
|
|
|
9941
9946
|
* Financial address of the counterparty.
|
|
9942
9947
|
*/
|
|
9943
9948
|
financial_address:
|
|
9949
|
+
| Payload.AbaFinancialAddress
|
|
9944
9950
|
| Payload.IbanFinancialAddress
|
|
9945
9951
|
| Payload.SortCodeFinancialAddress
|
|
9946
|
-
| Payload.AbaFinancialAddress
|
|
9947
9952
|
| Payload.BicFinancialAddress
|
|
9948
9953
|
| Payload.CryptoWalletFinancialAddress;
|
|
9949
9954
|
|
|
@@ -9953,6 +9958,11 @@ export namespace CounterpartyCreatedWebhookEvent {
|
|
|
9953
9958
|
*/
|
|
9954
9959
|
is_self_owned: boolean;
|
|
9955
9960
|
|
|
9961
|
+
/**
|
|
9962
|
+
* National tax or identity number of the counterparty, or null if not recorded.
|
|
9963
|
+
*/
|
|
9964
|
+
legal_id: string | null;
|
|
9965
|
+
|
|
9956
9966
|
/**
|
|
9957
9967
|
* Set of up to 50 key-value string pairs you can attach to store structured
|
|
9958
9968
|
* information, such as correlating this resource with an object in your own
|
|
@@ -9965,6 +9975,11 @@ export namespace CounterpartyCreatedWebhookEvent {
|
|
|
9965
9975
|
*/
|
|
9966
9976
|
name: string | null;
|
|
9967
9977
|
|
|
9978
|
+
/**
|
|
9979
|
+
* Phone number of the counterparty, or null if not recorded.
|
|
9980
|
+
*/
|
|
9981
|
+
phone: string | null;
|
|
9982
|
+
|
|
9968
9983
|
/**
|
|
9969
9984
|
* Physical address of the counterparty, or null if not recorded.
|
|
9970
9985
|
*/
|
|
@@ -9977,70 +9992,80 @@ export namespace CounterpartyCreatedWebhookEvent {
|
|
|
9977
9992
|
}
|
|
9978
9993
|
|
|
9979
9994
|
export namespace Payload {
|
|
9980
|
-
export interface
|
|
9995
|
+
export interface AbaFinancialAddress {
|
|
9981
9996
|
/**
|
|
9982
9997
|
* Name of the account holder.
|
|
9983
9998
|
*/
|
|
9984
9999
|
account_holder_name: string;
|
|
9985
10000
|
|
|
9986
10001
|
/**
|
|
9987
|
-
* Bank
|
|
10002
|
+
* Bank account number.
|
|
9988
10003
|
*/
|
|
9989
|
-
|
|
10004
|
+
account_number: string;
|
|
9990
10005
|
|
|
9991
10006
|
/**
|
|
9992
|
-
*
|
|
10007
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
9993
10008
|
*/
|
|
9994
|
-
|
|
10009
|
+
account_type: 'checking' | 'savings' | null;
|
|
9995
10010
|
|
|
9996
10011
|
/**
|
|
9997
|
-
*
|
|
10012
|
+
* ABA routing number (9 digits).
|
|
9998
10013
|
*/
|
|
9999
|
-
|
|
10014
|
+
routing_number: string;
|
|
10015
|
+
|
|
10016
|
+
/**
|
|
10017
|
+
* Discriminator for ABA wire financial address.
|
|
10018
|
+
*/
|
|
10019
|
+
type: 'aba';
|
|
10000
10020
|
}
|
|
10001
10021
|
|
|
10002
|
-
export interface
|
|
10022
|
+
export interface IbanFinancialAddress {
|
|
10003
10023
|
/**
|
|
10004
10024
|
* Name of the account holder.
|
|
10005
10025
|
*/
|
|
10006
10026
|
account_holder_name: string;
|
|
10007
10027
|
|
|
10008
10028
|
/**
|
|
10009
|
-
*
|
|
10029
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
10010
10030
|
*/
|
|
10011
|
-
|
|
10031
|
+
account_type: 'checking' | 'savings' | null;
|
|
10012
10032
|
|
|
10013
10033
|
/**
|
|
10014
|
-
*
|
|
10034
|
+
* Bank Identifier Code, or null if not provided.
|
|
10015
10035
|
*/
|
|
10016
|
-
|
|
10036
|
+
bic: string | null;
|
|
10017
10037
|
|
|
10018
10038
|
/**
|
|
10019
|
-
*
|
|
10039
|
+
* International Bank Account Number.
|
|
10020
10040
|
*/
|
|
10021
|
-
|
|
10041
|
+
iban: string;
|
|
10042
|
+
|
|
10043
|
+
/**
|
|
10044
|
+
* Discriminator for IBAN financial address.
|
|
10045
|
+
*/
|
|
10046
|
+
type: 'iban';
|
|
10022
10047
|
}
|
|
10023
10048
|
|
|
10024
|
-
export interface
|
|
10049
|
+
export interface SortCodeFinancialAddress {
|
|
10025
10050
|
/**
|
|
10026
10051
|
* Name of the account holder.
|
|
10027
10052
|
*/
|
|
10028
10053
|
account_holder_name: string;
|
|
10029
10054
|
|
|
10030
10055
|
/**
|
|
10031
|
-
*
|
|
10056
|
+
* UK account number (8 digits).
|
|
10032
10057
|
*/
|
|
10033
10058
|
account_number: string;
|
|
10034
10059
|
|
|
10035
10060
|
/**
|
|
10036
|
-
*
|
|
10061
|
+
* UK sort code (6 digits).
|
|
10037
10062
|
*/
|
|
10038
|
-
|
|
10063
|
+
sort_code: string;
|
|
10039
10064
|
|
|
10040
10065
|
/**
|
|
10041
|
-
* Discriminator for
|
|
10066
|
+
* Discriminator for UK sort code financial address.
|
|
10042
10067
|
*/
|
|
10043
|
-
type: '
|
|
10068
|
+
type: 'sort_code';
|
|
10044
10069
|
}
|
|
10045
10070
|
|
|
10046
10071
|
export interface BicFinancialAddress {
|
|
@@ -10054,6 +10079,11 @@ export namespace CounterpartyCreatedWebhookEvent {
|
|
|
10054
10079
|
*/
|
|
10055
10080
|
account_number: string;
|
|
10056
10081
|
|
|
10082
|
+
/**
|
|
10083
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
10084
|
+
*/
|
|
10085
|
+
account_type: 'checking' | 'savings' | null;
|
|
10086
|
+
|
|
10057
10087
|
/**
|
|
10058
10088
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
10059
10089
|
*/
|
|
@@ -10430,6 +10460,11 @@ export namespace CounterpartyVerifiedWebhookEvent {
|
|
|
10430
10460
|
*/
|
|
10431
10461
|
date_of_birth: string | null;
|
|
10432
10462
|
|
|
10463
|
+
/**
|
|
10464
|
+
* Email address of the counterparty, or null if not recorded.
|
|
10465
|
+
*/
|
|
10466
|
+
email: string | null;
|
|
10467
|
+
|
|
10433
10468
|
/**
|
|
10434
10469
|
* Whether the counterparty is a business or an individual.
|
|
10435
10470
|
*/
|
|
@@ -10439,9 +10474,9 @@ export namespace CounterpartyVerifiedWebhookEvent {
|
|
|
10439
10474
|
* Financial address of the counterparty.
|
|
10440
10475
|
*/
|
|
10441
10476
|
financial_address:
|
|
10477
|
+
| Payload.AbaFinancialAddress
|
|
10442
10478
|
| Payload.IbanFinancialAddress
|
|
10443
10479
|
| Payload.SortCodeFinancialAddress
|
|
10444
|
-
| Payload.AbaFinancialAddress
|
|
10445
10480
|
| Payload.BicFinancialAddress
|
|
10446
10481
|
| Payload.CryptoWalletFinancialAddress;
|
|
10447
10482
|
|
|
@@ -10451,6 +10486,11 @@ export namespace CounterpartyVerifiedWebhookEvent {
|
|
|
10451
10486
|
*/
|
|
10452
10487
|
is_self_owned: boolean;
|
|
10453
10488
|
|
|
10489
|
+
/**
|
|
10490
|
+
* National tax or identity number of the counterparty, or null if not recorded.
|
|
10491
|
+
*/
|
|
10492
|
+
legal_id: string | null;
|
|
10493
|
+
|
|
10454
10494
|
/**
|
|
10455
10495
|
* Set of up to 50 key-value string pairs you can attach to store structured
|
|
10456
10496
|
* information, such as correlating this resource with an object in your own
|
|
@@ -10463,6 +10503,11 @@ export namespace CounterpartyVerifiedWebhookEvent {
|
|
|
10463
10503
|
*/
|
|
10464
10504
|
name: string | null;
|
|
10465
10505
|
|
|
10506
|
+
/**
|
|
10507
|
+
* Phone number of the counterparty, or null if not recorded.
|
|
10508
|
+
*/
|
|
10509
|
+
phone: string | null;
|
|
10510
|
+
|
|
10466
10511
|
/**
|
|
10467
10512
|
* Physical address of the counterparty, or null if not recorded.
|
|
10468
10513
|
*/
|
|
@@ -10475,70 +10520,80 @@ export namespace CounterpartyVerifiedWebhookEvent {
|
|
|
10475
10520
|
}
|
|
10476
10521
|
|
|
10477
10522
|
export namespace Payload {
|
|
10478
|
-
export interface
|
|
10523
|
+
export interface AbaFinancialAddress {
|
|
10479
10524
|
/**
|
|
10480
10525
|
* Name of the account holder.
|
|
10481
10526
|
*/
|
|
10482
10527
|
account_holder_name: string;
|
|
10483
10528
|
|
|
10484
10529
|
/**
|
|
10485
|
-
* Bank
|
|
10530
|
+
* Bank account number.
|
|
10486
10531
|
*/
|
|
10487
|
-
|
|
10532
|
+
account_number: string;
|
|
10488
10533
|
|
|
10489
10534
|
/**
|
|
10490
|
-
*
|
|
10535
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
10491
10536
|
*/
|
|
10492
|
-
|
|
10537
|
+
account_type: 'checking' | 'savings' | null;
|
|
10493
10538
|
|
|
10494
10539
|
/**
|
|
10495
|
-
*
|
|
10540
|
+
* ABA routing number (9 digits).
|
|
10496
10541
|
*/
|
|
10497
|
-
|
|
10542
|
+
routing_number: string;
|
|
10543
|
+
|
|
10544
|
+
/**
|
|
10545
|
+
* Discriminator for ABA wire financial address.
|
|
10546
|
+
*/
|
|
10547
|
+
type: 'aba';
|
|
10498
10548
|
}
|
|
10499
10549
|
|
|
10500
|
-
export interface
|
|
10550
|
+
export interface IbanFinancialAddress {
|
|
10501
10551
|
/**
|
|
10502
10552
|
* Name of the account holder.
|
|
10503
10553
|
*/
|
|
10504
10554
|
account_holder_name: string;
|
|
10505
10555
|
|
|
10506
10556
|
/**
|
|
10507
|
-
*
|
|
10557
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
10508
10558
|
*/
|
|
10509
|
-
|
|
10559
|
+
account_type: 'checking' | 'savings' | null;
|
|
10510
10560
|
|
|
10511
10561
|
/**
|
|
10512
|
-
*
|
|
10562
|
+
* Bank Identifier Code, or null if not provided.
|
|
10513
10563
|
*/
|
|
10514
|
-
|
|
10564
|
+
bic: string | null;
|
|
10515
10565
|
|
|
10516
10566
|
/**
|
|
10517
|
-
*
|
|
10567
|
+
* International Bank Account Number.
|
|
10518
10568
|
*/
|
|
10519
|
-
|
|
10569
|
+
iban: string;
|
|
10570
|
+
|
|
10571
|
+
/**
|
|
10572
|
+
* Discriminator for IBAN financial address.
|
|
10573
|
+
*/
|
|
10574
|
+
type: 'iban';
|
|
10520
10575
|
}
|
|
10521
10576
|
|
|
10522
|
-
export interface
|
|
10577
|
+
export interface SortCodeFinancialAddress {
|
|
10523
10578
|
/**
|
|
10524
10579
|
* Name of the account holder.
|
|
10525
10580
|
*/
|
|
10526
10581
|
account_holder_name: string;
|
|
10527
10582
|
|
|
10528
10583
|
/**
|
|
10529
|
-
*
|
|
10584
|
+
* UK account number (8 digits).
|
|
10530
10585
|
*/
|
|
10531
10586
|
account_number: string;
|
|
10532
10587
|
|
|
10533
10588
|
/**
|
|
10534
|
-
*
|
|
10589
|
+
* UK sort code (6 digits).
|
|
10535
10590
|
*/
|
|
10536
|
-
|
|
10591
|
+
sort_code: string;
|
|
10537
10592
|
|
|
10538
10593
|
/**
|
|
10539
|
-
* Discriminator for
|
|
10594
|
+
* Discriminator for UK sort code financial address.
|
|
10540
10595
|
*/
|
|
10541
|
-
type: '
|
|
10596
|
+
type: 'sort_code';
|
|
10542
10597
|
}
|
|
10543
10598
|
|
|
10544
10599
|
export interface BicFinancialAddress {
|
|
@@ -10552,6 +10607,11 @@ export namespace CounterpartyVerifiedWebhookEvent {
|
|
|
10552
10607
|
*/
|
|
10553
10608
|
account_number: string;
|
|
10554
10609
|
|
|
10610
|
+
/**
|
|
10611
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
10612
|
+
*/
|
|
10613
|
+
account_type: 'checking' | 'savings' | null;
|
|
10614
|
+
|
|
10555
10615
|
/**
|
|
10556
10616
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
10557
10617
|
*/
|
|
@@ -10928,6 +10988,11 @@ export namespace CounterpartyRejectedWebhookEvent {
|
|
|
10928
10988
|
*/
|
|
10929
10989
|
date_of_birth: string | null;
|
|
10930
10990
|
|
|
10991
|
+
/**
|
|
10992
|
+
* Email address of the counterparty, or null if not recorded.
|
|
10993
|
+
*/
|
|
10994
|
+
email: string | null;
|
|
10995
|
+
|
|
10931
10996
|
/**
|
|
10932
10997
|
* Whether the counterparty is a business or an individual.
|
|
10933
10998
|
*/
|
|
@@ -10937,9 +11002,9 @@ export namespace CounterpartyRejectedWebhookEvent {
|
|
|
10937
11002
|
* Financial address of the counterparty.
|
|
10938
11003
|
*/
|
|
10939
11004
|
financial_address:
|
|
11005
|
+
| Payload.AbaFinancialAddress
|
|
10940
11006
|
| Payload.IbanFinancialAddress
|
|
10941
11007
|
| Payload.SortCodeFinancialAddress
|
|
10942
|
-
| Payload.AbaFinancialAddress
|
|
10943
11008
|
| Payload.BicFinancialAddress
|
|
10944
11009
|
| Payload.CryptoWalletFinancialAddress;
|
|
10945
11010
|
|
|
@@ -10949,6 +11014,11 @@ export namespace CounterpartyRejectedWebhookEvent {
|
|
|
10949
11014
|
*/
|
|
10950
11015
|
is_self_owned: boolean;
|
|
10951
11016
|
|
|
11017
|
+
/**
|
|
11018
|
+
* National tax or identity number of the counterparty, or null if not recorded.
|
|
11019
|
+
*/
|
|
11020
|
+
legal_id: string | null;
|
|
11021
|
+
|
|
10952
11022
|
/**
|
|
10953
11023
|
* Set of up to 50 key-value string pairs you can attach to store structured
|
|
10954
11024
|
* information, such as correlating this resource with an object in your own
|
|
@@ -10961,6 +11031,11 @@ export namespace CounterpartyRejectedWebhookEvent {
|
|
|
10961
11031
|
*/
|
|
10962
11032
|
name: string | null;
|
|
10963
11033
|
|
|
11034
|
+
/**
|
|
11035
|
+
* Phone number of the counterparty, or null if not recorded.
|
|
11036
|
+
*/
|
|
11037
|
+
phone: string | null;
|
|
11038
|
+
|
|
10964
11039
|
/**
|
|
10965
11040
|
* Physical address of the counterparty, or null if not recorded.
|
|
10966
11041
|
*/
|
|
@@ -10973,70 +11048,80 @@ export namespace CounterpartyRejectedWebhookEvent {
|
|
|
10973
11048
|
}
|
|
10974
11049
|
|
|
10975
11050
|
export namespace Payload {
|
|
10976
|
-
export interface
|
|
11051
|
+
export interface AbaFinancialAddress {
|
|
10977
11052
|
/**
|
|
10978
11053
|
* Name of the account holder.
|
|
10979
11054
|
*/
|
|
10980
11055
|
account_holder_name: string;
|
|
10981
11056
|
|
|
10982
11057
|
/**
|
|
10983
|
-
* Bank
|
|
11058
|
+
* Bank account number.
|
|
10984
11059
|
*/
|
|
10985
|
-
|
|
11060
|
+
account_number: string;
|
|
10986
11061
|
|
|
10987
11062
|
/**
|
|
10988
|
-
*
|
|
11063
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
10989
11064
|
*/
|
|
10990
|
-
|
|
11065
|
+
account_type: 'checking' | 'savings' | null;
|
|
10991
11066
|
|
|
10992
11067
|
/**
|
|
10993
|
-
*
|
|
11068
|
+
* ABA routing number (9 digits).
|
|
10994
11069
|
*/
|
|
10995
|
-
|
|
11070
|
+
routing_number: string;
|
|
11071
|
+
|
|
11072
|
+
/**
|
|
11073
|
+
* Discriminator for ABA wire financial address.
|
|
11074
|
+
*/
|
|
11075
|
+
type: 'aba';
|
|
10996
11076
|
}
|
|
10997
11077
|
|
|
10998
|
-
export interface
|
|
11078
|
+
export interface IbanFinancialAddress {
|
|
10999
11079
|
/**
|
|
11000
11080
|
* Name of the account holder.
|
|
11001
11081
|
*/
|
|
11002
11082
|
account_holder_name: string;
|
|
11003
11083
|
|
|
11004
11084
|
/**
|
|
11005
|
-
*
|
|
11085
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
11006
11086
|
*/
|
|
11007
|
-
|
|
11087
|
+
account_type: 'checking' | 'savings' | null;
|
|
11008
11088
|
|
|
11009
11089
|
/**
|
|
11010
|
-
*
|
|
11090
|
+
* Bank Identifier Code, or null if not provided.
|
|
11011
11091
|
*/
|
|
11012
|
-
|
|
11092
|
+
bic: string | null;
|
|
11013
11093
|
|
|
11014
11094
|
/**
|
|
11015
|
-
*
|
|
11095
|
+
* International Bank Account Number.
|
|
11016
11096
|
*/
|
|
11017
|
-
|
|
11097
|
+
iban: string;
|
|
11098
|
+
|
|
11099
|
+
/**
|
|
11100
|
+
* Discriminator for IBAN financial address.
|
|
11101
|
+
*/
|
|
11102
|
+
type: 'iban';
|
|
11018
11103
|
}
|
|
11019
11104
|
|
|
11020
|
-
export interface
|
|
11105
|
+
export interface SortCodeFinancialAddress {
|
|
11021
11106
|
/**
|
|
11022
11107
|
* Name of the account holder.
|
|
11023
11108
|
*/
|
|
11024
11109
|
account_holder_name: string;
|
|
11025
11110
|
|
|
11026
11111
|
/**
|
|
11027
|
-
*
|
|
11112
|
+
* UK account number (8 digits).
|
|
11028
11113
|
*/
|
|
11029
11114
|
account_number: string;
|
|
11030
11115
|
|
|
11031
11116
|
/**
|
|
11032
|
-
*
|
|
11117
|
+
* UK sort code (6 digits).
|
|
11033
11118
|
*/
|
|
11034
|
-
|
|
11119
|
+
sort_code: string;
|
|
11035
11120
|
|
|
11036
11121
|
/**
|
|
11037
|
-
* Discriminator for
|
|
11122
|
+
* Discriminator for UK sort code financial address.
|
|
11038
11123
|
*/
|
|
11039
|
-
type: '
|
|
11124
|
+
type: 'sort_code';
|
|
11040
11125
|
}
|
|
11041
11126
|
|
|
11042
11127
|
export interface BicFinancialAddress {
|
|
@@ -11050,6 +11135,11 @@ export namespace CounterpartyRejectedWebhookEvent {
|
|
|
11050
11135
|
*/
|
|
11051
11136
|
account_number: string;
|
|
11052
11137
|
|
|
11138
|
+
/**
|
|
11139
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
11140
|
+
*/
|
|
11141
|
+
account_type: 'checking' | 'savings' | null;
|
|
11142
|
+
|
|
11053
11143
|
/**
|
|
11054
11144
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
11055
11145
|
*/
|
|
@@ -11426,6 +11516,11 @@ export namespace CounterpartyBlockedWebhookEvent {
|
|
|
11426
11516
|
*/
|
|
11427
11517
|
date_of_birth: string | null;
|
|
11428
11518
|
|
|
11519
|
+
/**
|
|
11520
|
+
* Email address of the counterparty, or null if not recorded.
|
|
11521
|
+
*/
|
|
11522
|
+
email: string | null;
|
|
11523
|
+
|
|
11429
11524
|
/**
|
|
11430
11525
|
* Whether the counterparty is a business or an individual.
|
|
11431
11526
|
*/
|
|
@@ -11435,9 +11530,9 @@ export namespace CounterpartyBlockedWebhookEvent {
|
|
|
11435
11530
|
* Financial address of the counterparty.
|
|
11436
11531
|
*/
|
|
11437
11532
|
financial_address:
|
|
11533
|
+
| Payload.AbaFinancialAddress
|
|
11438
11534
|
| Payload.IbanFinancialAddress
|
|
11439
11535
|
| Payload.SortCodeFinancialAddress
|
|
11440
|
-
| Payload.AbaFinancialAddress
|
|
11441
11536
|
| Payload.BicFinancialAddress
|
|
11442
11537
|
| Payload.CryptoWalletFinancialAddress;
|
|
11443
11538
|
|
|
@@ -11447,6 +11542,11 @@ export namespace CounterpartyBlockedWebhookEvent {
|
|
|
11447
11542
|
*/
|
|
11448
11543
|
is_self_owned: boolean;
|
|
11449
11544
|
|
|
11545
|
+
/**
|
|
11546
|
+
* National tax or identity number of the counterparty, or null if not recorded.
|
|
11547
|
+
*/
|
|
11548
|
+
legal_id: string | null;
|
|
11549
|
+
|
|
11450
11550
|
/**
|
|
11451
11551
|
* Set of up to 50 key-value string pairs you can attach to store structured
|
|
11452
11552
|
* information, such as correlating this resource with an object in your own
|
|
@@ -11459,6 +11559,11 @@ export namespace CounterpartyBlockedWebhookEvent {
|
|
|
11459
11559
|
*/
|
|
11460
11560
|
name: string | null;
|
|
11461
11561
|
|
|
11562
|
+
/**
|
|
11563
|
+
* Phone number of the counterparty, or null if not recorded.
|
|
11564
|
+
*/
|
|
11565
|
+
phone: string | null;
|
|
11566
|
+
|
|
11462
11567
|
/**
|
|
11463
11568
|
* Physical address of the counterparty, or null if not recorded.
|
|
11464
11569
|
*/
|
|
@@ -11471,70 +11576,80 @@ export namespace CounterpartyBlockedWebhookEvent {
|
|
|
11471
11576
|
}
|
|
11472
11577
|
|
|
11473
11578
|
export namespace Payload {
|
|
11474
|
-
export interface
|
|
11579
|
+
export interface AbaFinancialAddress {
|
|
11475
11580
|
/**
|
|
11476
11581
|
* Name of the account holder.
|
|
11477
11582
|
*/
|
|
11478
11583
|
account_holder_name: string;
|
|
11479
11584
|
|
|
11480
11585
|
/**
|
|
11481
|
-
* Bank
|
|
11586
|
+
* Bank account number.
|
|
11482
11587
|
*/
|
|
11483
|
-
|
|
11588
|
+
account_number: string;
|
|
11484
11589
|
|
|
11485
11590
|
/**
|
|
11486
|
-
*
|
|
11591
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
11487
11592
|
*/
|
|
11488
|
-
|
|
11593
|
+
account_type: 'checking' | 'savings' | null;
|
|
11489
11594
|
|
|
11490
11595
|
/**
|
|
11491
|
-
*
|
|
11596
|
+
* ABA routing number (9 digits).
|
|
11492
11597
|
*/
|
|
11493
|
-
|
|
11598
|
+
routing_number: string;
|
|
11599
|
+
|
|
11600
|
+
/**
|
|
11601
|
+
* Discriminator for ABA wire financial address.
|
|
11602
|
+
*/
|
|
11603
|
+
type: 'aba';
|
|
11494
11604
|
}
|
|
11495
11605
|
|
|
11496
|
-
export interface
|
|
11606
|
+
export interface IbanFinancialAddress {
|
|
11497
11607
|
/**
|
|
11498
11608
|
* Name of the account holder.
|
|
11499
11609
|
*/
|
|
11500
11610
|
account_holder_name: string;
|
|
11501
11611
|
|
|
11502
11612
|
/**
|
|
11503
|
-
*
|
|
11613
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
11504
11614
|
*/
|
|
11505
|
-
|
|
11615
|
+
account_type: 'checking' | 'savings' | null;
|
|
11506
11616
|
|
|
11507
11617
|
/**
|
|
11508
|
-
*
|
|
11618
|
+
* Bank Identifier Code, or null if not provided.
|
|
11509
11619
|
*/
|
|
11510
|
-
|
|
11620
|
+
bic: string | null;
|
|
11511
11621
|
|
|
11512
11622
|
/**
|
|
11513
|
-
*
|
|
11623
|
+
* International Bank Account Number.
|
|
11514
11624
|
*/
|
|
11515
|
-
|
|
11625
|
+
iban: string;
|
|
11626
|
+
|
|
11627
|
+
/**
|
|
11628
|
+
* Discriminator for IBAN financial address.
|
|
11629
|
+
*/
|
|
11630
|
+
type: 'iban';
|
|
11516
11631
|
}
|
|
11517
11632
|
|
|
11518
|
-
export interface
|
|
11633
|
+
export interface SortCodeFinancialAddress {
|
|
11519
11634
|
/**
|
|
11520
11635
|
* Name of the account holder.
|
|
11521
11636
|
*/
|
|
11522
11637
|
account_holder_name: string;
|
|
11523
11638
|
|
|
11524
11639
|
/**
|
|
11525
|
-
*
|
|
11640
|
+
* UK account number (8 digits).
|
|
11526
11641
|
*/
|
|
11527
11642
|
account_number: string;
|
|
11528
11643
|
|
|
11529
11644
|
/**
|
|
11530
|
-
*
|
|
11645
|
+
* UK sort code (6 digits).
|
|
11531
11646
|
*/
|
|
11532
|
-
|
|
11647
|
+
sort_code: string;
|
|
11533
11648
|
|
|
11534
11649
|
/**
|
|
11535
|
-
* Discriminator for
|
|
11650
|
+
* Discriminator for UK sort code financial address.
|
|
11536
11651
|
*/
|
|
11537
|
-
type: '
|
|
11652
|
+
type: 'sort_code';
|
|
11538
11653
|
}
|
|
11539
11654
|
|
|
11540
11655
|
export interface BicFinancialAddress {
|
|
@@ -11548,6 +11663,11 @@ export namespace CounterpartyBlockedWebhookEvent {
|
|
|
11548
11663
|
*/
|
|
11549
11664
|
account_number: string;
|
|
11550
11665
|
|
|
11666
|
+
/**
|
|
11667
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
11668
|
+
*/
|
|
11669
|
+
account_type: 'checking' | 'savings' | null;
|
|
11670
|
+
|
|
11551
11671
|
/**
|
|
11552
11672
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
11553
11673
|
*/
|
|
@@ -11924,6 +12044,11 @@ export namespace CounterpartyUnblockedWebhookEvent {
|
|
|
11924
12044
|
*/
|
|
11925
12045
|
date_of_birth: string | null;
|
|
11926
12046
|
|
|
12047
|
+
/**
|
|
12048
|
+
* Email address of the counterparty, or null if not recorded.
|
|
12049
|
+
*/
|
|
12050
|
+
email: string | null;
|
|
12051
|
+
|
|
11927
12052
|
/**
|
|
11928
12053
|
* Whether the counterparty is a business or an individual.
|
|
11929
12054
|
*/
|
|
@@ -11933,9 +12058,9 @@ export namespace CounterpartyUnblockedWebhookEvent {
|
|
|
11933
12058
|
* Financial address of the counterparty.
|
|
11934
12059
|
*/
|
|
11935
12060
|
financial_address:
|
|
12061
|
+
| Payload.AbaFinancialAddress
|
|
11936
12062
|
| Payload.IbanFinancialAddress
|
|
11937
12063
|
| Payload.SortCodeFinancialAddress
|
|
11938
|
-
| Payload.AbaFinancialAddress
|
|
11939
12064
|
| Payload.BicFinancialAddress
|
|
11940
12065
|
| Payload.CryptoWalletFinancialAddress;
|
|
11941
12066
|
|
|
@@ -11945,6 +12070,11 @@ export namespace CounterpartyUnblockedWebhookEvent {
|
|
|
11945
12070
|
*/
|
|
11946
12071
|
is_self_owned: boolean;
|
|
11947
12072
|
|
|
12073
|
+
/**
|
|
12074
|
+
* National tax or identity number of the counterparty, or null if not recorded.
|
|
12075
|
+
*/
|
|
12076
|
+
legal_id: string | null;
|
|
12077
|
+
|
|
11948
12078
|
/**
|
|
11949
12079
|
* Set of up to 50 key-value string pairs you can attach to store structured
|
|
11950
12080
|
* information, such as correlating this resource with an object in your own
|
|
@@ -11957,6 +12087,11 @@ export namespace CounterpartyUnblockedWebhookEvent {
|
|
|
11957
12087
|
*/
|
|
11958
12088
|
name: string | null;
|
|
11959
12089
|
|
|
12090
|
+
/**
|
|
12091
|
+
* Phone number of the counterparty, or null if not recorded.
|
|
12092
|
+
*/
|
|
12093
|
+
phone: string | null;
|
|
12094
|
+
|
|
11960
12095
|
/**
|
|
11961
12096
|
* Physical address of the counterparty, or null if not recorded.
|
|
11962
12097
|
*/
|
|
@@ -11969,70 +12104,80 @@ export namespace CounterpartyUnblockedWebhookEvent {
|
|
|
11969
12104
|
}
|
|
11970
12105
|
|
|
11971
12106
|
export namespace Payload {
|
|
11972
|
-
export interface
|
|
12107
|
+
export interface AbaFinancialAddress {
|
|
11973
12108
|
/**
|
|
11974
12109
|
* Name of the account holder.
|
|
11975
12110
|
*/
|
|
11976
12111
|
account_holder_name: string;
|
|
11977
12112
|
|
|
11978
12113
|
/**
|
|
11979
|
-
* Bank
|
|
12114
|
+
* Bank account number.
|
|
11980
12115
|
*/
|
|
11981
|
-
|
|
12116
|
+
account_number: string;
|
|
11982
12117
|
|
|
11983
12118
|
/**
|
|
11984
|
-
*
|
|
12119
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
11985
12120
|
*/
|
|
11986
|
-
|
|
12121
|
+
account_type: 'checking' | 'savings' | null;
|
|
11987
12122
|
|
|
11988
12123
|
/**
|
|
11989
|
-
*
|
|
12124
|
+
* ABA routing number (9 digits).
|
|
11990
12125
|
*/
|
|
11991
|
-
|
|
12126
|
+
routing_number: string;
|
|
12127
|
+
|
|
12128
|
+
/**
|
|
12129
|
+
* Discriminator for ABA wire financial address.
|
|
12130
|
+
*/
|
|
12131
|
+
type: 'aba';
|
|
11992
12132
|
}
|
|
11993
12133
|
|
|
11994
|
-
export interface
|
|
12134
|
+
export interface IbanFinancialAddress {
|
|
11995
12135
|
/**
|
|
11996
12136
|
* Name of the account holder.
|
|
11997
12137
|
*/
|
|
11998
12138
|
account_holder_name: string;
|
|
11999
12139
|
|
|
12000
12140
|
/**
|
|
12001
|
-
*
|
|
12141
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
12002
12142
|
*/
|
|
12003
|
-
|
|
12143
|
+
account_type: 'checking' | 'savings' | null;
|
|
12004
12144
|
|
|
12005
12145
|
/**
|
|
12006
|
-
*
|
|
12146
|
+
* Bank Identifier Code, or null if not provided.
|
|
12007
12147
|
*/
|
|
12008
|
-
|
|
12148
|
+
bic: string | null;
|
|
12009
12149
|
|
|
12010
12150
|
/**
|
|
12011
|
-
*
|
|
12151
|
+
* International Bank Account Number.
|
|
12012
12152
|
*/
|
|
12013
|
-
|
|
12153
|
+
iban: string;
|
|
12154
|
+
|
|
12155
|
+
/**
|
|
12156
|
+
* Discriminator for IBAN financial address.
|
|
12157
|
+
*/
|
|
12158
|
+
type: 'iban';
|
|
12014
12159
|
}
|
|
12015
12160
|
|
|
12016
|
-
export interface
|
|
12161
|
+
export interface SortCodeFinancialAddress {
|
|
12017
12162
|
/**
|
|
12018
12163
|
* Name of the account holder.
|
|
12019
12164
|
*/
|
|
12020
12165
|
account_holder_name: string;
|
|
12021
12166
|
|
|
12022
12167
|
/**
|
|
12023
|
-
*
|
|
12168
|
+
* UK account number (8 digits).
|
|
12024
12169
|
*/
|
|
12025
12170
|
account_number: string;
|
|
12026
12171
|
|
|
12027
12172
|
/**
|
|
12028
|
-
*
|
|
12173
|
+
* UK sort code (6 digits).
|
|
12029
12174
|
*/
|
|
12030
|
-
|
|
12175
|
+
sort_code: string;
|
|
12031
12176
|
|
|
12032
12177
|
/**
|
|
12033
|
-
* Discriminator for
|
|
12178
|
+
* Discriminator for UK sort code financial address.
|
|
12034
12179
|
*/
|
|
12035
|
-
type: '
|
|
12180
|
+
type: 'sort_code';
|
|
12036
12181
|
}
|
|
12037
12182
|
|
|
12038
12183
|
export interface BicFinancialAddress {
|
|
@@ -12046,6 +12191,11 @@ export namespace CounterpartyUnblockedWebhookEvent {
|
|
|
12046
12191
|
*/
|
|
12047
12192
|
account_number: string;
|
|
12048
12193
|
|
|
12194
|
+
/**
|
|
12195
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
12196
|
+
*/
|
|
12197
|
+
account_type: 'checking' | 'savings' | null;
|
|
12198
|
+
|
|
12049
12199
|
/**
|
|
12050
12200
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
12051
12201
|
*/
|
|
@@ -12422,6 +12572,11 @@ export namespace CounterpartyUpdatedWebhookEvent {
|
|
|
12422
12572
|
*/
|
|
12423
12573
|
date_of_birth: string | null;
|
|
12424
12574
|
|
|
12575
|
+
/**
|
|
12576
|
+
* Email address of the counterparty, or null if not recorded.
|
|
12577
|
+
*/
|
|
12578
|
+
email: string | null;
|
|
12579
|
+
|
|
12425
12580
|
/**
|
|
12426
12581
|
* Whether the counterparty is a business or an individual.
|
|
12427
12582
|
*/
|
|
@@ -12431,9 +12586,9 @@ export namespace CounterpartyUpdatedWebhookEvent {
|
|
|
12431
12586
|
* Financial address of the counterparty.
|
|
12432
12587
|
*/
|
|
12433
12588
|
financial_address:
|
|
12589
|
+
| Payload.AbaFinancialAddress
|
|
12434
12590
|
| Payload.IbanFinancialAddress
|
|
12435
12591
|
| Payload.SortCodeFinancialAddress
|
|
12436
|
-
| Payload.AbaFinancialAddress
|
|
12437
12592
|
| Payload.BicFinancialAddress
|
|
12438
12593
|
| Payload.CryptoWalletFinancialAddress;
|
|
12439
12594
|
|
|
@@ -12443,6 +12598,11 @@ export namespace CounterpartyUpdatedWebhookEvent {
|
|
|
12443
12598
|
*/
|
|
12444
12599
|
is_self_owned: boolean;
|
|
12445
12600
|
|
|
12601
|
+
/**
|
|
12602
|
+
* National tax or identity number of the counterparty, or null if not recorded.
|
|
12603
|
+
*/
|
|
12604
|
+
legal_id: string | null;
|
|
12605
|
+
|
|
12446
12606
|
/**
|
|
12447
12607
|
* Set of up to 50 key-value string pairs you can attach to store structured
|
|
12448
12608
|
* information, such as correlating this resource with an object in your own
|
|
@@ -12455,6 +12615,11 @@ export namespace CounterpartyUpdatedWebhookEvent {
|
|
|
12455
12615
|
*/
|
|
12456
12616
|
name: string | null;
|
|
12457
12617
|
|
|
12618
|
+
/**
|
|
12619
|
+
* Phone number of the counterparty, or null if not recorded.
|
|
12620
|
+
*/
|
|
12621
|
+
phone: string | null;
|
|
12622
|
+
|
|
12458
12623
|
/**
|
|
12459
12624
|
* Physical address of the counterparty, or null if not recorded.
|
|
12460
12625
|
*/
|
|
@@ -12467,70 +12632,80 @@ export namespace CounterpartyUpdatedWebhookEvent {
|
|
|
12467
12632
|
}
|
|
12468
12633
|
|
|
12469
12634
|
export namespace Payload {
|
|
12470
|
-
export interface
|
|
12635
|
+
export interface AbaFinancialAddress {
|
|
12471
12636
|
/**
|
|
12472
12637
|
* Name of the account holder.
|
|
12473
12638
|
*/
|
|
12474
12639
|
account_holder_name: string;
|
|
12475
12640
|
|
|
12476
12641
|
/**
|
|
12477
|
-
* Bank
|
|
12642
|
+
* Bank account number.
|
|
12478
12643
|
*/
|
|
12479
|
-
|
|
12644
|
+
account_number: string;
|
|
12480
12645
|
|
|
12481
12646
|
/**
|
|
12482
|
-
*
|
|
12647
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
12483
12648
|
*/
|
|
12484
|
-
|
|
12649
|
+
account_type: 'checking' | 'savings' | null;
|
|
12485
12650
|
|
|
12486
12651
|
/**
|
|
12487
|
-
*
|
|
12652
|
+
* ABA routing number (9 digits).
|
|
12488
12653
|
*/
|
|
12489
|
-
|
|
12654
|
+
routing_number: string;
|
|
12655
|
+
|
|
12656
|
+
/**
|
|
12657
|
+
* Discriminator for ABA wire financial address.
|
|
12658
|
+
*/
|
|
12659
|
+
type: 'aba';
|
|
12490
12660
|
}
|
|
12491
12661
|
|
|
12492
|
-
export interface
|
|
12662
|
+
export interface IbanFinancialAddress {
|
|
12493
12663
|
/**
|
|
12494
12664
|
* Name of the account holder.
|
|
12495
12665
|
*/
|
|
12496
12666
|
account_holder_name: string;
|
|
12497
12667
|
|
|
12498
12668
|
/**
|
|
12499
|
-
*
|
|
12669
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
12500
12670
|
*/
|
|
12501
|
-
|
|
12671
|
+
account_type: 'checking' | 'savings' | null;
|
|
12502
12672
|
|
|
12503
12673
|
/**
|
|
12504
|
-
*
|
|
12674
|
+
* Bank Identifier Code, or null if not provided.
|
|
12505
12675
|
*/
|
|
12506
|
-
|
|
12676
|
+
bic: string | null;
|
|
12507
12677
|
|
|
12508
12678
|
/**
|
|
12509
|
-
*
|
|
12679
|
+
* International Bank Account Number.
|
|
12510
12680
|
*/
|
|
12511
|
-
|
|
12681
|
+
iban: string;
|
|
12682
|
+
|
|
12683
|
+
/**
|
|
12684
|
+
* Discriminator for IBAN financial address.
|
|
12685
|
+
*/
|
|
12686
|
+
type: 'iban';
|
|
12512
12687
|
}
|
|
12513
12688
|
|
|
12514
|
-
export interface
|
|
12689
|
+
export interface SortCodeFinancialAddress {
|
|
12515
12690
|
/**
|
|
12516
12691
|
* Name of the account holder.
|
|
12517
12692
|
*/
|
|
12518
12693
|
account_holder_name: string;
|
|
12519
12694
|
|
|
12520
12695
|
/**
|
|
12521
|
-
*
|
|
12696
|
+
* UK account number (8 digits).
|
|
12522
12697
|
*/
|
|
12523
12698
|
account_number: string;
|
|
12524
12699
|
|
|
12525
12700
|
/**
|
|
12526
|
-
*
|
|
12701
|
+
* UK sort code (6 digits).
|
|
12527
12702
|
*/
|
|
12528
|
-
|
|
12703
|
+
sort_code: string;
|
|
12529
12704
|
|
|
12530
12705
|
/**
|
|
12531
|
-
* Discriminator for
|
|
12706
|
+
* Discriminator for UK sort code financial address.
|
|
12532
12707
|
*/
|
|
12533
|
-
type: '
|
|
12708
|
+
type: 'sort_code';
|
|
12534
12709
|
}
|
|
12535
12710
|
|
|
12536
12711
|
export interface BicFinancialAddress {
|
|
@@ -12544,6 +12719,11 @@ export namespace CounterpartyUpdatedWebhookEvent {
|
|
|
12544
12719
|
*/
|
|
12545
12720
|
account_number: string;
|
|
12546
12721
|
|
|
12722
|
+
/**
|
|
12723
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
12724
|
+
*/
|
|
12725
|
+
account_type: 'checking' | 'savings' | null;
|
|
12726
|
+
|
|
12547
12727
|
/**
|
|
12548
12728
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
12549
12729
|
*/
|