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.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index b72a260e..4b478b37 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -647,8 +647,6 @@ Payment processing
The request must be a `PostOrderRequest`.
- :query refund_delay: *Optional*. If set, must be a relative time. The backend will then set the refund deadline to the current time plus the specified delay.
-
**Response:**
:status 200 OK:
@@ -671,6 +669,10 @@ Payment processing
// order detail, but can override all
order: Order;
+ // if set, the backend will then set the refund deadline to the current
+ // time plus the specified delay.
+ refund_delay?: RelativeTime;
+
// specifies the payment target preferred by the client. Can be used
// to select among the various (active) wire methods supported by the instance.
payment_target?: string;
@@ -822,6 +824,9 @@ Payment processing
// the summary of the order
summary: string;
+
+ // whether some part of the order is refundable
+ refundable: boolean;
}