Skip to main content
POST
/
v1
/
banks
/
resolve
Resolve bank account
curl --request POST \
  --url https://api.daya.co/v1/banks/resolve \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "account_number": "<string>",
  "bank_code": "<string>"
}
'
{
  "account_number": "1234567890",
  "account_name": "JOHN DOE"
}

Overview

Verify that a bank account number is valid and retrieve the account holder’s name. Use this before creating a recipient to confirm account details with the user.

Authentication

X-Api-Key
string
required
Your merchant API key

Request Body

account_number
string
required
Bank account number to verify (typically 10 digits)Example: 1234567890
bank_code
string
required
Bank code from the List Banks endpointExample: 044

Request Examples

{
  "account_number": "1234567890",
  "bank_code": "044"
}

Response

account_number
string
required
The verified bank account number
account_name
string
required
The account holder’s full name as registered with the bank

Success Response

{
  "account_number": "1234567890",
  "account_name": "JOHN DOE"
}

Error Responses

{
  "error": {
    "code": "validation_failed",
    "message": "Validation failed",
    "details": "account_number is required"
  }
}

Next Steps

List Supported Banks

Get bank codes to use with this endpoint

List Payouts

View payout history for your merchant