Overview
This endpoint returns a comprehensive list of supported Nigerian banks and their corresponding codes. Use this endpoint to obtain the correct bank codes needed for bank transfers and account number resolution.Bank codes are required for:
- Validating account numbers
- Creating bank transfer beneficiaries
- Initiating bank transfers
Endpoint
Response Format
Array of bank objects containing:
Example Request
Example Response
Error Handling
401 - Unauthorized
401 - Unauthorized
403 - Forbidden
403 - Forbidden
Indicates insufficient permissions
- Verify your API key has correct permissions
- Check your account status
500 - Server Error
500 - Server Error
Indicates an internal server error
- Retry the request after a short delay
- Contact support if the error persists
Usage Tips
-
Cache Results
- Bank list changes infrequently
- Cache results for up to 24 hours
- Implement cache invalidation on errors
-
Error Handling
- Implement retry logic for failed requests
- Maintain a fallback bank list if needed
- Log any persistent errors
-
Data Validation
- Verify bank codes are 6 digits
- Handle missing or null values
- Validate against your supported banks list
Best Practices
To ensure reliable bank transfers:
- Always use current bank codes
- Refresh cached bank lists daily
- Validate codes before transactions
- Handle bank name variations
- Log any unrecognized bank codes