Skip to navigation

Update an account holder

Changes an account holder’s details and branding. Members you leave out are unchanged. Changing business.legalName, business.taxId or business.structure changes the legal identity and also needs the accountHolders:verify permission.

business.address moves the business’s default location. Once an issuer has the account holder’s application, the new address is sent to it first; if the issuer refuses it the request fails with PROVIDER_REJECTED and nothing changes. To send other corrected details to the issuers, use POST /accountHolders/{accountHolderId}/resubmit.

A person account holder’s details are its primary user’s; change them with POST /users/{userId}.

onboarding switches a business between HOSTED and API. Switching to API, or changing a submitted business’s address, needs the accountHolders:onboard permission.

Authentication

AuthorizationBearer

Access token from POST /access-token. Valid for at most 30 minutes.

Path parameters

accountHolderIdstringRequiredformat: "^[A-Za-z0-9_-]+$"1-128 characters
The account holder's ID.

Headers

Account-HolderstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

The account holder a platform API key acts on. Platform keys must send it on account holder operations. A company API key acts on its own account holder; it may omit the header or send its own account holder ID.

Idempotency-KeystringRequiredformat: "^(?:[!#-~][!-~]{0,254}|"[!#-\[\]-~]{1,255}")$"1-257 characters

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.

X-Request-IdstringOptionalformat: "^[A-Za-z0-9._:-]+$"1-128 characters

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

This endpoint expects an object.
businessobjectOptional
onboardingenumOptional

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.

Allowed values:
brandingobjectOptional
How the account holder's cards look.

Response headers

X-Request-Idstringformat: "uuid"
Unique ID of this request. Quote it when you contact support.
RateLimitstringOptional

Remaining budget for each rate limit policy, for example "burst"; r=57; t=6 (requests remaining and seconds until the window resets).

RateLimit-PolicystringOptional

The rate limit policies applied to this request, for example "burst"; q=60; w=10 (requests allowed per window of seconds).

Idempotent-ReplayedenumOptional

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.

Allowed values:

Response

The account holder after the change.
idstringformat: "^[A-Za-z0-9_-]+$"1-128 characters

A resource ID. Treat it as an opaque, case-sensitive string.

objectenum

Always accountHolder.

Allowed values:
livemodeboolean

true on a live platform in production, false on a Sandbox platform and outside production.

createdAtdatetime
When the account holder was created.
updatedAtdatetime
When the account holder last changed.
typeenum

BUSINESS for a company, PERSON for an individual.

Allowed values:
namestring
The business's legal name, or the person's full name.
statusenum

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.

Allowed values:
businessobjectOptional

A business account holder’s details. Present only when type is BUSINESS.

onboardingenumOptional

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.

Allowed values:
primaryUserIdstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

A resource ID. Treat it as an opaque, case-sensitive string.

brandingobjectOptional
How the account holder's cards look.
closureRequestedAtdatetimeOptional

When a closure was requested with POST /accountHolders/{accountHolderId}/requestClosure. status changes only once support closes the account holder.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error