GET
/
external
/
banks
Fetch Banks
curl --request GET \
  --url https://direct-pub-api.directgh.com/api/v1/external/banks \
  --header 'Authorization: <api-key>'
[
"Ghana Commercial Bank",
"Barclays Bank Ghana",
"Access Bank Ghana",
"Eco Bank Ghana",
"Standard Chartered Bank Ghana",
"FirstBank Ghana",
"UBA Ghana",
"Zenith Bank Ghana",
"GTB Ghana",
"Fidelity Bank Ghana"
]

Authorizations

Authorization
string
header
required

HMAC signature authentication. The Authorization header must contain your public key and HMAC signature in the format: public_key:signature

Format: Authorization: public_key:signature

Example: Authorization: pub_abc123xyz:abc123def456ghi789...

The signature is generated by creating an HMAC hash of the request body (JSON stringified) using your secret key for POST/PUT requests. For GET requests, the signature is generated using the query parameters (JSON stringified) instead of the request body. Contact your account manager to obtain your public key and secret key for generating signatures.

Response

Banks fetched successfully