The following notifications will be sent to partner system. Please provide us with URLs which will be responsible in every notification.
Accepts the following message:
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. The partner may choose an appropriate way to convey this information, be it an SMS or a push notification. Our service provides the parameters of the message, but not the message itself, so the partners may create their own customized templates.
A partner may structure the messages according to the following templates:
Notification type | Conditions for the notification | Notification structure |
---|---|---|
Load money | status = 2, type/code = 1 | Card [$cardId] has been loaded [$merchant/amount] [$merchant/currency] [$merchantName]. Balance [$otb] [$card/currency]. [$authDate] [$authTime] |
Purchase | status = 2, type/code = 0 | Card [$cardId]. Purchase [$merchant/amount] [$merchant/currency] [$merchantName]. Balance [$otb] [$card/currency]. [$authDate] [$authTime] |
Denial of operation | status = 0, type/code IN {0,1} | Card [$cardId]. Transaction [$merchant/amount] [$merchant/currency] refused by Card Issuer at [$merchantName]. [$authDate] [$authTime] |
Cancellation of payments for goods and services | status = 1, type/code = 3 | Card [$cardId]. Transaction cancelled [$merchant/amount] [$merchant/currency] [$merchantName]. Balance [$otb] [$card/currency]. [$authDate] [$authTime] |
{
"cardId": "string",
"walletId": "string",
"notification": {
"uuid": "string",
"status": "string",
"type": {
"code": "string",
"direction": "string",
"description": "string"
},
"mcc": 0,
"authDate": "2019-08-24",
"authTime": "18:30:15",
"postingDate": "string",
"authCode": "string",
"rrn": 0,
"merchantId": 0,
"terminalId": 0,
"merchantName": "string",
"merchantCity": "VISA DIRECT",
"merchantSum": {
"amount": 0,
"currency": "string"
},
"cardSum": {
"amount": 0,
"currency": "string"
},
"authDescription": "Approved by Issuer",
"otb": 0
}
}
Accepts the following message:
WaaS partner will receive notification when payment in Profee system gets final status. If "state" is "SUCCESSFUL" payment considered successful. Otherwise, block "error" will contain error code and human readable message, describing error reason.
{
"paymentId": "string",
"walletId": "string",
"state": "SUCCESSFUL",
"error": {
"code": "string",
"description": "string"
}
}