swag-payments/spec/definitions/PaymentFlowHold.yaml
Andrew Mayorov 0dcdfc204d HG-237: Provide payment hold facility (#102)
* HG-236: readOnly added for heldUntil (#85)

* HG-236: readOnly added for heldUntil

* HG-236: heldUntil should be optional

* HG-236: Code 202 for CapturePayment and CancelPayment

* HG-236: Default for PaymentFlow added (#92)

* MST-111: Add payment flow search (#94)
2017-08-29 19:15:47 +03:00

20 lines
592 B
YAML

type: object
allOf:
- $ref: '#/definitions/PaymentFlow'
- type: object
required:
- onHoldExpiration
properties:
onHoldExpiration:
description: Политика управления удержанием денежных средств
type: string
default: cancel
enum:
- cancel
- capture
heldUntil:
description: 'Дата и время, до которого происходит удержание денежных средств'
type: string
format: date-time
readOnly: true