Create a customer
Creates a customer under the authenticated partner tenant. Returns 201 Created on creation, or 200 OK on an idempotent replay. Idempotent on the Idempotency-Key header: replaying the same key returns the original customer with created: false instead of creating a duplicate.
Authorizations
Partner API key. Send the raw key as the Authorization header value — e.g. dk_test_… in sandbox or dk_live_… in production. Generate and rotate keys in the doola Partner Portal.
Headers
Unique key that makes the create safe to retry. Reuse the same value to retry; use a fresh value after a 4xx.
Body
Request body to create a customer under your partner tenant.
Customer email address.
"founder@example.com"
Customer legal first name.
"Ada"
Customer legal last name.
"Lovelace"
ISO 3166-1 alpha-3 country of residence (e.g. USA).
"USA"
Customer phone number in E.164 format. Optional.
"+12125550100"