diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-28 20:23:11 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-28 20:23:11 +0530 |
commit | 77a3d6f14d7ac9fb6a62dd5e052538f2a7d7cd0c (patch) | |
tree | 9855a8b85f281de6dae15598f262af873cd5c114 /taler-wallet.rst | |
parent | d238b215e5de5c929c0b128a74ab229afd7dfa81 (diff) | |
download | docs-77a3d6f14d7ac9fb6a62dd5e052538f2a7d7cd0c.tar.gz docs-77a3d6f14d7ac9fb6a62dd5e052538f2a7d7cd0c.tar.bz2 docs-77a3d6f14d7ac9fb6a62dd5e052538f2a7d7cd0c.zip |
syntax
Diffstat (limited to 'taler-wallet.rst')
-rw-r--r-- | taler-wallet.rst | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst index 12fee3cd..ab204389 100644 --- 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 |