> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Card Transitions

> Use the cards transitions endpoint to set the state of an existing card.

export const EndpointCard = ({method = "API", title, children, href, arrow = true}) => {
  const METHOD_STYLES = {
    GET: {
      bg: "mint-bg-green-400/20 dark:mint-bg-green-400/20",
      text: "mint-text-green-700 dark:mint-text-green-400",
      border: "mint-border-green-300 dark:mint-border-green-700"
    },
    POST: {
      bg: "mint-bg-blue-400/20 dark:mint-bg-blue-400/20",
      text: "mint-text-blue-700 dark:mint-text-blue-400"
    },
    PUT: {
      bg: "mint-bg-yellow-400/20 dark:mint-bg-yellow-400/20",
      text: "mint-text-yellow-700 dark:mint-text-yellow-400"
    },
    PATCH: {
      bg: "mint-bg-orange-400/20 dark:mint-bg-orange-400/20",
      text: "mint-text-orange-700 dark:mint-text-orange-400"
    },
    DELETE: {
      bg: "mint-bg-red-400/20 dark:mint-bg-red-400/20",
      text: "mint-text-red-700 dark:mint-text-red-400"
    },
    API: {
      bg: "mint-bg-black",
      text: "mint-text-white"
    }
  };
  const MethodBadge = ({method}) => {
    const style = METHOD_STYLES[method?.toUpperCase()] ?? METHOD_STYLES.GET;
    return <span className={`
          method-pill rounded-lg font-semibold px-1.5 py-0.5 text-xs leading-5 ${style.bg} ${style.text}`}>
        {method?.toUpperCase()}
      </span>;
  };
  const content = <div className="group flex items-center gap-4 border border-gray-200 dark:border-gray-700 rounded-xl p-5 hover:border-gray-400 dark:hover:border-gray-500 hover:shadow-md transition-all cursor-pointer">
      {}
      <div className="shrink-0">
        <MethodBadge method={method} />
      </div>
      {}
      <div className="flex-1 min-w-0">
        <p className="font-semibold text-gray-900 dark:text-white text-sm leading-snug">{title}</p>
        {children && <p className="mt-1 text-sm text-gray-500 dark:text-gray-400 line-clamp-2">{children}</p>}
      </div>
    </div>;
  if (!href) return content;
  return <a href={href} className="block no-underline border-b-0 mb-2">
      {content}
    </a>;
};

Use the `/cardtransitions` API to set the state of an existing card.

<h2 id="post_cardtransitions">
  Create card transition
</h2>

**Action:** `POST`\
**Endpoint:** `/cardtransitions`

{/* <EndpointCard
title="Creates a card transition object"
path="/cardtransitions"
method="post"
/> */}

Creates a card state transition to set the state of an existing card.

If your system uses IVR, you can send a `POST` request to `/cards/getbypan` to retrieve a card token, which you can then use in your `POST` request to `/cardtransitions`.

It may not be possible to move a card from one user to another once the card has been activated.

<h3 id="_request_body">
  Request body
</h3>

| Fields                                                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| card\_token<br /><br />string<br /><br />Required                                       | Identifies the card whose state will transition.<br /><br />**Allowable Values:**<br /><br />1–36 chars<br /><br />Existing `card` token.<br /><br />Send a `GET` request to `/cards/user/{token}` to retrieve card tokens for a specific user.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| channel<br /><br />string<br /><br />Required                                           | The mechanism by which the transition was initiated.<br /><br />- **ADMIN** - Indicates that the card transition was initiated through the Marqeta Dashboard.<br />- **API** - Indicates that the card transition was initiated by you through the Core API. Use this value when creating a card transition with an API `POST` request.<br />- **FRAUD** - Indicates that either Marqeta or the card network has determined that the card is fraudulent.<br />- **IVR** - Indicates that the card transition was initiated through your Interactive Voice Response system.<br />- **SYSTEM** - Indicates that the card transition was initiated by Marqeta. For example, Marqeta suspended the card due to excessive failed personal identification number (PIN) entries.<br /><br />**Allowable Values:**<br /><br />`API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| reason<br /><br />string<br /><br />Optional                                            | Additional information about the state change.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| reason\_code<br /><br />string<br /><br />Optional                                      | Standard code describing the reason for the transition.<br /><br />**NOTE:** This field is required if your program uses v2 of the `user_card_state_version`, which is a program-specific configuration value that is managed by Marqeta and cannot be accessed via the API. To learn more about the `user_card_state_version` program configuration, contact your Marqeta representative.<br /><br />- **00:** Object activated for the first time<br />- **01:** Requested by you<br />- **02:** Inactivity over time<br />- **03:** This address cannot accept mail or the addressee is unknown<br />- **04:** Negative account balance<br />- **05:** Account under review<br />- **06:** Suspicious activity was identified<br />- **07:** Activity outside the program parameters was identified<br />- **08:** Confirmed fraud was identified<br />- **09:** Matched with an Office of Foreign Assets Control list<br />- **10:** Card was reported lost<br />- **11:** Card information was cloned<br />- **12:** Account or card information was compromised<br />- **13:** Temporary status change while on hold/leave<br />- **14:** Initiated by Marqeta<br />- **15:** Initiated by issuer<br />- **16:** Card expired<br />- **17:** Failed KYC<br />- **18:** Changed to `ACTIVE` because information was properly validated<br />- **19:** Changed to `ACTIVE` because account activity was properly validated<br />- **20:** Change occurred prior to the normalization of reason codes<br />- **21:** Initiated by a third party, often a digital wallet provider<br />- **22:** PIN retry limit reached<br />- **23:** Card was reported stolen<br />- **24:** Address issue<br />- **25:** Name issue<br />- **26:** SSN issue<br />- **27:** DOB issue<br />- **28:** Email issue<br />- **29:** Phone issue<br />- **30:** Account/fulfillment mismatch<br />- **31:** Other reason<br />- **32:** Unblock request<br />- **86:** Notification of death<br /><br />**Allowable Values:**<br /><br />`00`, `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `86` |
| state<br /><br />string<br /><br />Required                                             | Specifies the new state.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| token<br /><br />string<br /><br />Optional                                             | Unique identifier of the card transition.<br /><br />If you do not include a token, the system will generate one automatically. This token is referenced in other API calls, so we recommend that you define a simple string that is easy to remember. This value cannot be updated.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| sync\_state\_with\_dwts<br /><br />boolean<br /><br />Optional                          | Set this field to `true` to synchronize the state of the card’s associated token(s) with the card’s new state. The digital wallet tokens must be in a valid starting state for the given transition, which will reflect the card’s state transition. For example, if the card is transitioning from the `ACTIVE` state to the `SUSPENDED` state, only digital wallet tokens in the `ACTIVE` state will be synchronized with the card state transition and therefore be transitioned to the `SUSPENDED` state.<br /><br />Leave this field blank or set it to `false` to keep the states of the card and its digital wallet tokens independent.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| validations<br /><br />object<br /><br />Optional                                       | Contains information about the user.<br /><br />**Allowable Values:**<br /><br />`user`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| validations.**user**<br /><br />object<br /><br />Optional                              | Contains information about the user.<br /><br />**Allowable Values:**<br /><br />`birth_date`, `phone`, `random_name_line1_postfix`, `ssn`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| validations.user.**birth\_date**<br /><br />datetime<br /><br />Optional                | Date of birth of the user associated with this card.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| validations.user.**phone**<br /><br />string<br /><br />Optional                        | Telephone number of the user associated with this card.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Format: 5105551212 or 510-555-1212                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| validations.user.**random\_name\_line1\_postfix**<br /><br />string<br /><br />Optional | Random six-digit numeric postfix generated for some bulk card orders.<br /><br />See <a href="/core-api/bulk-card-orders/">Bulk Card Orders</a> for more information about numeric postfixes.<br /><br />**Allowable Values:**<br /><br />6 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| validations.user.**ssn**<br /><br />string<br /><br />Optional                          | Social Security Number (SSN) of the user associated with this card.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |

