{ "statusCode": 400, "error": "Bad Request", "message": [ "authorization_controls.usage.multi_use.spending_limits amounts must not decrease as the interval widens (per_transaction, per_day, per_week, per_month, all_time)", "authorization_controls.merchant_category_code.allowed must not include 7995: Lemma declines these merchant category codes on every card" ]}
Cards
Create card
Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.
{ "statusCode": 400, "error": "Bad Request", "message": [ "authorization_controls.usage.multi_use.spending_limits amounts must not decrease as the interval widens (per_transaction, per_day, per_week, per_month, all_time)", "authorization_controls.merchant_category_code.allowed must not include 7995: Lemma declines these merchant category codes on every card" ]}
Issues a virtual debit card on a bank account, for many purchases or for one, as set by authorization_controls.usage.category. See Card lifecycle for what a card needs to spend and how its status changes.
Headers
string
required
A key that prevents issuing a duplicate card if the same request is retried.
Reusing a key returns the originally created card instead of issuing a second
one. See Idempotency.
A human-readable label for this card. Between 1 and 50 characters.
object
The cardholder contact used to verify adding the card to Apple Pay or Google
Wallet. Without an email or phone, the card can’t be added to a mobile wallet.
Show Digital wallet fields
string
The cardholder’s email address.
string
The cardholder’s US phone number. The card returns it in E.164 format,
such as +12165552368.
object
required
Controls that restrict how this card can be used.
Show Authorization controls fields
object
required
How many times this card can be used, and the controls for that usage.
Show Usage fields
enum
required
Whether the card is for a single use or multiple uses.
Show Available options
string
The card can be used for multiple purchases, within its spending
limits.
string
The card can be used for one purchase, up to a maximum amount.
object | null
Controls for multi-use cards. Required if category is multi_use;
otherwise send null or omit it.
Show Multi-use fields
object[]
required
The spending limits to enforce on this card. Must contain at least
one limit and at most one limit per interval. Where several limits
apply to a transaction, the most restrictive one wins.
Show Limit object
enum
required
The window this limit is enforced over.
Show Available options
string
Applies over the lifetime of the card.
string
Applies to each individual transaction.
string
Resets nightly at midnight UTC.
string
Resets weekly on Mondays at midnight UTC.
string
Resets on the first of the month at midnight UTC.
integer
required
The cap on settled spend in this window, in cents. Must be
positive, and at least as large as the cap on every narrower
interval, since a wider cap below a narrower one is never
reached.
object | null
Controls for single-use cards. Required if category is
single_use; otherwise send null or omit it.
Show Single-use fields
object
required
The amount the card’s one purchase is checked against.
Show Settlement amount fields
enum
required
How the purchase’s settled amount is compared with value.
Show Available options
string
Any amount up to value is approved. The only comparison
accepted.
integer
required
The most the purchase may settle for, in cents. Must be a
positive integer.
object | null
Restricts the card to, or bars it from, a list of merchant category
codes (MCCs). Set exactly one of allowed or blocked. Omit it, or send
null, to leave the card usable at every merchant category Lemma permits.
Show Merchant category code fields
string[] | null
The only merchant category codes this card can be used at; every
other code is declined. Each code is a 4-digit string such as
"8011". Ranges are not accepted, so list each code. Lemma declines
7995 (gambling) and 6051 (quasi-cash) on every card, so a list
naming either is rejected with a 400 that names the codes. On a
single-use card, so is a list naming 6010 or 6011 (ATM withdrawals).
string[] | null
Merchant category codes this card is declined at. Lemma adds 7995
and 6051 to every block list, and 6010 and 6011 on a single-use
card.
Response
Returns the created card object.
string
Unique identifier for the card, prefixed with card_.
The card’s status. See Card
lifecycle for how each
status behaves.
Show Available options
string
The card can be used for payments.
string
The card is frozen.
string
The card is permanently canceled.
string
The card is past its expiration date.
string
A single-use card whose one purchase is pending or settled.
string
A physical card that has not been activated yet.
object
Every control restricting how this card can be used.
Show Authorization controls object
object
How many times this card can be used, and its controls.
Show Usage object
enum
Whether the card is for a single use or multiple uses.
Show Available options
string
The card can be used for multiple purchases, within its spending
limits.
string
The card can be used for one purchase, up to a maximum amount.
object | null
Controls for multi-use cards. null on a single-use card.
Show Multi-use object
object[]
Every spending limit enforced on this card, including the ones
Lemma applies automatically.
Show Limit object
enum
The window this limit is enforced over.
Show Available options
string
Applies over the lifetime of the card.
string
Applies to each individual transaction.
string
Resets nightly at midnight UTC.
string
Resets weekly on Mondays at midnight UTC.
string
Resets on the first of the month at midnight UTC.
integer
Cap in cents.
string[] | null
Merchant category codes this limit applies to. null applies
to all merchants.
object | null
Controls for single-use cards. null on a multi-use card.
Show Single-use object
object
The amount the card’s one purchase is checked against.
Show Settlement amount object
enum
How the purchase’s settled amount is compared with value.
Show Available options
string
Any amount up to value is approved.
string
Only exactly value is approved.
integer
The most the purchase may settle for, in cents.
object | null
Restricts which Merchant Acceptor IDs this card may transact with. null
when this dimension is unrestricted.
Show Merchant acceptor identifier object
string[] | null
The only Merchant Acceptor IDs this card may transact with. null
when this dimension is not an allow list.
string[] | null
Merchant Acceptor IDs this card may never transact with. null when
this dimension is not a block list.
object | null
Restricts which merchant categories this card may transact with, including
the categories Lemma blocks on every card it issues. null when this
dimension is unrestricted.
Show Merchant category code object
string[] | null
The only merchant category codes this card may transact with. null
when this dimension is not an allow list.
string[] | null
Merchant category codes this card may never transact with. null when
this dimension is not a block list.
object | null
Restricts which merchant countries this card may transact with, as ISO
3166-1 alpha-2 codes.
null when this dimension is unrestricted.
Show Merchant country object
string[] | null
The only merchant countries this card may transact with. null when
this dimension is not an allow list.
string[] | null
Merchant countries this card may never transact with. null when this
dimension is not a block list.
object
The cardholder contact used to verify adding the card to Apple Pay or Google
Wallet. With neither an email nor a phone, the card can’t be added to a mobile
wallet. Set it with Create card or
Update card.
Show Digital wallet object
string | null
The cardholder’s email address. null when none is set.
string | null
The cardholder’s phone number in E.164 format, such as +12165552368,
whatever format it was sent in. null when none is set.
{ "statusCode": 400, "error": "Bad Request", "message": [ "authorization_controls.usage.multi_use.spending_limits amounts must not decrease as the interval widens (per_transaction, per_day, per_week, per_month, all_time)", "authorization_controls.merchant_category_code.allowed must not include 7995: Lemma declines these merchant category codes on every card" ]}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lemma","colors":{"primary":"#3E8C62","light":"#19A158","dark":"#1F683B"},"logo":{"light":"https://mintcdn.com/tobiasgetlemmacom/ga7-AJ0bNOh4DaFA/logo/light.svg?fit=max\u0026auto=format\u0026n=ga7-AJ0bNOh4DaFA\u0026q=85\u0026s=22d93147856a6c7f0ee13b4c32d85e38","dark":"https://mintcdn.com/tobiasgetlemmacom/ga7-AJ0bNOh4DaFA/logo/dark.svg?fit=max\u0026auto=format\u0026n=ga7-AJ0bNOh4DaFA\u0026q=85\u0026s=1fd108f99d1bd321b2d2654a2357c68c"},"favicon":{"light":"https://mintcdn.com/tobiasgetlemmacom/2Yia6_ElNafR3Qf8/favicon-light.svg?fit=max\u0026auto=format\u0026n=2Yia6_ElNafR3Qf8\u0026q=85\u0026s=f1f39174d5ba6b28f2f5e7b4cb90cd9d","dark":"https://mintcdn.com/tobiasgetlemmacom/2Yia6_ElNafR3Qf8/favicon-dark.svg?fit=max\u0026auto=format\u0026n=2Yia6_ElNafR3Qf8\u0026q=85\u0026s=d6fbb0c522af9ef019becb1be221a3bf"},"api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.getlemma.com"}},"navbar":{"links":[{"href":"https://getlemma.com/book-a-demo?utm_source=lemma-docs\u0026utm_medium=navbar\u0026utm_campaign=lemma-docs-navbar","label":"Book a demo"}],"primary":{"type":"button","label":"Get started","href":"https://app.getlemma.com/sign-up"}},"footer":{"socials":{}},"seo":{"metatags":{"og:locale":"en_US"},"organization":{"id":"https://getlemma.com/#organization","name":"Lemma","legalName":"Lemma Technologies, Inc.","url":"https://getlemma.com","logo":"https://getlemma.com/icon.png","sameAs":["https://www.linkedin.com/company/lemmahealthcare"]}},"icons":{"library":"lucide"},"styling":{"latex":false},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor"],"display":"header"},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tobiasgetlemmacom","hasAudioNarration":false,"actualSubdomain":"tobiasgetlemmacom","customDomains":["getlemma.com"],"gitSource":{"type":"github","owner":"lemma-banking","repo":"lemma-monorepo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0dfc7c12da8299948f5663","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Banking","count":66},{"language":"default","tag":"API reference","count":48},{"language":"default","tag":"Send money","count":17},{"language":"default","tag":"Insurance payments","count":16},{"language":"default","tag":"Concepts","count":12},{"language":"default","tag":"Entity management","count":12},{"language":"default","tag":"Bookkeeping","count":9},{"language":"default","tag":"Get started","count":9},{"language":"default","tag":"Entity settings","count":9},{"language":"default","tag":"Integrations","count":8}],"searchSettings":{"isFiltersEnabled":false}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"contact@getlemma.com","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":"#footer>*{display:none}#footer::after{content:\"Lemma Technologies, Inc. is a financial technology company and is not a bank.\\A All bank services are provided by Core Bank, Member FDIC.\";white-space:pre-line;display:block;font-size:0.8125rem;line-height:1.5;opacity:0.7}@media (max-width: 639px){#footer::after{content:\"Lemma Technologies, Inc. is a financial technology company and is not a bank. All bank services are provided by Core Bank, Member FDIC.\";white-space:normal}}"}]}
{"page":{"pagePath":"api-reference/create-card","slug":"/api-reference/create-card","pageMetadata":{"title":"Create card","description":"Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.","api":"POST /v0/cards","href":"/api-reference/create-card"},"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: \"Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.\"\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`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Issues a virtual debit card on a bank account, for many purchases or for one, as set by `,_jsx(_components.code,{children:`authorization_controls.usage.category`}),`. See `,_jsx(_components.a,{href:`/api-reference/card-lifecycle`,children:`Card lifecycle`}),` for what a card needs to spend and how its status changes.`]}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,required:true,id:`param-idempotency-key`,children:_jsxs(_components.p,{children:[`A key that prevents issuing a duplicate card if the same request is retried.\nReusing a key returns the originally created card instead of issuing a second\none. See `,_jsx(_components.a,{href:`/api-reference/idempotency`,children:`Idempotency`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`bank_account_id`,type:`string`,required:true,id:`param-bank-account-id`,children:_jsxs(_components.p,{children:[`The bank account this card draws from. See\n`,_jsx(_components.a,{href:`/api-reference/card-lifecycle#cash-in-the-bank-account`,children:`Cash in the bank account`}),`.`]})}),`\n`,_jsx(ParamField,{body:`nickname`,type:`string`,required:true,id:`param-nickname`,children:_jsx(_components.p,{children:`A human-readable label for this card. Between 1 and 50 characters.`})}),`\n`,_jsxs(ParamField,{body:`digital_wallet`,type:`object`,id:`param-digital-wallet`,children:[_jsx(_components.p,{children:`The cardholder contact used to verify adding the card to Apple Pay or Google\nWallet. Without an email or phone, the card can’t be added to a mobile wallet.`}),_jsxs(Expandable,{title:`Digital wallet fields`,children:[_jsx(ParamField,{body:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`The cardholder’s email address.`})}),_jsx(ParamField,{body:`phone`,type:`string`,id:`param-phone`,children:_jsxs(_components.p,{children:[`The cardholder’s US phone number. The card returns it in E.164 format,\nsuch as `,_jsx(_components.code,{children:`+12165552368`}),`.`]})})]})]}),`\n`,_jsxs(ParamField,{body:`authorization_controls`,type:`object`,required:true,id:`param-authorization-controls`,children:[_jsx(_components.p,{children:`Controls that restrict how this card can be used.`}),_jsxs(Expandable,{title:`Authorization controls fields`,children:[_jsxs(ParamField,{body:`usage`,type:`object`,required:true,id:`param-usage`,children:[_jsx(_components.p,{children:`How many times this card can be used, and the controls for that usage.`}),_jsxs(Expandable,{title:`Usage fields`,children:[_jsxs(ParamField,{body:`category`,type:`enum`,required:true,id:`param-category`,children:[_jsx(_components.p,{children:`Whether the card is for a single use or multiple uses.`}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`multi_use`,type:`string`,id:`param-multi-use`,children:_jsx(_components.p,{children:`The card can be used for multiple purchases, within its spending\nlimits.`})}),_jsx(ResponseField,{name:`single_use`,type:`string`,id:`param-single-use`,children:_jsx(_components.p,{children:`The card can be used for one purchase, up to a maximum amount.`})})]})]}),_jsxs(ParamField,{body:`multi_use`,type:`object | null`,id:`param-multi-use-1`,children:[_jsxs(_components.p,{children:[`Controls for multi-use cards. Required if `,_jsx(_components.code,{children:`category`}),` is `,_jsx(_components.code,{children:`multi_use`}),`;\notherwise send `,_jsx(_components.code,{children:`null`}),` or omit it.`]}),_jsx(Expandable,{title:`Multi-use fields`,children:_jsxs(ParamField,{body:`spending_limits`,type:`object[]`,required:true,id:`param-spending-limits`,children:[_jsx(_components.p,{children:`The spending limits to enforce on this card. Must contain at least\none limit and at most one limit per interval. Where several limits\napply to a transaction, the most restrictive one wins.`}),_jsxs(Expandable,{title:`Limit object`,children:[_jsxs(ParamField,{body:`interval`,type:`enum`,required:true,id:`param-interval`,children:[_jsx(_components.p,{children:`The window this limit is enforced over.`}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`all_time`,type:`string`,id:`param-all-time`,children:_jsx(_components.p,{children:`Applies over the lifetime of the card.`})}),_jsx(ResponseField,{name:`per_transaction`,type:`string`,id:`param-per-transaction`,children:_jsx(_components.p,{children:`Applies to each individual transaction.`})}),_jsx(ResponseField,{name:`per_day`,type:`string`,id:`param-per-day`,children:_jsx(_components.p,{children:`Resets nightly at midnight UTC.`})}),_jsx(ResponseField,{name:`per_week`,type:`string`,id:`param-per-week`,children:_jsx(_components.p,{children:`Resets weekly on Mondays at midnight UTC.`})}),_jsx(ResponseField,{name:`per_month`,type:`string`,id:`param-per-month`,children:_jsx(_components.p,{children:`Resets on the first of the month at midnight UTC.`})})]})]}),_jsx(ParamField,{body:`amount`,type:`integer`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`The cap on settled spend in this window, in cents. Must be\npositive, and at least as large as the cap on every narrower\ninterval, since a wider cap below a narrower one is never\nreached.`})})]})]})})]}),_jsxs(ParamField,{body:`single_use`,type:`object | null`,id:`param-single-use-1`,children:[_jsxs(_components.p,{children:[`Controls for single-use cards. Required if `,_jsx(_components.code,{children:`category`}),` is\n`,_jsx(_components.code,{children:`single_use`}),`; otherwise send `,_jsx(_components.code,{children:`null`}),` or omit it.`]}),_jsx(Expandable,{title:`Single-use fields`,children:_jsxs(ParamField,{body:`settlement_amount`,type:`object`,required:true,id:`param-settlement-amount`,children:[_jsx(_components.p,{children:`The amount the card’s one purchase is checked against.`}),_jsxs(Expandable,{title:`Settlement amount fields`,children:[_jsxs(ParamField,{body:`comparison`,type:`enum`,required:true,id:`param-comparison`,children:[_jsxs(_components.p,{children:[`How the purchase’s settled amount is compared with `,_jsx(_components.code,{children:`value`}),`.`]}),_jsx(Expandable,{title:`Available options`,children:_jsx(ResponseField,{name:`less_than_or_equals`,type:`string`,id:`param-less-than-or-equals`,children:_jsxs(_components.p,{children:[`Any amount up to `,_jsx(_components.code,{children:`value`}),` is approved. The only comparison\naccepted.`]})})})]}),_jsx(ParamField,{body:`value`,type:`integer`,required:true,id:`param-value`,children:_jsx(_components.p,{children:`The most the purchase may settle for, in cents. Must be a\npositive integer.`})})]})]})})]})]})]}),_jsxs(ParamField,{body:`merchant_category_code`,type:`object | null`,id:`param-merchant-category-code`,children:[_jsxs(_components.p,{children:[`Restricts the card to, or bars it from, a list of merchant category\ncodes (MCCs). Set exactly one of `,_jsx(_components.code,{children:`allowed`}),` or `,_jsx(_components.code,{children:`blocked`}),`. Omit it, or send\n`,_jsx(_components.code,{children:`null`}),`, to leave the card usable at every merchant category Lemma permits.`]}),_jsxs(Expandable,{title:`Merchant category code fields`,children:[_jsx(ParamField,{body:`allowed`,type:`string[] | null`,id:`param-allowed`,children:_jsxs(_components.p,{children:[`The only merchant category codes this card can be used at; every\nother code is declined. Each code is a 4-digit string such as\n`,_jsx(_components.code,{children:`\"8011\"`}),`. Ranges are not accepted, so list each code. Lemma declines\n`,_jsx(_components.code,{children:`7995`}),` (gambling) and `,_jsx(_components.code,{children:`6051`}),` (quasi-cash) on every card, so a list\nnaming either is rejected with a `,_jsx(_components.code,{children:`400`}),` that names the codes. On a\nsingle-use card, so is a list naming `,_jsx(_components.code,{children:`6010`}),` or `,_jsx(_components.code,{children:`6011`}),` (ATM withdrawals).`]})}),_jsx(ParamField,{body:`blocked`,type:`string[] | null`,id:`param-blocked`,children:_jsxs(_components.p,{children:[`Merchant category codes this card is declined at. Lemma adds `,_jsx(_components.code,{children:`7995`}),`\nand `,_jsx(_components.code,{children:`6051`}),` to every block list, and `,_jsx(_components.code,{children:`6010`}),` and `,_jsx(_components.code,{children:`6011`}),` on a single-use\ncard.`]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns the created card object.`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[`Unique identifier for the card, prefixed with `,_jsx(_components.code,{children:`card_`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/api-reference/timestamps`,children:`ISO 8601`}),` timestamp of when the card was created.`]})}),`\n`,_jsx(ResponseField,{name:`entity_id`,type:`string`,id:`param-entity-id`,children:_jsx(_components.p,{children:`The ID of the entity that owns this card.`})}),`\n`,_jsx(ResponseField,{name:`bank_account_id`,type:`string`,id:`param-bank-account-id-1`,children:_jsx(_components.p,{children:`The bank account this card draws from.`})}),`\n`,_jsx(ResponseField,{name:`nickname`,type:`string`,id:`param-nickname-1`,children:_jsx(_components.p,{children:`The human-readable label for this card.`})}),`\n`,_jsx(ResponseField,{name:`last_4`,type:`string`,id:`param-last-4`,children:_jsx(_components.p,{children:`The last 4 digits of the card number.`})}),`\n`,_jsxs(ResponseField,{name:`status`,type:`enum`,id:`param-status`,children:[_jsxs(_components.p,{children:[`The card’s status. See `,_jsx(_components.a,{href:`/api-reference/card-lifecycle#is-the-card-active`,children:`Card\nlifecycle`}),` for how each\nstatus behaves.`]}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`active`,type:`string`,id:`param-active`,children:_jsx(_components.p,{children:`The card can be used for payments.`})}),_jsx(ResponseField,{name:`disabled`,type:`string`,id:`param-disabled`,children:_jsx(_components.p,{children:`The card is frozen.`})}),_jsx(ResponseField,{name:`canceled`,type:`string`,id:`param-canceled`,children:_jsx(_components.p,{children:`The card is permanently canceled.`})}),_jsx(ResponseField,{name:`expired`,type:`string`,id:`param-expired`,children:_jsx(_components.p,{children:`The card is past its expiration date.`})}),_jsx(ResponseField,{name:`used`,type:`string`,id:`param-used`,children:_jsx(_components.p,{children:`A single-use card whose one purchase is pending or settled.`})}),_jsx(ResponseField,{name:`awaiting_activation`,type:`string`,id:`param-awaiting-activation`,children:_jsx(_components.p,{children:`A physical card that has not been activated yet.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`authorization_controls`,type:`object`,id:`param-authorization-controls-1`,children:[_jsx(_components.p,{children:`Every control restricting how this card can be used.`}),_jsxs(Expandable,{title:`Authorization controls object`,children:[_jsxs(ResponseField,{name:`usage`,type:`object`,id:`param-usage-1`,children:[_jsx(_components.p,{children:`How many times this card can be used, and its controls.`}),_jsxs(Expandable,{title:`Usage object`,children:[_jsxs(ResponseField,{name:`category`,type:`enum`,id:`param-category-1`,children:[_jsx(_components.p,{children:`Whether the card is for a single use or multiple uses.`}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`multi_use`,type:`string`,id:`param-multi-use-2`,children:_jsx(_components.p,{children:`The card can be used for multiple purchases, within its spending\nlimits.`})}),_jsx(ResponseField,{name:`single_use`,type:`string`,id:`param-single-use-2`,children:_jsx(_components.p,{children:`The card can be used for one purchase, up to a maximum amount.`})})]})]}),_jsxs(ResponseField,{name:`multi_use`,type:`object | null`,id:`param-multi-use-3`,children:[_jsxs(_components.p,{children:[`Controls for multi-use cards. `,_jsx(_components.code,{children:`null`}),` on a single-use card.`]}),_jsx(Expandable,{title:`Multi-use object`,children:_jsxs(ResponseField,{name:`spending_limits`,type:`object[]`,id:`param-spending-limits-1`,children:[_jsx(_components.p,{children:`Every spending limit enforced on this card, including the ones\nLemma applies automatically.`}),_jsxs(Expandable,{title:`Limit object`,children:[_jsxs(ResponseField,{name:`interval`,type:`enum`,id:`param-interval-1`,children:[_jsx(_components.p,{children:`The window this limit is enforced over.`}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`all_time`,type:`string`,id:`param-all-time-1`,children:_jsx(_components.p,{children:`Applies over the lifetime of the card.`})}),_jsx(ResponseField,{name:`per_transaction`,type:`string`,id:`param-per-transaction-1`,children:_jsx(_components.p,{children:`Applies to each individual transaction.`})}),_jsx(ResponseField,{name:`per_day`,type:`string`,id:`param-per-day-1`,children:_jsx(_components.p,{children:`Resets nightly at midnight UTC.`})}),_jsx(ResponseField,{name:`per_week`,type:`string`,id:`param-per-week-1`,children:_jsx(_components.p,{children:`Resets weekly on Mondays at midnight UTC.`})}),_jsx(ResponseField,{name:`per_month`,type:`string`,id:`param-per-month-1`,children:_jsx(_components.p,{children:`Resets on the first of the month at midnight UTC.`})})]})]}),_jsx(ResponseField,{name:`amount`,type:`integer`,id:`param-amount-1`,children:_jsx(_components.p,{children:`Cap in cents.`})}),_jsx(ResponseField,{name:`merchant_category_codes`,type:`string[] | null`,id:`param-merchant-category-codes`,children:_jsxs(_components.p,{children:[`Merchant category codes this limit applies to. `,_jsx(_components.code,{children:`null`}),` applies\nto all merchants.`]})})]})]})})]}),_jsxs(ResponseField,{name:`single_use`,type:`object | null`,id:`param-single-use-3`,children:[_jsxs(_components.p,{children:[`Controls for single-use cards. `,_jsx(_components.code,{children:`null`}),` on a multi-use card.`]}),_jsx(Expandable,{title:`Single-use object`,children:_jsxs(ResponseField,{name:`settlement_amount`,type:`object`,id:`param-settlement-amount-1`,children:[_jsx(_components.p,{children:`The amount the card’s one purchase is checked against.`}),_jsxs(Expandable,{title:`Settlement amount object`,children:[_jsxs(ResponseField,{name:`comparison`,type:`enum`,id:`param-comparison-1`,children:[_jsxs(_components.p,{children:[`How the purchase’s settled amount is compared with `,_jsx(_components.code,{children:`value`}),`.`]}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`less_than_or_equals`,type:`string`,id:`param-less-than-or-equals-1`,children:_jsxs(_components.p,{children:[`Any amount up to `,_jsx(_components.code,{children:`value`}),` is approved.`]})}),_jsx(ResponseField,{name:`equals`,type:`string`,id:`param-equals`,children:_jsxs(_components.p,{children:[`Only exactly `,_jsx(_components.code,{children:`value`}),` is approved.`]})})]})]}),_jsx(ResponseField,{name:`value`,type:`integer`,id:`param-value-1`,children:_jsx(_components.p,{children:`The most the purchase may settle for, in cents.`})})]})]})})]})]})]}),_jsxs(ResponseField,{name:`merchant_acceptor_identifier`,type:`object | null`,id:`param-merchant-acceptor-identifier`,children:[_jsxs(_components.p,{children:[`Restricts which Merchant Acceptor IDs this card may transact with. `,_jsx(_components.code,{children:`null`}),`\nwhen this dimension is unrestricted.`]}),_jsxs(Expandable,{title:`Merchant acceptor identifier object`,children:[_jsx(ResponseField,{name:`allowed`,type:`string[] | null`,id:`param-allowed-1`,children:_jsxs(_components.p,{children:[`The only Merchant Acceptor IDs this card may transact with. `,_jsx(_components.code,{children:`null`}),`\nwhen this dimension is not an allow list.`]})}),_jsx(ResponseField,{name:`blocked`,type:`string[] | null`,id:`param-blocked-1`,children:_jsxs(_components.p,{children:[`Merchant Acceptor IDs this card may never transact with. `,_jsx(_components.code,{children:`null`}),` when\nthis dimension is not a block list.`]})})]})]}),_jsxs(ResponseField,{name:`merchant_category_code`,type:`object | null`,id:`param-merchant-category-code-1`,children:[_jsxs(_components.p,{children:[`Restricts which merchant categories this card may transact with, including\nthe categories Lemma blocks on every card it issues. `,_jsx(_components.code,{children:`null`}),` when this\ndimension is unrestricted.`]}),_jsxs(Expandable,{title:`Merchant category code object`,children:[_jsx(ResponseField,{name:`allowed`,type:`string[] | null`,id:`param-allowed-2`,children:_jsxs(_components.p,{children:[`The only merchant category codes this card may transact with. `,_jsx(_components.code,{children:`null`}),`\nwhen this dimension is not an allow list.`]})}),_jsx(ResponseField,{name:`blocked`,type:`string[] | null`,id:`param-blocked-2`,children:_jsxs(_components.p,{children:[`Merchant category codes this card may never transact with. `,_jsx(_components.code,{children:`null`}),` when\nthis dimension is not a block list.`]})})]})]}),_jsxs(ResponseField,{name:`merchant_country`,type:`object | null`,id:`param-merchant-country`,children:[_jsxs(_components.p,{children:[`Restricts which merchant countries this card may transact with, as `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2`,children:`ISO\n3166-1 alpha-2`}),` codes.\n`,_jsx(_components.code,{children:`null`}),` when this dimension is unrestricted.`]}),_jsxs(Expandable,{title:`Merchant country object`,children:[_jsx(ResponseField,{name:`allowed`,type:`string[] | null`,id:`param-allowed-3`,children:_jsxs(_components.p,{children:[`The only merchant countries this card may transact with. `,_jsx(_components.code,{children:`null`}),` when\nthis dimension is not an allow list.`]})}),_jsx(ResponseField,{name:`blocked`,type:`string[] | null`,id:`param-blocked-3`,children:_jsxs(_components.p,{children:[`Merchant countries this card may never transact with. `,_jsx(_components.code,{children:`null`}),` when this\ndimension is not a block list.`]})})]})]})]})]}),`\n`,_jsxs(ResponseField,{name:`digital_wallet`,type:`object`,id:`param-digital-wallet-1`,children:[_jsxs(_components.p,{children:[`The cardholder contact used to verify adding the card to Apple Pay or Google\nWallet. With neither an email nor a phone, the card can’t be added to a mobile\nwallet. Set it with `,_jsx(_components.a,{href:`/api-reference/create-card`,children:`Create card`}),` or\n`,_jsx(_components.a,{href:`/api-reference/update-card`,children:`Update card`}),`.`]}),_jsxs(Expandable,{title:`Digital wallet object`,children:[_jsx(ResponseField,{name:`email`,type:`string | null`,id:`param-email-1`,children:_jsxs(_components.p,{children:[`The cardholder’s email address. `,_jsx(_components.code,{children:`null`}),` when none is set.`]})}),_jsx(ResponseField,{name:`phone`,type:`string | null`,id:`param-phone-1`,children:_jsxs(_components.p,{children:[`The cardholder’s phone number in E.164 format, such as `,_jsx(_components.code,{children:`+12165552368`}),`,\nwhatever format it was sent in. `,_jsx(_components.code,{children:`null`}),` when none is set.`]})})]})]})]})}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 card","description":"Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.","api":"POST /v0/cards","href":"/api-reference/create-card"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Issues a virtual debit card on a bank account, for many purchases or for one, as set by `,_jsx(_components.code,{children:`authorization_controls.usage.category`}),`. See `,_jsx(_components.a,{href:`/api-reference/card-lifecycle`,children:`Card lifecycle`}),` for what a card needs to spend and how its status changes.`]}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,required:true,id:`param-idempotency-key`,children:_jsxs(_components.p,{children:[`A key that prevents issuing a duplicate card if the same request is retried.\nReusing a key returns the originally created card instead of issuing a second\none. See `,_jsx(_components.a,{href:`/api-reference/idempotency`,children:`Idempotency`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`bank_account_id`,type:`string`,required:true,id:`param-bank-account-id`,children:_jsxs(_components.p,{children:[`The bank account this card draws from. See\n`,_jsx(_components.a,{href:`/api-reference/card-lifecycle#cash-in-the-bank-account`,children:`Cash in the bank account`}),`.`]})}),`\n`,_jsx(ParamField,{body:`nickname`,type:`string`,required:true,id:`param-nickname`,children:_jsx(_components.p,{children:`A human-readable label for this card. Between 1 and 50 characters.`})}),`\n`,_jsxs(ParamField,{body:`digital_wallet`,type:`object`,id:`param-digital-wallet`,children:[_jsx(_components.p,{children:`The cardholder contact used to verify adding the card to Apple Pay or Google\nWallet. Without an email or phone, the card can’t be added to a mobile wallet.`}),_jsxs(Expandable,{title:`Digital wallet fields`,children:[_jsx(ParamField,{body:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`The cardholder’s email address.`})}),_jsx(ParamField,{body:`phone`,type:`string`,id:`param-phone`,children:_jsxs(_components.p,{children:[`The cardholder’s US phone number. The card returns it in E.164 format,\nsuch as `,_jsx(_components.code,{children:`+12165552368`}),`.`]})})]})]}),`\n`,_jsxs(ParamField,{body:`authorization_controls`,type:`object`,required:true,id:`param-authorization-controls`,children:[_jsx(_components.p,{children:`Controls that restrict how this card can be used.`}),_jsxs(Expandable,{title:`Authorization controls fields`,children:[_jsxs(ParamField,{body:`usage`,type:`object`,required:true,id:`param-usage`,children:[_jsx(_components.p,{children:`How many times this card can be used, and the controls for that usage.`}),_jsxs(Expandable,{title:`Usage fields`,children:[_jsxs(ParamField,{body:`category`,type:`enum`,required:true,id:`param-category`,children:[_jsx(_components.p,{children:`Whether the card is for a single use or multiple uses.`}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`multi_use`,type:`string`,id:`param-multi-use`,children:_jsx(_components.p,{children:`The card can be used for multiple purchases, within its spending\nlimits.`})}),_jsx(ResponseField,{name:`single_use`,type:`string`,id:`param-single-use`,children:_jsx(_components.p,{children:`The card can be used for one purchase, up to a maximum amount.`})})]})]}),_jsxs(ParamField,{body:`multi_use`,type:`object | null`,id:`param-multi-use-1`,children:[_jsxs(_components.p,{children:[`Controls for multi-use cards. Required if `,_jsx(_components.code,{children:`category`}),` is `,_jsx(_components.code,{children:`multi_use`}),`;\notherwise send `,_jsx(_components.code,{children:`null`}),` or omit it.`]}),_jsx(Expandable,{title:`Multi-use fields`,children:_jsxs(ParamField,{body:`spending_limits`,type:`object[]`,required:true,id:`param-spending-limits`,children:[_jsx(_components.p,{children:`The spending limits to enforce on this card. Must contain at least\none limit and at most one limit per interval. Where several limits\napply to a transaction, the most restrictive one wins.`}),_jsxs(Expandable,{title:`Limit object`,children:[_jsxs(ParamField,{body:`interval`,type:`enum`,required:true,id:`param-interval`,children:[_jsx(_components.p,{children:`The window this limit is enforced over.`}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`all_time`,type:`string`,id:`param-all-time`,children:_jsx(_components.p,{children:`Applies over the lifetime of the card.`})}),_jsx(ResponseField,{name:`per_transaction`,type:`string`,id:`param-per-transaction`,children:_jsx(_components.p,{children:`Applies to each individual transaction.`})}),_jsx(ResponseField,{name:`per_day`,type:`string`,id:`param-per-day`,children:_jsx(_components.p,{children:`Resets nightly at midnight UTC.`})}),_jsx(ResponseField,{name:`per_week`,type:`string`,id:`param-per-week`,children:_jsx(_components.p,{children:`Resets weekly on Mondays at midnight UTC.`})}),_jsx(ResponseField,{name:`per_month`,type:`string`,id:`param-per-month`,children:_jsx(_components.p,{children:`Resets on the first of the month at midnight UTC.`})})]})]}),_jsx(ParamField,{body:`amount`,type:`integer`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`The cap on settled spend in this window, in cents. Must be\npositive, and at least as large as the cap on every narrower\ninterval, since a wider cap below a narrower one is never\nreached.`})})]})]})})]}),_jsxs(ParamField,{body:`single_use`,type:`object | null`,id:`param-single-use-1`,children:[_jsxs(_components.p,{children:[`Controls for single-use cards. Required if `,_jsx(_components.code,{children:`category`}),` is\n`,_jsx(_components.code,{children:`single_use`}),`; otherwise send `,_jsx(_components.code,{children:`null`}),` or omit it.`]}),_jsx(Expandable,{title:`Single-use fields`,children:_jsxs(ParamField,{body:`settlement_amount`,type:`object`,required:true,id:`param-settlement-amount`,children:[_jsx(_components.p,{children:`The amount the card’s one purchase is checked against.`}),_jsxs(Expandable,{title:`Settlement amount fields`,children:[_jsxs(ParamField,{body:`comparison`,type:`enum`,required:true,id:`param-comparison`,children:[_jsxs(_components.p,{children:[`How the purchase’s settled amount is compared with `,_jsx(_components.code,{children:`value`}),`.`]}),_jsx(Expandable,{title:`Available options`,children:_jsx(ResponseField,{name:`less_than_or_equals`,type:`string`,id:`param-less-than-or-equals`,children:_jsxs(_components.p,{children:[`Any amount up to `,_jsx(_components.code,{children:`value`}),` is approved. The only comparison\naccepted.`]})})})]}),_jsx(ParamField,{body:`value`,type:`integer`,required:true,id:`param-value`,children:_jsx(_components.p,{children:`The most the purchase may settle for, in cents. Must be a\npositive integer.`})})]})]})})]})]})]}),_jsxs(ParamField,{body:`merchant_category_code`,type:`object | null`,id:`param-merchant-category-code`,children:[_jsxs(_components.p,{children:[`Restricts the card to, or bars it from, a list of merchant category\ncodes (MCCs). Set exactly one of `,_jsx(_components.code,{children:`allowed`}),` or `,_jsx(_components.code,{children:`blocked`}),`. Omit it, or send\n`,_jsx(_components.code,{children:`null`}),`, to leave the card usable at every merchant category Lemma permits.`]}),_jsxs(Expandable,{title:`Merchant category code fields`,children:[_jsx(ParamField,{body:`allowed`,type:`string[] | null`,id:`param-allowed`,children:_jsxs(_components.p,{children:[`The only merchant category codes this card can be used at; every\nother code is declined. Each code is a 4-digit string such as\n`,_jsx(_components.code,{children:`\"8011\"`}),`. Ranges are not accepted, so list each code. Lemma declines\n`,_jsx(_components.code,{children:`7995`}),` (gambling) and `,_jsx(_components.code,{children:`6051`}),` (quasi-cash) on every card, so a list\nnaming either is rejected with a `,_jsx(_components.code,{children:`400`}),` that names the codes. On a\nsingle-use card, so is a list naming `,_jsx(_components.code,{children:`6010`}),` or `,_jsx(_components.code,{children:`6011`}),` (ATM withdrawals).`]})}),_jsx(ParamField,{body:`blocked`,type:`string[] | null`,id:`param-blocked`,children:_jsxs(_components.p,{children:[`Merchant category codes this card is declined at. Lemma adds `,_jsx(_components.code,{children:`7995`}),`\nand `,_jsx(_components.code,{children:`6051`}),` to every block list, and `,_jsx(_components.code,{children:`6010`}),` and `,_jsx(_components.code,{children:`6011`}),` on a single-use\ncard.`]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns the created card object.`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[`Unique identifier for the card, prefixed with `,_jsx(_components.code,{children:`card_`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/api-reference/timestamps`,children:`ISO 8601`}),` timestamp of when the card was created.`]})}),`\n`,_jsx(ResponseField,{name:`entity_id`,type:`string`,id:`param-entity-id`,children:_jsx(_components.p,{children:`The ID of the entity that owns this card.`})}),`\n`,_jsx(ResponseField,{name:`bank_account_id`,type:`string`,id:`param-bank-account-id-1`,children:_jsx(_components.p,{children:`The bank account this card draws from.`})}),`\n`,_jsx(ResponseField,{name:`nickname`,type:`string`,id:`param-nickname-1`,children:_jsx(_components.p,{children:`The human-readable label for this card.`})}),`\n`,_jsx(ResponseField,{name:`last_4`,type:`string`,id:`param-last-4`,children:_jsx(_components.p,{children:`The last 4 digits of the card number.`})}),`\n`,_jsxs(ResponseField,{name:`status`,type:`enum`,id:`param-status`,children:[_jsxs(_components.p,{children:[`The card’s status. See `,_jsx(_components.a,{href:`/api-reference/card-lifecycle#is-the-card-active`,children:`Card\nlifecycle`}),` for how each\nstatus behaves.`]}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`active`,type:`string`,id:`param-active`,children:_jsx(_components.p,{children:`The card can be used for payments.`})}),_jsx(ResponseField,{name:`disabled`,type:`string`,id:`param-disabled`,children:_jsx(_components.p,{children:`The card is frozen.`})}),_jsx(ResponseField,{name:`canceled`,type:`string`,id:`param-canceled`,children:_jsx(_components.p,{children:`The card is permanently canceled.`})}),_jsx(ResponseField,{name:`expired`,type:`string`,id:`param-expired`,children:_jsx(_components.p,{children:`The card is past its expiration date.`})}),_jsx(ResponseField,{name:`used`,type:`string`,id:`param-used`,children:_jsx(_components.p,{children:`A single-use card whose one purchase is pending or settled.`})}),_jsx(ResponseField,{name:`awaiting_activation`,type:`string`,id:`param-awaiting-activation`,children:_jsx(_components.p,{children:`A physical card that has not been activated yet.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`authorization_controls`,type:`object`,id:`param-authorization-controls-1`,children:[_jsx(_components.p,{children:`Every control restricting how this card can be used.`}),_jsxs(Expandable,{title:`Authorization controls object`,children:[_jsxs(ResponseField,{name:`usage`,type:`object`,id:`param-usage-1`,children:[_jsx(_components.p,{children:`How many times this card can be used, and its controls.`}),_jsxs(Expandable,{title:`Usage object`,children:[_jsxs(ResponseField,{name:`category`,type:`enum`,id:`param-category-1`,children:[_jsx(_components.p,{children:`Whether the card is for a single use or multiple uses.`}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`multi_use`,type:`string`,id:`param-multi-use-2`,children:_jsx(_components.p,{children:`The card can be used for multiple purchases, within its spending\nlimits.`})}),_jsx(ResponseField,{name:`single_use`,type:`string`,id:`param-single-use-2`,children:_jsx(_components.p,{children:`The card can be used for one purchase, up to a maximum amount.`})})]})]}),_jsxs(ResponseField,{name:`multi_use`,type:`object | null`,id:`param-multi-use-3`,children:[_jsxs(_components.p,{children:[`Controls for multi-use cards. `,_jsx(_components.code,{children:`null`}),` on a single-use card.`]}),_jsx(Expandable,{title:`Multi-use object`,children:_jsxs(ResponseField,{name:`spending_limits`,type:`object[]`,id:`param-spending-limits-1`,children:[_jsx(_components.p,{children:`Every spending limit enforced on this card, including the ones\nLemma applies automatically.`}),_jsxs(Expandable,{title:`Limit object`,children:[_jsxs(ResponseField,{name:`interval`,type:`enum`,id:`param-interval-1`,children:[_jsx(_components.p,{children:`The window this limit is enforced over.`}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`all_time`,type:`string`,id:`param-all-time-1`,children:_jsx(_components.p,{children:`Applies over the lifetime of the card.`})}),_jsx(ResponseField,{name:`per_transaction`,type:`string`,id:`param-per-transaction-1`,children:_jsx(_components.p,{children:`Applies to each individual transaction.`})}),_jsx(ResponseField,{name:`per_day`,type:`string`,id:`param-per-day-1`,children:_jsx(_components.p,{children:`Resets nightly at midnight UTC.`})}),_jsx(ResponseField,{name:`per_week`,type:`string`,id:`param-per-week-1`,children:_jsx(_components.p,{children:`Resets weekly on Mondays at midnight UTC.`})}),_jsx(ResponseField,{name:`per_month`,type:`string`,id:`param-per-month-1`,children:_jsx(_components.p,{children:`Resets on the first of the month at midnight UTC.`})})]})]}),_jsx(ResponseField,{name:`amount`,type:`integer`,id:`param-amount-1`,children:_jsx(_components.p,{children:`Cap in cents.`})}),_jsx(ResponseField,{name:`merchant_category_codes`,type:`string[] | null`,id:`param-merchant-category-codes`,children:_jsxs(_components.p,{children:[`Merchant category codes this limit applies to. `,_jsx(_components.code,{children:`null`}),` applies\nto all merchants.`]})})]})]})})]}),_jsxs(ResponseField,{name:`single_use`,type:`object | null`,id:`param-single-use-3`,children:[_jsxs(_components.p,{children:[`Controls for single-use cards. `,_jsx(_components.code,{children:`null`}),` on a multi-use card.`]}),_jsx(Expandable,{title:`Single-use object`,children:_jsxs(ResponseField,{name:`settlement_amount`,type:`object`,id:`param-settlement-amount-1`,children:[_jsx(_components.p,{children:`The amount the card’s one purchase is checked against.`}),_jsxs(Expandable,{title:`Settlement amount object`,children:[_jsxs(ResponseField,{name:`comparison`,type:`enum`,id:`param-comparison-1`,children:[_jsxs(_components.p,{children:[`How the purchase’s settled amount is compared with `,_jsx(_components.code,{children:`value`}),`.`]}),_jsxs(Expandable,{title:`Available options`,children:[_jsx(ResponseField,{name:`less_than_or_equals`,type:`string`,id:`param-less-than-or-equals-1`,children:_jsxs(_components.p,{children:[`Any amount up to `,_jsx(_components.code,{children:`value`}),` is approved.`]})}),_jsx(ResponseField,{name:`equals`,type:`string`,id:`param-equals`,children:_jsxs(_components.p,{children:[`Only exactly `,_jsx(_components.code,{children:`value`}),` is approved.`]})})]})]}),_jsx(ResponseField,{name:`value`,type:`integer`,id:`param-value-1`,children:_jsx(_components.p,{children:`The most the purchase may settle for, in cents.`})})]})]})})]})]})]}),_jsxs(ResponseField,{name:`merchant_acceptor_identifier`,type:`object | null`,id:`param-merchant-acceptor-identifier`,children:[_jsxs(_components.p,{children:[`Restricts which Merchant Acceptor IDs this card may transact with. `,_jsx(_components.code,{children:`null`}),`\nwhen this dimension is unrestricted.`]}),_jsxs(Expandable,{title:`Merchant acceptor identifier object`,children:[_jsx(ResponseField,{name:`allowed`,type:`string[] | null`,id:`param-allowed-1`,children:_jsxs(_components.p,{children:[`The only Merchant Acceptor IDs this card may transact with. `,_jsx(_components.code,{children:`null`}),`\nwhen this dimension is not an allow list.`]})}),_jsx(ResponseField,{name:`blocked`,type:`string[] | null`,id:`param-blocked-1`,children:_jsxs(_components.p,{children:[`Merchant Acceptor IDs this card may never transact with. `,_jsx(_components.code,{children:`null`}),` when\nthis dimension is not a block list.`]})})]})]}),_jsxs(ResponseField,{name:`merchant_category_code`,type:`object | null`,id:`param-merchant-category-code-1`,children:[_jsxs(_components.p,{children:[`Restricts which merchant categories this card may transact with, including\nthe categories Lemma blocks on every card it issues. `,_jsx(_components.code,{children:`null`}),` when this\ndimension is unrestricted.`]}),_jsxs(Expandable,{title:`Merchant category code object`,children:[_jsx(ResponseField,{name:`allowed`,type:`string[] | null`,id:`param-allowed-2`,children:_jsxs(_components.p,{children:[`The only merchant category codes this card may transact with. `,_jsx(_components.code,{children:`null`}),`\nwhen this dimension is not an allow list.`]})}),_jsx(ResponseField,{name:`blocked`,type:`string[] | null`,id:`param-blocked-2`,children:_jsxs(_components.p,{children:[`Merchant category codes this card may never transact with. `,_jsx(_components.code,{children:`null`}),` when\nthis dimension is not a block list.`]})})]})]}),_jsxs(ResponseField,{name:`merchant_country`,type:`object | null`,id:`param-merchant-country`,children:[_jsxs(_components.p,{children:[`Restricts which merchant countries this card may transact with, as `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2`,children:`ISO\n3166-1 alpha-2`}),` codes.\n`,_jsx(_components.code,{children:`null`}),` when this dimension is unrestricted.`]}),_jsxs(Expandable,{title:`Merchant country object`,children:[_jsx(ResponseField,{name:`allowed`,type:`string[] | null`,id:`param-allowed-3`,children:_jsxs(_components.p,{children:[`The only merchant countries this card may transact with. `,_jsx(_components.code,{children:`null`}),` when\nthis dimension is not an allow list.`]})}),_jsx(ResponseField,{name:`blocked`,type:`string[] | null`,id:`param-blocked-3`,children:_jsxs(_components.p,{children:[`Merchant countries this card may never transact with. `,_jsx(_components.code,{children:`null`}),` when this\ndimension is not a block list.`]})})]})]})]})]}),`\n`,_jsxs(ResponseField,{name:`digital_wallet`,type:`object`,id:`param-digital-wallet-1`,children:[_jsxs(_components.p,{children:[`The cardholder contact used to verify adding the card to Apple Pay or Google\nWallet. With neither an email nor a phone, the card can’t be added to a mobile\nwallet. Set it with `,_jsx(_components.a,{href:`/api-reference/create-card`,children:`Create card`}),` or\n`,_jsx(_components.a,{href:`/api-reference/update-card`,children:`Update card`}),`.`]}),_jsxs(Expandable,{title:`Digital wallet object`,children:[_jsx(ResponseField,{name:`email`,type:`string | null`,id:`param-email-1`,children:_jsxs(_components.p,{children:[`The cardholder’s email address. `,_jsx(_components.code,{children:`null`}),` when none is set.`]})}),_jsx(ResponseField,{name:`phone`,type:`string | null`,id:`param-phone-1`,children:_jsxs(_components.p,{children:[`The cardholder’s phone number in E.164 format, such as `,_jsx(_components.code,{children:`+12165552368`}),`,\nwhatever format it was sent in. `,_jsx(_components.code,{children:`null`}),` when none is set.`]})})]})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201`,numberOfLines:`26`,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:`26`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"card_Bx5nTm8hKw3pVd7c\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-07-28T18:45:00Z\"`}),_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:` \"entity_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity_k7mXp2vR9nTfBw4s\"`}),_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:` \"bank_account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"account_Qz8mVn2xTk6pRw4h\"`}),_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:` \"nickname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme ops card\"`}),_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:` \"last_4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4242\"`}),_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:` \"authorization_controls\"`}),_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:` \"usage\"`}),_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:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"multi_use\"`}),_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:` \"multi_use\"`}),_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:` \"spending_limits\"`}),_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\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"interval\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"per_transaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`25000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"merchant_category_codes\"`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"interval\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"per_day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"merchant_category_codes\"`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"interval\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"per_day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"merchant_category_codes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6010\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6011\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"single_use\"`}),_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:` \"merchant_acceptor_identifier\"`}),_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:` \"merchant_category_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"allowed\"`}),_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:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"blocked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7995\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6051\"`}),_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:` \"merchant_country\"`}),_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:` \"digital_wallet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"ops@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"+12165552368\"`}),_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(CodeBlock,{filename:`201 Single-use`,numberOfLines:`22`,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:`22`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"card_Rk4mWp9vTn2xQb6h\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-26T18:45:00Z\"`}),_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:` \"entity_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity_k7mXp2vR9nTfBw4s\"`}),_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:` \"bank_account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"account_Qz8mVn2xTk6pRw4h\"`}),_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:` \"nickname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Lab supplies order\"`}),_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:` \"last_4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8817\"`}),_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:` \"authorization_controls\"`}),_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:` \"usage\"`}),_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:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"single_use\"`}),_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:` \"multi_use\"`}),_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:` \"single_use\"`}),_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:` \"settlement_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"comparison\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"less_than_or_equals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`25000`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"merchant_acceptor_identifier\"`}),_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:` \"merchant_category_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"allowed\"`}),_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:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"blocked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7995\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6051\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6010\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6011\"`}),_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:` \"merchant_country\"`}),_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:` \"digital_wallet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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(CodeBlock,{filename:`400`,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:` \"statusCode\"`}),_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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bad Request\"`}),_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:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"authorization_controls.usage.multi_use.spending_limits amounts must not decrease as the interval widens (per_transaction, per_day, per_week, per_month, all_time)\"`}),_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:` \"authorization_controls.merchant_category_code.allowed must not include 7995: Lemma declines these merchant category codes on every card\"`})}),`\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`]})})})]})]})}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 card","description":"Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.","api":"POST /v0/cards","href":"/api-reference/create-card"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"201","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"26\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"card_Bx5nTm8hKw3pVd7c\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-07-28T18:45:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entity_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"entity_k7mXp2vR9nTfBw4s\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"bank_account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"account_Qz8mVn2xTk6pRw4h\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nickname\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme ops card\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"4242\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"authorization_controls\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"category\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"multi_use\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"multi_use\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"spending_limits\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"interval\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"per_transaction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">25000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"merchant_category_codes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"interval\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"per_day\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">100000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"merchant_category_codes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"interval\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"per_day\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">300000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"merchant_category_codes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6010\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6011\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">] }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"single_use\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_acceptor_identifier\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_category_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"allowed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"blocked\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"7995\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6051\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">] },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"digital_wallet\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ops@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"phone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+12165552368\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"201 Single-use","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"22\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"card_Rk4mWp9vTn2xQb6h\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-26T18:45:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entity_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"entity_k7mXp2vR9nTfBw4s\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"bank_account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"account_Qz8mVn2xTk6pRw4h\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nickname\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Lab supplies order\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8817\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"authorization_controls\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"category\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"single_use\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"multi_use\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"single_use\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"settlement_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"comparison\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"less_than_or_equals\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">25000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_acceptor_identifier\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_category_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"allowed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"blocked\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"7995\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6051\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6010\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6011\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">] },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"digital_wallet\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"phone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"statusCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">400\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bad Request\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"authorization_controls.usage.multi_use.spending_limits amounts must not decrease as the interval widens (per_transaction, per_day, per_week, per_month, all_time)\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"authorization_controls.merchant_category_code.allowed must not include 7995: Lemma declines these merchant category codes on every card\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create card","path":"/v0/cards","servers":[{"url":"https://api.getlemma.com"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"Idempotency-Key":{"schema":[{"type":"string","description":"A key that prevents issuing a duplicate card if the same request is retried. Reusing a key returns the originally created card instead of issuing a second one. See Idempotency .","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"bank_account_id":[{"type":"string","description":"The bank account this card draws from. See Cash in the bank account .","required":true}],"nickname":[{"type":"string","description":"A human-readable label for this card. Between 1 and 50 characters.","required":true}],"digital_wallet":[{"type":"object","properties":{"email":[{"type":"string","description":"The cardholder’s email address."}],"phone":[{"type":"string","description":"The cardholder’s US phone number. The card returns it in E.164 format, such as `+12165552368` ."}]},"description":"The cardholder contact used to verify adding the card to Apple Pay or Google Wallet. Without an email or phone, the card can’t be added to a mobile wallet."}],"authorization_controls":[{"type":"object","properties":{"usage":[{"type":"object","properties":{"category":[{"type":"object","properties":{},"description":"Whether the card is for a single use or multiple uses.","required":true}],"multi_use":[{"type":"object","properties":{"spending_limits":[{"type":"array","items":[{"type":"object","properties":{"interval":[{"type":"object","properties":{},"description":"The window this limit is enforced over.","required":true}],"amount":[{"type":"integer","description":"The cap on settled spend in this window, in cents. Must be positive, and at least as large as the cap on every narrower interval, since a wider cap below a narrower one is never reached.","required":true}]}}],"description":"The spending limits to enforce on this card. Must contain at least one limit and at most one limit per interval. Where several limits apply to a transaction, the most restrictive one wins.","required":true}]},"description":"Controls for multi-use cards. Required if `category` is `multi_use` ; otherwise send `null` or omit it."}],"single_use":[{"type":"object","properties":{"settlement_amount":[{"type":"object","properties":{"comparison":[{"type":"object","properties":{},"description":"How the purchase’s settled amount is compared with `value` .","required":true}],"value":[{"type":"integer","description":"The most the purchase may settle for, in cents. Must be a positive integer.","required":true}]},"description":"The amount the card’s one purchase is checked against.","required":true}]},"description":"Controls for single-use cards. Required if `category` is `single_use` ; otherwise send `null` or omit it."}]},"description":"How many times this card can be used, and the controls for that usage.","required":true}],"merchant_category_code":[{"type":"object","properties":{"allowed":[{"type":"object","properties":{},"description":"The only merchant category codes this card can be used at; every other code is declined. Each code is a 4-digit string such as `\"8011\"` . Ranges are not accepted, so list each code. Lemma declines `7995` (gambling) and `6051` (quasi-cash) on every card, so a list naming either is rejected with a `400` that names the codes. On a single-use card, so is a list naming `6010` or `6011` (ATM withdrawals)."}],"blocked":[{"type":"object","properties":{},"description":"Merchant category codes this card is declined at. Lemma adds `7995` and `6051` to every block list, and `6010` and `6011` on a single-use card."}]},"description":"Restricts the card to, or bars it from, a list of merchant category codes (MCCs). Set exactly one of `allowed` or `blocked` . Omit it, or send `null` , to leave the card usable at every merchant category Lemma permits."}]},"description":"Controls that restrict how this card can be used.","required":true}]}}],"examples":{"example":{"value":{"bank_account_id":"\u003cstring>","nickname":"\u003cstring>","digital_wallet":{"email":"\u003cstring>","phone":"\u003cstring>"},"authorization_controls":{"usage":{"category":{},"multi_use":{"spending_limits":[{"interval":{},"amount":123}]},"single_use":{"settlement_amount":{"comparison":{},"value":123}}},"merchant_category_code":{"allowed":{},"blocked":{}}}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the card, prefixed with `card_` ."}],"created_at":[{"type":"string","description":"ISO 8601 timestamp of when the card was created."}],"entity_id":[{"type":"string","description":"The ID of the entity that owns this card."}],"bank_account_id":[{"type":"string","description":"The bank account this card draws from."}],"nickname":[{"type":"string","description":"The human-readable label for this card."}],"last_4":[{"type":"string","description":"The last 4 digits of the card number."}],"status":[{"type":"object","properties":{"active":[{"type":"string","description":"The card can be used for payments."}],"disabled":[{"type":"string","description":"The card is frozen."}],"canceled":[{"type":"string","description":"The card is permanently canceled."}],"expired":[{"type":"string","description":"The card is past its expiration date."}],"used":[{"type":"string","description":"A single-use card whose one purchase is pending or settled."}],"awaiting_activation":[{"type":"string","description":"A physical card that has not been activated yet."}]},"description":"The card’s status. See Card lifecycle for how each status behaves."}],"authorization_controls":[{"type":"object","properties":{"usage":[{"type":"object","properties":{"category":[{"type":"object","properties":{"multi_use":[{"type":"string","description":"The card can be used for multiple purchases, within its spending limits."}],"single_use":[{"type":"string","description":"The card can be used for one purchase, up to a maximum amount."}]},"description":"Whether the card is for a single use or multiple uses."}],"multi_use":[{"type":"object","properties":{"spending_limits":[{"type":"array","items":[{"type":"object","properties":{"interval":[{"type":"object","properties":{"all_time":[{"type":"string","description":"Applies over the lifetime of the card."}],"per_transaction":[{"type":"string","description":"Applies to each individual transaction."}],"per_day":[{"type":"string","description":"Resets nightly at midnight UTC."}],"per_week":[{"type":"string","description":"Resets weekly on Mondays at midnight UTC."}],"per_month":[{"type":"string","description":"Resets on the first of the month at midnight UTC."}]},"description":"The window this limit is enforced over."}],"amount":[{"type":"integer","description":"Cap in cents."}],"merchant_category_codes":[{"type":"object","properties":{},"description":"Merchant category codes this limit applies to. `null` applies to all merchants."}]}}],"description":"Every spending limit enforced on this card, including the ones Lemma applies automatically."}]},"description":"Controls for multi-use cards. `null` on a single-use card."}],"single_use":[{"type":"object","properties":{"settlement_amount":[{"type":"object","properties":{"comparison":[{"type":"object","properties":{"less_than_or_equals":[{"type":"string","description":"Any amount up to `value` is approved."}],"equals":[{"type":"string","description":"Only exactly `value` is approved."}]},"description":"How the purchase’s settled amount is compared with `value` ."}],"value":[{"type":"integer","description":"The most the purchase may settle for, in cents."}]},"description":"The amount the card’s one purchase is checked against."}]},"description":"Controls for single-use cards. `null` on a multi-use card."}]},"description":"How many times this card can be used, and its controls."}],"merchant_acceptor_identifier":[{"type":"object","properties":{"allowed":[{"type":"object","properties":{},"description":"The only Merchant Acceptor IDs this card may transact with. `null` when this dimension is not an allow list."}],"blocked":[{"type":"object","properties":{},"description":"Merchant Acceptor IDs this card may never transact with. `null` when this dimension is not a block list."}]},"description":"Restricts which Merchant Acceptor IDs this card may transact with. `null` when this dimension is unrestricted."}],"merchant_category_code":[{"type":"object","properties":{"allowed":[{"type":"object","properties":{},"description":"The only merchant category codes this card may transact with. `null` when this dimension is not an allow list."}],"blocked":[{"type":"object","properties":{},"description":"Merchant category codes this card may never transact with. `null` when this dimension is not a block list."}]},"description":"Restricts which merchant categories this card may transact with, including the categories Lemma blocks on every card it issues. `null` when this dimension is unrestricted."}],"merchant_country":[{"type":"object","properties":{"allowed":[{"type":"object","properties":{},"description":"The only merchant countries this card may transact with. `null` when this dimension is not an allow list."}],"blocked":[{"type":"object","properties":{},"description":"Merchant countries this card may never transact with. `null` when this dimension is not a block list."}]},"description":"Restricts which merchant countries this card may transact with, as ISO 3166-1 alpha-2 codes. `null` when this dimension is unrestricted."}]},"description":"Every control restricting how this card can be used."}],"digital_wallet":[{"type":"object","properties":{"email":[{"type":"object","properties":{},"description":"The cardholder’s email address. `null` when none is set."}],"phone":[{"type":"object","properties":{},"description":"The cardholder’s phone number in E.164 format, such as `+12165552368` , whatever format it was sent in. `null` when none is set."}]},"description":"The cardholder contact used to verify adding the card to Apple Pay or Google Wallet. With neither an email nor a phone, the card can’t be added to a mobile wallet. Set it with Create card or Update card ."}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","created_at":"\u003cstring>","entity_id":"\u003cstring>","bank_account_id":"\u003cstring>","nickname":"\u003cstring>","last_4":"\u003cstring>","status":{"active":"\u003cstring>","disabled":"\u003cstring>","canceled":"\u003cstring>","expired":"\u003cstring>","used":"\u003cstring>","awaiting_activation":"\u003cstring>"},"authorization_controls":{"usage":{"category":{"multi_use":"\u003cstring>","single_use":"\u003cstring>"},"multi_use":{"spending_limits":[{"interval":{"all_time":"\u003cstring>","per_transaction":"\u003cstring>","per_day":"\u003cstring>","per_week":"\u003cstring>","per_month":"\u003cstring>"},"amount":123,"merchant_category_codes":{}}]},"single_use":{"settlement_amount":{"comparison":{"less_than_or_equals":"\u003cstring>","equals":"\u003cstring>"},"value":123}}},"merchant_acceptor_identifier":{"allowed":{},"blocked":{}},"merchant_category_code":{"allowed":{},"blocked":{}},"merchant_country":{"allowed":{},"blocked":{}}},"digital_wallet":{"email":{},"phone":{}}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"tobiasgetlemmacom","siteName":"Lemma","title":"Create card - Lemma","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T17:05:08.381Z","originalFileLocation":"api-reference/create-card.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=\"Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lemma\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_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=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create card - Lemma\">\u003cmeta data-mint-head property=\"og:description\" content=\"Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lemma\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://getlemma.com/docs/api-reference/create-card\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tobiasgetlemmacom.mintlify.site/docs/_mintlify/api/og/v2?division=Cards\u0026amp;title=Create+card\u0026amp;description=Issue+a+virtual+debit+card+with+custom+spending+limits%2C+or+a+single-use+card+for+one+purchase.\u0026amp;theme=9ba478b57b2987cb9977a672\u0026amp;signature=92b4fab1fa914c89be233a375b62a44e6891dfe27228d7c6429122727e84c925\">\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 card - Lemma\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tobiasgetlemmacom.mintlify.site/docs/_mintlify/api/og/v2?division=Cards\u0026amp;title=Create+card\u0026amp;description=Issue+a+virtual+debit+card+with+custom+spending+limits%2C+or+a+single-use+card+for+one+purchase.\u0026amp;theme=9ba478b57b2987cb9977a672\u0026amp;signature=92b4fab1fa914c89be233a375b62a44e6891dfe27228d7c6429122727e84c925\">\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=\"/docs/mintlify-assets/_mintlify/favicons/tobiasgetlemmacom/2ulUT6jTif4fQAgK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lemma\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3E8C62\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://getlemma.com/docs/api-reference/create-card\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/create-card.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://getlemma.com/#organization\",\"name\":\"Lemma\",\"legalName\":\"Lemma Technologies, Inc.\",\"url\":\"https://getlemma.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://getlemma.com/icon.png\"},\"sameAs\":[\"https://www.linkedin.com/company/lemmahealthcare\"]},{\"@type\":\"WebSite\",\"@id\":\"https://getlemma.com/docs#website\",\"name\":\"Lemma\",\"url\":\"https://getlemma.com/docs\",\"publisher\":{\"@id\":\"https://getlemma.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://getlemma.com/docs/api-reference/create-card#webpage\",\"url\":\"https://getlemma.com/docs/api-reference/create-card\",\"name\":\"Create card\",\"description\":\"Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.\",\"dateModified\":\"2026-11-25T17:05:08.381Z\",\"isPartOf\":{\"@id\":\"https://getlemma.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://getlemma.com/docs/api-reference/create-card#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://getlemma.com/docs/api-reference/create-card#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cards\",\"item\":\"https://getlemma.com/docs/api-reference/get-card\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create card\",\"item\":\"https://getlemma.com/docs/api-reference/create-card\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://getlemma.com/docs/api-reference/create-card#apireference\",\"headline\":\"Create card\",\"name\":\"Create card\",\"description\":\"Issue a virtual debit card with custom spending limits, or a single-use card for one purchase.\",\"url\":\"https://getlemma.com/docs/api-reference/create-card\",\"mainEntityOfPage\":{\"@id\":\"https://getlemma.com/docs/api-reference/create-card#webpage\"},\"dateModified\":\"2026-11-25T17:05:08.381Z\",\"publisher\":{\"@id\":\"https://getlemma.com/#organization\"},\"isPartOf\":{\"@id\":\"https://getlemma.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lemma\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lemma\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/create-card.md","siteName":"Lemma","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Banking","pages":[{"title":"Banking","href":""}]},{"tab":"Lemma Intelligence","pages":[{"title":"Lemma Intelligence","href":"/lemma-intelligence"}]},{"tab":"Insurance payments","pages":[{"title":"Insurance payments","href":"/billing/eob-processing"}]},{"tab":"API reference","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Webhooks","href":"/api-reference/webhooks"}]},{"group":"Concepts","pages":[{"title":"Entities","href":"/api-reference/entities"},{"title":"Saved recipients","href":"/api-reference/saved-recipients"},{"title":"Timestamps","href":"/api-reference/timestamps"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Idempotency","href":"/api-reference/idempotency"},{"title":"What is inbound?","href":"/api-reference/what-is-inbound"},{"title":"Card payments","href":"/api-reference/card-payments"},{"title":"Lifecycle of a Lemma card","sidebarTitle":"Card lifecycle","href":"/api-reference/card-lifecycle"},{"title":"Understanding 835 remittances","sidebarTitle":"835 remittances","href":"/api-reference/835-remittances"}]},{"group":"Entities","pages":[{"title":"Get entity","api":"GET /v0/entities/{entity_id}","href":"/api-reference/get-entity"},{"title":"List entities","api":"GET /v0/entities","href":"/api-reference/list-entities"}]},{"group":"Bank Accounts","pages":[{"title":"Get bank account","api":"GET /v0/accounts/{account_id}","href":"/api-reference/get-bank-account"},{"title":"List bank accounts","api":"GET /v0/accounts","href":"/api-reference/list-bank-accounts"},{"title":"Open a bank account","api":"POST /v0/accounts","href":"/api-reference/create-bank-account"},{"title":"Get settlement instructions","api":"GET /v0/accounts/{account_id}/settlement-instructions","href":"/api-reference/get-account-settlement-instructions"}]},{"group":"Lockbox","pages":[{"title":"Get entity lockbox","api":"GET /v0/entities/{entity_id}/lockbox","href":"/api-reference/get-entity-lockbox"},{"title":"List entity mail","api":"GET /v0/entities/{entity_id}/mail","href":"/api-reference/list-entity-mail"},{"title":"Get PDF","api":"GET /v0/files/{id}","href":"/api-reference/get-pdf"}]},{"group":"Check deposits","pages":[{"title":"Get a check deposit","api":"GET /v0/check-deposits/{check_deposit_id}","href":"/api-reference/get-check-deposit"},{"title":"List check deposits","api":"GET /v0/check-deposits","href":"/api-reference/list-check-deposits"}]},{"group":"Remittances","pages":[{"title":"List remittances","api":"GET /v1/remittances","href":"/api-reference/list-remittances-v1"},{"title":"Get a remittance's 835 as JSON","api":"GET /v1/remittances/{id}","sidebarTitle":"Get a remittance's 835 (JSON)","href":"/api-reference/get-remittance-v1"},{"title":"Get a remittance's 835 Electronic Remittance Advice (ERA)","api":"GET /v1/remittances/{id}/era","sidebarTitle":"Get a remittance's 835 (ERA)","href":"/api-reference/get-remittance-era-v1"},{"title":"Search reconciliation relationships","api":"GET /v1/recon-search/{id}","href":"/api-reference/recon-search-v1"}]},{"group":"Transactions","pages":[{"title":"Get transaction","api":"GET /v0/transactions/{transaction_id}","href":"/api-reference/get-transaction"},{"title":"List transactions","api":"GET /v0/transactions","href":"/api-reference/list-transactions"}]},{"group":"External accounts","pages":[{"title":"Get external account","api":"GET /v0/external-accounts/{external_account_id}","href":"/api-reference/get-external-account"},{"title":"List external accounts","api":"GET /v0/external-accounts","href":"/api-reference/list-external-accounts"},{"title":"Create external account","api":"POST /v0/external-accounts","href":"/api-reference/create-external-account"}]},{"group":"Cards","pages":[{"title":"Get card","description":"Retrieve a card and its spending limits.","api":"GET /v0/cards/{card_id}","href":"/api-reference/get-card"},{"title":"Create card","api":"POST /v0/cards","href":"/api-reference/create-card"},{"title":"Update card","description":"Freeze or unfreeze a card, change its spending limits or merchant category restrictions, or update the digital wallet cardholder details.","api":"PATCH /v0/cards/{card_id}","href":"/api-reference/update-card"},{"title":"Get a card iframe","api":"GET /v0/cards/{card_id}/iframe","href":"/api-reference/get-card-iframe"},{"title":"Cancel a card","api":"DELETE /v0/cards/{card_id}","href":"/api-reference/cancel-card"}]},{"group":"Book transfers","pages":[{"title":"Get book transfer","api":"GET /v0/book-transfer/{book_transfer_id}","href":"/api-reference/get-book-transfer"},{"title":"Move money internally","api":"POST /v0/book-transfer","href":"/api-reference/move-money-internally"}]},{"group":"ACH transfers","expanded":false,"pages":[{"group":"Inbound ACH transfers","pages":[{"title":"Get inbound ACH transfer","api":"GET /v0/inbound-ach-transfers/{inbound_ach_transfer_id}","href":"/api-reference/get-inbound-ach-transfer"},{"title":"List inbound ACH transfers","api":"GET /v0/inbound-ach-transfers","href":"/api-reference/list-inbound-ach-transfers"}]},{"group":"Outbound ACH transfers","pages":[{"title":"Get outbound ACH transfer","api":"GET /v0/ach-transfer/{ach_transfer_id}","href":"/api-reference/get-ach-transfer"},{"title":"List outbound ACH transfers","api":"GET /v0/ach-transfer","href":"/api-reference/list-ach-transfers"},{"title":"Move money externally","api":"POST /v0/ach-transfer","href":"/api-reference/move-money-externally"}]}]},{"group":"Card payments","expanded":false,"pages":[{"group":"Acquiring","pages":[{"title":"Get inbound card payment","api":"GET /v0/inbound-card-payments/{inbound_card_payment_id}","href":"/api-reference/get-inbound-card-payment"},{"title":"List inbound card payments","api":"GET /v0/inbound-card-payments","href":"/api-reference/list-inbound-card-payments"}]},{"group":"Debit cards","pages":[{"title":"Get outbound card payment","api":"GET /v0/card-payments/{card_payment_id}","href":"/api-reference/get-card-payment"},{"title":"List outbound card payments","api":"GET /v0/card-payments","href":"/api-reference/list-card-payments"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Create card - Lemma","deploymentId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","buildId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-Cn6jN7s-.js","snippetPresets-DjcjTu_l.js","utils-CgDfAybK.js","style-to-object-BY3JEAdk.js","utils-BRh9RHH1.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ekgQXnrs.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DQ8efB5G.js","_Uint8Array-DxysT0ia.js","isObject-FP1Yky1u.js","ApiExamples-B4Dcm0cf.js","usePlaygroundInputsStore-CDeMD38v.js","shallow-BG_m8ALL.js","isEqual-DPm32SJd.js","CodeSnippets-DQz1R-UZ.js","CodeSnippet-NZAMx71T.js","use-playground-group-access-BeZ_TnTl.js","Page-tKmt1iGP.js","api-description-markdown-KtPg6U4T.js","DynamicMarkdown-Ch7bkVSN.js","SectionHeading-Cj70Qp9A.js","MethodPill-BAy1jSVY.js","getPastedJson-BX84PZ05.js","Check2Icon-B6AWYcHm.js","axios-CsQoIw0U.js"]}