Direct debit rejection notification

Contis API service notifies about direct debit rejection. The notification has:

The notification contains information about:

  • Account number, transaction amount and date of creation
  • The reason for rejection

Direct debit rejection notification parameters

CustomerNamestringName of the Customer.Blank

Parameters Type Description Default value
NotificationType string Three-digit unique identifier of notification. Numeric value “053” denotes the Direct Debit Rejection notification. Blank
CompanyName string Name of the company Blank
AccountNumber string Eight-digit account number. 00000000
BankTypeCode string Unique identifier of the bank. Maximum 34 characters.
Amount integer The amount transferred through Direct Debit. Blank
CreatedDate string The time and date of creation of the Direct Debit order. The format is yyyyMMddHHmmss. Blank
RejectionReason string The reason for rejection of Direct Debit payment. Blank
SecurityHash string String value generated through hash logic with all of the above parameters (To verify the values posted on URL) Blank

Example of direct debit rejection notification

This table shows an example notification for the rejection of a direct debit payment.

Parameter name Value
NotificationType 053
CustomerName Default_Name
CompanyName SATP Creditor
AccountNumber 00015526
BankTypeCode 39600
Amount 100
CreatedDate 20170927213756
RejectionReason Direct Debit feature is disabled
Security Hash 20712b3859734c4abd7c1a5e5b522198e8b182309529b456f09620000013b287

To generate the Security Hash

Hash sequence : NotificationType&CustomerName&CompanyName&AccountNumber&BankTypeCode&Amount&CreatedDate&RejectionReason&

HashDataString : 053&Default_Name&SATP Creditor&00015526&39600&100&20170927213756&Direct Debit feature is disabled&
SecurityKey : abcdefghijklmnop
HashGenerationData : HashDataString + SecurityKey
Hash : 20712b3859734c4abd7c1a5e5b522198e8b182309529b456f09620000013b287

JSON Example

{   
   "NotificationType" : "053", 
   "CustomerName" : "Default_Name",
   "CompanyName" : "SATP Creditor",
   "AccountNumber" : "00015526",
   "BankTypeCode" : "39600",
   "Amount" : "100",
   "CreatedDate" : "20170927213756",
   "RejectionReason" : "Direct Debit feature is disabled",
   "SecurityHash" : "20712b3859734c4abd7c1a5e5b522198e8b182309529b456f09620000013b287"
}