summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-25 15:58:33 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-25 15:58:33 -0400
commite834f0fb63da2ba8a08678664e3bb77f3da53d43 (patch)
tree2637a4ee4278aa86246ca2ce3d0ab35fc4287e1c
parentb2deb4dcc3b09d40479573bde10e32e05971016b (diff)
downloaddocs-e834f0fb63da2ba8a08678664e3bb77f3da53d43.tar.gz
docs-e834f0fb63da2ba8a08678664e3bb77f3da53d43.tar.bz2
docs-e834f0fb63da2ba8a08678664e3bb77f3da53d43.zip
move refund_delay in POST orders and add refundable in GET orders
-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 b72a260..4b478b3 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;
}