swag-payments/spec/definitions/PaymentStatus.yaml
Petr Kozorezov 0de2fa30c4
add error mapping draft (#168)
* add error mapping draft

* add werker 'dev' rule

* add 'dev' make target helper

* add merchant errors; refactor client errors

* update payment error type

* add payment error code descriptions

* update client payment errors list

* apply review comments

* apply review comments

* apply review comments

* apply review comments

* apply review comments

* apply review comments
2018-04-02 11:40:30 +03:00

17 lines
277 B
YAML

type: object
required:
- status
properties:
status:
description: Статус платежа
type: string
enum:
- pending
- processed
- captured
- cancelled
- refunded
- failed
error:
$ref: '#/definitions/PaymentError'