<h3 id="_sample_request_body">
  Sample request body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "activate_05",
  "state": "ACTIVE",
  "reason": "I want to use this card, so activate it.",
  "reason_code": "00",
  "channel": "API",
  "card_token": "my_user_01_card_01",
  "validations": {
    "user": {
      "birth_date": "1990-01-31T00:00:00Z"
    }
  }
}
```

<h3 id="_response_body">
  Response body
</h3>

| Fields                                                                                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| barcode<br /><br />string<br /><br />Returned                                                                                 | The barcode printed on the card, expressed as digits.<br /><br />**Allowable Values:**<br /><br />10-20 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| bulk\_issuance\_token<br /><br />string<br /><br />Conditionally returned                                                     | The unique identifier of the bulk card order.<br /><br />**Allowable Values:**<br /><br />1-36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| card<br /><br />object<br /><br />Conditionally returned                                                                      | Associates customer-injected metadata with the card.<br /><br />**Allowable Values:**<br /><br />`metadata`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| card.**metadata**<br /><br />object<br /><br />Conditionally returned                                                         | Associates customer-injected metadata with the card.<br /><br />**Allowable Values:**<br /><br />You can define the names and values of up to 20 fields in the format `"my_name_1": "my_value_1"`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| card\_product\_token<br /><br />string<br /><br />Returned                                                                    | Unique identifier of the card product.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| card\_token<br /><br />string<br /><br />Returned                                                                             | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| channel<br /><br />string<br /><br />Returned                                                                                 | The mechanism by which the transition was initiated.<br /><br />- **ADMIN** - Indicates that the card transition was initiated through the Marqeta Dashboard.<br />- **API** - Indicates that the card transition was initiated by you through the Core API. Use this value when creating a card transition with an API `POST` request.<br />- **FRAUD** - Indicates that either Marqeta or the card network has determined that the card is fraudulent.<br />- **IVR** - Indicates that the card transition was initiated through your Interactive Voice Response system.<br />- **SYSTEM** - Indicates that the card transition was initiated by Marqeta. For example, Marqeta suspended the card due to excessive failed personal identification number (PIN) entries.<br /><br />**Allowable Values:**<br /><br />`API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                                                           | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| created\_timestamp<br /><br />datetime<br /><br />Conditionally returned                                                      | Date and time when the resource was created. Expressed in UTC, with millisecond precision.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ss:SSSZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| expedite<br /><br />boolean<br /><br />Conditionally returned                                                                 | A value of `true` indicates that you requested expedited processing of the card from your card fulfillment provider.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| expiration<br /><br />string<br /><br />Returned                                                                              | Expiration date in `MMyy` format.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| expiration\_time<br /><br />string<br /><br />Returned                                                                        | Expiration date and time in UTC format.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment<br /><br />object<br /><br />Conditionally returned                                                               | Specifies certain physical characteristics of a card, as well as shipment information.<br /><br />**Allowable Values:**<br /><br />`card_fulfillment_reason`, `card_personalization`, `shipping`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.**card\_fulfillment\_reason**<br /><br />string<br /><br />Conditionally returned                                 | Reason for card fulfillment.<br /><br />**Allowable Values:**<br /><br />`NEW`, `LOST_STOLEN`, `EXPIRED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| fulfillment.**card\_personalization**<br /><br />object<br /><br />Returned                                                   | Specifies personalized attributes to be added to the card.<br /><br />**Allowable Values:**<br /><br />`carrier`, `images`, `perso_type`, `text`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.card\_personalization.**carrier**<br /><br />object<br /><br />Conditionally returned                             | Specifies attributes of the card carrier.<br /><br />**Allowable Values:**<br /><br />`logo_file`, `logo_thumbnail_file`, `message_file`, `message_line`, `template_id`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| fulfillment.card\_personalization.carrier.**logo\_file**<br /><br />string<br /><br />Conditionally returned                  | Specifies an image to display on the card carrier.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment.card\_personalization.carrier.**logo\_thumbnail\_file**<br /><br />string<br /><br />Conditionally returned       | Specifies a thumbnail-sized rendering of the image specified in the `logo_file` field.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| fulfillment.card\_personalization.carrier.**message\_file**<br /><br />string<br /><br />Conditionally returned               | Specifies a text file containing a custom message to print on the card carrier.<br /><br />**Allowable Values:**<br /><br />Contains the name of the text file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| fulfillment.card\_personalization.carrier.**message\_line**<br /><br />string<br /><br />Conditionally returned               | Specifies a custom message that appears on the card carrier.<br /><br />**Allowable Values:**<br /><br />60 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.card\_personalization.carrier.**message\_line\_2**<br /><br />string<br /><br />Conditionally returned            | Specifies the second line of a custom message that appears on the card carrier.<br /><br />**Allowable Values:**<br /><br />60 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| fulfillment.card\_personalization.carrier.**template\_id**<br /><br />string<br /><br />Conditionally returned                | Specifies the card carrier template to use.<br /><br />**Allowable Values:**<br /><br />Card carrier template ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.card\_personalization.**images**<br /><br />object<br /><br />Conditionally returned                              | Specifies personalized images that appear on the card.<br /><br />**Allowable Values:**<br /><br />`card`, `carrier`, `carrier_return_window`, `signature`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.card\_personalization.images.**card**<br /><br />object<br /><br />Conditionally returned                         | Specifies personalized images that appear on the card.<br /><br />**Allowable Values:**<br /><br />`name`, `thermal_color`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.card\_personalization.images.card.**name**<br /><br />string<br /><br />Conditionally returned                    | Specifies a PNG image to display on the card.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| fulfillment.card\_personalization.images.card.**thermal\_color**<br /><br />string<br /><br />Conditionally returned          | Specifies the color of the image displayed on the card.<br /><br />**Allowable Values:**<br /><br />Contains the name of the color and must match one of the provider’s predefined colors.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.card\_personalization.images.**carrier**<br /><br />object<br /><br />Conditionally returned                      | Specifies personalized images that appear on the card carrier.<br /><br />**Allowable Values:**<br /><br />`message_1`, `name`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| fulfillment.card\_personalization.images.carrier.**message\_1**<br /><br />string<br /><br />Conditionally returned           | Specifies a custom message that appears on the card carrier.<br /><br />**Allowable Values:**<br /><br />60 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.card\_personalization.images.carrier.**name**<br /><br />string<br /><br />Conditionally returned                 | Specifies a PNG image to display on the card carrier.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.card\_personalization.images.**carrier\_return\_window**<br /><br />object<br /><br />Conditionally returned      | Specifies a PNG image to display in the return address window of envelopes used for sending cards to cardholders.<br /><br />**Allowable Values:**<br /><br />`name`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.card\_personalization.images.carrier\_return\_window.**name**<br /><br />string<br /><br />Conditionally returned | Specifies a PNG image to display in the return address window of envelopes used for sending cards to cardholders.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.card\_personalization.images.**signature**<br /><br />object<br /><br />Conditionally returned                    | Specifies a PNG image of the cardholder’s signature.<br /><br />**Allowable Values:**<br /><br />`name`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| fulfillment.card\_personalization.images.signature.**name**<br /><br />string<br /><br />Conditionally returned               | Specifies a PNG image of the cardholder’s signature.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| fulfillment.card\_personalization.**perso\_type**<br /><br />string<br /><br />Conditionally returned                         | Specifies the type of card personalization.<br /><br />**Allowable Values:**<br /><br />`EMBOSS`, `LASER`, `FLAT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| fulfillment.card\_personalization.**text**<br /><br />object<br /><br />Returned                                              | Specifies personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_1`, `name_line_2`, `name_line_3`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment.card\_personalization.text.**name\_line\_1**<br /><br />object<br /><br />Returned                                | Specifies the first line of personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_1.value`<br /><br />21 char max; if `name_line_1_numeric_postfix` is `true`, 14 char max.<br /><br />Strings longer than the character limit are truncated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.card\_personalization.text.name\_line\_1.**value**<br /><br />string<br /><br />Conditionally returned            | Line of personalized text printed on the card.<br /><br />**Allowable Values:**<br /><br />21 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.card\_personalization.text.**name\_line\_2**<br /><br />object<br /><br />Conditionally returned                  | Specifies the second line of personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_2.value`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| fulfillment.card\_personalization.text.name\_line\_2.**value**<br /><br />string<br /><br />Conditionally returned            | Line of personalized text printed on the card.<br /><br />**Allowable Values:**<br /><br />21 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.card\_personalization.text.**name\_line\_3**<br /><br />object<br /><br />Conditionally returned                  | Specifies the third line of personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_3.value`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| fulfillment.card\_personalization.text.name\_line\_3.**value**<br /><br />string<br /><br />Conditionally returned            | Line of personalized text printed on the card.<br /><br />**Allowable Values:**<br /><br />21 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.**shipping**<br /><br />object<br /><br />Conditionally returned                                                  | Specifies shipping details for the order.<br /><br />**Allowable Values:**<br /><br />`care_of_line`, `method`, `recipient_address`, `return_address`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| fulfillment.shipping.**care\_of\_line**<br /><br />string<br /><br />Conditionally returned                                   | Adds the specified value as a care of (C/O) line to the mailing carrier.<br /><br />**NOTE:** This field can be specified on cards, card products, and bulk card orders. If you specify this field at multiple levels, the order of precedence is: card, bulk card order, card product.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.shipping.**method**<br /><br />string<br /><br />Conditionally returned                                           | Specifies the shipping service.<br /><br />**Allowable Values:**<br /><br />`LOCAL_MAIL`, `LOCAL_MAIL_PACKAGE`, `GROUND`, `TWO_DAY`, `OVERNIGHT`, `INTERNATIONAL`, `INTERNATIONAL_PRIORITY`, `LOCAL_PRIORITY`, `FEDEX_EXPEDITED`, `FEDEX_REGULAR`, `UPS_EXPEDITED`, `UPS_REGULAR`, `USPS_EXPEDITED`, `USPS_REGULAR`<br /><br />Shipping options vary by card provider. For details on the specific shipping companies and services offered by your card provider, contact your Marqeta representative.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.shipping.**recipient\_address**<br /><br />object<br /><br />Conditionally returned                               | Address to which the order will be shipped.<br /><br />In order to generate cards, a valid shipping address must be provided by one of these:<br /><br />- The card or bulk card order’s `fulfillment.shipping.recipient_address` field<br />- The users' `address` fields<br />- The card product’s `config.fulfillment.shipping.recipient_address` field<br /><br />The order of precedence from highest to lowest is card, user, card product. To be valid, an address must have the `address1`, `city`, `state`, and `postal_code` or `zip` fields populated. The `country` field defaults to USA if unpopulated.<br /><br />**Allowable Values:**<br /><br />Valid `recipient_address` object                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| fulfillment.shipping.recipient\_address.**address1**<br /><br />string<br /><br />Conditionally returned                      | Number and street of the address.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.recipient\_address.**address2**<br /><br />string<br /><br />Conditionally returned                      | Additional address information.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.shipping.recipient\_address.**city**<br /><br />string<br /><br />Conditionally returned                          | City of the address.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.recipient\_address.**country**<br /><br />string<br /><br />Conditionally returned                       | Country of the address.<br /><br />**Allowable Values:**<br /><br />40 char max<br /><br />English short name. For example, for the Kingdom of Spain, use the English short name "Spain".<br /><br />The ISO maintains the <a href="https://www.iso.org/obp/ui/#search/code/" target="_blank" rel="noopener">full list of country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.recipient\_address.**first\_name**<br /><br />string<br /><br />Conditionally returned                   | First name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.shipping.recipient\_address.**last\_name**<br /><br />string<br /><br />Conditionally returned                    | Last name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| fulfillment.shipping.recipient\_address.**middle\_name**<br /><br />string<br /><br />Conditionally returned                  | Middle name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| fulfillment.shipping.recipient\_address.**phone**<br /><br />string<br /><br />Conditionally returned                         | Telephone number of the addressee.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.shipping.recipient\_address.**postal\_code**<br /><br />string<br /><br />Conditionally returned                  | Postal code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| fulfillment.shipping.recipient\_address.**state**<br /><br />string<br /><br />Conditionally returned                         | State of the address.<br /><br />**Allowable Values:**<br /><br />32 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment.shipping.recipient\_address.**zip**<br /><br />string<br /><br />Conditionally returned                           | United States ZIP code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| fulfillment.shipping.**return\_address**<br /><br />object<br /><br />Conditionally returned                                  | Address to which the order will be returned if shipping fails.<br /><br />**Allowable Values:**<br /><br />`address1`, `address2`, `city`, `country`, `first_name`, `last_name`, `middle_name`, `phone`, `postal_code`, `state`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.shipping.return\_address.**address1**<br /><br />string<br /><br />Conditionally returned                         | Number and street of the address.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.return\_address.**address2**<br /><br />string<br /><br />Conditionally returned                         | Additional address information.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.shipping.return\_address.**city**<br /><br />string<br /><br />Conditionally returned                             | City of the address.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.return\_address.**country**<br /><br />string<br /><br />Conditionally returned                          | Country of the address.<br /><br />**Allowable Values:**<br /><br />40 char max<br /><br />English short name. For example, for the Kingdom of Spain, use the English short name "Spain".<br /><br />The ISO maintains the <a href="https://www.iso.org/obp/ui/#search/code/" target="_blank" rel="noopener">full list of country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.return\_address.**first\_name**<br /><br />string<br /><br />Conditionally returned                      | First name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.shipping.return\_address.**last\_name**<br /><br />string<br /><br />Conditionally returned                       | Last name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| fulfillment.shipping.return\_address.**middle\_name**<br /><br />string<br /><br />Conditionally returned                     | Middle name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| fulfillment.shipping.return\_address.**phone**<br /><br />string<br /><br />Conditionally returned                            | Telephone number of the addressee.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.shipping.return\_address.**postal\_code**<br /><br />string<br /><br />Conditionally returned                     | Postal code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| fulfillment.shipping.return\_address.**state**<br /><br />string<br /><br />Conditionally returned                            | State of the address.<br /><br />**Allowable Values:**<br /><br />32 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment.shipping.return\_address.**zip**<br /><br />string<br /><br />Conditionally returned                              | United States ZIP code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| fulfillment\_status<br /><br />string<br /><br />Returned                                                                     | Provides status information about the card related to order and delivery.<br /><br />The possible fulfillment states are:<br /><br />- **ISSUED:** Initial state of all newly created/issued cards<br />- **ORDERED:** Card ordered through card fulfillment provider<br />- **REJECTED:** Card rejected by card fulfillment provider<br />- **SHIPPED:** Card shipped by card fulfillment provider<br />- **DELIVERED:** Card delivered by the card fulfillment provider.<br />- **DIGITALLY\_PRESENTED:** Card digitally presented using the `/cards/{token}/showpan` endpoint; does not affect the delivery of physical cards<br /><br />**Allowable Values:**<br /><br />`ISSUED`, `ORDERED`, `REJECTED`, `SHIPPED`, `DELIVERED`, `DIGITALLY_PRESENTED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| last\_four<br /><br />string<br /><br />Returned                                                                              | Last four digits of the card primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| pan<br /><br />string<br /><br />Returned                                                                                     | Primary account number (PAN) of the card.<br /><br />**Allowable Values:**<br /><br />16 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| pin\_is\_set<br /><br />boolean<br /><br />Returned                                                                           | Specifies if the personal identification number (PIN) has been set for the card.<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| reason<br /><br />string<br /><br />Conditionally returned                                                                    | Additional information about the state change.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| reason\_code<br /><br />string<br /><br />Conditionally returned                                                              | A standard code describing the reason for the transition:<br /><br />- **00:** Object activated for the first time<br />- **01:** Requested by you<br />- **02:** Inactivity over time<br />- **03:** This address cannot accept mail or the addressee is unknown<br />- **04:** Negative account balance<br />- **05:** Account under review<br />- **06:** Suspicious activity was identified<br />- **07:** Activity outside the program parameters was identified<br />- **08:** Confirmed fraud was identified<br />- **09:** Matched with an Office of Foreign Assets Control list<br />- **10:** Card was reported lost<br />- **11:** Card information was cloned<br />- **12:** Account or card information was compromised<br />- **13:** Temporary status change while on hold/leave<br />- **14:** Initiated by Marqeta<br />- **15:** Initiated by issuer<br />- **16:** Card expired<br />- **17:** Failed KYC<br />- **18:** Changed to `ACTIVE` because information was properly validated<br />- **19:** Changed to `ACTIVE` because account activity was properly validated<br />- **20:** Change occurred prior to the normalization of reason codes<br />- **21:** Initiated by a third party, often a digital wallet provider<br />- **22:** PIN retry limit reached<br />- **23:** Card was reported stolen<br />- **24:** Address issue<br />- **25:** Name issue<br />- **26:** SSN issue<br />- **27:** DOB issue<br />- **28:** Email issue<br />- **29:** Phone issue<br />- **30:** Account/fulfillment mismatch<br />- **31:** Other reason<br />- **32:** Unblock request<br />- **86:** Notification of death<br /><br />**Allowable Values:**<br /><br />`00`, `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `86` |
| reissue\_pan\_from\_card\_token<br /><br />string<br /><br />Conditionally returned                                           | Reissues the specified ("source") card.<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| new\_pan\_from\_card\_token<br /><br />string<br /><br />Conditionally returned                                               | Reissues the specified ("source") card with a new primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| state<br /><br />string<br /><br />Returned                                                                                   | Indicates the state of the card.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `SUSPENDED`, `TERMINATED`, `UNACTIVATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| token<br /><br />string<br /><br />Returned                                                                                   | Unique identifier of the card transition.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| type<br /><br />string<br /><br />Returned                                                                                    | This field cannot be set directly using the `/cardtransitions` endpoint. A card transition’s `type` is managed by the Marqeta platform, based on the before and after state of the transition, as specified in the request’s `state` field.<br /><br />This field appears only when populated by the card fulfillment provider. The `type` field’s possible values are:<br /><br />- **fulfillment.delivered:** Card was delivered by the card fulfillment provider<br />- **fulfillment.digitally\_presented:** Card was digitally presented using the `/cards/{token}/showpan` endpoint; does not affect the delivery of physical cards<br />- **fulfillment.issued:** Card was created/issued<br />- **fulfillment.ordered:** Card was ordered from the card fulfillment provider<br />- **fulfillment.rejected:** Card was rejected by the card fulfillment provider<br />- **fulfillment.shipped:** Card was shipped by the card fulfillment provider<br />- **state.activated:** Card was activated<br />- **state.limited:** Card was limited<br />- **state.reinstated:** Card was reinstated from a suspended state<br />- **state.suspended:** Card was suspended<br />- **state.terminated:** Card was terminated<br /><br />**Allowable Values:**<br /><br />`fulfillment.delivered`, `fulfillment.digitally_presented`, `fulfillment.issued`, `fulfillment.ordered`, `fulfillment.rejected`, `fulfillment.shipped`, `state.activated`, `state.limited`, `state.reinstated`, `state.suspended`, `state.terminated`                                                                                                                                                                                                                                                                                                                                                                      |
| user<br /><br />object<br /><br />Conditionally returned                                                                      | Associates customer-injected metadata with the cardholder.<br /><br />**Allowable Values:**<br /><br />`metadata`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**metadata**<br /><br />object<br /><br />Conditionally returned                                                         | Associates customer-injected metadata with the cardholder.<br /><br />**Allowable Values:**<br /><br />You can define the names and values of up to 20 fields in the format `"my_name_1": "my_value_1"`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user\_token<br /><br />string<br /><br />Returned                                                                             | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| validations<br /><br />object<br /><br />Conditionally returned                                                               | Contains information about the user.<br /><br />**Allowable Values:**<br /><br />Existing `validations` object                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| validations.**user**<br /><br />object<br /><br />Returned                                                                    | Contains information about the user.<br /><br />**Allowable Values:**<br /><br />`birth_date`, `phone`, `random_name_line1_postfix`, `ssn`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| validations.user.**birth\_date**<br /><br />boolean<br /><br />Returned                                                       | Indicates whether the `birth_date` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| validations.user.**phone**<br /><br />boolean<br /><br />Returned                                                             | Indicates whether the `phone` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| validations.user.**random\_name\_line1\_postfix**<br /><br />boolean<br /><br />Returned                                      | Indicates whether the `random_name_line1_postfix` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| validations.user.**ssn**<br /><br />boolean<br /><br />Returned                                                               | Indicates whether the `ssn` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |

<h3 id="_sample_response_body">
  Sample response body
</h3>

```json JSON expandable lines wrap theme={null}
{
  "token": "activate_05",
  "card_token": "my_user_01_card_01",
  "user_token": "my_user_01",
  "state": "ACTIVE",
  "reason": "I want to use this card, so activate it.",
  "reason_code": "00",
  "channel": "API",
  "expedite": false,
  "fulfillment_status": "ISSUED",
  "validations": {
    "user": {
      "birth_date": true,
      "phone": false,
      "random_name_line1_postfix": false,
      "ssn": false
    }
  },
  "type": "state.activated",
  "created_time": "2022-11-23T23:28:39Z",
  "card_product_token": "my_cardproduct_01",
  "last_four": "2160",
  "pan": "1111115454542160",
  "expiration": "1026",
  "expiration_time": "2026-10-31T23:59:59Z",
  "barcode": "11379418395311581864",
  "pin_is_set": false,
  "user": {
    "metadata": {
      "my_name_1": "my_value_1",
      "my_name_2": "my_value_2"
    }
  }
}
```

<h2 id="get_cardtransitions_card_token">
  List transitions for card
</h2>

**Action:** `GET`\
**Endpoint:** `/cardtransitions/card/{token}`

{/* <EndpointCard
title="Lists all card transitions"
path="/cardtransitions/card/{token}"
method="get"
/> */}

Retrieves a list of the transitions for a specific card.

This endpoint supports [field filtering](/core-api/field-filtering/) and [pagination](/core-api/sorting-and-pagination/).

<h3 id="_url_path_parameters">
  URL path parameters
</h3>

| Fields                                      | Description                                                                                    |
| ------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Required | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />Existing card token |

<h3 id="_url_query_parameters">
  URL query parameters
</h3>

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                          |
| --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Optional        | Number of card transitions to retrieve.<br /><br />**Allowable Values:**<br /><br />1-10<br /><br />**Default value:**<br />5                                                                                                                                                                                                                                                                                        |
| start\_index<br /><br />integer<br /><br />Optional | Sort order index of the first resource in the returned array.<br /><br />**Allowable Values:**<br /><br />Any integer<br /><br />**Default value:**<br />0                                                                                                                                                                                                                                                           |
| fields<br /><br />string<br /><br />Optional        | Comma-delimited list of fields to return (`field_1,field_2`, and so on). Leave blank to return all fields.<br /><br />**Allowable Values:**<br /><br />Comma-delimited list of fields, or blank                                                                                                                                                                                                                      |
| sort\_by<br /><br />string<br /><br />Optional      | Field on which to sort. Use any field in the resource model, or one of the system fields `lastModifiedTime` or `createdTime`. Prefix the field name with a hyphen (`-`) to sort in descending order. Omit the hyphen to sort in ascending order.<br /><br />**Allowable Values:**<br /><br />`createdTime`, `lastModifiedTime`, or any field in the resource model<br /><br />**Default value:**<br />`-createdTime` |

<h3 id="_response_body_2">
  Response body
</h3>

| Fields                                                                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Conditionally returned                                                                            | Number of resources to retrieve.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />1-10                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data<br /><br />array of objects<br /><br />Conditionally returned                                                                    | Array of card transition objects.<br /><br />Objects are returned as appropriate to your query.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more card transition objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**barcode**<br /><br />string<br /><br />Returned                                                                             | The barcode printed on the card, expressed as digits.<br /><br />**Allowable Values:**<br /><br />10-20 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**bulk\_issuance\_token**<br /><br />string<br /><br />Conditionally returned                                                 | The unique identifier of the bulk card order.<br /><br />**Allowable Values:**<br /><br />1-36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**card**<br /><br />object<br /><br />Conditionally returned                                                                  | Associates customer-injected metadata with the card.<br /><br />**Allowable Values:**<br /><br />`metadata`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].card.**metadata**<br /><br />object<br /><br />Conditionally returned                                                         | Associates customer-injected metadata with the card.<br /><br />**Allowable Values:**<br /><br />You can define the names and values of up to 20 fields in the format `"my_name_1": "my_value_1"`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].**card\_product\_token**<br /><br />string<br /><br />Returned                                                                | Unique identifier of the card product.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**card\_token**<br /><br />string<br /><br />Returned                                                                         | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**channel**<br /><br />string<br /><br />Returned                                                                             | The mechanism by which the transition was initiated.<br /><br />- **ADMIN** - Indicates that the card transition was initiated through the Marqeta Dashboard.<br />- **API** - Indicates that the card transition was initiated by you through the Core API. Use this value when creating a card transition with an API `POST` request.<br />- **FRAUD** - Indicates that either Marqeta or the card network has determined that the card is fraudulent.<br />- **IVR** - Indicates that the card transition was initiated through your Interactive Voice Response system.<br />- **SYSTEM** - Indicates that the card transition was initiated by Marqeta. For example, Marqeta suspended the card due to excessive failed personal identification number (PIN) entries.<br /><br />**Allowable Values:**<br /><br />`API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**created\_time**<br /><br />datetime<br /><br />Conditionally returned                                                       | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**created\_timestamp**<br /><br />datetime<br /><br />Conditionally returned                                                  | Date and time when the resource was created. Expressed in UTC, with millisecond precision.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ss:SSSZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**expedite**<br /><br />boolean<br /><br />Conditionally returned                                                             | A value of `true` indicates that you requested expedited processing of the card from your card fulfillment provider.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**expiration**<br /><br />string<br /><br />Returned                                                                          | Expiration date in `MMyy` format.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**expiration\_time**<br /><br />string<br /><br />Returned                                                                    | Expiration date and time in UTC format.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**fulfillment**<br /><br />object<br /><br />Conditionally returned                                                           | Specifies certain physical characteristics of a card, as well as shipment information.<br /><br />**Allowable Values:**<br /><br />`card_fulfillment_reason`, `card_personalization`, `shipping`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].fulfillment.**card\_fulfillment\_reason**<br /><br />string<br /><br />Conditionally returned                                 | Reason for card fulfillment.<br /><br />**Allowable Values:**<br /><br />`NEW`, `LOST_STOLEN`, `EXPIRED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].fulfillment.**card\_personalization**<br /><br />object<br /><br />Returned                                                   | Specifies personalized attributes to be added to the card.<br /><br />**Allowable Values:**<br /><br />`carrier`, `images`, `perso_type`, `text`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].fulfillment.card\_personalization.**carrier**<br /><br />object<br /><br />Conditionally returned                             | Specifies attributes of the card carrier.<br /><br />**Allowable Values:**<br /><br />`logo_file`, `logo_thumbnail_file`, `message_file`, `message_line`, `template_id`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].fulfillment.card\_personalization.carrier.**logo\_file**<br /><br />string<br /><br />Conditionally returned                  | Specifies an image to display on the card carrier.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].fulfillment.card\_personalization.carrier.**logo\_thumbnail\_file**<br /><br />string<br /><br />Conditionally returned       | Specifies a thumbnail-sized rendering of the image specified in the `logo_file` field.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].fulfillment.card\_personalization.carrier.**message\_file**<br /><br />string<br /><br />Conditionally returned               | Specifies a text file containing a custom message to print on the card carrier.<br /><br />**Allowable Values:**<br /><br />Contains the name of the text file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].fulfillment.card\_personalization.carrier.**message\_line**<br /><br />string<br /><br />Conditionally returned               | Specifies a custom message that appears on the card carrier.<br /><br />**Allowable Values:**<br /><br />60 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].fulfillment.card\_personalization.carrier.**message\_line\_2**<br /><br />string<br /><br />Conditionally returned            | Specifies the second line of a custom message that appears on the card carrier.<br /><br />**Allowable Values:**<br /><br />60 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].fulfillment.card\_personalization.carrier.**template\_id**<br /><br />string<br /><br />Conditionally returned                | Specifies the card carrier template to use.<br /><br />**Allowable Values:**<br /><br />Card carrier template ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].fulfillment.card\_personalization.**images**<br /><br />object<br /><br />Conditionally returned                              | Specifies personalized images that appear on the card.<br /><br />**Allowable Values:**<br /><br />`card`, `carrier`, `carrier_return_window`, `signature`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].fulfillment.card\_personalization.images.**card**<br /><br />object<br /><br />Conditionally returned                         | Specifies personalized images that appear on the card.<br /><br />**Allowable Values:**<br /><br />`name`, `thermal_color`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].fulfillment.card\_personalization.images.card.**name**<br /><br />string<br /><br />Conditionally returned                    | Specifies a PNG image to display on the card.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].fulfillment.card\_personalization.images.card.**thermal\_color**<br /><br />string<br /><br />Conditionally returned          | Specifies the color of the image displayed on the card.<br /><br />**Allowable Values:**<br /><br />Contains the name of the color and must match one of the provider’s predefined colors.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].fulfillment.card\_personalization.images.**carrier**<br /><br />object<br /><br />Conditionally returned                      | Specifies personalized images that appear on the card carrier.<br /><br />**Allowable Values:**<br /><br />`message_1`, `name`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].fulfillment.card\_personalization.images.carrier.**message\_1**<br /><br />string<br /><br />Conditionally returned           | Specifies a custom message that appears on the card carrier.<br /><br />**Allowable Values:**<br /><br />60 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].fulfillment.card\_personalization.images.carrier.**name**<br /><br />string<br /><br />Conditionally returned                 | Specifies a PNG image to display on the card carrier.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].fulfillment.card\_personalization.images.**carrier\_return\_window**<br /><br />object<br /><br />Conditionally returned      | Specifies a PNG image to display in the return address window of envelopes used for sending cards to cardholders.<br /><br />**Allowable Values:**<br /><br />`name`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].fulfillment.card\_personalization.images.carrier\_return\_window.**name**<br /><br />string<br /><br />Conditionally returned | Specifies a PNG image to display in the return address window of envelopes used for sending cards to cardholders.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].fulfillment.card\_personalization.images.**signature**<br /><br />object<br /><br />Conditionally returned                    | Specifies a PNG image of the cardholder’s signature.<br /><br />**Allowable Values:**<br /><br />`name`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].fulfillment.card\_personalization.images.signature.**name**<br /><br />string<br /><br />Conditionally returned               | Specifies a PNG image of the cardholder’s signature.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].fulfillment.card\_personalization.**perso\_type**<br /><br />string<br /><br />Conditionally returned                         | Specifies the type of card personalization.<br /><br />**Allowable Values:**<br /><br />`EMBOSS`, `LASER`, `FLAT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].fulfillment.card\_personalization.**text**<br /><br />object<br /><br />Returned                                              | Specifies personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_1`, `name_line_2`, `name_line_3`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].fulfillment.card\_personalization.text.**name\_line\_1**<br /><br />object<br /><br />Returned                                | Specifies the first line of personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_1.value`<br /><br />21 char max; if `name_line_1_numeric_postfix` is `true`, 14 char max.<br /><br />Strings longer than the character limit are truncated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].fulfillment.card\_personalization.text.name\_line\_1.**value**<br /><br />string<br /><br />Conditionally returned            | Line of personalized text printed on the card.<br /><br />**Allowable Values:**<br /><br />21 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].fulfillment.card\_personalization.text.**name\_line\_2**<br /><br />object<br /><br />Conditionally returned                  | Specifies the second line of personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_2.value`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].fulfillment.card\_personalization.text.name\_line\_2.**value**<br /><br />string<br /><br />Conditionally returned            | Line of personalized text printed on the card.<br /><br />**Allowable Values:**<br /><br />21 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].fulfillment.card\_personalization.text.**name\_line\_3**<br /><br />object<br /><br />Conditionally returned                  | Specifies the third line of personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_3.value`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].fulfillment.card\_personalization.text.name\_line\_3.**value**<br /><br />string<br /><br />Conditionally returned            | Line of personalized text printed on the card.<br /><br />**Allowable Values:**<br /><br />21 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].fulfillment.**shipping**<br /><br />object<br /><br />Conditionally returned                                                  | Specifies shipping details for the order.<br /><br />**Allowable Values:**<br /><br />`care_of_line`, `method`, `recipient_address`, `return_address`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].fulfillment.shipping.**care\_of\_line**<br /><br />string<br /><br />Conditionally returned                                   | Adds the specified value as a care of (C/O) line to the mailing carrier.<br /><br />**NOTE:** This field can be specified on cards, card products, and bulk card orders. If you specify this field at multiple levels, the order of precedence is: card, bulk card order, card product.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].fulfillment.shipping.**method**<br /><br />string<br /><br />Conditionally returned                                           | Specifies the shipping service.<br /><br />**Allowable Values:**<br /><br />`LOCAL_MAIL`, `LOCAL_MAIL_PACKAGE`, `GROUND`, `TWO_DAY`, `OVERNIGHT`, `INTERNATIONAL`, `INTERNATIONAL_PRIORITY`, `LOCAL_PRIORITY`, `FEDEX_EXPEDITED`, `FEDEX_REGULAR`, `UPS_EXPEDITED`, `UPS_REGULAR`, `USPS_EXPEDITED`, `USPS_REGULAR`<br /><br />Shipping options vary by card provider. For details on the specific shipping companies and services offered by your card provider, contact your Marqeta representative.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].fulfillment.shipping.**recipient\_address**<br /><br />object<br /><br />Conditionally returned                               | Address to which the order will be shipped.<br /><br />In order to generate cards, a valid shipping address must be provided by one of these:<br /><br />- The card or bulk card order’s `fulfillment.shipping.recipient_address` field<br />- The users' `address` fields<br />- The card product’s `config.fulfillment.shipping.recipient_address` field<br /><br />The order of precedence from highest to lowest is card, user, card product. To be valid, an address must have the `address1`, `city`, `state`, and `postal_code` or `zip` fields populated. The `country` field defaults to USA if unpopulated.<br /><br />**Allowable Values:**<br /><br />Valid `recipient_address` object                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].fulfillment.shipping.recipient\_address.**address1**<br /><br />string<br /><br />Conditionally returned                      | Number and street of the address.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].fulfillment.shipping.recipient\_address.**address2**<br /><br />string<br /><br />Conditionally returned                      | Additional address information.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].fulfillment.shipping.recipient\_address.**city**<br /><br />string<br /><br />Conditionally returned                          | City of the address.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].fulfillment.shipping.recipient\_address.**country**<br /><br />string<br /><br />Conditionally returned                       | Country of the address.<br /><br />**Allowable Values:**<br /><br />40 char max<br /><br />English short name. For example, for the Kingdom of Spain, use the English short name "Spain".<br /><br />The ISO maintains the <a href="https://www.iso.org/obp/ui/#search/code/" target="_blank" rel="noopener">full list of country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].fulfillment.shipping.recipient\_address.**first\_name**<br /><br />string<br /><br />Conditionally returned                   | First name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].fulfillment.shipping.recipient\_address.**last\_name**<br /><br />string<br /><br />Conditionally returned                    | Last name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].fulfillment.shipping.recipient\_address.**middle\_name**<br /><br />string<br /><br />Conditionally returned                  | Middle name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].fulfillment.shipping.recipient\_address.**phone**<br /><br />string<br /><br />Conditionally returned                         | Telephone number of the addressee.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].fulfillment.shipping.recipient\_address.**postal\_code**<br /><br />string<br /><br />Conditionally returned                  | Postal code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].fulfillment.shipping.recipient\_address.**state**<br /><br />string<br /><br />Conditionally returned                         | State of the address.<br /><br />**Allowable Values:**<br /><br />32 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].fulfillment.shipping.recipient\_address.**zip**<br /><br />string<br /><br />Conditionally returned                           | United States ZIP code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].fulfillment.shipping.**return\_address**<br /><br />object<br /><br />Conditionally returned                                  | Address to which the order will be returned if shipping fails.<br /><br />**Allowable Values:**<br /><br />`address1`, `address2`, `city`, `country`, `first_name`, `last_name`, `middle_name`, `phone`, `postal_code`, `state`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].fulfillment.shipping.return\_address.**address1**<br /><br />string<br /><br />Conditionally returned                         | Number and street of the address.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].fulfillment.shipping.return\_address.**address2**<br /><br />string<br /><br />Conditionally returned                         | Additional address information.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].fulfillment.shipping.return\_address.**city**<br /><br />string<br /><br />Conditionally returned                             | City of the address.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].fulfillment.shipping.return\_address.**country**<br /><br />string<br /><br />Conditionally returned                          | Country of the address.<br /><br />**Allowable Values:**<br /><br />40 char max<br /><br />English short name. For example, for the Kingdom of Spain, use the English short name "Spain".<br /><br />The ISO maintains the <a href="https://www.iso.org/obp/ui/#search/code/" target="_blank" rel="noopener">full list of country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].fulfillment.shipping.return\_address.**first\_name**<br /><br />string<br /><br />Conditionally returned                      | First name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].fulfillment.shipping.return\_address.**last\_name**<br /><br />string<br /><br />Conditionally returned                       | Last name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].fulfillment.shipping.return\_address.**middle\_name**<br /><br />string<br /><br />Conditionally returned                     | Middle name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].fulfillment.shipping.return\_address.**phone**<br /><br />string<br /><br />Conditionally returned                            | Telephone number of the addressee.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].fulfillment.shipping.return\_address.**postal\_code**<br /><br />string<br /><br />Conditionally returned                     | Postal code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].fulfillment.shipping.return\_address.**state**<br /><br />string<br /><br />Conditionally returned                            | State of the address.<br /><br />**Allowable Values:**<br /><br />32 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].fulfillment.shipping.return\_address.**zip**<br /><br />string<br /><br />Conditionally returned                              | United States ZIP code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**fulfillment\_status**<br /><br />string<br /><br />Returned                                                                 | Provides status information about the card related to order and delivery.<br /><br />The possible fulfillment states are:<br /><br />- **ISSUED:** Initial state of all newly created/issued cards<br />- **ORDERED:** Card ordered through card fulfillment provider<br />- **REJECTED:** Card rejected by card fulfillment provider<br />- **SHIPPED:** Card shipped by card fulfillment provider<br />- **DELIVERED:** Card delivered by the card fulfillment provider.<br />- **DIGITALLY\_PRESENTED:** Card digitally presented using the `/cards/{token}/showpan` endpoint; does not affect the delivery of physical cards<br /><br />**Allowable Values:**<br /><br />`ISSUED`, `ORDERED`, `REJECTED`, `SHIPPED`, `DELIVERED`, `DIGITALLY_PRESENTED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].**last\_four**<br /><br />string<br /><br />Returned                                                                          | Last four digits of the card primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**pan**<br /><br />string<br /><br />Returned                                                                                 | Primary account number (PAN) of the card.<br /><br />**Allowable Values:**<br /><br />16 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**pin\_is\_set**<br /><br />boolean<br /><br />Returned                                                                       | Specifies if the personal identification number (PIN) has been set for the card.<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**reason**<br /><br />string<br /><br />Conditionally returned                                                                | Additional information about the state change.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**reason\_code**<br /><br />string<br /><br />Conditionally returned                                                          | A standard code describing the reason for the transition:<br /><br />- **00:** Object activated for the first time<br />- **01:** Requested by you<br />- **02:** Inactivity over time<br />- **03:** This address cannot accept mail or the addressee is unknown<br />- **04:** Negative account balance<br />- **05:** Account under review<br />- **06:** Suspicious activity was identified<br />- **07:** Activity outside the program parameters was identified<br />- **08:** Confirmed fraud was identified<br />- **09:** Matched with an Office of Foreign Assets Control list<br />- **10:** Card was reported lost<br />- **11:** Card information was cloned<br />- **12:** Account or card information was compromised<br />- **13:** Temporary status change while on hold/leave<br />- **14:** Initiated by Marqeta<br />- **15:** Initiated by issuer<br />- **16:** Card expired<br />- **17:** Failed KYC<br />- **18:** Changed to `ACTIVE` because information was properly validated<br />- **19:** Changed to `ACTIVE` because account activity was properly validated<br />- **20:** Change occurred prior to the normalization of reason codes<br />- **21:** Initiated by a third party, often a digital wallet provider<br />- **22:** PIN retry limit reached<br />- **23:** Card was reported stolen<br />- **24:** Address issue<br />- **25:** Name issue<br />- **26:** SSN issue<br />- **27:** DOB issue<br />- **28:** Email issue<br />- **29:** Phone issue<br />- **30:** Account/fulfillment mismatch<br />- **31:** Other reason<br />- **32:** Unblock request<br />- **86:** Notification of death<br /><br />**Allowable Values:**<br /><br />`00`, `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `86` |
| data\[].**reissue\_pan\_from\_card\_token**<br /><br />string<br /><br />Conditionally returned                                       | Reissues the specified ("source") card.<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**new\_pan\_from\_card\_token**<br /><br />string<br /><br />Conditionally returned                                           | Reissues the specified ("source") card with a new primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**state**<br /><br />string<br /><br />Returned                                                                               | Indicates the state of the card.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `SUSPENDED`, `TERMINATED`, `UNACTIVATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**token**<br /><br />string<br /><br />Returned                                                                               | Unique identifier of the card transition.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**type**<br /><br />string<br /><br />Returned                                                                                | This field cannot be set directly using the `/cardtransitions` endpoint. A card transition’s `type` is managed by the Marqeta platform, based on the before and after state of the transition, as specified in the request’s `state` field.<br /><br />This field appears only when populated by the card fulfillment provider. The `type` field’s possible values are:<br /><br />- **fulfillment.delivered:** Card was delivered by the card fulfillment provider<br />- **fulfillment.digitally\_presented:** Card was digitally presented using the `/cards/{token}/showpan` endpoint; does not affect the delivery of physical cards<br />- **fulfillment.issued:** Card was created/issued<br />- **fulfillment.ordered:** Card was ordered from the card fulfillment provider<br />- **fulfillment.rejected:** Card was rejected by the card fulfillment provider<br />- **fulfillment.shipped:** Card was shipped by the card fulfillment provider<br />- **state.activated:** Card was activated<br />- **state.limited:** Card was limited<br />- **state.reinstated:** Card was reinstated from a suspended state<br />- **state.suspended:** Card was suspended<br />- **state.terminated:** Card was terminated<br /><br />**Allowable Values:**<br /><br />`fulfillment.delivered`, `fulfillment.digitally_presented`, `fulfillment.issued`, `fulfillment.ordered`, `fulfillment.rejected`, `fulfillment.shipped`, `state.activated`, `state.limited`, `state.reinstated`, `state.suspended`, `state.terminated`                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**user**<br /><br />object<br /><br />Conditionally returned                                                                  | Associates customer-injected metadata with the cardholder.<br /><br />**Allowable Values:**<br /><br />`metadata`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**metadata**<br /><br />object<br /><br />Conditionally returned                                                         | Associates customer-injected metadata with the cardholder.<br /><br />**Allowable Values:**<br /><br />You can define the names and values of up to 20 fields in the format `"my_name_1": "my_value_1"`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].**user\_token**<br /><br />string<br /><br />Returned                                                                         | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].**validations**<br /><br />object<br /><br />Conditionally returned                                                           | Contains information about the user.<br /><br />**Allowable Values:**<br /><br />Existing `validations` object                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].validations.**user**<br /><br />object<br /><br />Returned                                                                    | Contains information about the user.<br /><br />**Allowable Values:**<br /><br />`birth_date`, `phone`, `random_name_line1_postfix`, `ssn`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].validations.user.**birth\_date**<br /><br />boolean<br /><br />Returned                                                       | Indicates whether the `birth_date` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].validations.user.**phone**<br /><br />boolean<br /><br />Returned                                                             | Indicates whether the `phone` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].validations.user.**random\_name\_line1\_postfix**<br /><br />boolean<br /><br />Returned                                      | Indicates whether the `random_name_line1_postfix` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].validations.user.**ssn**<br /><br />boolean<br /><br />Returned                                                               | Indicates whether the `ssn` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| end\_index<br /><br />integer<br /><br />Conditionally returned                                                                       | Sort order index of the last resource in the returned array.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| is\_more<br /><br />boolean<br /><br />Conditionally returned                                                                         | A value of `true` indicates that more unreturned resources exist. A value of `false` indicates that no more unreturned resources exist.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| start\_index<br /><br />integer<br /><br />Conditionally returned                                                                     | Sort order index of the first resource in the returned array.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |

<h3 id="_sample_response_body_2">
  Sample response body
</h3>

```json JSON expandable lines wrap theme={null}
{
  "count": 2,
  "start_index": 0,
  "end_index": 1,
  "is_more": false,
  "data": [
    {
      "token": "suspend_01",
      "card_token": "my_user_01_card_01",
      "user_token": "my_user_01",
      "state": "SUSPENDED",
      "reason": "I do not want to use this card, so suspend it.",
      "reason_code": "01",
      "channel": "API",
      "expedite": false,
      "fulfillment_status": "ISSUED",
      "validations": {
        "user": {
          "birth_date": true,
          "phone": false,
          "random_name_line1_postfix": false,
          "ssn": false
        }
      },
      "type": "state.suspended",
      "created_time": "2021-01-12T19:54:12Z",
      "card_product_token": "my_cardproduct_01",
      "last_four": "2160",
      "pan": "1111115454542160",
      "expiration": "1026",
      "expiration_time": "2026-10-31T23:59:59Z",
      "barcode": "11379418395311581864",
      "pin_is_set": false,
      "user": {
        "metadata": {
          "my_name_1": "my_value_1",
          "my_name_2": "my_value_2"
        }
      }
    },
    {
      "token": "activate_05",
      "card_token": "my_user_01_card_01",
      "user_token": "my_user_01",
      "state": "ACTIVE",
      "reason": "I want to use this card, so activate it.",
      "reason_code": "00",
      "channel": "API",
      "expedite": false,
      "fulfillment_status": "ISSUED",
      "validations": {
        "user": {
          "birth_date": true,
          "phone": false,
          "random_name_line1_postfix": false,
          "ssn": false
        }
      },
      "type": "state.activated",
      "created_time": "2022-02-23T23:28:39Z",
      "card_product_token": "my_cardproduct_01",
      "last_four": "2160",
      "pan": "1111115454542160",
      "expiration": "1026",
      "expiration_time": "2027-10-31T23:59:59Z",
      "barcode": "11379418395311581864",
      "pin_is_set": false,
      "user": {
        "metadata": {
          "my_name_1": "my_value_1",
          "my_name_2": "my_value_2"
        }
      }
    }
  ]
}
```

<h2 id="get_cardtransitions_token">
  Retrieve card transition
</h2>

**Action:** `GET`\
**Endpoint:** `/cardtransitions/{token}`

{/* <EndpointCard
title="Returns a card transition object"
path="/cardtransitions/{token}"
method="get"
/> */}

Retrieves a specific card transition. This endpoint supports [field filtering](/core-api/field-filtering/).

<h3 id="_url_path_parameters_2">
  URL path parameters
</h3>

| Fields                                      | Description                                                                                                                                                                                                                          |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Required | Unique identifier of the card transition. Send a `GET` request to `/cardtransitions/card/{token}` to retrieve card transition tokens for a specific card.<br /><br />**Allowable Values:**<br /><br />Existing card transition token |

<h3 id="_url_query_parameters_2">
  URL query parameters
</h3>

| Fields                                       | Description                                                                                                                                                                                     |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| fields<br /><br />string<br /><br />Optional | Comma-delimited list of fields to return (`field_1,field_2`, and so on). Leave blank to return all fields.<br /><br />**Allowable Values:**<br /><br />Comma-delimited list of fields, or blank |

<h3 id="_response_body_3">
  Response body
</h3>

| Fields                                                                                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| barcode<br /><br />string<br /><br />Returned                                                                                 | The barcode printed on the card, expressed as digits.<br /><br />**Allowable Values:**<br /><br />10-20 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| bulk\_issuance\_token<br /><br />string<br /><br />Conditionally returned                                                     | The unique identifier of the bulk card order.<br /><br />**Allowable Values:**<br /><br />1-36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| card<br /><br />object<br /><br />Conditionally returned                                                                      | Associates customer-injected metadata with the card.<br /><br />**Allowable Values:**<br /><br />`metadata`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| card.**metadata**<br /><br />object<br /><br />Conditionally returned                                                         | Associates customer-injected metadata with the card.<br /><br />**Allowable Values:**<br /><br />You can define the names and values of up to 20 fields in the format `"my_name_1": "my_value_1"`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| card\_product\_token<br /><br />string<br /><br />Returned                                                                    | Unique identifier of the card product.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| card\_token<br /><br />string<br /><br />Returned                                                                             | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| channel<br /><br />string<br /><br />Returned                                                                                 | The mechanism by which the transition was initiated.<br /><br />- **ADMIN** - Indicates that the card transition was initiated through the Marqeta Dashboard.<br />- **API** - Indicates that the card transition was initiated by you through the Core API. Use this value when creating a card transition with an API `POST` request.<br />- **FRAUD** - Indicates that either Marqeta or the card network has determined that the card is fraudulent.<br />- **IVR** - Indicates that the card transition was initiated through your Interactive Voice Response system.<br />- **SYSTEM** - Indicates that the card transition was initiated by Marqeta. For example, Marqeta suspended the card due to excessive failed personal identification number (PIN) entries.<br /><br />**Allowable Values:**<br /><br />`API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                                                           | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| created\_timestamp<br /><br />datetime<br /><br />Conditionally returned                                                      | Date and time when the resource was created. Expressed in UTC, with millisecond precision.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ss:SSSZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| expedite<br /><br />boolean<br /><br />Conditionally returned                                                                 | A value of `true` indicates that you requested expedited processing of the card from your card fulfillment provider.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| expiration<br /><br />string<br /><br />Returned                                                                              | Expiration date in `MMyy` format.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| expiration\_time<br /><br />string<br /><br />Returned                                                                        | Expiration date and time in UTC format.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment<br /><br />object<br /><br />Conditionally returned                                                               | Specifies certain physical characteristics of a card, as well as shipment information.<br /><br />**Allowable Values:**<br /><br />`card_fulfillment_reason`, `card_personalization`, `shipping`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.**card\_fulfillment\_reason**<br /><br />string<br /><br />Conditionally returned                                 | Reason for card fulfillment.<br /><br />**Allowable Values:**<br /><br />`NEW`, `LOST_STOLEN`, `EXPIRED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| fulfillment.**card\_personalization**<br /><br />object<br /><br />Returned                                                   | Specifies personalized attributes to be added to the card.<br /><br />**Allowable Values:**<br /><br />`carrier`, `images`, `perso_type`, `text`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.card\_personalization.**carrier**<br /><br />object<br /><br />Conditionally returned                             | Specifies attributes of the card carrier.<br /><br />**Allowable Values:**<br /><br />`logo_file`, `logo_thumbnail_file`, `message_file`, `message_line`, `template_id`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| fulfillment.card\_personalization.carrier.**logo\_file**<br /><br />string<br /><br />Conditionally returned                  | Specifies an image to display on the card carrier.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment.card\_personalization.carrier.**logo\_thumbnail\_file**<br /><br />string<br /><br />Conditionally returned       | Specifies a thumbnail-sized rendering of the image specified in the `logo_file` field.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| fulfillment.card\_personalization.carrier.**message\_file**<br /><br />string<br /><br />Conditionally returned               | Specifies a text file containing a custom message to print on the card carrier.<br /><br />**Allowable Values:**<br /><br />Contains the name of the text file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| fulfillment.card\_personalization.carrier.**message\_line**<br /><br />string<br /><br />Conditionally returned               | Specifies a custom message that appears on the card carrier.<br /><br />**Allowable Values:**<br /><br />60 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.card\_personalization.carrier.**message\_line\_2**<br /><br />string<br /><br />Conditionally returned            | Specifies the second line of a custom message that appears on the card carrier.<br /><br />**Allowable Values:**<br /><br />60 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| fulfillment.card\_personalization.carrier.**template\_id**<br /><br />string<br /><br />Conditionally returned                | Specifies the card carrier template to use.<br /><br />**Allowable Values:**<br /><br />Card carrier template ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.card\_personalization.**images**<br /><br />object<br /><br />Conditionally returned                              | Specifies personalized images that appear on the card.<br /><br />**Allowable Values:**<br /><br />`card`, `carrier`, `carrier_return_window`, `signature`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.card\_personalization.images.**card**<br /><br />object<br /><br />Conditionally returned                         | Specifies personalized images that appear on the card.<br /><br />**Allowable Values:**<br /><br />`name`, `thermal_color`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.card\_personalization.images.card.**name**<br /><br />string<br /><br />Conditionally returned                    | Specifies a PNG image to display on the card.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| fulfillment.card\_personalization.images.card.**thermal\_color**<br /><br />string<br /><br />Conditionally returned          | Specifies the color of the image displayed on the card.<br /><br />**Allowable Values:**<br /><br />Contains the name of the color and must match one of the provider’s predefined colors.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.card\_personalization.images.**carrier**<br /><br />object<br /><br />Conditionally returned                      | Specifies personalized images that appear on the card carrier.<br /><br />**Allowable Values:**<br /><br />`message_1`, `name`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| fulfillment.card\_personalization.images.carrier.**message\_1**<br /><br />string<br /><br />Conditionally returned           | Specifies a custom message that appears on the card carrier.<br /><br />**Allowable Values:**<br /><br />60 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.card\_personalization.images.carrier.**name**<br /><br />string<br /><br />Conditionally returned                 | Specifies a PNG image to display on the card carrier.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.card\_personalization.images.**carrier\_return\_window**<br /><br />object<br /><br />Conditionally returned      | Specifies a PNG image to display in the return address window of envelopes used for sending cards to cardholders.<br /><br />**Allowable Values:**<br /><br />`name`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.card\_personalization.images.carrier\_return\_window.**name**<br /><br />string<br /><br />Conditionally returned | Specifies a PNG image to display in the return address window of envelopes used for sending cards to cardholders.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.card\_personalization.images.**signature**<br /><br />object<br /><br />Conditionally returned                    | Specifies a PNG image of the cardholder’s signature.<br /><br />**Allowable Values:**<br /><br />`name`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| fulfillment.card\_personalization.images.signature.**name**<br /><br />string<br /><br />Conditionally returned               | Specifies a PNG image of the cardholder’s signature.<br /><br />**Allowable Values:**<br /><br />Contains the name of the image file and must match the name of the file you send to your fulfillment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| fulfillment.card\_personalization.**perso\_type**<br /><br />string<br /><br />Conditionally returned                         | Specifies the type of card personalization.<br /><br />**Allowable Values:**<br /><br />`EMBOSS`, `LASER`, `FLAT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| fulfillment.card\_personalization.**text**<br /><br />object<br /><br />Returned                                              | Specifies personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_1`, `name_line_2`, `name_line_3`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment.card\_personalization.text.**name\_line\_1**<br /><br />object<br /><br />Returned                                | Specifies the first line of personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_1.value`<br /><br />21 char max; if `name_line_1_numeric_postfix` is `true`, 14 char max.<br /><br />Strings longer than the character limit are truncated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.card\_personalization.text.name\_line\_1.**value**<br /><br />string<br /><br />Conditionally returned            | Line of personalized text printed on the card.<br /><br />**Allowable Values:**<br /><br />21 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.card\_personalization.text.**name\_line\_2**<br /><br />object<br /><br />Conditionally returned                  | Specifies the second line of personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_2.value`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| fulfillment.card\_personalization.text.name\_line\_2.**value**<br /><br />string<br /><br />Conditionally returned            | Line of personalized text printed on the card.<br /><br />**Allowable Values:**<br /><br />21 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.card\_personalization.text.**name\_line\_3**<br /><br />object<br /><br />Conditionally returned                  | Specifies the third line of personalized text that appears on the card.<br /><br />**Allowable Values:**<br /><br />`name_line_3.value`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| fulfillment.card\_personalization.text.name\_line\_3.**value**<br /><br />string<br /><br />Conditionally returned            | Line of personalized text printed on the card.<br /><br />**Allowable Values:**<br /><br />21 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.**shipping**<br /><br />object<br /><br />Conditionally returned                                                  | Specifies shipping details for the order.<br /><br />**Allowable Values:**<br /><br />`care_of_line`, `method`, `recipient_address`, `return_address`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| fulfillment.shipping.**care\_of\_line**<br /><br />string<br /><br />Conditionally returned                                   | Adds the specified value as a care of (C/O) line to the mailing carrier.<br /><br />**NOTE:** This field can be specified on cards, card products, and bulk card orders. If you specify this field at multiple levels, the order of precedence is: card, bulk card order, card product.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment.shipping.**method**<br /><br />string<br /><br />Conditionally returned                                           | Specifies the shipping service.<br /><br />**Allowable Values:**<br /><br />`LOCAL_MAIL`, `LOCAL_MAIL_PACKAGE`, `GROUND`, `TWO_DAY`, `OVERNIGHT`, `INTERNATIONAL`, `INTERNATIONAL_PRIORITY`, `LOCAL_PRIORITY`, `FEDEX_EXPEDITED`, `FEDEX_REGULAR`, `UPS_EXPEDITED`, `UPS_REGULAR`, `USPS_EXPEDITED`, `USPS_REGULAR`<br /><br />Shipping options vary by card provider. For details on the specific shipping companies and services offered by your card provider, contact your Marqeta representative.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.shipping.**recipient\_address**<br /><br />object<br /><br />Conditionally returned                               | Address to which the order will be shipped.<br /><br />In order to generate cards, a valid shipping address must be provided by one of these:<br /><br />- The card or bulk card order’s `fulfillment.shipping.recipient_address` field<br />- The users' `address` fields<br />- The card product’s `config.fulfillment.shipping.recipient_address` field<br /><br />The order of precedence from highest to lowest is card, user, card product. To be valid, an address must have the `address1`, `city`, `state`, and `postal_code` or `zip` fields populated. The `country` field defaults to USA if unpopulated.<br /><br />**Allowable Values:**<br /><br />Valid `recipient_address` object                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| fulfillment.shipping.recipient\_address.**address1**<br /><br />string<br /><br />Conditionally returned                      | Number and street of the address.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.recipient\_address.**address2**<br /><br />string<br /><br />Conditionally returned                      | Additional address information.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.shipping.recipient\_address.**city**<br /><br />string<br /><br />Conditionally returned                          | City of the address.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.recipient\_address.**country**<br /><br />string<br /><br />Conditionally returned                       | Country of the address.<br /><br />**Allowable Values:**<br /><br />40 char max<br /><br />English short name. For example, for the Kingdom of Spain, use the English short name "Spain".<br /><br />The ISO maintains the <a href="https://www.iso.org/obp/ui/#search/code/" target="_blank" rel="noopener">full list of country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.recipient\_address.**first\_name**<br /><br />string<br /><br />Conditionally returned                   | First name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.shipping.recipient\_address.**last\_name**<br /><br />string<br /><br />Conditionally returned                    | Last name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| fulfillment.shipping.recipient\_address.**middle\_name**<br /><br />string<br /><br />Conditionally returned                  | Middle name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| fulfillment.shipping.recipient\_address.**phone**<br /><br />string<br /><br />Conditionally returned                         | Telephone number of the addressee.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.shipping.recipient\_address.**postal\_code**<br /><br />string<br /><br />Conditionally returned                  | Postal code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| fulfillment.shipping.recipient\_address.**state**<br /><br />string<br /><br />Conditionally returned                         | State of the address.<br /><br />**Allowable Values:**<br /><br />32 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment.shipping.recipient\_address.**zip**<br /><br />string<br /><br />Conditionally returned                           | United States ZIP code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| fulfillment.shipping.**return\_address**<br /><br />object<br /><br />Conditionally returned                                  | Address to which the order will be returned if shipping fails.<br /><br />**Allowable Values:**<br /><br />`address1`, `address2`, `city`, `country`, `first_name`, `last_name`, `middle_name`, `phone`, `postal_code`, `state`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| fulfillment.shipping.return\_address.**address1**<br /><br />string<br /><br />Conditionally returned                         | Number and street of the address.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.return\_address.**address2**<br /><br />string<br /><br />Conditionally returned                         | Additional address information.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />Limits lower than 255 characters may be imposed by providers. Perfect Plastic Printing and IDEMIA have a limit of 100 characters, and Arroweye Solutions has a limit of 50 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.shipping.return\_address.**city**<br /><br />string<br /><br />Conditionally returned                             | City of the address.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.return\_address.**country**<br /><br />string<br /><br />Conditionally returned                          | Country of the address.<br /><br />**Allowable Values:**<br /><br />40 char max<br /><br />English short name. For example, for the Kingdom of Spain, use the English short name "Spain".<br /><br />The ISO maintains the <a href="https://www.iso.org/obp/ui/#search/code/" target="_blank" rel="noopener">full list of country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| fulfillment.shipping.return\_address.**first\_name**<br /><br />string<br /><br />Conditionally returned                      | First name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment.shipping.return\_address.**last\_name**<br /><br />string<br /><br />Conditionally returned                       | Last name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| fulfillment.shipping.return\_address.**middle\_name**<br /><br />string<br /><br />Conditionally returned                     | Middle name of the addressee.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| fulfillment.shipping.return\_address.**phone**<br /><br />string<br /><br />Conditionally returned                            | Telephone number of the addressee.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| fulfillment.shipping.return\_address.**postal\_code**<br /><br />string<br /><br />Conditionally returned                     | Postal code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| fulfillment.shipping.return\_address.**state**<br /><br />string<br /><br />Conditionally returned                            | State of the address.<br /><br />**Allowable Values:**<br /><br />32 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| fulfillment.shipping.return\_address.**zip**<br /><br />string<br /><br />Conditionally returned                              | United States ZIP code of the address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| fulfillment\_status<br /><br />string<br /><br />Returned                                                                     | Provides status information about the card related to order and delivery.<br /><br />The possible fulfillment states are:<br /><br />- **ISSUED:** Initial state of all newly created/issued cards<br />- **ORDERED:** Card ordered through card fulfillment provider<br />- **REJECTED:** Card rejected by card fulfillment provider<br />- **SHIPPED:** Card shipped by card fulfillment provider<br />- **DELIVERED:** Card delivered by the card fulfillment provider.<br />- **DIGITALLY\_PRESENTED:** Card digitally presented using the `/cards/{token}/showpan` endpoint; does not affect the delivery of physical cards<br /><br />**Allowable Values:**<br /><br />`ISSUED`, `ORDERED`, `REJECTED`, `SHIPPED`, `DELIVERED`, `DIGITALLY_PRESENTED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| last\_four<br /><br />string<br /><br />Returned                                                                              | Last four digits of the card primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| pan<br /><br />string<br /><br />Returned                                                                                     | Primary account number (PAN) of the card.<br /><br />**Allowable Values:**<br /><br />16 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| pin\_is\_set<br /><br />boolean<br /><br />Returned                                                                           | Specifies if the personal identification number (PIN) has been set for the card.<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| reason<br /><br />string<br /><br />Conditionally returned                                                                    | Additional information about the state change.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| reason\_code<br /><br />string<br /><br />Conditionally returned                                                              | A standard code describing the reason for the transition:<br /><br />- **00:** Object activated for the first time<br />- **01:** Requested by you<br />- **02:** Inactivity over time<br />- **03:** This address cannot accept mail or the addressee is unknown<br />- **04:** Negative account balance<br />- **05:** Account under review<br />- **06:** Suspicious activity was identified<br />- **07:** Activity outside the program parameters was identified<br />- **08:** Confirmed fraud was identified<br />- **09:** Matched with an Office of Foreign Assets Control list<br />- **10:** Card was reported lost<br />- **11:** Card information was cloned<br />- **12:** Account or card information was compromised<br />- **13:** Temporary status change while on hold/leave<br />- **14:** Initiated by Marqeta<br />- **15:** Initiated by issuer<br />- **16:** Card expired<br />- **17:** Failed KYC<br />- **18:** Changed to `ACTIVE` because information was properly validated<br />- **19:** Changed to `ACTIVE` because account activity was properly validated<br />- **20:** Change occurred prior to the normalization of reason codes<br />- **21:** Initiated by a third party, often a digital wallet provider<br />- **22:** PIN retry limit reached<br />- **23:** Card was reported stolen<br />- **24:** Address issue<br />- **25:** Name issue<br />- **26:** SSN issue<br />- **27:** DOB issue<br />- **28:** Email issue<br />- **29:** Phone issue<br />- **30:** Account/fulfillment mismatch<br />- **31:** Other reason<br />- **32:** Unblock request<br />- **86:** Notification of death<br /><br />**Allowable Values:**<br /><br />`00`, `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `86` |
| reissue\_pan\_from\_card\_token<br /><br />string<br /><br />Conditionally returned                                           | Reissues the specified ("source") card.<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| new\_pan\_from\_card\_token<br /><br />string<br /><br />Conditionally returned                                               | Reissues the specified ("source") card with a new primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| state<br /><br />string<br /><br />Returned                                                                                   | Indicates the state of the card.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `SUSPENDED`, `TERMINATED`, `UNACTIVATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| token<br /><br />string<br /><br />Returned                                                                                   | Unique identifier of the card transition.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| type<br /><br />string<br /><br />Returned                                                                                    | This field cannot be set directly using the `/cardtransitions` endpoint. A card transition’s `type` is managed by the Marqeta platform, based on the before and after state of the transition, as specified in the request’s `state` field.<br /><br />This field appears only when populated by the card fulfillment provider. The `type` field’s possible values are:<br /><br />- **fulfillment.delivered:** Card was delivered by the card fulfillment provider<br />- **fulfillment.digitally\_presented:** Card was digitally presented using the `/cards/{token}/showpan` endpoint; does not affect the delivery of physical cards<br />- **fulfillment.issued:** Card was created/issued<br />- **fulfillment.ordered:** Card was ordered from the card fulfillment provider<br />- **fulfillment.rejected:** Card was rejected by the card fulfillment provider<br />- **fulfillment.shipped:** Card was shipped by the card fulfillment provider<br />- **state.activated:** Card was activated<br />- **state.limited:** Card was limited<br />- **state.reinstated:** Card was reinstated from a suspended state<br />- **state.suspended:** Card was suspended<br />- **state.terminated:** Card was terminated<br /><br />**Allowable Values:**<br /><br />`fulfillment.delivered`, `fulfillment.digitally_presented`, `fulfillment.issued`, `fulfillment.ordered`, `fulfillment.rejected`, `fulfillment.shipped`, `state.activated`, `state.limited`, `state.reinstated`, `state.suspended`, `state.terminated`                                                                                                                                                                                                                                                                                                                                                                      |
| user<br /><br />object<br /><br />Conditionally returned                                                                      | Associates customer-injected metadata with the cardholder.<br /><br />**Allowable Values:**<br /><br />`metadata`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**metadata**<br /><br />object<br /><br />Conditionally returned                                                         | Associates customer-injected metadata with the cardholder.<br /><br />**Allowable Values:**<br /><br />You can define the names and values of up to 20 fields in the format `"my_name_1": "my_value_1"`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user\_token<br /><br />string<br /><br />Returned                                                                             | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| validations<br /><br />object<br /><br />Conditionally returned                                                               | Contains information about the user.<br /><br />**Allowable Values:**<br /><br />Existing `validations` object                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| validations.**user**<br /><br />object<br /><br />Returned                                                                    | Contains information about the user.<br /><br />**Allowable Values:**<br /><br />`birth_date`, `phone`, `random_name_line1_postfix`, `ssn`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| validations.user.**birth\_date**<br /><br />boolean<br /><br />Returned                                                       | Indicates whether the `birth_date` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| validations.user.**phone**<br /><br />boolean<br /><br />Returned                                                             | Indicates whether the `phone` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| validations.user.**random\_name\_line1\_postfix**<br /><br />boolean<br /><br />Returned                                      | Indicates whether the `random_name_line1_postfix` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| validations.user.**ssn**<br /><br />boolean<br /><br />Returned                                                               | Indicates whether the `ssn` field in the request was validated.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |

<h3 id="_sample_response_body_3">
  Sample response body
</h3>

```json JSON expandable lines wrap theme={null}
{
  "token": "activate_05",
  "card_token": "my_user_01_card_01",
  "user_token": "my_user_01",
  "state": "ACTIVE",
  "reason": "I want to use this card, so activate it.",
  "reason_code": "00",
  "channel": "API",
  "expedite": false,
  "fulfillment_status": "ISSUED",
  "validations": {
    "user": {
      "birth_date": true,
      "phone": false,
      "random_name_line1_postfix": false,
      "ssn": false
    }
  },
  "type": "state.activated",
  "created_time": "2022-02-23T23:28:39Z",
  "card_product_token": "my_cardproduct_01",
  "last_four": "2160",
  "pan": "1111115454542160",
  "expiration": "1026",
  "expiration_time": "2027-10-31T23:59:59Z",
  "barcode": "11379418395311581864",
  "pin_is_set": false,
  "user": {
    "metadata": {
      "my_name_1": "my_value_1",
      "my_name_2": "my_value_2"
    }
  }
}
```
