@riocrypto/common 1.0.795 → 1.0.796
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.
|
@@ -89,6 +89,7 @@ export declare class RioClient {
|
|
|
89
89
|
createVerificationLink(userId: string, firstName: string, lastName: string): Promise<string>;
|
|
90
90
|
getPaymentMethods(fiat: Fiat, country: Country): Promise<PaymentMethod[]>;
|
|
91
91
|
getBankAccounts(page: number, limit: number): Promise<BankAccount[]>;
|
|
92
|
+
getBankAccount(id: string): Promise<BankAccount>;
|
|
92
93
|
getSupportedPayoutMethods(fiat: Fiat, country: Country): Promise<PayoutMethod[]>;
|
|
93
94
|
getPartner(partnerId: string): Promise<Partner>;
|
|
94
95
|
createKushkiPayment(orderId: string, token: string): Promise<{
|
|
@@ -314,6 +314,12 @@ class RioClient {
|
|
|
314
314
|
return response.data;
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
|
+
getBankAccount(id) {
|
|
318
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
319
|
+
const response = yield this.axios.get(`/api/bank/accounts/${id}`);
|
|
320
|
+
return response.data;
|
|
321
|
+
});
|
|
322
|
+
}
|
|
317
323
|
getSupportedPayoutMethods(fiat, country) {
|
|
318
324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
319
325
|
const response = yield this.axios.get(`/api/payout-methods?fiat=${fiat}&country=${country}`);
|