Get Banks
GET /openbanking/banks
Description
Retrieves a list of banks available through the open banking system. This endpoint requires the tenantId and countryCode headers to filter the banks by tenant and region.
Headers:
| Name | Type | Description |
|---|---|---|
tenantId | string | (Required) The tenant ID associated with the request. |
countryCode | string | (Required) The country code to filter banks. |
Example Request:
curl -X GET "{{baseURL}}/openbanking/banks" \
-H "tenantId: [tenantId]" \
-H "countryCode: [countryCode]" \
-H "Authorization: Bearer [access_token]"
Sample Response
{
"status": true,
"statusCode": 0,
"message": "Banks retrieved successfully",
"data": {
// List of banks and their details
},
"errors": [
{
"message": "string",
"data": {},
"descriptiveMessage": "string"
}
]
}
LANGUAGE
CURL REQUEST
curl --request GET \
--url /openbanking/banks \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!