@riocrypto/common 1.0.792 → 1.0.793
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.
|
@@ -104,6 +104,7 @@ export declare class RioAdminClient {
|
|
|
104
104
|
}>;
|
|
105
105
|
getPaymentMethods(fiat: Fiat, country: Country): Promise<PaymentMethod[]>;
|
|
106
106
|
getBankAccounts(page: number, limit: number): Promise<BankAccount[]>;
|
|
107
|
+
getBankAccount(id: string): Promise<BankAccount>;
|
|
107
108
|
getSupportedPayoutMethods(fiat: Fiat, country: Country): Promise<PayoutMethod[]>;
|
|
108
109
|
getPartner(partnerId: string): Promise<Partner>;
|
|
109
110
|
createKushkiPayment(orderId: string, token: string): Promise<{
|
|
@@ -362,6 +362,12 @@ class RioAdminClient {
|
|
|
362
362
|
return response.data;
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
|
+
getBankAccount(id) {
|
|
366
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
367
|
+
const response = yield this.axios.get(`/api/bank/accounts/${id}`);
|
|
368
|
+
return response.data;
|
|
369
|
+
});
|
|
370
|
+
}
|
|
365
371
|
getSupportedPayoutMethods(fiat, country) {
|
|
366
372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
367
373
|
const response = yield this.axios.get(`/api/payout-methods?fiat=${fiat}&country=${country}`);
|