mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-06 09:35:22 +00:00
0de2fa30c4
* 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
17 lines
277 B
YAML
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'
|