summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index cde9709b..7c5e097d 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1105,7 +1105,7 @@ Payment processing
// Details about why a refund failed.
interface MerchantAbortPayRefundFailureStatus {
// Used as tag for the sum type RefundStatus sum type.
- success: false;
+ type: "failure"
// HTTP status of the exchange request, must NOT be 200.
exchange_status: Integer;
@@ -1124,7 +1124,7 @@ Payment processing
// to the wallet and thus not included.
interface MerchantAbortPayRefundSuccessStatus {
// Used as tag for the sum type MerchantCoinRefundStatus sum type.
- success: true;
+ type: "success"
// HTTP status of the exchange request, 200 (integer) required for refund confirmations.
exchange_status: 200;
@@ -1219,7 +1219,7 @@ Payment processing
interface CheckPaymentPaidResponse {
// did the customer pay for this contract
- paid: true;
+ status: "paid";
// Was the payment refunded (even partially)
refunded: boolean;
@@ -1262,7 +1262,7 @@ Payment processing
.. ts:def:: CheckPaymentUnpaidResponse
interface CheckPaymentUnpaidResponse {
- paid: false;
+ status: "unpaid";
// URI that the wallet must process to complete the payment.
taler_pay_uri: string;
@@ -1409,7 +1409,7 @@ Payment processing
// Details about why a refund failed.
interface MerchantCoinRefundFailureStatus {
// Used as tag for the sum type RefundStatus sum type.
- success: false;
+ type: "failure";
// HTTP status of the exchange request, must NOT be 200.
exchange_status: Integer;
@@ -1439,7 +1439,7 @@ Payment processing
// to the wallet and thus not included.
interface RefundConfirmation {
// Used as tag for the sum type MerchantCoinRefundStatus sum type.
- success: true;
+ type: "success";
// HTTP status of the exchange request, 200 (integer) required for refund confirmations.
exchange_status: 200;