cURL
curl --request POST \ --url https://carbonapistagingsecure.getcarbon.co/baas/api/v1/banks/resolve \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --header 'x-carbon-key: <x-carbon-key>' \ --data '{ "number": "Provide account number", "code": "Provide bank code" }'
{ "status": "success", "message": "resolve was successfully", "data": { "accountName": "DEMO CARBON BUSINESS", "accountNumber": "6009490194", "bank": { "code": "565", "name": "Carbon Microfinance Bank" }, "uptime": 100 } }
Resolve account details using the bank code and account number
POST /v1/banks/resolve
x-carbon-key: <your_api_key>
{ "number": "1234567890", "code": "058" }
{ "status": "success", "message": "resolve was successfully", "data": { "accountName": "John Doe", "accountNumber": "1234567890", "bank": { "code": "058", "name": "Guarantee Trust Bank" }, "uptime": 100 } }
Provide your API key in the 'apikey' header.
Provide the required values for the request body.
The body is of type object.
object
OK
The response is of type object.