diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-01-22 01:12:08 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-01-22 01:12:08 +0100 |
commit | ae177549a5818e2698253ef17a11b1effbd66fdb (patch) | |
tree | 7ac7765d2af595b1d22367740d88a397b6b9868a /src/webex/wxApi.ts | |
parent | 1671d9a508b803af31762bcd9508e70eb40e7b48 (diff) | |
download | wallet-core-ae177549a5818e2698253ef17a11b1effbd66fdb.tar.xz |
implement flicker-free refunds
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r-- | src/webex/wxApi.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index 566f45265..8a7bf8250 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -363,3 +363,10 @@ export function talerPay(msg: any): Promise<void> { export function downloadProposal(url: string): Promise<number> { return callBackend("download-proposal", { url }); } + +/** + * Download a refund and accept it. + */ +export function acceptRefund(refundUrl: string): Promise<string> { + return callBackend("accept-refund", { refundUrl }); +} |