cURL
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" }
Verify a bank account number and get the account holder’s name
1234567890
044
{ "account_number": "1234567890", "bank_code": "044" }
{ "error": { "code": "validation_failed", "message": "Validation failed", "details": "account_number is required" } }