add payment notification
parent
78e8cd2d43
commit
8113028bf2
|
@ -31,7 +31,7 @@ channels:
|
||||||
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 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.
|
Otherwise, block "errors" will contain error code and human readable message, describing error reason.
|
||||||
components:
|
components:
|
||||||
messages:
|
messages:
|
||||||
|
@ -139,9 +139,13 @@ components:
|
||||||
walletId:
|
walletId:
|
||||||
type: string
|
type: string
|
||||||
description: Wallet ID
|
description: Wallet ID
|
||||||
|
state:
|
||||||
|
type: string
|
||||||
|
description: State of payment processing. Can be SUCCESSFUL or FAILED
|
||||||
|
example: SUCCESSFUL
|
||||||
error:
|
error:
|
||||||
type: object
|
type: object
|
||||||
description: If empty payment completed successfully
|
description: If payment FAILED contains error details
|
||||||
properties:
|
properties:
|
||||||
code:
|
code:
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Reference in New Issue