Create a new cardholder for your card issuing program. The cardholder will be created with ACTIVE status. You can issue cards to the cardholder immediately after creation.
Required Fields
Field
Type
Description
firstName
string
Cardholder’s first name (1-100 chars)
lastName
string
Cardholder’s last name (1-100 chars)
email
string
Email address (unique per business)
phone
string
Phone number in E.164 format (e.g. +15550001234)
dateOfBirth
string
Date of birth (YYYY-MM-DD, must be 18+ years old)
gender
string
Gender (MALE or FEMALE)
country
string
ISO 3166-1 alpha-2 country code (e.g. US)
Address Fields
Field
Type
Required
Description
address
string
Yes
Street address (max 255 chars)
city
string
Yes
City (max 100 chars)
state
string
Yes
State or province (max 100 chars)
zipCode
string
Yes
Postal/ZIP code (max 20 chars)
Optional Fields
Field
Type
Description
middleName
string
Optional middle name (max 15 chars). Card issuers cap the number of active cards per identical first + last name, so set a middleName to distinguish two cardholders who share the same first and last name — when present it is sent to the card network on card creation so they count as separate holders. Unlike firstName/lastName, middleName stays editable after KYC approval.
externalId
string
Your platform’s cardholder ID (unique per business, max 100 chars)
metadata
object
Arbitrary key-value pairs to store custom data about the cardholder
Cardholder KYC behaviour depends on your business’s KYC mode:
Managed (default) — a kyc object is ignored: we verify the cardholder ourselves. A verification session is opened for you and returned as verification.url in the response; pass it to the cardholder.
Delegated — you may include a kyc object here to submit the documents you already hold. The cardholder is set to PENDING and FYATU checks what you sent before approving; a cardholder.kyc_approved webhook fires once it passes, and a cardholder.kyc_rejected webhook if it does not. Omit it and the cardholder is created UNSUBMITTED.
Every cardholder must be KYC-verified before a card is issued to them, on every product. On
Delegated KYC, send the documents in the kyc object here or afterwards through
Submit KYC Documents. With them, the cardholder goes to
PENDING while we check them; without them, the cardholder is created UNSUBMITTED. Either way, no
card is issued until the cardholder is VERIFIED.A submission we can verify carries all four of documentType, documentNumber, idFrontUrl and
selfieUrl. Anything short of that is kept on the cardholder and leaves them UNSUBMITTED — there is
nothing to check until the set is complete. A field that is present but unusable (an invalid URL, a
documentType outside PASSPORT/NATIONAL_ID/DRIVER_LICENSE) is a validation error rather than
an omission, so a mistake is never silently treated as “documents to follow”.On Managed KYC the kyc object is ignored and a verification session is opened instead. The
response then carries:
These are request fields only. Since 19 October 2026 the response does not echo the document
URLs back — it reports kyc.documentsOnFile: true instead — and document.number comes back masked
to its last four characters. You sent them, so you already hold them; see
Get Cardholder for
why they stopped being returned.
For standard identity verification (cardholder completes verification themselves), use Initiate KYC Verification after creating the cardholder.
Metadata Object (Optional)
The metadata field accepts any flat JSON object. Use it to store your own data alongside the cardholder — for example, department, employee ID, or tier level.
Issue a card — Use Create Card, once the cardholder has reached VERIFIED.
A cardholder must reach VERIFIED before a card can be issued, in bothKYC modes — the mode decides who runs the verification, not whether it happens.
Error Responses
Duplicate Email (409)
{ "success": false, "status": 409, "message": "A cardholder with this email already exists", "error": { "code": "CONFLICT" }}
Duplicate External ID (409)
{ "success": false, "status": 409, "message": "A cardholder with this externalId already exists", "error": { "code": "CONFLICT" }}
Underage Cardholder (400)
{ "success": false, "status": 400, "message": "Validation failed", "error": { "code": "VALIDATION_ERROR", "details": [ { "field": "dateOfBirth", "message": "Cardholder must be at least 18 years old." } ] }}
Validation Error (400)
{ "success": false, "status": 400, "message": "Validation failed", "error": { "code": "VALIDATION_ERROR", "details": [ { "field": "gender", "message": "The gender field is required." } ] }}
Email addresses and external IDs must be unique within your business. If you try to create a cardholder with an email or externalId that already exists, you’ll receive a 409 Conflict error.
Use the externalId field to store your platform’s cardholder/user ID. This makes it easy to link FYATU cardholders to users in your own system.
Authorizations
Authorization
string
header
required
JWT access token obtained from /auth/token
Body
application/json
firstName
string
required
Cardholder's first name
Required string length: 1 - 100
lastName
string
required
Cardholder's last name
Required string length: 1 - 100
email
string<email>
required
Cardholder's email address (unique per app)
Maximum string length: 255
phone
string
required
Phone number with country code
Required string length: 6 - 20
dateOfBirth
string<date>
required
Date of birth (YYYY-MM-DD)
country
string
required
ISO 3166-1 alpha-2 country code
Required string length: 2
externalId
string
Your platform's cardholder ID (unique per app)
Maximum string length: 100
gender
enum<string>
Gender (optional)
Available options:
MALE,
FEMALE,
OTHER
address
string
Street address
Maximum string length: 255
city
string
City
Maximum string length: 100
state
string
State or province
Maximum string length: 100
zipCode
string
Postal/ZIP code
Maximum string length: 20
kyc
object
Identity documents, on Delegated KYC. Every cardholder must be verified before a card is issued to them; send the documents here or afterwards with the Submit KYC endpoint. When any document data is provided, kycStatus is set to SUBMITTED. A partial set is held unverified until it is complete.
Show child attributes
Response
Cardholder created successfully
Response for create and update cardholder operations
success
boolean
Example:
true
status
integer
Example:
201
message
string
data
object
Show child attributes
meta
object
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FYATU API Docs","colors":{"primary":"#721D5D","light":"#D877C7","dark":"#721D5D"},"logo":{"light":"https://mintcdn.com/fyatu/1Y4pa7wxF_kMnOCq/logo/light.png?fit=max\u0026auto=format\u0026n=1Y4pa7wxF_kMnOCq\u0026q=85\u0026s=da06db892390b1d64a6da61ed20cf95e","dark":"https://mintcdn.com/fyatu/1Y4pa7wxF_kMnOCq/logo/dark.png?fit=max\u0026auto=format\u0026n=1Y4pa7wxF_kMnOCq\u0026q=85\u0026s=4699a651f759eba858eeebf169065ec2"},"favicon":"https://mintcdn.com/fyatu/bV6pmu3sbyQM-yrA/favicon.png?fit=max\u0026auto=format\u0026n=bV6pmu3sbyQM-yrA\u0026q=85\u0026s=8da36463646e8abbfbdff7ecb626062a","api":{"playground":{}},"navbar":{"primary":{"type":"button","label":"Get API Keys","href":"https://platform.fyatu.com/developers/api-keys"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/fyatu","x":"https://x.com/fyatucard","instagram":"https://www.instagram.com/fyatucard","facebook":"https://www.facebook.com/fyatucard","youtube":"https://www.youtube.com/@fyatu","telegram":"https://t.me/fyatupay"},"links":[{"header":"Products","items":[{"label":"Card Issuing","href":"https://fyatu.com/card-issuing"},{"label":"Virtual Cards","href":"https://fyatu.com/virtual-cards"},{"label":"Credit Cards","href":"https://fyatu.com/credit-cards"},{"label":"Digital Wallet","href":"https://fyatu.com/digital-wallet-cards"},{"label":"Prepaid Cards","href":"https://fyatu.com/prepaid-cards"},{"label":"One Time Card","href":"https://fyatu.com/one-time-card"}]},{"header":"Coverage","items":[{"label":"Africa","href":"https://fyatu.com/region/africa"},{"label":"Eastern Europe","href":"https://fyatu.com/region/eastern-europe"},{"label":"Latin America","href":"https://fyatu.com/region/latin-america"},{"label":"Middle East","href":"https://fyatu.com/region/middle-east"}]},{"header":"Company","items":[{"label":"Contact","href":"https://fyatu.com/contact"},{"label":"Security","href":"https://fyatu.com/security"},{"label":"Terms of Service","href":"https://fyatu.com/terms"},{"label":"Refund Policy","href":"https://fyatu.com/refund-policy"}]},{"header":"Tools","items":[{"label":"BIN Checker","href":"https://fyatu.com/tools/bin-checker"},{"label":"Bank Directory","href":"https://fyatu.com/banks"},{"label":"Country Data","href":"https://fyatu.com/countries"},{"label":"Decline Codes","href":"https://fyatu.com/tools/decline-codes"}]}]},"search":{"prompt":"Search FYATU API docs..."},"seo":{"metatags":{"og:site_name":"Fyatu API Documentation — Card Issuing API","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@fyatu","robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","googlebot":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"card issuing API, virtual card API, Mastercard API, Visa API, prepaid card issuing, 3D Secure cards, Apple Pay API, Google Pay API, fintech API Africa, payment API, payout API, webhook API, REST API card issuing, programmatic card issuing, virtual debit card API, card program API, mobile money API, payment gateway Africa"}},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://fyatu.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fyatu","hasAudioNarration":false,"actualSubdomain":"fyatu","customDomains":["docs.fyatu.com"],"gitSource":{"type":"github","owner":"fyatu","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0de960ad066e1e33300a2b","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Webhooks","count":76},{"language":"default","tag":"API Reference","count":72},{"language":"default","tag":"Cards","count":61},{"language":"default","tag":"Documentation","count":22},{"language":"default","tag":"Cardholders","count":19},{"language":"default","tag":"Card Events","count":15},{"language":"default","tag":"Account","count":14},{"language":"default","tag":"Cardholder Events","count":10},{"language":"default","tag":"Getting Started","count":9},{"language":"default","tag":"Concepts","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:'Clash Grotesk';src:url('/fonts/ClashGrotesk-Variable.woff2') format('woff2');font-weight:200 700;font-style:normal;font-display:swap}#footer[data-fyatu-footer]{--ff-bg:#f9fafb;--ff-head:#111827;--ff-link:#4b5563;--ff-link-hover:#721D5D;--ff-line:rgba(17,24,39,.10);--ff-soft-line:rgba(17,24,39,.08);--ff-icon:#6b7280;--ff-icon-hover:#721D5D;--ff-muted:#6b7280;--ff-legal-sep:#d1d5db;--ff-legal-under:#d1d5db;--ff-legal-hover:#111827;--ff-fine:#6b7280}html.dark #footer[data-fyatu-footer]{--ff-bg:#111827;--ff-head:#fff;--ff-link:#9ca3af;--ff-link-hover:#fff;--ff-line:rgba(255,255,255,.10);--ff-soft-line:rgba(255,255,255,.08);--ff-icon:#6b7280;--ff-icon-hover:#fff;--ff-muted:#6b7280;--ff-legal-sep:#374151;--ff-legal-under:#4b5563;--ff-legal-hover:#d1d5db;--ff-fine:#4b5563}#footer[data-fyatu-footer]{background:var(--ff-bg)!important;border-top:1px solid var(--ff-line)!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;display:block!important}[data-fyatu-footer] *{box-sizing:border-box}[data-fyatu-footer] .ff-wrap{max-width:1440px;margin:0 auto;padding:0 16px}@media (min-width:640px){[data-fyatu-footer] .ff-wrap{padding:0 24px}}@media (min-width:1024px){[data-fyatu-footer] .ff-wrap{padding:0 40px}}[data-fyatu-footer] h3{margin:0 0 20px;font-size:16px;line-height:24px;font-weight:700;color:var(--ff-head)}[data-fyatu-footer] a{color:var(--ff-link);font-size:16px;line-height:1.375;font-weight:600;text-decoration:none;transition:color .15s}[data-fyatu-footer] a:hover{color:var(--ff-link-hover)}[data-fyatu-footer] ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}[data-fyatu-footer] li{margin:0;padding:0}[data-fyatu-footer] .ff-nav{padding:56px 0 32px;display:flex;flex-direction:column;gap:32px}[data-fyatu-footer] .ff-products{padding-bottom:32px;border-bottom:1px solid var(--ff-line)}[data-fyatu-footer] .ff-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}[data-fyatu-footer] .ff-cols{display:grid;grid-template-columns:1fr 1fr;gap:32px}@media (min-width:640px){[data-fyatu-footer] .ff-cols{grid-template-columns:repeat(3,1fr);gap:40px}}@media (min-width:1024px){[data-fyatu-footer] .ff-nav{flex-direction:row;gap:0}[data-fyatu-footer] .ff-products{width:38%;padding:0 48px 0 0;border-bottom:0;border-right:1px solid var(--ff-line)}[data-fyatu-footer] .ff-cols{width:62%;padding-left:48px;gap:0}[data-fyatu-footer] .ff-col{padding:0 16px}[data-fyatu-footer] .ff-col:first-child{padding:0 32px 0 0}[data-fyatu-footer] .ff-col:last-child{padding:0 0 0 32px}}[data-fyatu-footer] .ff-social{display:flex;align-items:center;gap:20px;padding:32px 0 24px}[data-fyatu-footer] .ff-social>span{flex:1;height:1px;background:var(--ff-soft-line)}[data-fyatu-footer] .ff-social>div{display:flex;align-items:center;gap:16px}[data-fyatu-footer] .ff-social a{color:var(--ff-icon);display:inline-flex}[data-fyatu-footer] .ff-social a:hover{color:var(--ff-icon-hover)}[data-fyatu-footer] .ff-social svg{width:24px;height:24px}@media (min-width:640px){[data-fyatu-footer] .ff-social>div{gap:32px}[data-fyatu-footer] .ff-social svg{width:32px;height:32px}}[data-fyatu-footer] .ff-base{display:flex;flex-direction:column;align-items:center;gap:12px;padding-bottom:24px}[data-fyatu-footer] .ff-base img{height:64px;width:auto;opacity:.7;margin:0!important}[data-fyatu-footer] .ff-base p{margin:0;font-size:14px;color:var(--ff-muted)}[data-fyatu-footer] .ff-legal{display:flex;flex-wrap:wrap;justify-content:center;row-gap:8px;margin-top:12px}[data-fyatu-footer] .ff-legal a{font-size:14px;font-weight:400;color:var(--ff-muted);text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--ff-legal-under)}[data-fyatu-footer] .ff-legal a:hover{color:var(--ff-legal-hover)}[data-fyatu-footer] .ff-legal a:not(:last-child)::after{content:'|';margin:0 12px;color:var(--ff-legal-sep);display:inline-block;text-decoration:none}[data-fyatu-footer] .ff-disclosure{border-top:1px solid var(--ff-soft-line);padding:24px 0}[data-fyatu-footer] .ff-disclosure p{max-width:768px;margin:0 auto 8px;text-align:center;font-size:14px;line-height:1.625;color:var(--ff-fine)}[data-fyatu-footer] .ff-disclosure p:last-child{margin-bottom:0}[data-fyatu-footer] .ff-logo-dark{display:none}html.dark [data-fyatu-footer] .ff-logo-dark{display:inline}html.dark [data-fyatu-footer] .ff-logo-light{display:none}[data-fyatu-footer] .ff-base img.ff-logo-light{opacity:1}"}]}
{"page":{"pagePath":"v3/api-reference/cardholders/create","slug":"/v3/api-reference/cardholders/create","pageMetadata":{"title":"Create Cardholder","description":"Create a new cardholder for virtual card issuing. Submit personal details and start issuing cards immediately. POST /cardholders.","openapi":"v3/openapi.json POST /cardholders","href":"/v3/api-reference/cardholders/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new cardholder for virtual card issuing. Submit personal details and start issuing cards immediately. POST /cardholders.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Create a new cardholder for your card issuing program. The cardholder will be created with `,_jsx(_components.code,{children:`ACTIVE`}),` status. You can issue cards to the cardholder immediately after creation.`]}),`\n`,_jsx(Heading,{level:`2`,id:`required-fields`,children:`Required Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`firstName`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Cardholder’s first name (1-100 chars)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lastName`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Cardholder’s last name (1-100 chars)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`email`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Email address (unique per business)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Phone number in E.164 format (e.g. `,_jsx(_components.code,{children:`+15550001234`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dateOfBirth`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Date of birth (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`, must be 18+ years old)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gender`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Gender (`,_jsx(_components.code,{children:`MALE`}),` or `,_jsx(_components.code,{children:`FEMALE`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`ISO 3166-1 alpha-2 country code (e.g. `,_jsx(_components.code,{children:`US`}),`)`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`address-fields`,children:`Address Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Street address (max 255 chars)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`city`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`City (max 100 chars)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`state`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`State or province (max 100 chars)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zipCode`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Postal/ZIP code (max 20 chars)`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`optional-fields`,children:`Optional Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`middleName`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Optional middle name (max 15 chars). Card issuers cap the number of active cards per `,_jsx(_components.em,{children:`identical first + last name`}),`, so set a `,_jsx(_components.code,{children:`middleName`}),` to distinguish two cardholders who share the same first and last name — when present it is sent to the card network on card creation so they count as separate holders. Unlike `,_jsx(_components.code,{children:`firstName`}),`/`,_jsx(_components.code,{children:`lastName`}),`, `,_jsx(_components.code,{children:`middleName`}),` stays editable after KYC approval.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`externalId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Your platform’s cardholder ID (unique per business, max 100 chars)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Arbitrary key-value pairs to store custom data about the cardholder`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`kyc-object-delegated-kyc-—-enabled-businesses-only`,children:`KYC Object (Delegated KYC — Enabled Businesses Only)`}),`\n`,_jsxs(_components.p,{children:[`Cardholder KYC behaviour depends on your business’s `,_jsx(_components.a,{href:`/v3/documentation/concepts/cardholders/kyc`,children:`KYC mode`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Managed`}),` (default) — a `,_jsx(_components.code,{children:`kyc`}),` object is `,_jsx(_components.strong,{children:`ignored`}),`: we verify the cardholder ourselves. A verification session is opened for you and returned as `,_jsx(_components.code,{children:`verification.url`}),` in the response; pass it to the cardholder.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Delegated`}),` — you may include a `,_jsx(_components.code,{children:`kyc`}),` object here to submit the documents you already hold. The cardholder is set to `,_jsx(_components.code,{children:`PENDING`}),` and FYATU `,_jsx(_components.strong,{children:`checks what you sent`}),` before approving; a `,_jsx(_components.code,{children:`cardholder.kyc_approved`}),` webhook fires once it passes, and a `,_jsx(_components.code,{children:`cardholder.kyc_rejected`}),` webhook if it does not. Omit it and the cardholder is created `,_jsx(_components.code,{children:`UNSUBMITTED`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Every cardholder must be KYC-verified before a card is issued to them, on every product.`}),` On\n`,_jsx(_components.strong,{children:`Delegated KYC`}),`, send the documents in the `,_jsx(_components.code,{children:`kyc`}),` object here or afterwards through\n`,_jsx(_components.a,{href:`/v3/api-reference/cardholders/kyc`,children:`Submit KYC Documents`}),`. With them, the cardholder goes to\n`,_jsx(_components.code,{children:`PENDING`}),` while we check them; without them, the cardholder is created `,_jsx(_components.code,{children:`UNSUBMITTED`}),`. Either way, no\ncard is issued until the cardholder is `,_jsx(_components.code,{children:`VERIFIED`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A submission we can verify carries all four of `,_jsx(_components.code,{children:`documentType`}),`, `,_jsx(_components.code,{children:`documentNumber`}),`, `,_jsx(_components.code,{children:`idFrontUrl`}),` and\n`,_jsx(_components.code,{children:`selfieUrl`}),`. Anything short of that is kept on the cardholder and leaves them `,_jsx(_components.code,{children:`UNSUBMITTED`}),` — there is\nnothing to check until the set is complete. A field that is present but unusable (an invalid URL, a\n`,_jsx(_components.code,{children:`documentType`}),` outside `,_jsx(_components.code,{children:`PASSPORT`}),`/`,_jsx(_components.code,{children:`NATIONAL_ID`}),`/`,_jsx(_components.code,{children:`DRIVER_LICENSE`}),`) is a validation error rather than\nan omission, so a mistake is never silently treated as “documents to follow”.`]}),`\n`,_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`Managed KYC`}),` the `,_jsx(_components.code,{children:`kyc`}),` object is ignored and a verification session is opened instead. The\nresponse then carries:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"verification\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ses_abc123def456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://verify.fyatu.com/session/ses_abc123def456\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`kyc.idFrontUrl`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`URL to the front image of the ID document`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`kyc.selfieUrl`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`URL to a selfie photo of the cardholder`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`kyc.idBackUrl`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`URL to the back image of the ID document`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`kyc.documentType`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`PASSPORT`}),`, `,_jsx(_components.code,{children:`NATIONAL_ID`}),`, or `,_jsx(_components.code,{children:`DRIVER_LICENSE`})]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`These are request fields only.`}),` Since 19 October 2026 the response does not echo the document\nURLs back — it reports `,_jsx(_components.code,{children:`kyc.documentsOnFile: true`}),` instead — and `,_jsx(_components.code,{children:`document.number`}),` comes back masked\nto its last four characters. You sent them, so you already hold them; see\n`,_jsx(_components.a,{href:`/v3/api-reference/cardholders/get#identity-documents-and-the-document-number`,children:`Get Cardholder`}),` for\nwhy they stopped being returned.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`For standard identity verification (cardholder completes verification themselves), use `,_jsx(_components.a,{href:`/v3/api-reference/cardholders/kyc-session`,children:`Initiate KYC Verification`}),` after creating the cardholder.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`metadata-object-optional`,children:`Metadata Object (Optional)`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`metadata`}),` field accepts any flat JSON object. Use it to store your own data alongside the cardholder — for example, department, employee ID, or tier level.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"department\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Engineering\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"employee_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EMP-1234\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VIP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cost_center\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CC-500\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Metadata is returned in all cardholder responses and displayed in the business panel.`}),`\n`,_jsx(Heading,{level:`2`,id:`example-usage`,children:`Example Usage`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`37`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`37`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`php`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'externalId'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'EXT-0001'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'firstName'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Alice'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'lastName'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Example'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'alice@example.com'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'phone'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '+15550001234'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'dateOfBirth'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1990-01-01'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'gender'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'MALE'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'address'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '123 Main Street, Apt 4B'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'city'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Newark'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'state'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Delaware'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'country'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'US'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'zipCode'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '000000'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'metadata'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'department'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Engineering'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'employee_id'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'EMP-1234'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` file_get_contents`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.fyatu.com/api/v3/cardholders'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` stream_context_create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'http'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'method'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'header'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer '`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $accessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'content'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` json_encode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ])`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` json_decode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Created cardholder: \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'data'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`30`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`30`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` externalId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'EXT-0001'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` firstName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Alice'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` lastName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Example'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` email:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'alice@example.com'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` phone:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '+15550001234'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dateOfBirth:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1990-01-01'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` gender:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'MALE'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` address:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '123 Main Street, Apt 4B'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` city:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Newark'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` state:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Delaware'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` country:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'US'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` zipCode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '000000'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` metadata:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` department:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Engineering'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` employee_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'EMP-1234'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.fyatu.com/api/v3/cardholders'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accessToken`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Created cardholder:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-response`,children:`Example Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`42`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`42`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`201`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cardholder created successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CH1a2b3c4d5e6f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EXT-0001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"firstName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Alice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"alice@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15550001234\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dateOfBirth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1990-01-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MALE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"line1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123 Main Street, Apt 4B\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Newark\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Delaware\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"zipCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"000000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"document\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"kyc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UNSUBMITTED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"documentsOnFile\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"department\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Engineering\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"employee_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EMP-1234\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ACTIVE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cardsCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T21:31:39Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req_2f7fb4227a1007418773122f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T21:31:39+00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next Steps`}),`\n`,_jsx(_components.p,{children:`After creating a cardholder, you can:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Verify identity`}),` — Use `,_jsx(_components.a,{href:`/v3/api-reference/cardholders/kyc-session`,children:`Initiate KYC Verification`}),` to let the cardholder verify themselves, or `,_jsx(_components.a,{href:`/v3/api-reference/cardholders/kyc`,children:`Submit KYC Documents`}),` to submit documents on their behalf. Required in both modes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Issue a card`}),` — Use `,_jsx(_components.a,{href:`/v3/api-reference/cards/create`,children:`Create Card`}),`, once the cardholder has reached `,_jsx(_components.code,{children:`VERIFIED`}),`.`]}),`\n`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`A cardholder must reach `,_jsx(_components.code,{children:`VERIFIED`}),` before a card can be issued, in `,_jsx(_components.strong,{children:`both`}),` `,_jsx(_components.a,{href:`/v3/documentation/concepts/cardholders/kyc`,children:`KYC modes`}),` — the mode decides who runs the verification, not whether it happens.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsx(Heading,{level:`3`,id:`duplicate-email-409`,children:`Duplicate Email (409)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`409`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cardholder with this email already exists\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CONFLICT\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`duplicate-external-id-409`,children:`Duplicate External ID (409)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`409`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cardholder with this externalId already exists\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CONFLICT\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`underage-cardholder-400`,children:`Underage Cardholder (400)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Validation failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VALIDATION_ERROR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"field\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dateOfBirth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cardholder must be at least 18 years old.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`validation-error-400`,children:`Validation Error (400)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Validation failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VALIDATION_ERROR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"field\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The gender field is required.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Email addresses and external IDs must be unique within your business. If you try to create a cardholder with an email or externalId that already exists, you’ll receive a 409 Conflict error.`})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`externalId`}),` field to store your platform’s cardholder/user ID. This makes it easy to link FYATU cardholders to users in your own system.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Cardholder","description":"Create a new cardholder for virtual card issuing. Submit personal details and start issuing cards immediately. POST /cardholders.","openapi":"v3/openapi.json POST /cardholders","href":"/v3/api-reference/cardholders/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Required Fields","slug":"required-fields","depth":2,"children":[]},{"title":"Address Fields","slug":"address-fields","depth":2,"children":[]},{"title":"Optional Fields","slug":"optional-fields","depth":2,"children":[]},{"title":"KYC Object (Delegated KYC — Enabled Businesses Only)","slug":"kyc-object-delegated-kyc-—-enabled-businesses-only","depth":2,"children":[]},{"title":"Metadata Object (Optional)","slug":"metadata-object-optional","depth":2,"children":[]},{"title":"Example Usage","slug":"example-usage","depth":2,"children":[]},{"title":"Example Response","slug":"example-response","depth":2,"children":[]},{"title":"Next Steps","slug":"next-steps","depth":2,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":2,"children":[{"title":"Duplicate Email (409)","slug":"duplicate-email-409","depth":3,"children":[]},{"title":"Duplicate External ID (409)","slug":"duplicate-external-id-409","depth":3,"children":[]},{"title":"Underage Cardholder (400)","slug":"underage-cardholder-400","depth":3,"children":[]},{"title":"Validation Error (400)","slug":"validation-error-400","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/fyatu/5ce54d4312ebdc4f/footer.js"],"openApiReferenceData":{"operation":{"tags":["Cardholders"],"operationId":"createCardholder","summary":"Create Cardholder","description":"Create a new cardholder for virtual card issuing. Submit personal details and start issuing cards immediately. POST /cardholders.","security":["ec8d56ad-274a-4b00-93b8-b479417c8a18"],"requestBody":"a0f9f4c9-fee1-474a-9eec-26093d757313","responses":{"201":"45732589-2ce9-46df-8175-851309dae024","400":"7a4ab508-543d-4349-b75a-1bddf5f5fa17","401":"0b40e071-a5cd-4cdd-9e9e-2c639723998c","409":"5684d3d9-6ab8-40ef-aa78-4c125e7dda2a"},"method":"post","type":"path","servers":["1371ac77-6d70-4c14-87c8-47519e1f03cc"],"path":"/cardholders","baseUrlOptions":["https://api.fyatu.com/api/v3"],"title":"Create Cardholder","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["firstName","lastName","email","phone","dateOfBirth","country"],"properties":{"firstName":{"type":"string","minLength":1,"maxLength":100,"description":"Cardholder's first name","isRequired":true,"uniqueKey":"firstName","typeLabel":"string"},"lastName":{"type":"string","minLength":1,"maxLength":100,"description":"Cardholder's last name","isRequired":true,"uniqueKey":"lastName","typeLabel":"string"},"email":{"type":"string","format":"email","maxLength":255,"description":"Cardholder's email address (unique per app)","isRequired":true,"uniqueKey":"email","typeLabel":"string\u003cemail>"},"phone":{"type":"string","minLength":6,"maxLength":20,"description":"Phone number with country code","isRequired":true,"uniqueKey":"phone","typeLabel":"string"},"dateOfBirth":{"type":"string","format":"date","description":"Date of birth (YYYY-MM-DD)","isRequired":true,"uniqueKey":"dateOfBirth","typeLabel":"string\u003cdate>"},"country":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 country code","isRequired":true,"uniqueKey":"country","typeLabel":"string"},"externalId":{"type":"string","maxLength":100,"description":"Your platform's cardholder ID (unique per app)","uniqueKey":"externalId","typeLabel":"string"},"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"],"description":"Gender (optional)","uniqueKey":"gender","typeLabel":"enum\u003cstring>"},"address":{"type":"string","maxLength":255,"description":"Street address","uniqueKey":"address","typeLabel":"string"},"city":{"type":"string","maxLength":100,"description":"City","uniqueKey":"city","typeLabel":"string"},"state":{"type":"string","maxLength":100,"description":"State or province","uniqueKey":"state","typeLabel":"string"},"zipCode":{"type":"string","maxLength":20,"description":"Postal/ZIP code","uniqueKey":"zipCode","typeLabel":"string"},"kyc":{"type":"object","description":"Identity documents, on Delegated KYC. Every cardholder must be verified before a card is issued to them; send the documents here or afterwards with the Submit KYC endpoint. When any document data is provided, kycStatus is set to SUBMITTED. A partial set is held unverified until it is complete.","properties":{"documentType":{"type":"string","enum":["PASSPORT","NATIONAL_ID","DRIVER_LICENSE"],"description":"Type of identification document","uniqueKey":"kyc.documentType","typeLabel":"enum\u003cstring>"},"documentNumber":{"type":"string","maxLength":50,"description":"Document identification number","uniqueKey":"kyc.documentNumber","typeLabel":"string"},"idFrontUrl":{"type":"string","format":"uri","description":"URL to the front image of the ID document","uniqueKey":"kyc.idFrontUrl","typeLabel":"string\u003curi>"},"idBackUrl":{"type":"string","format":"uri","description":"URL to the back image (optional for passports)","uniqueKey":"kyc.idBackUrl","typeLabel":"string\u003curi>"},"idSelfieUrl":{"type":"string","format":"uri","description":"URL to a selfie photo holding the ID document","uniqueKey":"kyc.idSelfieUrl","typeLabel":"string\u003curi>"}},"uniqueKey":"kyc","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"externalId":"EXT-0001","firstName":"Alice","lastName":"Example","email":"alice@example.com","phone":"+15550001234","dateOfBirth":"1990-05-15","gender":"MALE","address":"123 Main Street, Apt 4B","city":"Newark","state":"Delaware","country":"US","zipCode":"000000","kyc":{"documentType":"PASSPORT","documentNumber":"AB1234567","idFrontUrl":"https://storage.example.com/docs/passport_front.jpg","idBackUrl":"https://storage.example.com/docs/passport_back.jpg","idSelfieUrl":"https://storage.example.com/docs/selfie.jpg"}},"examples":{"Example":{"title":"Example","value":{"externalId":"EXT-0001","firstName":"Alice","lastName":"Example","email":"alice@example.com","phone":"+15550001234","dateOfBirth":"1990-05-15","gender":"MALE","address":"123 Main Street, Apt 4B","city":"Newark","state":"Delaware","country":"US","zipCode":"000000","kyc":{"documentType":"PASSPORT","documentNumber":"AB1234567","idFrontUrl":"https://storage.example.com/docs/passport_front.jpg","idBackUrl":"https://storage.example.com/docs/passport_back.jpg","idSelfieUrl":"https://storage.example.com/docs/selfie.jpg"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"45732589-2ce9-46df-8175-851309dae024":{"description":"Cardholder created successfully","content":{"application/json":{"schema":{"type":"object","description":"Response for create and update cardholder operations","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"status":{"type":"integer","example":201,"uniqueKey":"status","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"id":{"type":"string","example":"ch_1a2b3c4d5e6f7890abcdef1234567890","uniqueKey":"data.id","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","uniqueKey":"data.externalId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.externalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.externalId","typeLabel":"string | null"},"firstName":{"type":"string","uniqueKey":"data.firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"data.lastName","typeLabel":"string"},"email":{"type":"string","uniqueKey":"data.email","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"data.phone","typeLabel":"string"},"dateOfBirth":{"type":"string","format":"date","uniqueKey":"data.dateOfBirth","typeLabel":"string\u003cdate>"},"gender":{"oneOf":[{"type":"string","enum":["MALE","FEMALE","OTHER"],"uniqueKey":"data.gender.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MALE","FEMALE","OTHER"],"uniqueKey":"data.gender.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.gender","typeLabel":"enum\u003cstring> | null"},"address":{"type":"object","properties":{"line1":{"oneOf":[{"type":"string","uniqueKey":"data.address.line1.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.address.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.address.line1","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","uniqueKey":"data.address.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.address.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.address.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","uniqueKey":"data.address.state.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.address.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.address.state","typeLabel":"string | null"},"country":{"type":"string","uniqueKey":"data.address.country","typeLabel":"string"},"zipCode":{"oneOf":[{"type":"string","uniqueKey":"data.address.zipCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.address.zipCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.address.zipCode","typeLabel":"string | null"}},"uniqueKey":"data.address","typeLabel":"object"},"document":{"type":"object","description":"Document info (included in update response)","properties":{"type":{"oneOf":[{"type":"string","enum":["PASSPORT","NATIONAL_ID","DRIVER_LICENSE"],"uniqueKey":"data.document.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["PASSPORT","NATIONAL_ID","DRIVER_LICENSE"],"uniqueKey":"data.document.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.document.type","typeLabel":"enum\u003cstring> | null"},"number":{"oneOf":[{"type":"string","description":"Masked to the last four characters since 2026-10-19. Send it in full on create or on a KYC submission; it is never returned in full.","uniqueKey":"data.document.number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Masked to the last four characters since 2026-10-19. Send it in full on create or on a KYC submission; it is never returned in full.","uniqueKey":"data.document.number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.document.number","typeLabel":"string | null"}},"uniqueKey":"data.document","typeLabel":"object"},"kyc":{"type":"object","description":"KYC info (included in update response)","properties":{"status":{"type":"string","enum":["UNSUBMITTED","SUBMITTED","ACCEPTED","REJECTED"],"uniqueKey":"data.kyc.status","typeLabel":"enum\u003cstring>"},"documentsOnFile":{"type":"boolean","description":"Whether Fyatu holds identity images for this cardholder. Always false for a deleted cardholder. The image URLs were removed on 2026-10-19.","uniqueKey":"data.kyc.documentsOnFile","typeLabel":"boolean"}},"uniqueKey":"data.kyc","typeLabel":"object"},"status":{"type":"string","enum":["ACTIVE","INACTIVE","SUSPENDED"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"kycStatus":{"type":"string","enum":["UNSUBMITTED","SUBMITTED","ACCEPTED","REJECTED"],"description":"Deprecated: use kyc.status instead","uniqueKey":"data.kycStatus","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","description":"Unique request ID for tracking","example":"req_abc123def456","uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of the response","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"status":201,"message":"Cardholder created successfully","data":{"id":"ch_1a2b3c4d5e6f7890abcdef1234567890","externalId":"EXT-0001","firstName":"John","lastName":"Example","email":"alice@example.com","phone":"+15550001234","dateOfBirth":"1990-01-01","gender":"FEMALE","address":{"line1":"123 Main Street, Apt 4B","city":"Newark","state":"Delaware","country":"US","zipCode":"000000"},"document":{"type":null,"number":null},"kyc":{"status":"UNSUBMITTED","documentsOnFile":false},"status":"ACTIVE","kycStatus":"UNSUBMITTED","createdAt":"2026-01-17T10:30:00+00:00"},"meta":{"requestId":"req_c1d2e3f4g5h6","timestamp":"2026-01-17T10:30:00+00:00"}},"examples":{"Example":{"title":"Example","value":{"success":true,"status":201,"message":"Cardholder created successfully","data":{"id":"ch_1a2b3c4d5e6f7890abcdef1234567890","externalId":"EXT-0001","firstName":"John","lastName":"Example","email":"alice@example.com","phone":"+15550001234","dateOfBirth":"1990-01-01","gender":"FEMALE","address":{"line1":"123 Main Street, Apt 4B","city":"Newark","state":"Delaware","country":"US","zipCode":"000000"},"document":{"type":null,"number":null},"kyc":{"status":"UNSUBMITTED","documentsOnFile":false},"status":"ACTIVE","kycStatus":"UNSUBMITTED","createdAt":"2026-01-17T10:30:00+00:00"},"meta":{"requestId":"req_c1d2e3f4g5h6","timestamp":"2026-01-17T10:30:00+00:00"}}}},"exampleType":"examples"}},"exampleType":"examples"},"7a4ab508-543d-4349-b75a-1bddf5f5fa17":{"description":"Validation failed","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"message":{"type":"string","example":"Invalid credentials","uniqueKey":"message","typeLabel":"string"},"error":{"type":"object","properties":{"code":{"type":"string","description":"Error code for programmatic handling","example":"AUTH_INVALID_CREDENTIALS","uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"Field that failed validation","example":"appId","uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Validation error message","example":"AppId is required","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Validation error details (for VALIDATION_ERROR)","uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","description":"Unique request ID for tracking","example":"req_abc123def456","uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of the response","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"status":400,"message":"Validation failed","error":{"code":"VALIDATION_ERROR","details":[{"field":"currency","message":"Currency is required"}]},"meta":{"requestId":"req_abc123","timestamp":"2026-01-05T10:30:00+00:00"}},"examples":{"Example":{"title":"Example","value":{"success":false,"status":400,"message":"Validation failed","error":{"code":"VALIDATION_ERROR","details":[{"field":"currency","message":"Currency is required"}]},"meta":{"requestId":"req_abc123","timestamp":"2026-01-05T10:30:00+00:00"}}}},"exampleType":"examples"}},"exampleType":"examples"},"0b40e071-a5cd-4cdd-9e9e-2c639723998c":{"description":"Authentication required or token invalid","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"message":{"type":"string","example":"Invalid credentials","uniqueKey":"message","typeLabel":"string"},"error":{"type":"object","properties":{"code":{"type":"string","description":"Error code for programmatic handling","example":"AUTH_INVALID_CREDENTIALS","uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"Field that failed validation","example":"appId","uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Validation error message","example":"AppId is required","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Validation error details (for VALIDATION_ERROR)","uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","description":"Unique request ID for tracking","example":"req_abc123def456","uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of the response","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"status":401,"message":"Unable to identify business","error":{"code":"AUTH_TOKEN_INVALID"},"meta":{"requestId":"req_abc123","timestamp":"2026-01-05T10:30:00+00:00"}},"examples":{"Example":{"title":"Example","value":{"success":false,"status":401,"message":"Unable to identify business","error":{"code":"AUTH_TOKEN_INVALID"},"meta":{"requestId":"req_abc123","timestamp":"2026-01-05T10:30:00+00:00"}}}},"exampleType":"examples"}},"exampleType":"examples"},"5684d3d9-6ab8-40ef-aa78-4c125e7dda2a":{"description":"Conflict - cardholder with email or externalId already exists","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"message":{"type":"string","example":"Invalid credentials","uniqueKey":"message","typeLabel":"string"},"error":{"type":"object","properties":{"code":{"type":"string","description":"Error code for programmatic handling","example":"AUTH_INVALID_CREDENTIALS","uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"Field that failed validation","example":"appId","uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Validation error message","example":"AppId is required","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Validation error details (for VALIDATION_ERROR)","uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","description":"Unique request ID for tracking","example":"req_abc123def456","uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of the response","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"status":401,"message":"Invalid credentials","error":{"code":"AUTH_INVALID_CREDENTIALS","details":[{"field":"appId","message":"AppId is required"}]},"meta":{"requestId":"req_abc123def456","timestamp":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ec8d56ad-274a-4b00-93b8-b479417c8a18":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT access token obtained from /auth/token","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"1371ac77-6d70-4c14-87c8-47519e1f03cc":{"url":"https://api.fyatu.com/api/v3","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT access token obtained from /auth/token","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"JWT access token obtained from /auth/token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"v3/openapi.json"},"subdomain":"fyatu","siteName":"FYATU API Docs","title":"Create Cardholder - FYATU API Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v3.20 — CaaS":{"href":"/v3.20/api-reference/cardholders/create","matchLevel":1},"v3 — Business":{"href":"/v3/api-reference/cardholders/create","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-15T22:31:12.241Z","originalFileLocation":"v3/api-reference/cardholders/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new cardholder for virtual card issuing. Submit personal details and start issuing cards immediately. POST /cardholders.\">\u003cmeta data-mint-head name=\"keywords\" content=\"card issuing API, virtual card API, Mastercard API, Visa API, prepaid card issuing, 3D Secure cards, Apple Pay API, Google Pay API, fintech API Africa, payment API, payout API, webhook API, REST API card issuing, programmatic card issuing, virtual debit card API, card program API, mobile money API, payment gateway Africa\">\u003cmeta data-mint-head name=\"application-name\" content=\"FYATU API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Cardholder - FYATU API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new cardholder for virtual card issuing. Submit personal details and start issuing cards immediately. POST /cardholders.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fyatu API Documentation — Card Issuing API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fyatu.com/v3/api-reference/cardholders/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fyatu.mintlify.site/_mintlify/api/og/v2?division=Cardholders\u0026amp;title=Create+Cardholder\u0026amp;description=Create+a+new+cardholder+for+virtual+card+issuing.+Submit+personal+details+and+start+issuing+cards+immediately.+POST+%2Fcardholders.\u0026amp;theme=4a91f0fc566d34e9acdb9cbb\u0026amp;signature=faf71e91065209568129d416f6aca218c73211719f668c2dedeed949c9530651\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Cardholder - FYATU API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new cardholder for virtual card issuing. Submit personal details and start issuing cards immediately. POST /cardholders.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fyatu.mintlify.site/_mintlify/api/og/v2?division=Cardholders\u0026amp;title=Create+Cardholder\u0026amp;description=Create+a+new+cardholder+for+virtual+card+issuing.+Submit+personal+details+and+start+issuing+cards+immediately.+POST+%2Fcardholders.\u0026amp;theme=4a91f0fc566d34e9acdb9cbb\u0026amp;signature=faf71e91065209568129d416f6aca218c73211719f668c2dedeed949c9530651\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FYATU API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#721D5D\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fyatu.com/v3/api-reference/cardholders/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v3/api-reference/cardholders/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fyatu.com/#organization\",\"name\":\"FYATU API Docs\",\"url\":\"https://docs.fyatu.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fyatu/1Y4pa7wxF_kMnOCq/logo/light.png?fit=max\u0026auto=format\u0026n=1Y4pa7wxF_kMnOCq\u0026q=85\u0026s=da06db892390b1d64a6da61ed20cf95e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fyatu.com#website\",\"name\":\"FYATU API Docs\",\"url\":\"https://docs.fyatu.com\",\"publisher\":{\"@id\":\"https://docs.fyatu.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fyatu.com/v3/api-reference/cardholders/create#webpage\",\"url\":\"https://docs.fyatu.com/v3/api-reference/cardholders/create\",\"name\":\"Create Cardholder\",\"description\":\"Create a new cardholder for virtual card issuing. Submit personal details and start issuing cards immediately. POST /cardholders.\",\"dateModified\":\"2026-11-15T22:31:12.241Z\",\"isPartOf\":{\"@id\":\"https://docs.fyatu.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fyatu.com/v3/api-reference/cardholders/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fyatu.com/v3/api-reference/cardholders/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cardholders\",\"item\":\"https://docs.fyatu.com/v3/api-reference/cardholders/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Cardholder\",\"item\":\"https://docs.fyatu.com/v3/api-reference/cardholders/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fyatu.com/v3/api-reference/cardholders/create#apireference\",\"headline\":\"Create Cardholder\",\"name\":\"Create Cardholder\",\"description\":\"Create a new cardholder for virtual card issuing. Submit personal details and start issuing cards immediately. POST /cardholders.\",\"url\":\"https://docs.fyatu.com/v3/api-reference/cardholders/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fyatu.com/v3/api-reference/cardholders/create#webpage\"},\"dateModified\":\"2026-11-15T22:31:12.241Z\",\"publisher\":{\"@id\":\"https://docs.fyatu.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fyatu.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FYATU API Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"FYATU API Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v3/api-reference/cardholders/create.md","siteName":"FYATU API Docs","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://fyatu.com"}]},"versions":[{"version":"v3.20 — CaaS","default":true,"pages":[{"title":"v3.20 — CaaS","href":"/v3.20/api-reference/cardholders/create"}]},{"version":"v3 — Business","tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/home"}]},{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/v3/documentation/introduction"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/v3/api-reference/overview"}]},{"group":"Authentication","pages":[{"title":"Generate Token","openapi":"v3/openapi.json POST /auth/token","href":"/v3/api-reference/auth/token"},{"title":"Refresh Token","openapi":"v3/openapi.json POST /auth/refresh","href":"/v3/api-reference/auth/refresh"},{"title":"Revoke Token","openapi":"v3/openapi.json POST /auth/revoke","href":"/v3/api-reference/auth/revoke"}]},{"group":"Account","pages":[{"title":"Get Pricing","openapi":"v3/openapi.json GET /account/pricing","href":"/v3/api-reference/account/pricing"},{"title":"Get Wallet","openapi":"v3/openapi.json GET /account/wallet","href":"/v3/api-reference/account/wallet"},{"title":"Get Transactions","openapi":"v3/openapi.json GET /account/transactions","href":"/v3/api-reference/account/transactions"},{"title":"Get Transaction","openapi":"v3/openapi.json GET /account/transactions/{transactionId}","href":"/v3/api-reference/account/transaction"},{"title":"Get Statement","openapi":"v3/openapi.json GET /account/statement","href":"/v3/api-reference/account/statement"},{"title":"Get Invoices","openapi":"v3/openapi.json GET /account/invoices","href":"/v3/api-reference/account/invoices"},{"title":"Request Withdrawal","openapi":"v3/openapi.json POST /account/withdraw","href":"/v3/api-reference/account/withdraw"},{"title":"Generate Deposit Address","openapi":"v3/openapi.json POST /account/deposit-address","href":"/v3/api-reference/account/deposit-address"},{"title":"Register Withdrawal Address","openapi":"v3/openapi.json POST /account/withdrawal-address","href":"/v3/api-reference/account/withdrawal-address"}]},{"group":"Cardholders","pages":[{"title":"List Cardholders","description":"List all cardholders in your Fyatu card program with pagination and KYC status filtering. GET /cardholders.","openapi":"v3/openapi.json GET /cardholders","href":"/v3/api-reference/cardholders/list"},{"title":"Create Cardholder","openapi":"v3/openapi.json POST /cardholders","href":"/v3/api-reference/cardholders/create"},{"title":"Get Cardholder","description":"Get cardholder details including KYC status, personal information, and associated cards. GET /cardholders/{id}.","openapi":"v3/openapi.json GET /cardholders/{id}","href":"/v3/api-reference/cardholders/get"},{"title":"Update Cardholder","openapi":"v3/openapi.json PATCH /cardholders/{id}","href":"/v3/api-reference/cardholders/update"},{"title":"Delete Cardholder","openapi":"v3/openapi.json DELETE /cardholders/{id}","href":"/v3/api-reference/cardholders/delete"},{"title":"Initiate KYC Verification","openapi":"v3/openapi.json POST /cardholders/{id}/kyc/session","href":"/v3/api-reference/cardholders/kyc-session"},{"title":"Submit KYC Documents","openapi":"v3/openapi.json POST /cardholders/{id}/kyc","href":"/v3/api-reference/cardholders/kyc"}]},{"group":"Cards","pages":[{"title":"List Card Products","openapi":"v3/openapi.json GET /cards/products","href":"/v3/api-reference/cards/products"},{"title":"List Merchant Category Restrictions","openapi":"v3/openapi.json GET /cards/merchant-category-restrictions","href":"/v3/api-reference/cards/merchant-category-restrictions"},{"title":"List Cards","openapi":"v3/openapi.json GET /cards","href":"/v3/api-reference/cards/list"},{"title":"Create Card","openapi":"v3/openapi.json POST /cards","href":"/v3/api-reference/cards/create"},{"title":"Get Card Details","openapi":"v3/openapi.json GET /cards/{cardId}","href":"/v3/api-reference/cards/get"},{"title":"Get Encrypted Card Details","openapi":"v3/openapi.json GET /cards/{cardId}/secure-details","href":"/v3/api-reference/cards/secure-details"},{"title":"Terminate Card","openapi":"v3/openapi.json DELETE /cards/{cardId}","href":"/v3/api-reference/cards/delete"},{"title":"Get Card Transactions","openapi":"v3/openapi.json GET /cards/{cardId}/transactions","href":"/v3/api-reference/cards/transactions"},{"title":"Get Card Transaction","openapi":"v3/openapi.json GET /cards/{cardId}/transactions/{txnId}","href":"/v3/api-reference/cards/transaction"},{"title":"Download Card Statement","openapi":"v3/openapi.json GET /cards/{cardId}/statement","href":"/v3/api-reference/cards/statement"},{"title":"Fund Card","openapi":"v3/openapi.json POST /cards/{cardId}/fund","href":"/v3/api-reference/cards/fund"},{"title":"Unload Card","openapi":"v3/openapi.json POST /cards/{cardId}/unload","href":"/v3/api-reference/cards/unload"},{"title":"Freeze Card","openapi":"v3/openapi.json POST /cards/{cardId}/freeze","href":"/v3/api-reference/cards/freeze"},{"title":"Unfreeze Card","openapi":"v3/openapi.json POST /cards/{cardId}/unfreeze","href":"/v3/api-reference/cards/unfreeze"},{"title":"Replace Card","openapi":"v3/openapi.json POST /cards/{cardId}/replace","href":"/v3/api-reference/cards/replace"}]}]},{"tab":"Webhooks","icon":"webhook","pages":[{"title":"Webhooks","href":"/v3/webhooks/signature-verification"}]}]}]},"basePath":"","title":"Create Cardholder - FYATU API Docs","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}