Skip to Content
TransfersAccount Name Validation

Account Name Validation

The Account Name Validation endpoint allows you to validate the account name associated with a bank account number. This is useful for ensuring accuracy before initiating a transfer.

Endpoint

POST https://api.cashonrails.com/api/v1/account_name

Request Headers

HeaderTypeDescription
AuthorizationstringBearer token with your secret key

Sample cURL Request

curl -X POST https://api.cashonrails.com/api/v1/account_name \ -H "Content-Type: application/json" \ -d '{ "account_number": "0123456789", "bank_code": "000013", "currency": "NGN" }'

Request Body

ParameterTypeDescription
account_numberstringThe bank account number
bank_codestringThe bank code
currencystringThe currency code (e.g., NGN, USD)

Sample Request

{ "account_number": "0123456789", "bank_code": "000013", "currency": "NGN" }

Sample Response

{ "success": true, "status": "00", "message": "Account Found", "data": "John Doe" }
Last updated on