Account Name Verification
Verify a bank account or mobile money number before initiating a transfer.
This endpoint returns the registered account name when the verification is successful. It is recommended to call this endpoint before bank_transfer.
Endpoint
POST https://backendapi.sayswitchgroup.com/api/v1/account_name_verifyHeaders
Authorization: Bearer YOUR_SECRET_KEY
Content-Type: application/jsonRequest Body
{
"bank_code": "MTNGH",
"account_number": "233000000000",
"currency": "GHS"
}For Kenya, pass KES as the currency:
{
"bank_code": "BANK_OR_MOMO_CODE",
"account_number": "BENEFICIARY_ACCOUNT_OR_PHONE",
"currency": "KES"
}Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bank_code | String | Yes | Bank or mobile money provider code |
account_number | String | Yes | Account or phone number to verify |
currency | String | Yes | Currency code. Use KES or GHS |
Sample cURL
curl -X POST "https://backendapi.sayswitchgroup.com/api/v1/account_name_verify" \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"bank_code": "MTNGH",
"account_number": "233000000000",
"currency": "GHS"
}'Success Response
{
"bank_code": "MTNGH",
"account_number": "233245690993",
"currency": "GHS"
}Failure Response
{
"success": false,
"message": "Name query failed"
}