Create a customer
Creates a customer. If one with the same email, phone number or ID document already exists, that customer is returned instead, so retries are safe.
Authorizations
Your workspace client id.
All calls must include four headers:
X-Auth-Client— your workspace client idX-Auth-Timestamp— Unix secondsX-Auth-Nonce— 16-byte random hexX-Auth-Signature— hex(HMAC-SHA256({client_id}:{timestamp}:{nonce}:{raw_body}, client_secret))
The playground computes the timestamp, nonce and signature for you.
Your sandbox client secret. The playground uses it to sign the request in your browser and removes it before the request is sent. Never send your client secret as a header in your own integration.
Body
individual, business, team_member Email address.
255City.
100Company name.
200ISO 3166-1 alpha-3 country code.
3YYYY-MM-DD.
International dial code, for example +234.
5"+234"
First name.
100Number on the identity document.
50passport, drivers_license, national_id, bvn, nin, vnin, voters_card, ghana_card Last name.
100Address line 1.
200A JSON object encoded as a string. Stored but never returned.
Phone number without the dial code.
20Postal code.
20Business registration (RC) number; required for business customers, 4 to 50 characters.
50State.
100Response
Created, or the existing customer that matches the details.
Successful responses are wrapped in this envelope, and so are errors a handler answers itself (request body and field validation, some not-found and conflict cases, ORG_NOT_ACTIVE): success is false and error carries a code and message. Errors raised by authentication and by the services behind a handler are a Problem instead.
true on success
When the response was written.
The payload; its shape is given per operation. Omitted when there is none.
Human-readable summary; omitted when empty.
List metadata. Page lists set page, per_page, total and total_pages; offset and cursor lists set limit, offset, has_more and next_cursor. Zero and empty fields are omitted, and metadata is absent when nothing is set.
Set on error envelopes: the request's correlation id (req_ followed by a UUID), the same value as the X-Correlation-ID response header. Quote it to support.