taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 77a3d6f14d7ac9fb6a62dd5e052538f2a7d7cd0c
parent d238b215e5de5c929c0b128a74ab229afd7dfa81
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 28 Jul 2020 20:23:11 +0530

syntax

Diffstat:
Mtaler-wallet.rst | 50+++++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/taler-wallet.rst b/taler-wallet.rst @@ -658,41 +658,41 @@ Prepare Pay :Response: .. ts:def:: PreparePayResponse - type PreparePayResponse = - | PreparePayPaymentPossibleResponse - | PreparePayAlreadyConfirmedResponse - | PreparePayInsufficientBalanceResponse; + type PreparePayResponse = + | PreparePayPaymentPossibleResponse + | PreparePayAlreadyConfirmedResponse + | PreparePayInsufficientBalanceResponse; - interface PreparePayPaymentPossibleResponse { - status: "payment-possible"; + interface PreparePayPaymentPossibleResponse { + status: "payment-possible"; - proposalId: string; + proposalId: string; - // Verbatim contract terms as generated by the merchant. - contractTermsRaw: any; - } + // Verbatim contract terms as generated by the merchant. + contractTermsRaw: any; + } - interface PreparePayInsufficientBalanceResponse { - status: "insufficient-balance"; + interface PreparePayInsufficientBalanceResponse { + status: "insufficient-balance"; - proposalId: string; + proposalId: string; - // Verbatim contract terms as generated by the merchant. - contractTermsRaw: any; - } + // Verbatim contract terms as generated by the merchant. + contractTermsRaw: any; + } - interface PreparePayAlreadyConfirmedResponse { - status: "already-confirmed"; + interface PreparePayAlreadyConfirmedResponse { + status: "already-confirmed"; - proposalId: string; + proposalId: string; - // Did the payment succeed? - paid: boolean; + // Did the payment succeed? + paid: boolean; - // Redirect URL for the fulfillment page, - // only given if paid==true. - nextUrl?: string; - } + // Redirect URL for the fulfillment page, + // only given if paid==true. + nextUrl?: string; + } Confirm Payment