From 78e8cd2d430e7e1c527a3ee4219fe076753d102c Mon Sep 17 00:00:00 2001 From: Aleksandr Date: Tue, 15 Nov 2022 13:12:41 +0300 Subject: [PATCH] add payment notification --- async-api/site/index.html | 49 ++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 13 deletions(-) diff --git a/async-api/site/index.html b/async-api/site/index.html index efffda9..1e8a794 100644 --- a/async-api/site/index.html +++ b/async-api/site/index.html @@ -5,6 +5,7 @@ Profee WAAS Notificatioins API 1.0 documentation + @@ -12,7 +13,7 @@ -
Profee WAAS Notificatioins API 1.0

The following notifications will be sent to partner system. Please provide us with URLs which will be responsible in every notification.

+
Profee WAAS Notificatioins API 1.0

The following notifications will be sent to partner system. Please provide us with URLs which will be responsible in every notification.

Operations

  • PUB card/authorization

    Accepts the following message:

    Card operation notification

    WaaS partners receive notifications upon any attempt to make a card operation. These notifications are supposed to inform the customer on the operation status and the remaining balance, or they can state the reason for denial. These notifications have to be sent by the partner. @@ -48,12 +49,12 @@ Our service provides the parameters of the message, but not the message itself, Card [$cardId]. Transaction cancelled [$merchant/amount] [$merchant/currency] [$merchantName]. Balance [$otb] [$card/currency]. [$authDate] [$authTime] -

    object

    Examples

Messages

  • #1CardOperationNotificationDto
    object
  • PUB payment/notification

    Accepts the following message:

    Payment completed notification

    WaaS partner will receive notification when payment in Profee system get final status. +If block "error" is empty payment considered successful. +Otherwise, block "errors" will contain error code and human readable message, describing error reason.

    +
    object

    Examples

Messages

  • #1CardOperationNotificationDto
    object
  • #2PaymentCompletedNotificationDto
    object
@@ -143,7 +166,7 @@ Our service provides the parameters of the message, but not the message itself,