Create a customer
Creates a customer - the anchor resource that quotes, verifications, accounts, payout destinations, wallets, and transfers all reference. Supply type: individual with an individual block (including individual.tax_id) or type: business with a business block (including business.registration); the required identity is enforced server-side. The customer always starts status: pending and is verified separately (see POST /verifications). Accepts an optional Idempotency-Key (recommended). Returns the created Customer.
A customer already registered for your organization - through this API or through your onboarding link - is not created twice: the request returns 409 CUSTOMER_ALREADY_EXISTS (same tax identity) or CUSTOMER_EMAIL_ALREADY_EXISTS (same email), and error.details tells you which customer it is. When the existing customer was created through this API, details carries existing_source: api and existing_id - its ozav_cus_ id in the same environment as your key (use it with GET /customers/{customer_id}). details is omitted when that id cannot be resolved. When the existing customer came through your onboarding link, details carries existing_source: onboarding_link and existing_id (its customer id, or null while that registration is still under verification).
The record persists and reads back. Customer creation does not open a real wallet or bank account by itself. In sandbox, verification simulation can materialize simulated wallet and BRL/Pix account projections after approval; live provisioning requires enablement for your organization.
Request
- Base URLhttps://developers.ozav.io/v2
- Auth
- API key in header X-API-Key
- or HTTP bearer
Headers
Optional idempotency key (16-256 characters of [A-Za-z0-9_-]); same semantics as on money-moving operations.
Request body
Example request
{
"business": {
"cnae_codes": [
"6201-5/01"
]
}
}Response
Customer created.
Example response
{
"business": {
"cnae_codes": [
"6201-5/01"
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.