@riocrypto/common 1.0.632 → 1.0.634
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.
|
@@ -69,7 +69,7 @@ export declare class RioClient {
|
|
|
69
69
|
createBankPayout(oid: string, accountNumber: string, swiftCode?: string): Promise<BankPayout>;
|
|
70
70
|
getBankPayout(orderId: string): Promise<BankPayout>;
|
|
71
71
|
createCheckedAddress(address: string, crypto: Crypto): Promise<CheckedAddress>;
|
|
72
|
-
createBankAccount(country: Country, fiat: Fiat, accountNumber: string, swiftCode?: string): Promise<BankAccount>;
|
|
72
|
+
createBankAccount(country: Country, fiat: Fiat, accountNumber: string, swiftCode?: string, notes?: string): Promise<BankAccount>;
|
|
73
73
|
getPaymentMethods(fiat: Fiat, country: Country): Promise<PaymentMethod[]>;
|
|
74
74
|
getBankAccounts(): Promise<BankAccount[]>;
|
|
75
75
|
getSupportedPayoutMethods(fiat: Fiat, country: Country): Promise<PayoutMethod[]>;
|
|
@@ -240,13 +240,14 @@ class RioClient {
|
|
|
240
240
|
return response.data;
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
createBankAccount(country, fiat, accountNumber, swiftCode) {
|
|
243
|
+
createBankAccount(country, fiat, accountNumber, swiftCode, notes) {
|
|
244
244
|
return __awaiter(this, void 0, void 0, function* () {
|
|
245
245
|
const response = yield this.axios.post(`/api/bank/accounts`, {
|
|
246
246
|
country,
|
|
247
247
|
fiat,
|
|
248
248
|
accountNumber,
|
|
249
249
|
swiftCode,
|
|
250
|
+
notes,
|
|
250
251
|
});
|
|
251
252
|
return response.data;
|
|
252
253
|
});
|