review fix

master
Aleksandr 2022-11-15 13:56:55 +03:00
parent d6a3839f4d
commit 76f0c52744
1 changed files with 5 additions and 5 deletions

View File

@ -30,9 +30,9 @@ channels:
$ref: '#/components/messages/PaymentCompletedNotificationDto' $ref: '#/components/messages/PaymentCompletedNotificationDto'
name: Payment completed notification name: Payment completed notification
description: | description: |
WaaS partner will receive notification when payment in Profee system get final status. WaaS partner will receive notification when payment in Profee system gets final status.
If "state" is SUCCESSFUL payment considered successful. If "state" is "SUCCESSFUL" payment considered successful.
Otherwise, block "errors" will contain error code and human readable message, describing error reason. Otherwise, block "error" will contain error code and human readable message, describing error reason.
components: components:
messages: messages:
CardOperationNotificationDto: CardOperationNotificationDto:
@ -141,11 +141,11 @@ components:
description: Wallet ID description: Wallet ID
state: state:
type: string type: string
description: State of payment processing. Can be SUCCESSFUL or FAILED description: State of payment processing. Can be "SUCCESSFUL" or "FAILED"
example: SUCCESSFUL example: SUCCESSFUL
error: error:
type: object type: object
description: If payment FAILED contains error details description: If payment "FAILED" contains error details
properties: properties:
code: code:
type: string type: string