diff --git a/src/document/openapi/cn/components_order.yml b/src/document/openapi/cn/components_order.yml index 651cdd86c..a3caa0703 100644 --- a/src/document/openapi/cn/components_order.yml +++ b/src/document/openapi/cn/components_order.yml @@ -228,6 +228,11 @@ refundStatus: description: 币种 example: AUD + settlement_date: + type: string + format: date + pattern: yyyy-mm-dd + description: 预期清算日期(可能受到账情况、节假日影响)(yyyy-MM-dd),仅退款成功存在(SUCCESS, FINISHED) transactionItem: type: object properties: diff --git a/src/document/openapi/cn/document.yml b/src/document/openapi/cn/document.yml index 317eeb013..a82272519 100644 --- a/src/document/openapi/cn/document.yml +++ b/src/document/openapi/cn/document.yml @@ -1056,7 +1056,15 @@ paths: transactions: type: array items: - $ref: 'components_order.yml#/transactionItem' + allOf: + - $ref: 'components_order.yml#/transactionItem' + - type: object + properties: + settlement_date: + type: string + format: date + pattern: yyyy-mm-dd + description: 预期清算日期(可能受到账情况、节假日影响)(yyyy-MM-dd) /gateway/partners/{partner_code}/settlements: get: summary: 查看清算详情 diff --git a/src/document/openapi/en/components_order.yml b/src/document/openapi/en/components_order.yml index a46973900..934286a67 100644 --- a/src/document/openapi/en/components_order.yml +++ b/src/document/openapi/en/components_order.yml @@ -225,6 +225,11 @@ refundStatus: type: string example: AUD + settlement_date: + type: string + format: date + pattern: yyyy-mm-dd + description: target settlement date, maybe delay due to holidays and bank issues(yyyy-MM-dd). only exists when status is SUCCESS or FINISHED transactionItem: type: object properties: diff --git a/src/document/openapi/en/document.yml b/src/document/openapi/en/document.yml index cbbfc515e..3f39a4ed6 100644 --- a/src/document/openapi/en/document.yml +++ b/src/document/openapi/en/document.yml @@ -1075,7 +1075,15 @@ paths: transactions: type: array items: - $ref: 'components_order.yml#/transactionItem' + allOf: + - $ref: 'components_order.yml#/transactionItem' + - type: object + properties: + settlement_date: + type: string + format: date + pattern: yyyy-mm-dd + description: target settlement date, maybe delay due to holidays and bank issues(yyyy-MM-dd) /gateway/partners/{partner_code}/settlements: get: summary: 查看清算详情