summaryrefslogtreecommitdiff
path: root/taler-wallet.rst
diff options
context:
space:
mode:
Diffstat (limited to 'taler-wallet.rst')
-rw-r--r--taler-wallet.rst50
1 files changed, 25 insertions, 25 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 12fee3c..ab20438 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