Account Number Validation

Table 1: Data Definition

Field NameData TypeDescriptionStateExample Value
typeintThe validation type: either 1 for mobile or 2 for bank.Mandatory1
systemTraceAuditNumberstringA unique number generated by the consumer for the transaction.Mandatory"325ac159-a4fe-472d-954d-7a6293dc1a84"
primaryAccountNumberstringThe account number to be validated.Mandatory"+254714653433"
institutionCodestringThe code for the institution (either mobile MCCMNC or bank code).Mandatory"63902"
callBackUrlstringThe webhook endpoint to receive notifications about validation.Mandatory"https://eo2j2658kmohqiy.m.pipedream.net"
callBackFormatstringThe format in which the notifications should be returned (e.g., JSON or XML).Mandatory"JSON"
ccystringThe currency in which the account is set.Optional"KES"
countryCodestringThe country code indicating where the account can transact.Optional"KE"


Summary:

  • Body Parameters are required for the POST request and contain information about the validation type, account number, institution, etc.
  • Response Examples show how the system might respond to success, failure, validation errors, and callbacks.

Let me know if you need further elaboration!