Aller au contenu
Chargement des API keys…
Authorization<token>

A public key (pk./pk_test.) is accepted on /payments, /customers, /links, /invoices and the catalogue reads (/channels, /providers, /countries, /currencies); anything that moves money out, reads the balance or manages the account answers 406 to it. It is an identifier, never an authorization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.

In: header

Path Parameters

idstringrequired

The subaccount `id`.

Request Body

multipart/form-data

full_namestringrequired

The seller's name as the document prints it.

document_type"national_id" | "passport" | "driving_license" | "residence_permit"required

`national_id`, `passport`, `driving_license` or `residence_permit`.

"national_id""passport""driving_license""residence_permit"
document_numberstringrequired

The document's number, 4 to 64 characters.

birth_datestringrequired

The seller's date of birth, `YYYY-MM-DD`.

document_expires_atstring | null

The document's expiry date, `YYYY-MM-DD`: an expired document is refused.

documentstringrequired

The document's picture or scan: JPG, PNG or PDF, 10 MB at most, readable (500 pixels on its shorter side).

Response Body

application/json

application/json

application/json

curl -X POST "https://api.wajub.com/accounts/acc_Gt6yU3nE8rM1kS5vX9bQ/identity" \  -F full_name="Ada Mbarga" \  -F document_type="national_id" \  -F document_number="112233445" \  -F birth_date="1990-04-12" \  -F document="string"
POST
/accounts/{id}/identity
{  "code": 201,  "status": "Created",  "message": "Identity document received",  "identity": {    "status": "pending",    "document_type": "national_id",    "submitted_at": "2026-11-19T10:00:00+00:00"  }}

Created

Que pensez-vous de ce contenu ?