Skip to main content

Bank

List supported banks, resolve account numbers, and validate customer bank account details via $paystack->miscellaneous->bank.

List Supported Banks​

Retrieve a list of all banks and financial institutions supported by Paystack for a given country.

$response = $paystack->miscellaneous->bank->list([
'country' => 'nigeria',
]);
ParameterTypeDescription
countrystringCountry name to filter banks (e.g., nigeria, ghana, south africa, kenya).
use_cursorboolSet to true to enable cursor-based pagination.
perPageintNumber of bank records to retrieve per page (default: 50).

Resolve Account Number​

Verify that an account number belongs to a valid bank account and retrieve the registered account name.

$response = $paystack->miscellaneous->bank->resolve([
'account_number' => '0123456789',
'bank_code' => '058',
]);
Test Mode Behavior

In Paystack's test environment (sk_test_...), account resolution rate-limits live bank lookups. Use Paystack's test bank code 001 with any 10-digit account number during local development to avoid hitting daily test resolution caps.


Validate Bank Account​

Confirm the authenticity of a customer's bank account against government-issued identity records (supported for South African accounts).

$response = $paystack->miscellaneous->bank->validate([
'account_name' => 'John Doe',
'account_number' => '0123456789',
'account_type' => 'personal',
'bank_code' => '632005',
'country_code' => 'ZA',
'document_type' => 'identityNumber',
'document_number' => '1234567890123',
]);
ParameterTypeRequiredDescription
account_namestringYesCustomer's full legal name on the account.
account_numberstringYesCustomer's bank account number.
account_typestringYesAccount classification: personal or business.
bank_codestringYesBank code from the supported banks list.
country_codestringYesTwo-letter ISO country code (e.g., ZA).
document_typestringYesIdentity document type: identityNumber, passportNumber, or businessRegistrationNumber.
document_numberstringYesCustomer's identity or registration number.