Submit an account holder for a card program
Sends the account holder’s application for one card program, with the terms acceptance of the person who accepted them: a representative of a business, or the person who holds the account. Send the moment, IP address and user agent of that acceptance; they are recorded and are what the issuer receives.
A business is submitted here only when its onboarding is API, and is
refused with INVALID_STATE otherwise; a business with HOSTED
onboarding applies through POST /accountHolders/{accountHolderId}/onboardingLink.
Submitting a business also needs the accountHolders:onboard permission.
A business needs a user with the REPRESENTATIVE verification role, its
owners’ details, a phone number, structure, tax ID and address. A person
needs their own phone number, date of birth and address. When something is
missing the request is refused with VALIDATION_FAILED, and each item in
errors names it with a code: REPRESENTATIVE_REQUIRED,
TERMS_SIGNER_INVALID, TERMS_ACCEPTANCE_TIME_INVALID,
BUSINESS_DETAILS_REQUIRED, PERSON_DETAILS_REQUIRED,
IDENTITY_NUMBER_REQUIRED or IDENTITY_NUMBER_DUPLICATED.
The application is reviewed in the background: read
GET /accountHolders/{accountHolderId}/verification or wait for
accountHolder.verification.updated. Submitting a program that was
already submitted returns its application and sends nothing again.
Submitting one program never submits or opens another.
Authentication
Access token from POST /access-token. Valid for at most 30 minutes.
Path parameters
Headers
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.
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
A card program option from GET /cardProgramOptions.
The identity number of each person the issuer verifies: the signing representative and the owners of a business, or the person who holds the account. Needed the first time the account holder applies with an issuer; never stored or returned.
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 accountHolderApplication.
true on a live platform in production, false on a Sandbox platform and outside production.
A resource ID. Treat it as an opaque, case-sensitive string.
PENDING until the issuer starts reviewing, IN_REVIEW while it reviews, APPROVED or DENIED once it decides, CLOSED once the application is closed.