@getivy/node-sdk 2.7.0 → 2.20.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 +145 -0
- package/README.md +2 -2
- package/bin/migration-config.json +1 -1
- package/client.d.mts +10 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -4
- package/client.d.ts.map +1 -1
- package/client.js +21 -7
- package/client.js.map +1 -1
- package/client.mjs +21 -7
- package/client.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +4 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +4 -1
- package/internal/utils/log.mjs.map +1 -1
- package/lib/request-signing.d.mts +6 -0
- package/lib/request-signing.d.mts.map +1 -0
- package/lib/request-signing.d.ts +6 -0
- package/lib/request-signing.d.ts.map +1 -0
- package/lib/request-signing.js +113 -0
- package/lib/request-signing.js.map +1 -0
- package/lib/request-signing.mjs +109 -0
- package/lib/request-signing.mjs.map +1 -0
- package/package.json +16 -4
- package/resources/banks.d.mts +12 -14
- package/resources/banks.d.mts.map +1 -1
- package/resources/banks.d.ts +12 -14
- package/resources/banks.d.ts.map +1 -1
- package/resources/beneficiary-payouts.d.mts +2 -2
- package/resources/beneficiary-payouts.d.mts.map +1 -1
- package/resources/beneficiary-payouts.d.ts +2 -2
- package/resources/beneficiary-payouts.d.ts.map +1 -1
- package/resources/capabilities.d.mts +8 -1
- package/resources/capabilities.d.mts.map +1 -1
- package/resources/capabilities.d.ts +8 -1
- package/resources/capabilities.d.ts.map +1 -1
- package/resources/capabilities.js +7 -0
- package/resources/capabilities.js.map +1 -1
- package/resources/capabilities.mjs +7 -0
- package/resources/capabilities.mjs.map +1 -1
- package/resources/checkoutsession.d.mts +18 -10
- package/resources/checkoutsession.d.mts.map +1 -1
- package/resources/checkoutsession.d.ts +18 -10
- package/resources/checkoutsession.d.ts.map +1 -1
- package/resources/checkoutsession.js +3 -2
- package/resources/checkoutsession.js.map +1 -1
- package/resources/checkoutsession.mjs +3 -2
- package/resources/checkoutsession.mjs.map +1 -1
- package/resources/counterparties.d.mts +956 -0
- package/resources/counterparties.d.mts.map +1 -0
- package/resources/counterparties.d.ts +956 -0
- package/resources/counterparties.d.ts.map +1 -0
- package/resources/counterparties.js +41 -0
- package/resources/counterparties.js.map +1 -0
- package/resources/counterparties.mjs +37 -0
- package/resources/counterparties.mjs.map +1 -0
- package/resources/customers.d.mts +6 -6
- package/resources/customers.d.mts.map +1 -1
- package/resources/customers.d.ts +6 -6
- package/resources/customers.d.ts.map +1 -1
- package/resources/deposits.d.mts +21 -7
- package/resources/deposits.d.mts.map +1 -1
- package/resources/deposits.d.ts +21 -7
- package/resources/deposits.d.ts.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 +3 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/orders.d.mts +102 -39
- package/resources/orders.d.mts.map +1 -1
- package/resources/orders.d.ts +102 -39
- package/resources/orders.d.ts.map +1 -1
- package/resources/payouts.d.mts +82 -21
- package/resources/payouts.d.mts.map +1 -1
- package/resources/payouts.d.ts +82 -21
- package/resources/payouts.d.ts.map +1 -1
- package/resources/refunds.d.mts +1 -1
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +1 -1
- package/resources/refunds.d.ts.map +1 -1
- package/resources/returns.d.mts +2 -2
- package/resources/returns.d.mts.map +1 -1
- package/resources/returns.d.ts +2 -2
- package/resources/returns.d.ts.map +1 -1
- package/resources/subaccounts.d.mts +4 -4
- package/resources/subaccounts.d.mts.map +1 -1
- package/resources/subaccounts.d.ts +4 -4
- package/resources/subaccounts.d.ts.map +1 -1
- package/resources/transactions.d.mts +2 -2
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +2 -2
- package/resources/transactions.d.ts.map +1 -1
- package/resources/webhook/subscription.d.mts +12 -12
- package/resources/webhook/subscription.d.mts.map +1 -1
- package/resources/webhook/subscription.d.ts +12 -12
- package/resources/webhook/subscription.d.ts.map +1 -1
- package/src/client.ts +51 -22
- package/src/internal/utils/log.ts +3 -0
- package/src/lib/request-signing.ts +139 -0
- package/src/resources/banks.ts +21 -11
- package/src/resources/beneficiary-payouts.ts +2 -2
- package/src/resources/capabilities.ts +8 -1
- package/src/resources/checkoutsession.ts +31 -10
- package/src/resources/counterparties.ts +3073 -0
- package/src/resources/customers.ts +3509 -3509
- package/src/resources/deposits.ts +52 -6
- package/src/resources/index.ts +13 -9
- package/src/resources/orders.ts +222 -36
- package/src/resources/payouts.ts +396 -17
- package/src/resources/refunds.ts +1 -1
- package/src/resources/returns.ts +2 -2
- package/src/resources/subaccounts.ts +4 -4
- package/src/resources/transactions.ts +2 -2
- package/src/resources/webhook/subscription.ts +37 -12
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/fx.d.mts +0 -155
- package/resources/fx.d.mts.map +0 -1
- package/resources/fx.d.ts +0 -155
- package/resources/fx.d.ts.map +0 -1
- package/resources/fx.js +0 -28
- package/resources/fx.js.map +0 -1
- package/resources/fx.mjs +0 -24
- package/resources/fx.mjs.map +0 -1
- package/src/resources/fx.ts +0 -195
package/src/resources/orders.ts
CHANGED
|
@@ -49,7 +49,7 @@ export interface OrderCreateResponse {
|
|
|
49
49
|
*/
|
|
50
50
|
applicationFeeAmount: number;
|
|
51
51
|
|
|
52
|
-
createdAt:
|
|
52
|
+
createdAt: string;
|
|
53
53
|
|
|
54
54
|
instantPaymentScheme: boolean;
|
|
55
55
|
|
|
@@ -95,7 +95,7 @@ export interface OrderCreateResponse {
|
|
|
95
95
|
| 'refused'
|
|
96
96
|
| 'finalizing';
|
|
97
97
|
|
|
98
|
-
updatedAt:
|
|
98
|
+
updatedAt: string;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* The unique identifier of the customer's bank.
|
|
@@ -540,7 +540,7 @@ export namespace OrderCreateResponse {
|
|
|
540
540
|
|
|
541
541
|
export namespace Destination {
|
|
542
542
|
export interface BankAccount {
|
|
543
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
543
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba' | 'bic';
|
|
544
544
|
|
|
545
545
|
aba?: BankAccount.Aba;
|
|
546
546
|
|
|
@@ -548,6 +548,8 @@ export namespace OrderCreateResponse {
|
|
|
548
548
|
|
|
549
549
|
bban?: BankAccount.Bban;
|
|
550
550
|
|
|
551
|
+
bic?: BankAccount.Bic;
|
|
552
|
+
|
|
551
553
|
iban?: BankAccount.Iban;
|
|
552
554
|
|
|
553
555
|
paymentReference?: string;
|
|
@@ -582,6 +584,16 @@ export namespace OrderCreateResponse {
|
|
|
582
584
|
bic?: string;
|
|
583
585
|
}
|
|
584
586
|
|
|
587
|
+
export interface Bic {
|
|
588
|
+
accountHolderName: string;
|
|
589
|
+
|
|
590
|
+
accountNumber: string;
|
|
591
|
+
|
|
592
|
+
bic: string;
|
|
593
|
+
|
|
594
|
+
localBankCode?: string;
|
|
595
|
+
}
|
|
596
|
+
|
|
585
597
|
export interface Iban {
|
|
586
598
|
accountHolderName: string;
|
|
587
599
|
|
|
@@ -607,7 +619,15 @@ export namespace OrderCreateResponse {
|
|
|
607
619
|
/**
|
|
608
620
|
* The blockchain network
|
|
609
621
|
*/
|
|
610
|
-
blockchain:
|
|
622
|
+
blockchain:
|
|
623
|
+
| 'BTC'
|
|
624
|
+
| 'BTC-TESTNET4'
|
|
625
|
+
| 'ETH'
|
|
626
|
+
| 'ETH-SEPOLIA'
|
|
627
|
+
| 'SOL'
|
|
628
|
+
| 'SOL-DEVNET'
|
|
629
|
+
| 'MATIC'
|
|
630
|
+
| 'MATIC-AMOY';
|
|
611
631
|
}
|
|
612
632
|
}
|
|
613
633
|
}
|
|
@@ -671,7 +691,7 @@ export namespace OrderCreateResponse {
|
|
|
671
691
|
* when requested via order/details and therefore requires authentication.
|
|
672
692
|
*/
|
|
673
693
|
export interface MerchantFinancialAddress {
|
|
674
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
694
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba' | 'bic';
|
|
675
695
|
|
|
676
696
|
aba?: MerchantFinancialAddress.Aba;
|
|
677
697
|
|
|
@@ -679,6 +699,8 @@ export namespace OrderCreateResponse {
|
|
|
679
699
|
|
|
680
700
|
bban?: MerchantFinancialAddress.Bban;
|
|
681
701
|
|
|
702
|
+
bic?: MerchantFinancialAddress.Bic;
|
|
703
|
+
|
|
682
704
|
iban?: MerchantFinancialAddress.Iban;
|
|
683
705
|
|
|
684
706
|
paymentReference?: string;
|
|
@@ -713,6 +735,16 @@ export namespace OrderCreateResponse {
|
|
|
713
735
|
bic?: string;
|
|
714
736
|
}
|
|
715
737
|
|
|
738
|
+
export interface Bic {
|
|
739
|
+
accountHolderName: string;
|
|
740
|
+
|
|
741
|
+
accountNumber: string;
|
|
742
|
+
|
|
743
|
+
bic: string;
|
|
744
|
+
|
|
745
|
+
localBankCode?: string;
|
|
746
|
+
}
|
|
747
|
+
|
|
716
748
|
export interface Iban {
|
|
717
749
|
accountHolderName: string;
|
|
718
750
|
|
|
@@ -738,7 +770,15 @@ export namespace OrderCreateResponse {
|
|
|
738
770
|
/**
|
|
739
771
|
* The blockchain network
|
|
740
772
|
*/
|
|
741
|
-
blockchain:
|
|
773
|
+
blockchain:
|
|
774
|
+
| 'BTC'
|
|
775
|
+
| 'BTC-TESTNET4'
|
|
776
|
+
| 'ETH'
|
|
777
|
+
| 'ETH-SEPOLIA'
|
|
778
|
+
| 'SOL'
|
|
779
|
+
| 'SOL-DEVNET'
|
|
780
|
+
| 'MATIC'
|
|
781
|
+
| 'MATIC-AMOY';
|
|
742
782
|
}
|
|
743
783
|
}
|
|
744
784
|
|
|
@@ -747,7 +787,7 @@ export namespace OrderCreateResponse {
|
|
|
747
787
|
* after successful PIS flow.
|
|
748
788
|
*/
|
|
749
789
|
export interface PayerFinancialAddress {
|
|
750
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
790
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba' | 'bic';
|
|
751
791
|
|
|
752
792
|
aba?: PayerFinancialAddress.Aba;
|
|
753
793
|
|
|
@@ -755,6 +795,8 @@ export namespace OrderCreateResponse {
|
|
|
755
795
|
|
|
756
796
|
bban?: PayerFinancialAddress.Bban;
|
|
757
797
|
|
|
798
|
+
bic?: PayerFinancialAddress.Bic;
|
|
799
|
+
|
|
758
800
|
iban?: PayerFinancialAddress.Iban;
|
|
759
801
|
|
|
760
802
|
sortCode?: PayerFinancialAddress.SortCode;
|
|
@@ -787,6 +829,16 @@ export namespace OrderCreateResponse {
|
|
|
787
829
|
bic?: string;
|
|
788
830
|
}
|
|
789
831
|
|
|
832
|
+
export interface Bic {
|
|
833
|
+
accountNumber: string;
|
|
834
|
+
|
|
835
|
+
bic: string;
|
|
836
|
+
|
|
837
|
+
accountHolderName?: string;
|
|
838
|
+
|
|
839
|
+
localBankCode?: string;
|
|
840
|
+
}
|
|
841
|
+
|
|
790
842
|
export interface Iban {
|
|
791
843
|
iban: string;
|
|
792
844
|
|
|
@@ -812,7 +864,15 @@ export namespace OrderCreateResponse {
|
|
|
812
864
|
/**
|
|
813
865
|
* The blockchain network
|
|
814
866
|
*/
|
|
815
|
-
blockchain:
|
|
867
|
+
blockchain:
|
|
868
|
+
| 'BTC'
|
|
869
|
+
| 'BTC-TESTNET4'
|
|
870
|
+
| 'ETH'
|
|
871
|
+
| 'ETH-SEPOLIA'
|
|
872
|
+
| 'SOL'
|
|
873
|
+
| 'SOL-DEVNET'
|
|
874
|
+
| 'MATIC'
|
|
875
|
+
| 'MATIC-AMOY';
|
|
816
876
|
}
|
|
817
877
|
}
|
|
818
878
|
|
|
@@ -827,7 +887,7 @@ export namespace OrderCreateResponse {
|
|
|
827
887
|
*/
|
|
828
888
|
amount: number;
|
|
829
889
|
|
|
830
|
-
createdAt:
|
|
890
|
+
createdAt: string;
|
|
831
891
|
|
|
832
892
|
/**
|
|
833
893
|
* The unique id of this refund request. This can be set when requesting the
|
|
@@ -840,7 +900,7 @@ export namespace OrderCreateResponse {
|
|
|
840
900
|
*/
|
|
841
901
|
status: 'pending' | 'succeeded' | 'failed' | 'requires_action' | 'partially_refunded';
|
|
842
902
|
|
|
843
|
-
updatedAt:
|
|
903
|
+
updatedAt: string;
|
|
844
904
|
|
|
845
905
|
/**
|
|
846
906
|
* The description of the refund.
|
|
@@ -1158,7 +1218,7 @@ export namespace OrderCreateResponse {
|
|
|
1158
1218
|
}
|
|
1159
1219
|
|
|
1160
1220
|
export interface StatusHistoryList {
|
|
1161
|
-
createdAt:
|
|
1221
|
+
createdAt: string;
|
|
1162
1222
|
|
|
1163
1223
|
currentStatus:
|
|
1164
1224
|
| 'failed'
|
|
@@ -1202,12 +1262,14 @@ export namespace OrderCreateResponse {
|
|
|
1202
1262
|
| 'PENDING_PAYMENT_ATTEMPTS_FOUND'
|
|
1203
1263
|
| 'AML_FREEZE'
|
|
1204
1264
|
| 'AML_APPROVE'
|
|
1265
|
+
| 'AML_REJECT'
|
|
1266
|
+
| 'AML_SEIZE'
|
|
1205
1267
|
| 'MANUAL_FREEZE'
|
|
1206
1268
|
| 'MANUAL_UNFREEZE'
|
|
1207
1269
|
| 'ORDER_MANUALLY_REOPENED'
|
|
1208
1270
|
| 'ORDER_FINALIZATION_STARTED';
|
|
1209
1271
|
|
|
1210
|
-
updatedAt:
|
|
1272
|
+
updatedAt: string;
|
|
1211
1273
|
|
|
1212
1274
|
previousStatus?:
|
|
1213
1275
|
| 'failed'
|
|
@@ -1244,7 +1306,7 @@ export interface OrderRetrieveResponse {
|
|
|
1244
1306
|
*/
|
|
1245
1307
|
applicationFeeAmount: number;
|
|
1246
1308
|
|
|
1247
|
-
createdAt:
|
|
1309
|
+
createdAt: string;
|
|
1248
1310
|
|
|
1249
1311
|
instantPaymentScheme: boolean;
|
|
1250
1312
|
|
|
@@ -1290,7 +1352,7 @@ export interface OrderRetrieveResponse {
|
|
|
1290
1352
|
| 'refused'
|
|
1291
1353
|
| 'finalizing';
|
|
1292
1354
|
|
|
1293
|
-
updatedAt:
|
|
1355
|
+
updatedAt: string;
|
|
1294
1356
|
|
|
1295
1357
|
/**
|
|
1296
1358
|
* The unique identifier of the customer's bank.
|
|
@@ -1735,7 +1797,7 @@ export namespace OrderRetrieveResponse {
|
|
|
1735
1797
|
|
|
1736
1798
|
export namespace Destination {
|
|
1737
1799
|
export interface BankAccount {
|
|
1738
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
1800
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba' | 'bic';
|
|
1739
1801
|
|
|
1740
1802
|
aba?: BankAccount.Aba;
|
|
1741
1803
|
|
|
@@ -1743,6 +1805,8 @@ export namespace OrderRetrieveResponse {
|
|
|
1743
1805
|
|
|
1744
1806
|
bban?: BankAccount.Bban;
|
|
1745
1807
|
|
|
1808
|
+
bic?: BankAccount.Bic;
|
|
1809
|
+
|
|
1746
1810
|
iban?: BankAccount.Iban;
|
|
1747
1811
|
|
|
1748
1812
|
paymentReference?: string;
|
|
@@ -1777,6 +1841,16 @@ export namespace OrderRetrieveResponse {
|
|
|
1777
1841
|
bic?: string;
|
|
1778
1842
|
}
|
|
1779
1843
|
|
|
1844
|
+
export interface Bic {
|
|
1845
|
+
accountHolderName: string;
|
|
1846
|
+
|
|
1847
|
+
accountNumber: string;
|
|
1848
|
+
|
|
1849
|
+
bic: string;
|
|
1850
|
+
|
|
1851
|
+
localBankCode?: string;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1780
1854
|
export interface Iban {
|
|
1781
1855
|
accountHolderName: string;
|
|
1782
1856
|
|
|
@@ -1802,7 +1876,15 @@ export namespace OrderRetrieveResponse {
|
|
|
1802
1876
|
/**
|
|
1803
1877
|
* The blockchain network
|
|
1804
1878
|
*/
|
|
1805
|
-
blockchain:
|
|
1879
|
+
blockchain:
|
|
1880
|
+
| 'BTC'
|
|
1881
|
+
| 'BTC-TESTNET4'
|
|
1882
|
+
| 'ETH'
|
|
1883
|
+
| 'ETH-SEPOLIA'
|
|
1884
|
+
| 'SOL'
|
|
1885
|
+
| 'SOL-DEVNET'
|
|
1886
|
+
| 'MATIC'
|
|
1887
|
+
| 'MATIC-AMOY';
|
|
1806
1888
|
}
|
|
1807
1889
|
}
|
|
1808
1890
|
}
|
|
@@ -1866,7 +1948,7 @@ export namespace OrderRetrieveResponse {
|
|
|
1866
1948
|
* when requested via order/details and therefore requires authentication.
|
|
1867
1949
|
*/
|
|
1868
1950
|
export interface MerchantFinancialAddress {
|
|
1869
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
1951
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba' | 'bic';
|
|
1870
1952
|
|
|
1871
1953
|
aba?: MerchantFinancialAddress.Aba;
|
|
1872
1954
|
|
|
@@ -1874,6 +1956,8 @@ export namespace OrderRetrieveResponse {
|
|
|
1874
1956
|
|
|
1875
1957
|
bban?: MerchantFinancialAddress.Bban;
|
|
1876
1958
|
|
|
1959
|
+
bic?: MerchantFinancialAddress.Bic;
|
|
1960
|
+
|
|
1877
1961
|
iban?: MerchantFinancialAddress.Iban;
|
|
1878
1962
|
|
|
1879
1963
|
paymentReference?: string;
|
|
@@ -1908,6 +1992,16 @@ export namespace OrderRetrieveResponse {
|
|
|
1908
1992
|
bic?: string;
|
|
1909
1993
|
}
|
|
1910
1994
|
|
|
1995
|
+
export interface Bic {
|
|
1996
|
+
accountHolderName: string;
|
|
1997
|
+
|
|
1998
|
+
accountNumber: string;
|
|
1999
|
+
|
|
2000
|
+
bic: string;
|
|
2001
|
+
|
|
2002
|
+
localBankCode?: string;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
1911
2005
|
export interface Iban {
|
|
1912
2006
|
accountHolderName: string;
|
|
1913
2007
|
|
|
@@ -1933,7 +2027,15 @@ export namespace OrderRetrieveResponse {
|
|
|
1933
2027
|
/**
|
|
1934
2028
|
* The blockchain network
|
|
1935
2029
|
*/
|
|
1936
|
-
blockchain:
|
|
2030
|
+
blockchain:
|
|
2031
|
+
| 'BTC'
|
|
2032
|
+
| 'BTC-TESTNET4'
|
|
2033
|
+
| 'ETH'
|
|
2034
|
+
| 'ETH-SEPOLIA'
|
|
2035
|
+
| 'SOL'
|
|
2036
|
+
| 'SOL-DEVNET'
|
|
2037
|
+
| 'MATIC'
|
|
2038
|
+
| 'MATIC-AMOY';
|
|
1937
2039
|
}
|
|
1938
2040
|
}
|
|
1939
2041
|
|
|
@@ -1942,7 +2044,7 @@ export namespace OrderRetrieveResponse {
|
|
|
1942
2044
|
* after successful PIS flow.
|
|
1943
2045
|
*/
|
|
1944
2046
|
export interface PayerFinancialAddress {
|
|
1945
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
2047
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba' | 'bic';
|
|
1946
2048
|
|
|
1947
2049
|
aba?: PayerFinancialAddress.Aba;
|
|
1948
2050
|
|
|
@@ -1950,6 +2052,8 @@ export namespace OrderRetrieveResponse {
|
|
|
1950
2052
|
|
|
1951
2053
|
bban?: PayerFinancialAddress.Bban;
|
|
1952
2054
|
|
|
2055
|
+
bic?: PayerFinancialAddress.Bic;
|
|
2056
|
+
|
|
1953
2057
|
iban?: PayerFinancialAddress.Iban;
|
|
1954
2058
|
|
|
1955
2059
|
sortCode?: PayerFinancialAddress.SortCode;
|
|
@@ -1982,6 +2086,16 @@ export namespace OrderRetrieveResponse {
|
|
|
1982
2086
|
bic?: string;
|
|
1983
2087
|
}
|
|
1984
2088
|
|
|
2089
|
+
export interface Bic {
|
|
2090
|
+
accountNumber: string;
|
|
2091
|
+
|
|
2092
|
+
bic: string;
|
|
2093
|
+
|
|
2094
|
+
accountHolderName?: string;
|
|
2095
|
+
|
|
2096
|
+
localBankCode?: string;
|
|
2097
|
+
}
|
|
2098
|
+
|
|
1985
2099
|
export interface Iban {
|
|
1986
2100
|
iban: string;
|
|
1987
2101
|
|
|
@@ -2007,7 +2121,15 @@ export namespace OrderRetrieveResponse {
|
|
|
2007
2121
|
/**
|
|
2008
2122
|
* The blockchain network
|
|
2009
2123
|
*/
|
|
2010
|
-
blockchain:
|
|
2124
|
+
blockchain:
|
|
2125
|
+
| 'BTC'
|
|
2126
|
+
| 'BTC-TESTNET4'
|
|
2127
|
+
| 'ETH'
|
|
2128
|
+
| 'ETH-SEPOLIA'
|
|
2129
|
+
| 'SOL'
|
|
2130
|
+
| 'SOL-DEVNET'
|
|
2131
|
+
| 'MATIC'
|
|
2132
|
+
| 'MATIC-AMOY';
|
|
2011
2133
|
}
|
|
2012
2134
|
}
|
|
2013
2135
|
|
|
@@ -2022,7 +2144,7 @@ export namespace OrderRetrieveResponse {
|
|
|
2022
2144
|
*/
|
|
2023
2145
|
amount: number;
|
|
2024
2146
|
|
|
2025
|
-
createdAt:
|
|
2147
|
+
createdAt: string;
|
|
2026
2148
|
|
|
2027
2149
|
/**
|
|
2028
2150
|
* The unique id of this refund request. This can be set when requesting the
|
|
@@ -2035,7 +2157,7 @@ export namespace OrderRetrieveResponse {
|
|
|
2035
2157
|
*/
|
|
2036
2158
|
status: 'pending' | 'succeeded' | 'failed' | 'requires_action' | 'partially_refunded';
|
|
2037
2159
|
|
|
2038
|
-
updatedAt:
|
|
2160
|
+
updatedAt: string;
|
|
2039
2161
|
|
|
2040
2162
|
/**
|
|
2041
2163
|
* The description of the refund.
|
|
@@ -2353,7 +2475,7 @@ export namespace OrderRetrieveResponse {
|
|
|
2353
2475
|
}
|
|
2354
2476
|
|
|
2355
2477
|
export interface StatusHistoryList {
|
|
2356
|
-
createdAt:
|
|
2478
|
+
createdAt: string;
|
|
2357
2479
|
|
|
2358
2480
|
currentStatus:
|
|
2359
2481
|
| 'failed'
|
|
@@ -2397,12 +2519,14 @@ export namespace OrderRetrieveResponse {
|
|
|
2397
2519
|
| 'PENDING_PAYMENT_ATTEMPTS_FOUND'
|
|
2398
2520
|
| 'AML_FREEZE'
|
|
2399
2521
|
| 'AML_APPROVE'
|
|
2522
|
+
| 'AML_REJECT'
|
|
2523
|
+
| 'AML_SEIZE'
|
|
2400
2524
|
| 'MANUAL_FREEZE'
|
|
2401
2525
|
| 'MANUAL_UNFREEZE'
|
|
2402
2526
|
| 'ORDER_MANUALLY_REOPENED'
|
|
2403
2527
|
| 'ORDER_FINALIZATION_STARTED';
|
|
2404
2528
|
|
|
2405
|
-
updatedAt:
|
|
2529
|
+
updatedAt: string;
|
|
2406
2530
|
|
|
2407
2531
|
previousStatus?:
|
|
2408
2532
|
| 'failed'
|
|
@@ -2439,7 +2563,7 @@ export interface OrderExpireResponse {
|
|
|
2439
2563
|
*/
|
|
2440
2564
|
applicationFeeAmount: number;
|
|
2441
2565
|
|
|
2442
|
-
createdAt:
|
|
2566
|
+
createdAt: string;
|
|
2443
2567
|
|
|
2444
2568
|
instantPaymentScheme: boolean;
|
|
2445
2569
|
|
|
@@ -2485,7 +2609,7 @@ export interface OrderExpireResponse {
|
|
|
2485
2609
|
| 'refused'
|
|
2486
2610
|
| 'finalizing';
|
|
2487
2611
|
|
|
2488
|
-
updatedAt:
|
|
2612
|
+
updatedAt: string;
|
|
2489
2613
|
|
|
2490
2614
|
/**
|
|
2491
2615
|
* The unique identifier of the customer's bank.
|
|
@@ -2930,7 +3054,7 @@ export namespace OrderExpireResponse {
|
|
|
2930
3054
|
|
|
2931
3055
|
export namespace Destination {
|
|
2932
3056
|
export interface BankAccount {
|
|
2933
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
3057
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba' | 'bic';
|
|
2934
3058
|
|
|
2935
3059
|
aba?: BankAccount.Aba;
|
|
2936
3060
|
|
|
@@ -2938,6 +3062,8 @@ export namespace OrderExpireResponse {
|
|
|
2938
3062
|
|
|
2939
3063
|
bban?: BankAccount.Bban;
|
|
2940
3064
|
|
|
3065
|
+
bic?: BankAccount.Bic;
|
|
3066
|
+
|
|
2941
3067
|
iban?: BankAccount.Iban;
|
|
2942
3068
|
|
|
2943
3069
|
paymentReference?: string;
|
|
@@ -2972,6 +3098,16 @@ export namespace OrderExpireResponse {
|
|
|
2972
3098
|
bic?: string;
|
|
2973
3099
|
}
|
|
2974
3100
|
|
|
3101
|
+
export interface Bic {
|
|
3102
|
+
accountHolderName: string;
|
|
3103
|
+
|
|
3104
|
+
accountNumber: string;
|
|
3105
|
+
|
|
3106
|
+
bic: string;
|
|
3107
|
+
|
|
3108
|
+
localBankCode?: string;
|
|
3109
|
+
}
|
|
3110
|
+
|
|
2975
3111
|
export interface Iban {
|
|
2976
3112
|
accountHolderName: string;
|
|
2977
3113
|
|
|
@@ -2997,7 +3133,15 @@ export namespace OrderExpireResponse {
|
|
|
2997
3133
|
/**
|
|
2998
3134
|
* The blockchain network
|
|
2999
3135
|
*/
|
|
3000
|
-
blockchain:
|
|
3136
|
+
blockchain:
|
|
3137
|
+
| 'BTC'
|
|
3138
|
+
| 'BTC-TESTNET4'
|
|
3139
|
+
| 'ETH'
|
|
3140
|
+
| 'ETH-SEPOLIA'
|
|
3141
|
+
| 'SOL'
|
|
3142
|
+
| 'SOL-DEVNET'
|
|
3143
|
+
| 'MATIC'
|
|
3144
|
+
| 'MATIC-AMOY';
|
|
3001
3145
|
}
|
|
3002
3146
|
}
|
|
3003
3147
|
}
|
|
@@ -3061,7 +3205,7 @@ export namespace OrderExpireResponse {
|
|
|
3061
3205
|
* when requested via order/details and therefore requires authentication.
|
|
3062
3206
|
*/
|
|
3063
3207
|
export interface MerchantFinancialAddress {
|
|
3064
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
3208
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba' | 'bic';
|
|
3065
3209
|
|
|
3066
3210
|
aba?: MerchantFinancialAddress.Aba;
|
|
3067
3211
|
|
|
@@ -3069,6 +3213,8 @@ export namespace OrderExpireResponse {
|
|
|
3069
3213
|
|
|
3070
3214
|
bban?: MerchantFinancialAddress.Bban;
|
|
3071
3215
|
|
|
3216
|
+
bic?: MerchantFinancialAddress.Bic;
|
|
3217
|
+
|
|
3072
3218
|
iban?: MerchantFinancialAddress.Iban;
|
|
3073
3219
|
|
|
3074
3220
|
paymentReference?: string;
|
|
@@ -3103,6 +3249,16 @@ export namespace OrderExpireResponse {
|
|
|
3103
3249
|
bic?: string;
|
|
3104
3250
|
}
|
|
3105
3251
|
|
|
3252
|
+
export interface Bic {
|
|
3253
|
+
accountHolderName: string;
|
|
3254
|
+
|
|
3255
|
+
accountNumber: string;
|
|
3256
|
+
|
|
3257
|
+
bic: string;
|
|
3258
|
+
|
|
3259
|
+
localBankCode?: string;
|
|
3260
|
+
}
|
|
3261
|
+
|
|
3106
3262
|
export interface Iban {
|
|
3107
3263
|
accountHolderName: string;
|
|
3108
3264
|
|
|
@@ -3128,7 +3284,15 @@ export namespace OrderExpireResponse {
|
|
|
3128
3284
|
/**
|
|
3129
3285
|
* The blockchain network
|
|
3130
3286
|
*/
|
|
3131
|
-
blockchain:
|
|
3287
|
+
blockchain:
|
|
3288
|
+
| 'BTC'
|
|
3289
|
+
| 'BTC-TESTNET4'
|
|
3290
|
+
| 'ETH'
|
|
3291
|
+
| 'ETH-SEPOLIA'
|
|
3292
|
+
| 'SOL'
|
|
3293
|
+
| 'SOL-DEVNET'
|
|
3294
|
+
| 'MATIC'
|
|
3295
|
+
| 'MATIC-AMOY';
|
|
3132
3296
|
}
|
|
3133
3297
|
}
|
|
3134
3298
|
|
|
@@ -3137,7 +3301,7 @@ export namespace OrderExpireResponse {
|
|
|
3137
3301
|
* after successful PIS flow.
|
|
3138
3302
|
*/
|
|
3139
3303
|
export interface PayerFinancialAddress {
|
|
3140
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
3304
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba' | 'bic';
|
|
3141
3305
|
|
|
3142
3306
|
aba?: PayerFinancialAddress.Aba;
|
|
3143
3307
|
|
|
@@ -3145,6 +3309,8 @@ export namespace OrderExpireResponse {
|
|
|
3145
3309
|
|
|
3146
3310
|
bban?: PayerFinancialAddress.Bban;
|
|
3147
3311
|
|
|
3312
|
+
bic?: PayerFinancialAddress.Bic;
|
|
3313
|
+
|
|
3148
3314
|
iban?: PayerFinancialAddress.Iban;
|
|
3149
3315
|
|
|
3150
3316
|
sortCode?: PayerFinancialAddress.SortCode;
|
|
@@ -3177,6 +3343,16 @@ export namespace OrderExpireResponse {
|
|
|
3177
3343
|
bic?: string;
|
|
3178
3344
|
}
|
|
3179
3345
|
|
|
3346
|
+
export interface Bic {
|
|
3347
|
+
accountNumber: string;
|
|
3348
|
+
|
|
3349
|
+
bic: string;
|
|
3350
|
+
|
|
3351
|
+
accountHolderName?: string;
|
|
3352
|
+
|
|
3353
|
+
localBankCode?: string;
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3180
3356
|
export interface Iban {
|
|
3181
3357
|
iban: string;
|
|
3182
3358
|
|
|
@@ -3202,7 +3378,15 @@ export namespace OrderExpireResponse {
|
|
|
3202
3378
|
/**
|
|
3203
3379
|
* The blockchain network
|
|
3204
3380
|
*/
|
|
3205
|
-
blockchain:
|
|
3381
|
+
blockchain:
|
|
3382
|
+
| 'BTC'
|
|
3383
|
+
| 'BTC-TESTNET4'
|
|
3384
|
+
| 'ETH'
|
|
3385
|
+
| 'ETH-SEPOLIA'
|
|
3386
|
+
| 'SOL'
|
|
3387
|
+
| 'SOL-DEVNET'
|
|
3388
|
+
| 'MATIC'
|
|
3389
|
+
| 'MATIC-AMOY';
|
|
3206
3390
|
}
|
|
3207
3391
|
}
|
|
3208
3392
|
|
|
@@ -3217,7 +3401,7 @@ export namespace OrderExpireResponse {
|
|
|
3217
3401
|
*/
|
|
3218
3402
|
amount: number;
|
|
3219
3403
|
|
|
3220
|
-
createdAt:
|
|
3404
|
+
createdAt: string;
|
|
3221
3405
|
|
|
3222
3406
|
/**
|
|
3223
3407
|
* The unique id of this refund request. This can be set when requesting the
|
|
@@ -3230,7 +3414,7 @@ export namespace OrderExpireResponse {
|
|
|
3230
3414
|
*/
|
|
3231
3415
|
status: 'pending' | 'succeeded' | 'failed' | 'requires_action' | 'partially_refunded';
|
|
3232
3416
|
|
|
3233
|
-
updatedAt:
|
|
3417
|
+
updatedAt: string;
|
|
3234
3418
|
|
|
3235
3419
|
/**
|
|
3236
3420
|
* The description of the refund.
|
|
@@ -3548,7 +3732,7 @@ export namespace OrderExpireResponse {
|
|
|
3548
3732
|
}
|
|
3549
3733
|
|
|
3550
3734
|
export interface StatusHistoryList {
|
|
3551
|
-
createdAt:
|
|
3735
|
+
createdAt: string;
|
|
3552
3736
|
|
|
3553
3737
|
currentStatus:
|
|
3554
3738
|
| 'failed'
|
|
@@ -3592,12 +3776,14 @@ export namespace OrderExpireResponse {
|
|
|
3592
3776
|
| 'PENDING_PAYMENT_ATTEMPTS_FOUND'
|
|
3593
3777
|
| 'AML_FREEZE'
|
|
3594
3778
|
| 'AML_APPROVE'
|
|
3779
|
+
| 'AML_REJECT'
|
|
3780
|
+
| 'AML_SEIZE'
|
|
3595
3781
|
| 'MANUAL_FREEZE'
|
|
3596
3782
|
| 'MANUAL_UNFREEZE'
|
|
3597
3783
|
| 'ORDER_MANUALLY_REOPENED'
|
|
3598
3784
|
| 'ORDER_FINALIZATION_STARTED';
|
|
3599
3785
|
|
|
3600
|
-
updatedAt:
|
|
3786
|
+
updatedAt: string;
|
|
3601
3787
|
|
|
3602
3788
|
previousStatus?:
|
|
3603
3789
|
| 'failed'
|