commit d71b4e497b93a3f06a4b346d37dabe1351b07b7b parent ba934cc1ef9158bf0178f6d722bab2eb911583a5 Author: Florian Dold <florian.dold@gmail.com> Date: Mon, 30 Mar 2020 16:22:33 +0530 document applyRefund api for wallet-core Diffstat:
| M | taler-wallet.rst | | | 20 | ++++++++++++++++++-- |
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/taler-wallet.rst b/taler-wallet.rst @@ -77,8 +77,24 @@ Android Wallet APIs and Data Formats ===================== -*TBD.* - +Refunds +------- + +:name: ``"applyRefund"`` +:description: Process a refund from a ``taler://refund`` URI. +:request: + .. ts:def:: WalletApplyRefundRequest + + interface WalletApplyRefundRequest { + talerRefundUri: string; + } +:response: + .. ts:def:: WalletApplyRefundResponse + + interface WalletApplyRefundResponse { + // Identifier for the purchase that was refunded + contractTermsHash: string; + } Integration Test Example