Skip to main content
POST
/
payments
/
bank-validation
/
validate-nigerian-account
Validate Nigerian bank account
curl --request POST \
  --url https://prod-api.pcxpay.com/v1/payments/bank-validation/validate-nigerian-account \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "accountNumber": "0001234567",
  "bankCode": "058"
}
'
{
  "success": true,
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.pcxpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
default:NONE
required

Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.

Example:

"Bearer eyJraWQ..."

X-Api-Key
string
default:NONE
required

API key for server-to-server flows, or the literal string NONE when authenticating via JWT.

Example:

"pcx_abc123_xxxx"

Body

application/json
accountNumber
string
required
Example:

"0001234567"

bankCode
string
required

Paystack bank code (e.g. "058" for GTBank)

Example:

"058"

Response

Account validation result

success
boolean
data
object