Specification

CDV

Check Digit Verification

Request

Verify bank account numbers.

Path

POST /cdv

Request Body

{
  "records": [{
    "bank_branch_code": "051001",
    "bank_account_number": "10004291601",
    "bank_account_type_lookups_id": "loo_abc123..."
  }]
}

Request Parameters

Field
RequiredType
Description
Example
*.bank_account_numberYString(17)Bank account number to be collected from10004291601
*.bank_account_type_lookups_idYString(32)Lookups ID relating to a bank account e.g. Cheque. Lookups type must be 'Bank Account'loo_abc123...
*.bank_branch_codeYIntegerBank branch code for the account number632005

Response Body

{
    "status": true,
    "results": [{
      "passed": true,
      "bank_branch_code": "051001",
      "bank_account_number": "10004291601",
      "bank_account_type_lookups_id": "68a867b92289b4423ea853e0b1cd1013",
      "modified_bank_account_number": null,
      "warning": null,
      "error": null
    }, ...]
}

Response Parameters

Field
Type
Description
Example
*.passedBooleantrue - The bank account number is validtrue
*.bank_account_numberString(17)Bank account number to be collected from10004291601
*.bank_account_type_lookups_idString(32)Lookups ID relating to a bank account e.g. Cheque. Lookups type must be 'Bank Account'loo_abc123...
*.bank_branch_codeIntegerBank branch code for the account number632005
*.modified_bank_account_numberString(17)Some bank accounts numbers need to be modified before submitting to the bank. Like dropping the most significant bit for Unibank. If this field is not null you should use this bank account number for making payments instead.
*.warningString(128)Any warning messages associated with this bank accountDebits into savings is not allowed
*.errorString(128)Any formatting error preventing the CDV from being calculated.Invalid branch code range

Copyright © 2024 Kwik