@riocrypto/common 1.0.888 → 1.0.889
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.
|
@@ -62,7 +62,7 @@ export declare class RioClient {
|
|
|
62
62
|
createOrder(order: OrderInput): Promise<Order>;
|
|
63
63
|
cancelOrder(id?: string): Promise<Order>;
|
|
64
64
|
getOrder(id: string): Promise<Order>;
|
|
65
|
-
createBankPayout(oid: string,
|
|
65
|
+
createBankPayout(oid: string, bankAccountId: string): Promise<BankPayout>;
|
|
66
66
|
getBankPayout(orderId: string): Promise<BankPayout>;
|
|
67
67
|
getBridgeOnboardingLinks(userId: string): Promise<{
|
|
68
68
|
tosLink: string;
|
|
@@ -197,12 +197,11 @@ class RioClient {
|
|
|
197
197
|
return response.data;
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
createBankPayout(oid,
|
|
200
|
+
createBankPayout(oid, bankAccountId) {
|
|
201
201
|
return __awaiter(this, void 0, void 0, function* () {
|
|
202
202
|
const response = yield this.axios.post(`/api/payouts/bank`, {
|
|
203
203
|
orderId: oid,
|
|
204
|
-
|
|
205
|
-
swiftCode,
|
|
204
|
+
bankAccountId,
|
|
206
205
|
});
|
|
207
206
|
return response.data;
|
|
208
207
|
});
|