Notifications & Subscriptions
Notifications¶
It is important to be informed about each card transaction and have access to card information at any time, so we provide our customers with several ways to communicate with their clients on any device. A notification is a message that is sent to a cardholder’s device to provide them with card status changes, communication about transactions, or other timely information from the partner or DECTA.
Supported notification events for issuers:
| Events | Card type | Notification method | ||
|---|---|---|---|---|
| Virtual | Plastic | SMS | Push | |
| Remind card details | ||||
| 3D OTP | ||||
| Card Authorisation | ||||
| Token OTP | ||||
| Token Provisioning | ||||
| Remind PIN | ||||
| Token status change | ||||
Set-up of the notifications¶
Set-up of the notification type and events is done on DECTA side in accordance with service agreement and customer’s requirements during the customer project integration or upon customer’s request.
Push notification¶
Push notification is a webhook which are delivered to customer’s designated URLs in JSON format. As soon as a new event has happened, webhook is triggered and sent to the customer’s URL.
In order to benefit from this service and convert webhooks into push notifications to be sent to cardholder’s mobile devices the customer should implement web services in its infrastructure. If this web service uses basic authentication, the credentials should be provided to DECTA for configuration. The web service should be ready to receive HTTP POST calls with a payload in JSON format. Each call represents a separate event message received. If the partner is not available or receives an HTTP error, then DECTA will forward push notifications every 20 seconds for 24 hours.
Event types for push notifications¶
3D OTP push description¶
E3D_OTP event delivers one-time passcode required for 3DS online purchase confirmation.
Example request:
Card Authorisation push description¶
CARD_AUTHORISATIONS event delivers card authorisation details.
Example request:
Response must be sent only http status code with empty body!
All authorisations should be sent from the Processing System: e.g. successful, unsuccessful.
Token OTP push description¶
TOKEN_OTP event delivers one-time activation passcode required for the card enrollment confirmation into the wallet (Apple Pay, Google Pay).
Response must be sent only http status code with empty body!
Token Provisioning push description¶
TOKEN_PROVISIONING event delivers the tokenized card life cycle event. For example token is added to a wallet.
Response must be sent only http status code with empty body!
Token status change push description¶
TOKEN_STATUS_CHANGE event delivers the tokenized card status change.
Response must be sent only http status code with empty body!
Push fields description¶
| Field | Data type | Description |
|---|---|---|
| type* | string |
Notification Type |
| typeDesc* | string |
Notification type description |
| acquirerBin* | string |
Acquiring institution identification |
| time* | string |
Date and time, local transaction in 'YYYY-MM-DDTHH24:MI:SS' format |
| requestDate | string |
Date and time, local processing in 'YYYY-MM-DDTHH24:MI:SS' format |
| ppan* | string |
Pseudo card number |
| accountNumber | string |
DAPI card account |
| approvalCode | string |
Code, which is assigned by the authorizing institution and indicates approval |
| pointCode | string |
POS data code contains a series of codes intended to identify terminal capability, terminal environment and presentation security data |
| funcCode | string |
Functional code indicates the specific purpose of the message within its message class |
| procCode | string |
Processing Code is a series of digits used to describe the effect of a transaction on the customer account and the accounts affected |
| tranResp | string |
Authorisation response code defines the action taken or to be taken, as well as the reason for taking this action |
| stan | string |
Contains a number assigned by the transaction originator to uniquely identify a transaction |
| merchant.terminalId | string |
Card acceptor terminal identification |
| merchant.id | string |
Card acceptor identification |
| merchant.name | string |
Card acceptor name |
| merchant.categoryCode | string |
Merchant type. MCC code |
| merchant.country | string |
Merchant country |
| merchant.city | string |
Merchant city |
| amount.ccy | string |
Currency in ISO 4217 format |
| amount.value | string |
Amount value separated by comma |
| accountCcyAmount.ccy | string |
Account currency in ISO 4217 format |
| accountCcyAmount.value | string |
Amount value in account currency separated by comma |
| balanceBefore.ccy | string |
Account currency in ISO 4217 format |
| balanceBefore.value | string |
Account balance value separated by comma before operation |
| balanceAfter.ccy | string |
Account currency in ISO 4217 format |
| balanceAfter.value | string |
Account balance value separated by comma after operation |
| holdNumber | string |
Hold identifier unique on DAPI side |
| transactionId | string |
ACS transaction identification number |
| otp | string |
One-time passcode for 3D_OTP |
| wallet | string |
Mobile payment service wallet provider name as Apple pay, Google pay |
| tokenStatus | string |
S - Suspend D - Deactivate C - Resume |
| tokenOtp | string |
One-time passcode for TOKEN_OTP |
SMS notifications¶
SMS notifications are messages that sent directly to a cardholders mobile device. Default SMS language is English, but there is a possibility to set different language. For more details please contact your Account manager.
The target field is cardholder a mobile phone number which can be passed through POST /v1/api/cards/order or POST /v2/api/cards endpoint or changed using PUT /v1/api/clients/{clientId}/phone endpoint.
Remind card details SMS description¶
Reminds cardholder the middle part of PAN and CVC2/CVV2 of a virtual card to the cardholder's registered mobile phone number.
SMS text example:
3D OTP SMS description¶
Provides cardholder one-time password required for 3DS online purchase confirmation.
SMS text example:
Card Authorisation SMS description¶
Provides cardholder with card transaction autorization details and balance.
SMS text example:
Token OTP SMS description¶
Provides cardholder one-time activation code required for the card enrollment confirmation into the wallet (Apple Pay, Google Pay).
SMS text example:
Token Provisioning SMS description¶
Provides cardholder with tokenized card status change.
SMS text example:
Remind PIN SMS description¶
Reminds cardholder the actual card’s PIN code.
SMS text example: