cURL
curl --request POST \ --url https://api.railsfromthecrypt.com/v1/banks/lookup \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "account_number": "1234567890", "bank_code": "044" } '
{ "message": "Account lookup successful", "data": { "account_number": "1234567890", "account_name": "John Doe", "bank_name": "Wema Bank" } }
Lookup an account by account number and bank code
API key for authentication
"1234567890"
"044"
Account lookup successful
"Account lookup successful"
Show child attributes