add payment notification
parent
78e8cd2d43
commit
8113028bf2
|
@ -31,7 +31,7 @@ channels:
|
|||
name: Payment completed notification
|
||||
description: |
|
||||
WaaS partner will receive notification when payment in Profee system get final status.
|
||||
If block "error" is empty payment considered successful.
|
||||
If block "state" is SUCCESSFUL payment considered successful.
|
||||
Otherwise, block "errors" will contain error code and human readable message, describing error reason.
|
||||
components:
|
||||
messages:
|
||||
|
@ -139,9 +139,13 @@ components:
|
|||
walletId:
|
||||
type: string
|
||||
description: Wallet ID
|
||||
state:
|
||||
type: string
|
||||
description: State of payment processing. Can be SUCCESSFUL or FAILED
|
||||
example: SUCCESSFUL
|
||||
error:
|
||||
type: object
|
||||
description: If empty payment completed successfully
|
||||
description: If payment FAILED contains error details
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
|
|
Loading…
Reference in New Issue