From e834f0fb63da2ba8a08678664e3bb77f3da53d43 Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Sat, 25 Jul 2020 15:58:33 -0400 Subject: move refund_delay in POST orders and add refundable in GET orders --- core/api-merchant.rst | 9 +++++++-- 1 file 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; } -- cgit v1.2.3