When there is a change in the status of the bank domicile validation, we will send a notification with the notification type parameters, seller identification (MerchantId
) and bank account data.
Example of bank details notification sent by Braspag:
{
"ChangeType": 21,
"MasterMerchantId": "96ffb8be-6693-4f9b-bf8e-925b555b3207",
"Data": {
"MerchantId": "4d76b525-e66d-402e-a318-5fd3ce1af7aa",
"MerchantType": "Subordinate",
"Status": 3,
"AccountNumber": "123",
"AccountDigit": "1",
"AgencyNumber": "3581",
"AgencyDigit": "x",
"CompeCode": "260",
"BankAccountType": 1,
"DocumentNumber": "45224563215",
"DocumentType": 2
}
}
PROPERTY | TYPE | SIZE | DESCRIPTION |
---|---|---|---|
ChangeType | Number | - | Notification type identifier number. For the bank domicile validation notification, the ChangeType is equal to “21”. |
MasterMerchantId | GUID | 36 | Master identification. |
Data.MerchantId | GUID | 36 | Seller ID. |
Data.MerchantType | Text | 14 | Merchant Type. Valid types are “Subordinate” or “Master”. |
Data.BankAccountValidationStatus | Number | 1 | Bank domicile analysis status. Valid statuses are: InternalError = 0; Created = 1; Processing = 2; Success = 3; Error = 4. |
Data.CompeCode | Text | 3 | Bank clearing code. See List of Compensation Codes. |
Data.BankAccountType | Text | 1 | Bank account type. Valid types are: 1 - “CheckingAccount” (checking account); 2 - “SavingsAccount”. |
Data.AccountNumber | Text | 10 | Seller's account number. |
Data.AccountDigit | Text | 1 | Seller's account check digit. |
Data.AgencyNumber | Text | 15 | Seller's agency number. Attention: Zero values such as “0”, “00”, “000” are invalid. |
Data.AgencyDigit | Text | 1 | Seller's agency digit. If the agency does not have a digit, enter the value “x”. |
Data.DocumentNumber | Text | 14 | Seller's account document number (numbers only). |
Data.DocumentType | Text | - | Document type. Valid types are “CPF” or “CNPJ”. |