Create an account holder
Opens a business or a person as an account holder of your platform. The account holder is not submitted for verification and issues no cards yet.
A business gets its own sign-in workspace and a default location at its
address. Add its people with POST /users.
A business onboards through hosted onboarding unless you set onboarding
to API, which needs the accountHolders:onboard permission.
A person is opened for the card program option you name in
cardProgramOptionId. The person becomes the account holder’s only user,
primaryUserId: a cardholder without a sign-in. The option must be a
person card product your platform offers.
Requires a platform API key. Do not send Account-Holder.
Authentication
Access token from POST /access-token. Valid for at most 30 minutes.
Headers
Your unique key for this operation: 1 to 255 visible ASCII characters, ideally a new UUID v4 for each operation. A value in double quotes is accepted and the quotes are removed. Retrying with the same key and the same request returns the first response with Idempotent-Replayed: true; the same key with a different request is refused with IDEMPOTENCY_KEY_REUSED. A key can be used again 30 days after its operation completes.
Your own correlation ID for this request. It is recorded with the request. The X-Request-Id response header is always generated by the server.
Request
Response headers
Remaining budget for each rate limit policy, for example "burst"; r=57; t=6 (requests remaining and seconds until the window resets).
The rate limit policies applied to this request, for example "burst"; q=60; w=10 (requests allowed per window of seconds).
Path of the resource, relative to the API host, for example /api/v2/embeddedSessions/0b6f3c1e-5d2a-4c8e-9a71-3f4d2e1b6c90.
Sent as true when this response repeats the first response to the same Idempotency-Key. A replay keeps the first response’s status and body, including the requestId of a problem; X-Request-Id is new.
Response
A resource ID. Treat it as an opaque, case-sensitive string.
Always accountHolder.
true on a live platform in production, false on a Sandbox platform and outside production.
BUSINESS for a company, PERSON for an individual.
PENDING until verification is submitted and approved, PENDING_REVIEW while it is reviewed, ACTIVE once approved, DECLINED once its issuers deny or close every application it sent, until it applies again, INACTIVE once closed.
A business account holder’s details. Present only when type is BUSINESS.
How a business’s onboarding details reach its issuers. HOSTED, the default: its own people enter them in hosted onboarding. API: your platform sends them and submits through the API, which needs the accountHolders:onboard permission. Business account holders only.
A resource ID. Treat it as an opaque, case-sensitive string.
When a closure was requested with POST /accountHolders/{accountHolderId}/requestClosure. status changes only once support closes the account holder.