swag-payments/spec/definitions/RefundParams.yaml
Natalia Pulina c18c02055b
CAPI-240: Refund is enriched by the amount and currency (#162) (#163)
* CAPI-240: Refund is enriched by the amount and currency (#162)

* CAPI-240: Opportunity to do partial refund added

* CAPI-240: reason should be optional in RefundParams
2018-02-28 21:09:47 +03:00

19 lines
534 B
YAML

type: object
properties:
amount:
description: |
Сумма возврата, в минорных денежных единицах,
например в копейках в случае указания российских рублей в качестве
валюты.
type: integer
format: int64
minimum: 1
currency:
x-rebillyMerge:
- $ref: '#/definitions/Currency'
reason:
description: Причина совершения возврата
type: string
maxLength: 1000