CreddotDocsCreddot Docs

Validate a payout recipient

Requires payouts:create. Uses the environment on the API key and Paga Business Validate Deposit to Bank. Simulated sandbox behavior is available only when PAGA_SANDBOX_SIMULATE=true.

POST
/api/v1/payouts/recipients/validate

Requires payouts:create. Uses the environment on the API key and Paga Business Validate Deposit to Bank. Simulated sandbox behavior is available only when PAGA_SANDBOX_SIMULATE=true.

Authorization

api-key
headerx-api-key<token>

Your API key: ck_test_... for test mode, ck_live_... for live. Send it with x-api-secret (or Authorization: Bearer ).

Header Parameters

x-api-secret?string

Recommended: API secret sent over HTTPS. You may send it as Authorization: Bearer instead. If supplied, x-timestamp and x-signature are not required.

x-timestamp?string

Legacy signed mode: Unix time in milliseconds; maximum clock skew five minutes.

x-signature?string

Legacy signed mode: HMAC-SHA256(secret, timestamp.METHOD.url.idempotencyKey.bodyHash).

x-idempotency-key*string

1–128 letters/digits or ._:-. Same key and payload replay for 24 hours; conflicting, in-flight, or expired keys return 409. Never change a key to retry an uncertain payment.

Request Body

application/json
  1. body
bankCode*string

Bank code supplied by the connected banking provider.

accountNumber*string
amountMinor?string

Amount in minor units used by Paga to calculate transfer fees during validation.

Default"100"
currency?string
Default"NGN"

Response Body

application/json
  1. response
valid*boolean
bankCode*string
accountNumberMasked*string
accountName*string|null
provider*string
simulated*boolean

True only for the simulated sandbox validation response.

feeMinor*|

Estimated Paga fee in minor units.

message*string|null
Example Request
curl -X POST 'https://api.creddot.com/api/v1/payouts/recipients/validate' \  -H 'x-idempotency-key: string' \  -H 'Content-Type: application/json' \  -d '{  "bankCode": "044",  "accountNumber": "0123456789"}'
Example Response
{  "valid": true,  "bankCode": "044",  "accountNumberMasked": "******6789",  "accountName": "Sandbox Account 6789",  "provider": "PAGA",  "simulated": true,  "feeMinor": "5000",  "message": "string"}