provider POST /v1/issuing/cards
@utdk/stripe /v1/issuing/cards
Create a card
<p>Creates an Issuing <code>Card</code> object.</p>

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postissuingcards
POST/v1/issuing/cards
<p>Creates an Issuing <code>Card</code> object.</p>

Input

The [Cardholder](https://docs.stripe.com/api#issuing_cardholder_object) object with which the card will be associated.

required

The currency for the card.

The desired expiration month (1-12) for this card if [specifying a custom expiration date](/issuing/cards/virtual/issue-cards?testing-method=with-code#exp-dates).

The desired 4-digit expiration year for this card if [specifying a custom expiration date](/issuing/cards/virtual/issue-cards?testing-method=with-code#exp-dates).

Specifies which fields in the response should be expanded.

The new financial account ID the card will be associated with. This field allows a card to be reassigned to a different financial account.

Rules that control the lifecycle of this card, such as automatic cancellation. Refer to our [documentation](/issuing/controls/lifecycle-controls) for more details.

Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

The personalization design object belonging to this card.

The desired PIN for this card.

The card this is meant to be a replacement for (if any).

If `replacement_for` is specified, this should indicate why that card is being replaced.

The second line to print on the card. Max length: 24 characters.

The address where the card will be shipped.

Rules that control spending for this card. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.

Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`.

required

The type of card to issue. Possible values are `physical` or `virtual`.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postissuingcards()