From ae177549a5818e2698253ef17a11b1effbd66fdb Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 22 Jan 2018 01:12:08 +0100 Subject: implement flicker-free refunds --- src/webex/wxApi.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/webex/wxApi.ts') 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 { export function downloadProposal(url: string): Promise { return callBackend("download-proposal", { url }); } + +/** + * Download a refund and accept it. + */ +export function acceptRefund(refundUrl: string): Promise { + return callBackend("accept-refund", { refundUrl }); +} -- cgit v1.2.3