> ## 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.

# Digital Wallets Management

> Use the digital wallet management endpoints to provision digital wallet tokens and manage their lifecycle.

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>;
};

The Marqeta platform facilitates the use of digital wallets for storing tokenized cards and making payments. The API provides endpoints that enable mobile applications to provision tokens into a digital wallet. It also provides endpoints for retrieving digital wallet tokens and for managing their lifecycle through state transitions.

For an overview of digital wallet tokens, see [Digital Wallets and Tokenization](/developer-guides/digital-wallets-and-tokenization/).

<h2 id="post_digitalwalletprovisionrequests_applepay">
  Create digital wallet token provisioning request for Apple Wallet
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwalletprovisionrequests/applepay`

{/* <EndpointCard
title="Validates Apple certificates and creates Apple-specific provisioning request data"
path="/digitalwalletprovisionrequests/applepay"
method="post"
/> */}

Use this endpoint to return card data for use in provisioning a digital wallet token into Apple Wallet.

The returned card data is encrypted using the digital wallet provider’s encryption key, thereby reducing your PCI compliance overhead.

<h3 id="_header_parameter">
  Header parameter
</h3>

| Fields                                           | Description                                                                                                                                                                                     |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |

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

| Fields                                                           | Description                                                                                                                                                                                                                                                         |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Required                | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                  |
| certificates<br /><br />array of strings<br /><br />Required     | Base64-encoded leaf and sub-CA certificates provided by Apple.<br /><br />The first element of the array should be the leaf certificate, followed by the sub-CA.<br /><br />**Allowable Values:**<br /><br />An array of one or more certificates provided by Apple |
| device\_type<br /><br />string<br /><br />Required               | Type of device into which the digital wallet token will be provisioned.<br /><br />**Allowable Values:**<br /><br />`MOBILE_PHONE`, `WATCH`, `TABLET`                                                                                                               |
| nonce<br /><br />string<br /><br />Required                      | One-time-use nonce provided by Apple for security purposes.<br /><br />**Allowable Values:**<br /><br />Base64-encoded nonce from Apple                                                                                                                             |
| nonce\_signature<br /><br />string<br /><br />Required           | Apple-provided signature to the nonce.<br /><br />**Allowable Values:**<br /><br />Base64-encoded nonce signature from Apple                                                                                                                                        |
| provisioning\_app\_version<br /><br />string<br /><br />Required | Version of the application making the provisioning request. Used for debugging and fraud prevention.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                         |

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

```json JSON lines wrap theme={null}
{
  "card_token": "my_card_token_1234",
  "device_type": "MOBILE_PHONE",
  "provisioning_app_version": "2.13.7",
  "certificates": [
    "my_certificate_ZIzj...",
    "my_certificate_SgMA..."
  ],
  "nonce": "my_nonce_JJCF",
  "nonce_signature": "my_nonce_signature_wbBn"
}
```

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

| Fields                                                       | Description                                                                                                                                                                                      |
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| activation\_data<br /><br />string<br /><br />Returned       | Cryptographic one-time passcode conforming to the payment network operator or service provider specifications.<br /><br />**Allowable Values:**<br /><br />Any value                             |
| card\_token<br /><br />string<br /><br />Returned            | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                               |
| created\_time<br /><br />datetime<br /><br />Returned        | Date and time when the digital wallet provisioning request was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ            |
| encrypted\_pass\_data<br /><br />string<br /><br />Returned  | Payload encrypted with a shared key derived from the Apple Public Certificates and the generated ephemeral private key.<br /><br />**Allowable Values:**<br /><br />Any value                    |
| ephemeral\_public\_key<br /><br />string<br /><br />Returned | Ephemeral public key used for the provisioning attempt.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                    |
| last\_modified\_time<br /><br />datetime<br /><br />Returned | Date and time when the digital wallet token provisioning request was last updated, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ |

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

```json JSON lines wrap theme={null}
{
  "created_time": "2025-03-22T21:22:19Z",
  "last_modified_time": "2025-03-22T21:22:19Z",
  "card_token": "my_card_token_1234",
  "encrypted_pass_data": "my_encrypted_pass_data_KGga...",
  "activation_data": "my_activation_data_VERF...",
  "ephemeral_public_key": "my_ephemeral_public_key_omvw..."
}
```

<h2 id="post_tokenization_authentication_decision">
  Submit a post-tokenization authentication decision
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/postTokenizationAuthenticationDecision`

{/* <EndpointCard
title="Submit a post-tokenization authentication decision"
path="/digitalwallets/postTokenizationAuthenticationDecision"
method="post"
/> */}

Use this endpoint to submit a post-tokenization authentication decision from the customer to Marqeta in a secure card on file scenario. Marqeta validates the request, stores it, and forwards the authentication decision to Mastercard MDES in real time. Marqeta then returns the MDES response back to the customer synchronously. This enables issuers to notify Mastercard Digital Enablement Service (MDES) of the cardholder’s authentication outcome following tokenization, ensuring that the token requestor receives timely and accurate decisioning.

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

| Fields                                                         | Description                                                                                                                         |
| -------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| tokenUniqueReference<br /><br />string<br /><br />Required     | Unique identifier of the token allocated to the card.<br /><br />**Allowable Values:**<br /><br />1–64 chars                        |
| authRequestCorrelationId<br /><br />string<br /><br />Optional | Correlates multiple authentication requests.<br /><br />**Allowable Values:**<br /><br />1–64 chars                                 |
| authenticationMethod<br /><br />string<br /><br />Required     | Authentication method used to verify the cardholder.<br /><br />**Allowable Values:**<br /><br />`Issuer Application`, `Web Portal` |
| decision<br /><br />string<br /><br />Required                 | Issuer decision after cardholder authentication.<br /><br />**Allowable Values:**<br /><br />`SUCCESS`, `FAILED`                    |
| commentText<br /><br />string<br /><br />Optional              | Optional comment related to the decision.<br /><br />**Allowable Values:**<br /><br />500 char max                                  |

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

| Fields                                        | Description                                                                                                |
| --------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| status<br /><br />string<br /><br />Returned  | Indicates if the operation was successful.<br /><br />**Allowable Values:**<br /><br />`SUCCESS`, `FAILED` |
| message<br /><br />string<br /><br />Returned | Human-readable description of the outcome.<br /><br />**Allowable Values:**<br /><br />255 char max        |

<h2 id="post_digitalwalletprovisionrequests_androidpay">
  Create digital wallet token provisioning request for Google Wallet
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwalletprovisionrequests/androidpay`

{/* <EndpointCard
title="Validates and creates Android-specific provisioning request data"
path="/digitalwalletprovisionrequests/androidpay"
method="post"
/> */}

Use this endpoint to return card data for use in provisioning a digital wallet token into Google Wallet.

The returned card data is encrypted using the digital wallet provider’s encryption key, thereby reducing your PCI compliance overhead.

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

| Fields                                                           | Description                                                                                                                                                  |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| card\_token<br /><br />string<br /><br />Required                | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                           |
| device\_id<br /><br />string<br /><br />Required                 | Unique identifier of the user’s Google device, as provided by Google during the provisioning process.<br /><br />**Allowable Values:**<br /><br />1–24 chars |
| device\_type<br /><br />string<br /><br />Required               | Type of device into which the digital wallet token will be provisioned.<br /><br />**Allowable Values:**<br /><br />`MOBILE_PHONE`, `TABLET`, `WATCH`        |
| provisioning\_app\_version<br /><br />string<br /><br />Required | Version of the application making the provisioning request. Used for debugging and fraud prevention.<br /><br />**Allowable Values:**<br /><br />1–50 chars  |
| wallet\_account\_id<br /><br />string<br /><br />Required        | User’s Google Wallet account ID, as provided by Google during the provisioning process.<br /><br />**Allowable Values:**<br /><br />1–50 chars               |

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

```json JSON lines wrap theme={null}
{
  "card_token": "my_card_token_0987",
  "device_type": "MOBILE_PHONE",
  "provisioning_app_version": "2.13.3",
  "wallet_account_id": "my_wallet_account_id_sr51",
  "device_id": "my_device_id_r51j"
}
```

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

| Fields                                                                                                         | Description                                                                                                                                                                                                                                                                                                                        |
| -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Returned                                                              | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                 |
| created\_time<br /><br />datetime<br /><br />Returned                                                          | Date and time when the digital wallet provisioning request was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                              |
| last\_modified\_time<br /><br />datetime<br /><br />Returned                                                   | Date and time when the digital wallet token provisioning request was last updated, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                   |
| push\_tokenize\_request\_data<br /><br />object<br /><br />Returned                                            | Contains details about a card tokenization push request.<br /><br />**Allowable Values:**<br /><br />`card_type`, `display_name`, `opaque_payment_card`, `last_digits`, `network`, `token_service_provider`                                                                                                                        |
| push\_tokenize\_request\_data.**display\_name**<br /><br />string<br /><br />Conditionally returned            | Name of the card as displayed in the digital wallet, typically showing the card brand and last four digits of the primary account number (PAN). `Visa 5678`, for example.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                    |
| push\_tokenize\_request\_data.**opaque\_payment\_card**<br /><br />string<br /><br />Conditionally returned    | Encrypted data field created by the issuer and passed to Google Wallet during the push provisioning process.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                 |
| push\_tokenize\_request\_data.**last\_digits**<br /><br />string<br /><br />Conditionally returned             | Last four digits of the primary account number of the physical or virtual card.<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                |
| push\_tokenize\_request\_data.**network**<br /><br />string<br /><br />Conditionally returned                  | Specifies the card network of the physical or virtual card.<br /><br />**Allowable Values:**<br /><br />`Visa`, `Mastercard`                                                                                                                                                                                                       |
| push\_tokenize\_request\_data.**token\_service\_provider**<br /><br />string<br /><br />Conditionally returned | Specifies the network that provides the digital wallet token service.<br /><br />**Allowable Values:**<br /><br />`TOKEN_PROVIDER_VISA`, `TOKEN_PROVIDER_MASTERCARD`                                                                                                                                                               |
| push\_tokenize\_request\_data.**user\_address**<br /><br />object<br /><br />Conditionally returned            | Specifies the cardholder address.<br /><br />**Allowable Values:**<br /><br />`name`, `address1`, `address2`, `city`, `state`, `postal_code`, `country`, `phone`                                                                                                                                                                   |
| push\_tokenize\_request\_data.user\_address.**name**<br /><br />string<br /><br />Returned                     | Name of the cardholder.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                      |
| push\_tokenize\_request\_data.user\_address.**address1**<br /><br />string<br /><br />Returned                 | Street address of the cardholder.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                            |
| push\_tokenize\_request\_data.user\_address.**address2**<br /><br />string<br /><br />Returned                 | Additional address information for the cardholder, such as a suite or apartment number.<br /><br />`Suite 600`, for example.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                 |
| push\_tokenize\_request\_data.user\_address.**city**<br /><br />string<br /><br />Returned                     | City of the cardholder.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                      |
| push\_tokenize\_request\_data.user\_address.**state**<br /><br />string<br /><br />Returned                    | Two-character state, provincial, or territorial abbreviation.<br /><br />For the complete list, see <a href="/core-api/kyc-verification/#_valid_state_provincial_territorial_and_federal_abbreviations">Valid state, provincial, territorial, and federal abbreviations</a>.<br /><br />**Allowable Values:**<br /><br />Any value |
| push\_tokenize\_request\_data.user\_address.**postal\_code**<br /><br />string<br /><br />Returned             | Postal code of the cardholder, such as a United States ZIP code. `94612`, for example.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                    |
| push\_tokenize\_request\_data.user\_address.**country**<br /><br />string<br /><br />Returned                  | Two-character <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">ISO alpha-2 country code</a>. `US`, for example.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                   |
| push\_tokenize\_request\_data.user\_address.**phone**<br /><br />string<br /><br />Returned                    | Telephone number of the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                       |

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

```json JSON expandable lines wrap theme={null}
{
  "created_time": "2024-11-06T22:43:20Z",
  "last_modified_time": "2024-11-06T22:43:20Z",
  "card_token": "my_card_token_1111",
  "push_tokenize_request_data": {
    "display_name": "Visa Card",
    "last_digits": "3264",
    "network": "Visa",
    "token_service_provider": "TOKEN_PROVIDER_VISA",
    "opaque_payment_card": "my_opaque_payment_card_RUza...",
    "user_address": {
      "name": "John Doe",
      "address1": "180 Grand Ave",
      "address2": "Suite 500",
      "city": "Oakland",
      "state": "CA",
      "postal_code": "94612",
      "country": "US",
      "phone": "5105551212"
    }
  }
}
```

<h2 id="post_digitalwalletprovisionrequests_samsungpay">
  Create digital wallet token provisioning request for Samsung Wallet
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwalletprovisionrequests/samsungpay`

{/* <EndpointCard
title="Validates and creates Samsung-specific provisioning request data"
path="/digitalwalletprovisionrequests/samsungpay"
method="post"
/> */}

<Note>
  **Note**\
  This endpoint is limited in availability. For more information, contact your Marqeta representative.
</Note>

Use this endpoint to return card data for use in provisioning a digital wallet token into Samsung Wallet.

The returned card data is encrypted using the digital wallet provider’s encryption key, thereby reducing your PCI compliance overhead.

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

| Fields                                                           | Description                                                                                                                                                 |
| ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Required                | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                          |
| device\_id<br /><br />string<br /><br />Required                 | User’s Samsung device unique identifier, as provided by Samsung during the provisioning process.<br /><br />**Allowable Values:**<br /><br />1–24 chars     |
| device\_type<br /><br />string<br /><br />Required               | Type of device into which the digital wallet token will be provisioned.<br /><br />**Allowable Values:**<br /><br />`MOBILE_PHONE`, `TABLET`, `WATCH`       |
| provisioning\_app\_version<br /><br />string<br /><br />Required | Version of the application making the provisioning request. Used for debugging and fraud prevention.<br /><br />**Allowable Values:**<br /><br />1–50 chars |
| wallet\_user\_id<br /><br />string<br /><br />Required           | User’s Samsung Wallet account ID, as provided by Samsung during the provisioning process.<br /><br />**Allowable Values:**<br /><br />1–50 chars            |

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

| Fields                                                                                                          | Description                                                                                                                                                                                                                     |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Returned                                                               | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                              |
| created\_time<br /><br />datetime<br /><br />Returned                                                           | Date and time when the digital wallet provisioning request was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                           |
| last\_modified\_time<br /><br />datetime<br /><br />Returned                                                    | Date and time when the digital wallet token provisioning request was last updated, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                |
| push\_tokenize\_request\_data<br /><br />object<br /><br />Conditionally returned                               | Contains details about a card tokenization push request.<br /><br />**Allowable Values:**<br /><br />`card_type`, `display_name`, `extra_provision_payload`, `last_digits`, `network`, `token_service_provider`                 |
| push\_tokenize\_request\_data.**card\_type**<br /><br />string<br /><br />Conditionally returned                | Specifies the type of card.<br /><br />**Allowable Values:**<br /><br />`PAYMENT`, `DEBIT`, `CREDIT`, `LOYALTY`, `GIFT`                                                                                                         |
| push\_tokenize\_request\_data.**display\_name**<br /><br />string<br /><br />Conditionally returned             | Name of the card as displayed in the digital wallet, typically showing the card brand and last four digits of the primary account number (PAN). `Visa 5678`, for example.<br /><br />**Allowable Values:**<br /><br />Any value |
| push\_tokenize\_request\_data.**extra\_provision\_payload**<br /><br />string<br /><br />Conditionally returned | Encrypted card or cardholder details.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                     |
| push\_tokenize\_request\_data.**last\_digits**<br /><br />string<br /><br />Conditionally returned              | Last four digits of the primary account number of the physical or virtual card.<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                             |
| push\_tokenize\_request\_data.**network**<br /><br />string<br /><br />Conditionally returned                   | Specifies the card network of the physical or virtual card.<br /><br />**Allowable Values:**<br /><br />`Visa`, `Mastercard`                                                                                                    |
| push\_tokenize\_request\_data.**token\_service\_provider**<br /><br />string<br /><br />Conditionally returned  | Specifies the network that provides the digital wallet token service, as determined by the Samsung Wallet library.<br /><br />**Allowable Values:**<br /><br />`VI`, `MC`                                                       |

<h2 id="post_digitalwalletprovisionrequests_x_pay">
  Create digital wallet token provisioning request for XPay
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwalletprovisionrequests/xpay`

{/* <EndpointCard
title="Validates and creates a generic push provisioning request data for adding a card to a digital wallet that is not ApplePay, GooglePay or SamsungPay."
path="/digitalwalletprovisionrequests/xpay"
method="post"
/> */}

<Note>
  **Note**\
  This endpoint is limited in availability. For more information, contact your Marqeta representative.
</Note>

Use this endpoint to return card data for use in provisioning a digital wallet token into an XPay digital wallet.

The returned card data is encrypted using the digital wallet provider’s encryption key, thereby reducing your PCI compliance overhead.

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

| Fields                                                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Required                | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| device\_id<br /><br />string<br /><br />Required                 | Unique identifier of the user’s XPay device, as provided by XPay during the provisioning process.<br /><br />**Allowable Values:**<br /><br />1–24 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| device\_type<br /><br />string<br /><br />Required               | Type of device into which the digital wallet token will be provisioned.<br /><br />**Allowable Values:**<br /><br />`MOBILE_PHONE`, `TABLET`, `WATCH`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| provisioning\_app\_version<br /><br />string<br /><br />Required | Version of the application making the provisioning request. Used for debugging and fraud prevention.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| token\_requestor\_id<br /><br />string<br /><br />Required       | Unique numerical identifier of the digital wallet token requestor within the card network. These ID numbers map to `token_requestor_name` field values as follows:<br /><br />**Mastercard**<br /><br />- 50110030273 – `APPLE_PAY`<br />- 50120834693 – `ANDROID_PAY`<br />- 50139059239 – `SAMSUNG_PAY`<br /><br />**Visa**<br /><br />- 40010030273 – `APPLE_PAY`<br />- 40010075001 – `ANDROID_PAY`<br />- 40010043095 – `SAMSUNG_PAY`<br />- 40010075196 – `MICROSOFT_PAY`<br />- 40010075338 – `VISA_CHECKOUT`<br />- 40010075449 – `FACEBOOK`<br />- 40010075839 – `NETFLIX`<br />- 40010077056 – `FITBIT_PAY`<br />- 40010069887 – `GARMIN_PAY`<br /><br />**Allowable Values:**<br /><br />11 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – 50110030273, 50120834693, 50139059239<br />- **Visa** – 40010030273, 40010075001, 40010075338, 40010075449, 40010075839, 40010043095 |
| wallet\_account\_id<br /><br />string<br /><br />Required        | User’s XPay account identifier, as provided by XPay during the provisioning process.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

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

| Fields                                                                                                          | Description                                                                                                                                                                                                                     |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Returned                                                               | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                              |
| created\_time<br /><br />datetime<br /><br />Returned                                                           | Date and time when the digital wallet provisioning request was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                           |
| last\_modified\_time<br /><br />datetime<br /><br />Returned                                                    | Date and time when the digital wallet token provisioning request was last updated, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                |
| push\_tokenize\_request\_data<br /><br />object<br /><br />Conditionally returned                               | Contains details about a card tokenization push request.<br /><br />**Allowable Values:**<br /><br />`card_type`, `display_name`, `extra_provision_payload`, `last_digits`, `network`, `token_service_provider`                 |
| push\_tokenize\_request\_data.**card\_type**<br /><br />string<br /><br />Conditionally returned                | Specifies the type of card.<br /><br />**Allowable Values:**<br /><br />`PAYMENT`, `DEBIT`, `CREDIT`, `LOYALTY`, `GIFT`                                                                                                         |
| push\_tokenize\_request\_data.**display\_name**<br /><br />string<br /><br />Conditionally returned             | Name of the card as displayed in the digital wallet, typically showing the card brand and last four digits of the primary account number (PAN). `Visa 5678`, for example.<br /><br />**Allowable Values:**<br /><br />Any value |
| push\_tokenize\_request\_data.**extra\_provision\_payload**<br /><br />string<br /><br />Conditionally returned | Encrypted card or cardholder details.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                     |
| push\_tokenize\_request\_data.**last\_digits**<br /><br />string<br /><br />Conditionally returned              | Last four digits of the primary account number of the physical or virtual card.<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                             |
| push\_tokenize\_request\_data.**network**<br /><br />string<br /><br />Conditionally returned                   | Specifies the card network of the physical or virtual card.<br /><br />**Allowable Values:**<br /><br />`Visa`, `Mastercard`                                                                                                    |
| push\_tokenize\_request\_data.**token\_service\_provider**<br /><br />string<br /><br />Conditionally returned  | Specifies the network that provides the digital wallet token service.<br /><br />**Allowable Values:**<br /><br />`TOKEN_PROVIDER_VISA`, `TOKEN_PROVIDER_MASTERCARD`                                                            |

<h2 id="post_digitalwallettokentransitions">
  Create digital wallet token transition
</h2>

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

{/* <EndpointCard
title="Creates a digital wallet token transition"
path="/digitalwallettokentransitions"
method="post"
/> */}

Use this endpoint to transition a digital wallet token from one state to another.

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

| Fields                                                                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| channel<br /><br />string<br /><br />Optional                                | Mechanism by which the transition was initiated.<br /><br />**Allowable Values:**<br /><br />`TOKEN_SERVICE_PROVIDER`, `TOKEN_SERVICE_PROVIDER_API`, `DIGITAL_WALLET`, `API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| digital\_wallet\_token<br /><br />object<br /><br />Required                 | Contains identifiers of the digital wallet token resource and the card resource.<br /><br />**Allowable Values:**<br /><br />Unique identifiers of the digital wallet token resource and the card resource                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| digital\_wallet\_token.**token**<br /><br />string<br /><br />Required       | Unique identifier of the digital wallet token resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| digital\_wallet\_token.**card\_token**<br /><br />string<br /><br />Optional | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| reason<br /><br />string<br /><br />Optional                                 | The reason for the transition.<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 state to which the digital wallet token will transition.<br /><br />The original state is `REQUESTED`. You cannot modify the state if its current value is either `REQUEST_DECLINED` or `TERMINATED`.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| token<br /><br />string<br /><br />Optional                                  | The unique identifier of the digital wallet token transition (not the identifier of the digital wallet token itself).<br /><br />If you do not include a value for the `token` field, the system will generate one automatically. This value is necessary for use in other API calls, so we recommend that rather than let the system generate one, you use a simple string that is easy to remember. This value cannot be updated.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| token\_reference\_id<br /><br />string<br /><br />Optional                   | The unique identifier of the digital wallet token within the card network. The `token_reference_id` is unique at the card network level.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

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

```json JSON lines wrap theme={null}
{
  "token": "my_transition_04",
  "digital_wallet_token": {
    "token": "my_digital_wallet_token_0987"
  },
  "state": "ACTIVE",
  "reason": "Passed additional identity verification",
  "reason_code": "18"
}
```

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

| Fields                                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_swap<br /><br />object<br /><br />Conditionally returned                             | Contains identifiers for swapping digital wallet tokens between cards.<br /><br />**Allowable Values:**<br /><br />`new_card_token`, `previous_card_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| card\_swap.**new\_card\_token**<br /><br />string<br /><br />Returned                      | Unique identifier of the new card resource to which the digital wallet tokens are assigned.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| card\_swap.**previous\_card\_token**<br /><br />string<br /><br />Returned                 | Unique identifier of the existing card resource that has digital wallet tokens assigned to it.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| channel<br /><br />string<br /><br />Returned                                              | Mechanism by which the transition was initiated.<br /><br />**Allowable Values:**<br /><br />`TOKEN_SERVICE_PROVIDER`, `DIGITAL_WALLET`, `API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`, `TOKEN_SERVICE_PROVIDER_API`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                        | Date and time when the transition was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| digital\_wallet\_token<br /><br />object<br /><br />Returned                               | Contains identifiers of the digital wallet token resource and the card resource.<br /><br />**Allowable Values:**<br /><br />Unique identifiers of the digital wallet token resource and the card resource                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| digital\_wallet\_token.**token**<br /><br />string<br /><br />Returned                     | Unique identifier of the digital wallet token resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| digital\_wallet\_token.**card\_token**<br /><br />string<br /><br />Conditionally returned | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment\_status<br /><br />string<br /><br />Returned                                  | Provisioning status of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`, `REJECTED`, `PROVISIONED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| reason<br /><br />string<br /><br />Conditionally returned                                 | Reason for the transition.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| reason\_code<br /><br />string<br /><br />Conditionally returned                           | 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` |
| state<br /><br />string<br /><br />Returned                                                | Specifies the state to which the digital wallet token is transitioning.<br /><br />**Allowable Values:**<br /><br />`REQUESTED`, `REQUEST_DECLINED`, `ACTIVE`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| token<br /><br />string<br /><br />Returned                                                | Unique identifier of the digital wallet token transition, and not the identifier of the digital wallet token itself.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| type<br /><br />string<br /><br />Returned                                                 | Type of digital wallet token transition. `state.activated`, for example.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

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

```json JSON lines wrap theme={null}
{
  "token": "my_transition_04",
  "digital_wallet_token": {
    "token": "my_digital_wallet_token_0987"
  },
  "type": "state.activated",
  "channel": "API",
  "state": "ACTIVE",
  "fulfillment_status": "PROVISIONED",
  "reason": "Passed additional identity verification",
  "reason_code": "18",
  "created_time": "2025-02-23T18:57:45Z"
}
```

<h2 id="get_digitalwallettokentransitions_token">
  Retrieve digital wallet token transition
</h2>

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

{/* <EndpointCard
title="Returns a digital wallet transition object"
path="/digitalwallettokentransitions/{token}"
method="get"
/> */}

Use this endpoint to retrieve a specific digital wallet token transition.

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

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

| Fields                                      | Description                                                                                                                               |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Required | Unique identifier of the digital wallet token (DWT) transition.<br /><br />**Allowable Values:**<br /><br />Existing DWT transition token |

<h3 id="_url_query_parameters">
  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_7">
  Response body
</h3>

| Fields                                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_swap<br /><br />object<br /><br />Conditionally returned                             | Contains identifiers for swapping digital wallet tokens between cards.<br /><br />**Allowable Values:**<br /><br />`new_card_token`, `previous_card_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| card\_swap.**new\_card\_token**<br /><br />string<br /><br />Returned                      | Unique identifier of the new card resource to which the digital wallet tokens are assigned.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| card\_swap.**previous\_card\_token**<br /><br />string<br /><br />Returned                 | Unique identifier of the existing card resource that has digital wallet tokens assigned to it.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| channel<br /><br />string<br /><br />Returned                                              | Mechanism by which the transition was initiated.<br /><br />**Allowable Values:**<br /><br />`TOKEN_SERVICE_PROVIDER`, `DIGITAL_WALLET`, `API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`, `TOKEN_SERVICE_PROVIDER_API`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                        | Date and time when the transition was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| digital\_wallet\_token<br /><br />object<br /><br />Returned                               | Contains identifiers of the digital wallet token resource and the card resource.<br /><br />**Allowable Values:**<br /><br />Unique identifiers of the digital wallet token resource and the card resource                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| digital\_wallet\_token.**token**<br /><br />string<br /><br />Returned                     | Unique identifier of the digital wallet token resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| digital\_wallet\_token.**card\_token**<br /><br />string<br /><br />Conditionally returned | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| fulfillment\_status<br /><br />string<br /><br />Returned                                  | Provisioning status of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`, `REJECTED`, `PROVISIONED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| reason<br /><br />string<br /><br />Conditionally returned                                 | Reason for the transition.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| reason\_code<br /><br />string<br /><br />Conditionally returned                           | 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` |
| state<br /><br />string<br /><br />Returned                                                | Specifies the state to which the digital wallet token is transitioning.<br /><br />**Allowable Values:**<br /><br />`REQUESTED`, `REQUEST_DECLINED`, `ACTIVE`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| token<br /><br />string<br /><br />Returned                                                | Unique identifier of the digital wallet token transition, and not the identifier of the digital wallet token itself.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| type<br /><br />string<br /><br />Returned                                                 | Type of digital wallet token transition. `state.activated`, for example.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

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

```json JSON lines wrap theme={null}
{
  "token": "my_transition_04",
  "digital_wallet_token": {
    "token": "my_digital_wallet_token_0987"
  },
  "type": "state.activated",
  "channel": "API",
  "state": "ACTIVE",
  "fulfillment_status": "PROVISIONED",
  "reason": "Passed additional identity verification",
  "reason_code": "18",
  "created_time": "2025-02-23T18:57:45Z"
}
```

<h2 id="get_digitalwallettokentransitions_digitalwallettoken_token">
  List transitions for digital wallet token
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallettokentransitions/digitalwallettoken/{token}`

{/* <EndpointCard
title="Lists all digital wallet token transitions"
path="/digitalwallettokentransitions/digitalwallettoken/{token}"
method="get"
/> */}

Use this endpoint to return an array of all transitions for a particular digital wallet token.

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

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

| Fields                                      | Description                                                                                                         |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Required | Unique identifier of the digital wallet token (DWT).<br /><br />**Allowable Values:**<br /><br />Existing DWT token |

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

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                 |
| --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Optional        | Number of digital wallet transitions to retrieve.<br /><br />**Allowable Values:**<br /><br />Any integer<br /><br />**Default value:**<br />5                                                                                                                                                                                                                                                              |
| start\_index<br /><br />integer<br /><br />Optional | The sort order index of the first digital wallet token 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 />`-id` |

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

| Fields                                                                                             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Conditionally returned                                         | Number of resources returned.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data<br /><br />array of objects<br /><br />Conditionally returned                                 | Array of digital wallet token transition resources.<br /><br />Resources are returned as appropriate to your query.<br /><br />**Allowable Values:**<br /><br />One or more digital wallet token transition resources                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**card\_swap**<br /><br />object<br /><br />Conditionally returned                         | Contains identifiers for swapping digital wallet tokens between cards.<br /><br />**Allowable Values:**<br /><br />`new_card_token`, `previous_card_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].card\_swap.**new\_card\_token**<br /><br />string<br /><br />Returned                      | Unique identifier of the new card resource to which the digital wallet tokens are assigned.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].card\_swap.**previous\_card\_token**<br /><br />string<br /><br />Returned                 | Unique identifier of the existing card resource that has digital wallet tokens assigned to it.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**channel**<br /><br />string<br /><br />Returned                                          | Mechanism by which the transition was initiated.<br /><br />**Allowable Values:**<br /><br />`TOKEN_SERVICE_PROVIDER`, `DIGITAL_WALLET`, `API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`, `TOKEN_SERVICE_PROVIDER_API`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**created\_time**<br /><br />datetime<br /><br />Conditionally returned                    | Date and time when the transition was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**digital\_wallet\_token**<br /><br />object<br /><br />Returned                           | Contains identifiers of the digital wallet token resource and the card resource.<br /><br />**Allowable Values:**<br /><br />Unique identifiers of the digital wallet token resource and the card resource                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].digital\_wallet\_token.**token**<br /><br />string<br /><br />Returned                     | Unique identifier of the digital wallet token resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].digital\_wallet\_token.**card\_token**<br /><br />string<br /><br />Conditionally returned | Unique identifier of the card resource to use for the provisioning request.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**fulfillment\_status**<br /><br />string<br /><br />Returned                              | Provisioning status of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`, `REJECTED`, `PROVISIONED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**reason**<br /><br />string<br /><br />Conditionally returned                             | Reason for the transition.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**reason\_code**<br /><br />string<br /><br />Conditionally returned                       | 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\[].**state**<br /><br />string<br /><br />Returned                                            | Specifies the state to which the digital wallet token is transitioning.<br /><br />**Allowable Values:**<br /><br />`REQUESTED`, `REQUEST_DECLINED`, `ACTIVE`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**token**<br /><br />string<br /><br />Returned                                            | Unique identifier of the digital wallet token transition, and not the identifier of the digital wallet token itself.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**type**<br /><br />string<br /><br />Returned                                             | Type of digital wallet token transition. `state.activated`, for example.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| 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_5">
  Sample response body
</h3>

```json JSON expandable lines wrap theme={null}
{
  "count": 2,
  "start_index": 0,
  "end_index": 1,
  "is_more": false,
  "data": [
    {
      "token": "my_transition_04",
      "digital_wallet_token": {
        "token": "my_digital_wallet_token_0987"
      },
      "type": "state.activated",
      "channel": "API",
      "state": "ACTIVE",
      "fulfillment_status": "PROVISIONED",
      "reason": "Passed additional identity verification",
      "reason_code": "18",
      "created_time": "2025-02-23T18:57:45Z"
    },
    {
      "token": "my_transition_04",
      "digital_wallet_token": {
        "token": "my_digital_wallet_token_0987"
      },
      "type": "fulfillment.requested",
      "channel": "TOKEN_SERVICE_PROVIDER",
      "state": "REQUESTED",
      "fulfillment_status": "DECISION_YELLOW",
      "reason": "Additional identity verification required",
      "reason_code": "21",
      "created_time": "2024-02-23T18:44:21Z"
    }
  ]
}
```

<h2 id="get_digitalwallettokens">
  List digital wallet tokens
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallettokens`

{/* <EndpointCard
title="Returns digital wallet tokens"
path="/digitalwallettokens"
method="get"
/> */}

Use this endpoint to retrieve a list of digital wallet tokens.

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

| Fields                                                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Optional                 | Number of digital wallet token resources to retrieve.<br /><br />**Allowable Values:**<br /><br />1–100<br /><br />**Default value:**<br />10                                                                                                                                                                                                                                                                                                                                                     |
| start\_index<br /><br />integer<br /><br />Optional          | Sort order index of the first digital wallet token 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`                                                                              |
| start\_date<br /><br />string<br /><br />Optional            | Date when the digital wallet token becomes active.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                 |
| end\_date<br /><br />string<br /><br />Optional              | Expiration date of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                       |
| pan\_reference\_id<br /><br />string<br /><br />Optional     | Unique identifier of the digital wallet token primary account number (PAN) within the card network. This value may vary, depending on the digital wallet. For example, the `pan_reference_id` may be different in Apple Wallet and Google Wallet for the same digital wallet token.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                      |
| token\_reference\_id<br /><br />string<br /><br />Optional   | Unique identifier of the digital wallet token within the card network. The `token_reference_id` is unique at the card network level.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                     |
| correlation\_id<br /><br />string<br /><br />Optional        | Unique value representing a tokenization request (Mastercard only).<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                      |
| token\_type<br /><br />string<br /><br />Optional            | Comma-delimited list of digital wallet token types to display.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />**Example Values:**`DEVICE_SECURE_ELEMENT`, `MERCHANT_CARD_ON_FILE`, `DEVICE_CLOUD_BASED`, `ECOMMERCE_DIGITAL_WALLET`, `PSEUDO_ACCOUNT`.                                                                                                                                                                                                                       |
| token\_requestor\_name<br /><br />string<br /><br />Optional | Name of the token requestor within the card network.<br /><br />**NOTE:** The list of example values for this field is maintained by the card networks and is subject to change.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`<br />- **Visa** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`, `MICROSOFT_PAY`, `VISA_CHECKOUT`, `FACEBOOK`, `NETFLIX`, `FITBIT_PAY`, `GARMIN_PAY` |
| state<br /><br />string<br /><br />Optional                  | Comma-delimited list of digital wallet token states to display.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />**Example Values:**`REQUESTED`, `REQUEST_DECLINED`, `TERMINATED`, `SUSPENDED`, `ACTIVE`                                                                                                                                                                                                                                                                       |
| embed<br /><br />string<br /><br />Optional                  | An optional embedded user object.<br /><br />**Allowable Values:**<br /><br />`user`                                                                                                                                                                                                                                                                                                                                                                                                              |

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

| Fields                                                                                                                      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Conditionally returned                                                                  | Number of resources returned.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data<br /><br />array of objects<br /><br />Conditionally returned                                                          | Array of digital wallet token resources.<br /><br />Resources are returned as appropriate to your query.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more digital wallet token resources                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**address\_verification**<br /><br />object<br /><br />Conditionally returned                                       | Contains address verification information.<br /><br />**Allowable Values:**<br /><br />`name`, `postal_code`, `street_address`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].address\_verification.**name**<br /><br />string<br /><br />Conditionally returned                                  | Name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].address\_verification.**postal\_code**<br /><br />string<br /><br />Conditionally returned                          | Postal code.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].address\_verification.**street\_address**<br /><br />string<br /><br />Conditionally returned                       | Street address provided by the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].address\_verification.**zip**<br /><br />string<br /><br />Conditionally returned                                   | United States ZIP code.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**card\_token**<br /><br />string<br /><br />Conditionally returned                                                 | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**created\_time**<br /><br />datetime<br /><br />Conditionally returned                                             | Date and time when the digital wallet token object was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**device**<br /><br />object<br /><br />Conditionally returned                                                      | Contains information related to the device being provisioned.<br /><br />**Allowable Values:**<br /><br />`device_id`, `ip_address`, `language_code`, `location`, `name`, `phone_number`, `token`, `type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].device.**device\_id**<br /><br />string<br /><br />Conditionally returned                                           | Identity number of the device.<br /><br />**Allowable Values:**<br /><br />24 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                          | Device’s IP address.<br /><br />**Allowable Values:**<br /><br />IP address format, 50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].device.**language\_code**<br /><br />string<br /><br />Conditionally returned                                       | Language the device is configured to use.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].device.**location**<br /><br />string<br /><br />Conditionally returned                                             | Geographic coordinates of the device.<br /><br />**Allowable Values:**<br /><br />Latitude and longitude in `DDD.DD/DDD.DD` format.<br /><br />**NOTE:** Both the longitude and latitude are prefixed with either a `+` or `-` symbol, for example: `+42.29/-71.07`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].device.**name**<br /><br />string<br /><br />Conditionally returned                                                 | Name of the device.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                                        | Device’s telephone number.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].device.**token**<br /><br />string<br /><br />Conditionally returned                                                | Unique identifier of the device object.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].device.**type**<br /><br />string<br /><br />Conditionally returned                                                 | Type of device being provisioned.<br /><br />**Allowable Values:**<br /><br />`MOBILE_PHONE`, `WATCH`, `TABLET`, `MOBILE_PHONE_OR_TABLET`, `VEHICLE`, `APPLIANCE`, `LAPTOP`, `GAMING_DEVICE`, `WEARABLE_DEVICE`, `UNKNOWN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**fulfillment\_status**<br /><br />string<br /><br />Conditionally returned                                         | Digital wallet token’s provisioning status.<br /><br />For fulfillment status descriptions, see <a href="/core-api/digital-wallets-management/#post_digitalwallettokentransitions">Create digital wallet token transition</a>.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`, `REJECTED`, `PROVISIONED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**issuer\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned                               | The Marqeta platform’s decision as to whether the digital wallet token should be provisioned.<br /><br />- **0000** – The token should be provisioned.<br />- **token.activation.verification.required** – Provisioning is pending; further action is required for completion.<br /><br />For all other values, check the value of the `fulfillment_status` field to definitively ascertain the provisioning outcome.<br /><br />**NOTE:** The value `invalid.cid` indicates an invalid CVV2 number.<br /><br />**Allowable Values:**<br /><br />0000, `cardaccount.verified`, `card.suspicious`, `token.activation.verification.required`, `token.activation-request.decline`, `card.not.active`, `invalid.cid`, `card.expired`, `card.suspended`, `cardholder.not.active`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].**last\_modified\_time**<br /><br />datetime<br /><br />Conditionally returned                                      | Date and time when the digital wallet token object was last modified, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**metadata**<br /><br />object<br /><br />Conditionally returned                                                    | Contains additional information about the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`cardproduct_preferred_notification_language`, `issuer_product_config_id`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].metadata.**cardproduct\_preferred\_notification\_language**<br /><br />string<br /><br />Conditionally returned     | Language specified in the `config.transaction_controls.notification_language` field of the card product:<br /><br />- **ces** – Czech<br />- **deu** – German<br />- **eng** – English<br />- **fra** – French<br />- **ell** – Greek<br />- **ita** – Italian<br />- **nld** – Dutch<br />- **pol** – Polish<br />- **por** – Portuguese<br />- **ron** – Romanian<br />- **spa** – Spanish<br />- **swe** – Swedish<br /><br />By default, notifications are sent in English.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO 3166 two- and three-digit numeric country codes</a>.<br /><br />**Allowable Values:**<br /><br />`ces`, `deu`, `eng`, `fra`, `ell`, `ita`, `nld`, `pol`, `por`, `ron`, `spa`, `swe`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].metadata.**issuer\_product\_config\_id**<br /><br />string<br /><br />Conditionally returned                        | Unique identifier of the product configuration on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**state**<br /><br />string<br /><br />Conditionally returned                                                       | State of the digital wallet token.<br /><br />For state descriptions, see <a href="/developer-guides/managing-the-digital-wallet-token-lifecycle/#_transitioning_token_states">Transitioning Token States</a>.<br /><br />**Allowable Values:**<br /><br />`REQUESTED`, `REQUEST_DECLINED`, `ACTIVE`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**state\_reason**<br /><br />string<br /><br />Conditionally returned                                               | Reason why the digital wallet token transitioned to its current state.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**token**<br /><br />string<br /><br />Conditionally returned                                                       | Unique identifier of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Existing digital wallet token.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**token\_service\_provider**<br /><br />object<br /><br />Conditionally returned                                    | Contains information held and provided by the token service provider (card network).<br /><br />**Allowable Values:**<br /><br />`correlation_id`, `pan_reference_id`, `token_assurance_level`, `token_eligibility_decision`, `token_expiration`, `token_pan`, `token_reference_id`, `token_requestor_id`, `token_requestor_name`, `token_score`, `token_type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].token\_service\_provider.**correlation\_id**<br /><br />string<br /><br />Conditionally returned                    | For Mastercard only. Unique value representing a tokenization request.<br /><br />**Allowable Values:**<br /><br />Existing correlation identifier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].token\_service\_provider.**pan\_reference\_id**<br /><br />string<br /><br />Conditionally returned                 | Unique identifier of the digital wallet token primary account number (PAN) within the card network.<br /><br />**Allowable Values:**<br /><br />Existing PAN Reference ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].token\_service\_provider.**token\_assurance\_level**<br /><br />string<br /><br />Conditionally returned            | For Mastercard only. Represents the confidence level in the digital wallet token.<br /><br />**Allowable Values:**<br /><br />0-99                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].token\_service\_provider.**token\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned       | Digital wallet’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].token\_service\_provider.**token\_expiration**<br /><br />string<br /><br />Conditionally returned                  | Expiration date of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].token\_service\_provider.**token\_pan**<br /><br />string<br /><br />Conditionally returned                         | Primary account number (PAN) of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />16 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].token\_service\_provider.**token\_reference\_id**<br /><br />string<br /><br />Conditionally returned               | Unique identifier of the digital wallet token within the card network.<br /><br />**Allowable Values:**<br /><br />Existing Token Reference ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].token\_service\_provider.**token\_requestor\_id**<br /><br />string<br /><br />Conditionally returned               | Unique numerical identifier of the token requestor within the card network. These ID numbers map to `token_requestor_name` field values as follows:<br /><br />**Mastercard**<br /><br />- 50110030273 – `APPLE_PAY`<br />- 50120834693 – `ANDROID_PAY`<br />- 50139059239 – `SAMSUNG_PAY`<br /><br />**Visa**<br /><br />- 40010030273 – `APPLE_PAY`<br />- 40010075001 – `ANDROID_PAY`<br />- 40010043095 – `SAMSUNG_PAY`<br />- 40010075196 – `MICROSOFT_PAY`<br />- 40010075338 – `VISA_CHECKOUT`<br />- 40010075449 – `FACEBOOK`<br />- 40010075839 – `NETFLIX`<br />- 40010077056 – `FITBIT_PAY`<br />- 40010069887 – `GARMIN_PAY`<br /><br />**Allowable Values:**<br /><br />11 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – 50110030273, 50120834693, 50139059239<br />- **Visa** – 40010030273, 40010075001, 40010075338, 40010075449, 40010075839, 40010043095                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].token\_service\_provider.**token\_requestor\_name**<br /><br />string<br /><br />Conditionally returned             | Name of the token requestor within the card network.<br /><br />**NOTE:** The list of example values for this field is maintained by the card networks and is subject to change.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`<br />- **Visa** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`, `MICROSOFT_PAY`, `VISA_CHECKOUT`, `FACEBOOK`, `NETFLIX`, `FITBIT_PAY`, `GARMIN_PAY`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].token\_service\_provider.**token\_score**<br /><br />string<br /><br />Conditionally returned                       | Token score assigned by the digital wallet.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].token\_service\_provider.**token\_type**<br /><br />string<br /><br />Conditionally returned                        | Type of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`MERCHANT_CARD_ON_FILE`, `DEVICE_SECURE_ELEMENT`, `DEVICE_CLOUD_BASED`, `ECOMMERCE_DIGITAL_WALLET`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**transaction\_device**<br /><br />object<br /><br />Conditionally returned                                         | Contains information about the device used in the transaction to enhance the risk decisioning process. Use this data to improve fraud prevention and dispute resolution.<br /><br />**Allowable Values:**<br /><br />`binding_id`, `ip_address`, `location`, `phone_number`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].transaction\_device.**binding\_id**<br /><br />string<br /><br />Conditionally returned                             | Unique identifier of the data component bound to the credential.<br /><br />**Allowable Values:**<br /><br />48 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].transaction\_device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                             | IP address of the device. The presence of the IP address helps determine if the transaction was initiated from an unusual network, helping establish a pattern of safe device usage that further confirms the authenticity of the consumer who initiated the transaction.<br /><br />**Allowable Values:**<br /><br />IP address format, 39 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].transaction\_device.**location**<br /><br />string<br /><br />Conditionally returned                                | Geographic coordinates of the device. Contains the latitude and longitude of the device used when the cardholder was authenticated during checkout. This field helps to determine if the transaction was initiated from an unexpected location.<br /><br />**Allowable Values:**<br /><br />Latitude and longitude in `DDD.DD/DDD.DD` format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].transaction\_device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                           | Telephone number of the device. Contains the phone number that was used to authenticate the consumer during checkout, or the consumer’s preferred phone number. The presence of the phone number helps establish the consumer’s authenticity when matching the phone number provided during checkout to a list of known phone numbers for the consumer.<br /><br />**Allowable Values:**<br /><br />15 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**user**<br /><br />object<br /><br />Conditionally returned                                                        | Contains information about a cardholder.<br /><br />**Allowable Values:**<br /><br />`account_holder_group_token`, `active`, `address1`, `address2`, `authentication`, `birth_date`, `birth_place`, `business_token`, `city`, `company`, `corporate_card_holder`, `country`, `created_time`, `email`, `first_name`, `gender`, `honorific`, `id_card_expiration_date`, `id_card_number`, `identifications`, `ip_address`, `last_modified_time`, `last_name`, `metadata`, `middle_name`, `nationality`, `notes`, `parent_token`, `passport_expiration_date`, `passport_number`, `password`, `phone`, `postal_code`, `ssn`, `state`, `status`, `title`, `token`, `uses_parent_account`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**account\_holder\_group\_token**<br /><br />string<br /><br />Conditionally returned                          | Associates the specified account holder group with the cardholder.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**active**<br /><br />boolean<br /><br />Conditionally returned                                                | Specifies if the cardholder is in the `ACTIVE` state on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].user.**address1**<br /><br />string<br /><br />Conditionally returned                                               | Cardholder’s address.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].user.**address2**<br /><br />string<br /><br />Conditionally returned                                               | Additional address information for the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].user.**authentication**<br /><br />object<br /><br />Conditionally returned                                         | Contains the cardholder’s email address and password information.<br /><br />**Allowable Values:**<br /><br />`email_verified`, `email_verified_time`, `last_password_update_channel`, `last_password_update_time`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.authentication.**email\_verified**<br /><br />boolean<br /><br />Conditionally returned                        | Specifies whether the email address has been verified.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.authentication.**email\_verified\_time**<br /><br />datetime<br /><br />Conditionally returned                 | Date and time when the email address was verified.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].user.authentication.**last\_password\_update\_channel**<br /><br />string<br /><br />Conditionally returned         | Specifies the channel through which the password was last changed.<br /><br />**Allowable Values:**<br /><br />`USER_CHANGE`, `USER_RESET`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.authentication.**last\_password\_update\_time**<br /><br />datetime<br /><br />Conditionally returned          | Date and time when the password was last changed.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].user.**birth\_date**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s date of birth.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**birth\_place**<br /><br />string<br /><br />Conditionally returned                                           | Country where the cardholder was born.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />ISO 3166 two-character country codes. For example, the country code for the United States is `US`.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO-3166 country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.**business\_token**<br /><br />string<br /><br />Conditionally returned                                        | Unique identifier of the business resource.<br /><br />**Allowable Values:**<br /><br />Existing business resource token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].user.**city**<br /><br />string<br /><br />Conditionally returned                                                   | City where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**company**<br /><br />string<br /><br />Conditionally returned                                                | Company name.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].user.**corporate\_card\_holder**<br /><br />boolean<br /><br />Conditionally returned                               | Specifies if the cardholder holds a corporate card.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].user.**country**<br /><br />string<br /><br />Conditionally returned                                                | Country where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].user.**created\_time**<br /><br />datetime<br /><br />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\[].user.**email**<br /><br />string<br /><br />Conditionally returned                                                  | Valid email address of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].user.**first\_name**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s first name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.**gender**<br /><br />string<br /><br />Conditionally returned                                                 | Gender of the cardholder.<br /><br />**Allowable Values:**<br /><br />`F`, `M`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].user.**honorific**<br /><br />string<br /><br />Conditionally returned                                              | Cardholder’s title or prefix: Dr., Miss, Mr., Ms., and so on.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].user.**id\_card\_expiration\_date**<br /><br />string<br /><br />Conditionally returned                             | Expiration date of the cardholder’s identification.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.**id\_card\_number**<br /><br />string<br /><br />Conditionally returned                                       | Cardholder’s identification card number.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].user.**identifications**<br /><br />array of objects<br /><br />Conditionally returned                              | One or more objects containing identifications associated with the cardholder.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more `identifications` objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].user.identifications\[].**expiration\_date**<br /><br />string<br /><br />Conditionally returned                    | Expiration date of the identification, if applicable.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].user.identifications\[].**type**<br /><br />string<br /><br />Conditionally returned                                | Type of identification.<br /><br />**Allowable Values:**<br /><br />`SSN`, `TIN`, `SIN`, `NIN`, `PASSPORT_NUMBER`, `DRIVERS_LICENSE`, `BUSINESS_NUMBER`, `BUSINESS_TAX_ID`, `TAXPAYER_REFERENCE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.identifications\[].**value**<br /><br />string<br /><br />Conditionally returned                               | Number associated with the identification.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].user.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s IP address.<br /><br />**Allowable Values:**<br /><br />39 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.**last\_modified\_time**<br /><br />datetime<br /><br />Returned                                               | Date and time when the resource was last updated, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].user.**last\_name**<br /><br />string<br /><br />Conditionally returned                                             | Cardholder’s last name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].user.**metadata**<br /><br />object<br /><br />Conditionally returned                                               | Associates any additional metadata you provide 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.**middle\_name**<br /><br />string<br /><br />Conditionally returned                                           | Cardholder’s middle name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].user.**nationality**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s nationality.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.**notes**<br /><br />string<br /><br />Conditionally returned                                                  | Any additional information pertaining to the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].user.**parent\_token**<br /><br />string<br /><br />Conditionally returned                                          | Unique identifier of the parent user or business resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].user.**passport\_expiration\_date**<br /><br />string<br /><br />Conditionally returned                             | Expiration date of the cardholder’s passport.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].user.**passport\_number**<br /><br />string<br /><br />Conditionally returned                                       | Cardholder’s passport number.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].user.**password**<br /><br />string<br /><br />Conditionally returned                                               | Password to the cardholder’s user account on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**phone**<br /><br />string<br /><br />Conditionally returned                                                  | Cardholder’s telephone number.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].user.**postal\_code**<br /><br />string<br /><br />Conditionally returned                                           | Postal code of the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.**ssn**<br /><br />string<br /><br />Conditionally returned                                                    | Cardholder’s Social Security Number (SSN).<br /><br />**Allowable Values:**<br /><br />Nine digits only, no delimiters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].user.**state**<br /><br />string<br /><br />Conditionally returned                                                  | State or province where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].user.**status**<br /><br />string<br /><br />Conditionally returned                                                 | Specifies the status of the cardholder on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />`UNVERIFIED`, `LIMITED`, `ACTIVE`, `SUSPENDED`, `CLOSED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].user.**title**<br /><br />string<br /><br />Conditionally returned                                                  | Professional title of the cardholder, such as Chief Comptroller.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].user.**token**<br /><br />string<br /><br />Conditionally returned                                                  | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].user.**uses\_parent\_account**<br /><br />boolean<br /><br />Conditionally returned                                 | Indicates whether the child shares balances with the parent (`true`), or the child’s balances are independent of the parent (`false`).<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.**zip**<br /><br />string<br /><br />Conditionally returned                                                    | United States ZIP code of the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].**wallet\_provider\_profile**<br /><br />object<br /><br />Conditionally returned                                   | Contains information held and provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`account`, `device_score`, `pan_source`, `reason_code`, `recommendation_reasons`, `risk_assessment`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].wallet\_provider\_profile.**account**<br /><br />object<br /><br />Conditionally returned                           | Contains information related to the cardholder and provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`email_address`, `id`, `score`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].wallet\_provider\_profile.account.**email\_address**<br /><br />string<br /><br />Conditionally returned            | Digital wallet provider’s email address for the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].wallet\_provider\_profile.account.**id**<br /><br />string<br /><br />Conditionally returned                        | Digital wallet provider’s identity number for the cardholder.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].wallet\_provider\_profile.account.**score**<br /><br />string<br /><br />Conditionally returned                     | Score from the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].wallet\_provider\_profile.**device\_score**<br /><br />string<br /><br />Conditionally returned                     | Score from the device.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].wallet\_provider\_profile.**pan\_source**<br /><br />string<br /><br />Conditionally returned                       | Source from which the digital wallet provider obtained the card primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />`KEY_ENTERED`, `ON_FILE`, `MOBILE_BANKING_APP`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.**reason\_code**<br /><br />string<br /><br />Conditionally returned                      | Reason for the wallet provider’s provisioning decision.<br /><br />- **01** – Cardholder’s wallet account is too new relative to launch.<br />- **02** – Cardholder’s wallet account is too new relative to provisioning request.<br />- **03** – Cardholder’s wallet account/card pair is newer than date threshold.<br />- **04** – Changes made to account data within the account threshold.<br />- **05** – Suspicious transactions linked to this account.<br />- **06** – Account has not had activity in the last year.<br />- **07** – Suspended cards in the secure element.<br />- **08** – Device was put in lost mode in the last seven days for longer than the duration threshold.<br />- **09** – The number of provisioning attempts on this device in 24 hours exceeds threshold.<br />- **0A** – There have been more than the threshold number of different cards attempted at provisioning to this phone in 24 hours.<br />- **0B** – The card provisioning attempt contains a distinct name in excess of the threshold.<br />- **0C** – The device score is less than 3.<br />- **0D** – The account score is less than 4.<br />- **0E** – Device provisioning location outside of the cardholder’s wallet account home country.<br />- **0G** – Suspect fraud.<br /><br />**Allowable Values:**<br /><br />01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0G |
| data\[].wallet\_provider\_profile.**recommendation\_reasons**<br /><br />array of strings<br /><br />Conditionally returned | Array of recommendation reasons from the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more recommendation reasons                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].wallet\_provider\_profile.**risk\_assessment**<br /><br />object<br /><br />Conditionally returned                  | Contains the digital wallet provider’s risk assessment for provisioning the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`score`, `version`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].wallet\_provider\_profile.risk\_assessment.**score**<br /><br />string<br /><br />Conditionally returned            | Wallet provider’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.risk\_assessment.**version**<br /><br />string<br /><br />Conditionally returned          | Wallet provider’s risk assessment version.<br /><br />**Allowable Values:**<br /><br />Version information, as provided by the wallet provider                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

<h2 id="get_digitalwallettokens_token">
  Retrieve digital wallet token
</h2>

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

{/* <EndpointCard
title="Returns a specific digital wallet token"
path="/digitalwallettokens/{token}"
method="get"
/> */}

Use this endpoint to retrieve a specific digital wallet token.

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

| Fields                                      | Description                                                                                                         |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Required | Unique identifier of the digital wallet token (DWT).<br /><br />**Allowable Values:**<br /><br />Existing DWT token |

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

| Fields                                                                                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| address\_verification<br /><br />object<br /><br />Conditionally returned                                           | Contains address verification information.<br /><br />**Allowable Values:**<br /><br />`name`, `postal_code`, `street_address`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| address\_verification.**name**<br /><br />string<br /><br />Conditionally returned                                  | Name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| address\_verification.**postal\_code**<br /><br />string<br /><br />Conditionally returned                          | Postal code.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| address\_verification.**street\_address**<br /><br />string<br /><br />Conditionally returned                       | Street address provided by the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| address\_verification.**zip**<br /><br />string<br /><br />Conditionally returned                                   | United States ZIP code.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| card\_token<br /><br />string<br /><br />Conditionally returned                                                     | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                                                 | Date and time when the digital wallet token object was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| device<br /><br />object<br /><br />Conditionally returned                                                          | Contains information related to the device being provisioned.<br /><br />**Allowable Values:**<br /><br />`device_id`, `ip_address`, `language_code`, `location`, `name`, `phone_number`, `token`, `type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| device.**device\_id**<br /><br />string<br /><br />Conditionally returned                                           | Identity number of the device.<br /><br />**Allowable Values:**<br /><br />24 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                          | Device’s IP address.<br /><br />**Allowable Values:**<br /><br />IP address format, 50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| device.**language\_code**<br /><br />string<br /><br />Conditionally returned                                       | Language the device is configured to use.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| device.**location**<br /><br />string<br /><br />Conditionally returned                                             | Geographic coordinates of the device.<br /><br />**Allowable Values:**<br /><br />Latitude and longitude in `DDD.DD/DDD.DD` format.<br /><br />**NOTE:** Both the longitude and latitude are prefixed with either a `+` or `-` symbol, for example: `+42.29/-71.07`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| device.**name**<br /><br />string<br /><br />Conditionally returned                                                 | Name of the device.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                                        | Device’s telephone number.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| device.**token**<br /><br />string<br /><br />Conditionally returned                                                | Unique identifier of the device object.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| device.**type**<br /><br />string<br /><br />Conditionally returned                                                 | Type of device being provisioned.<br /><br />**Allowable Values:**<br /><br />`MOBILE_PHONE`, `WATCH`, `TABLET`, `MOBILE_PHONE_OR_TABLET`, `VEHICLE`, `APPLIANCE`, `LAPTOP`, `GAMING_DEVICE`, `WEARABLE_DEVICE`, `UNKNOWN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| fulfillment\_status<br /><br />string<br /><br />Conditionally returned                                             | Digital wallet token’s provisioning status.<br /><br />For fulfillment status descriptions, see <a href="/core-api/digital-wallets-management/#post_digitalwallettokentransitions">Create digital wallet token transition</a>.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`, `REJECTED`, `PROVISIONED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| issuer\_eligibility\_decision<br /><br />string<br /><br />Conditionally returned                                   | The Marqeta platform’s decision as to whether the digital wallet token should be provisioned.<br /><br />- **0000** – The token should be provisioned.<br />- **token.activation.verification.required** – Provisioning is pending; further action is required for completion.<br /><br />For all other values, check the value of the `fulfillment_status` field to definitively ascertain the provisioning outcome.<br /><br />**NOTE:** The value `invalid.cid` indicates an invalid CVV2 number.<br /><br />**Allowable Values:**<br /><br />0000, `cardaccount.verified`, `card.suspicious`, `token.activation.verification.required`, `token.activation-request.decline`, `card.not.active`, `invalid.cid`, `card.expired`, `card.suspended`, `cardholder.not.active`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| last\_modified\_time<br /><br />datetime<br /><br />Conditionally returned                                          | Date and time when the digital wallet token object was last modified, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| metadata<br /><br />object<br /><br />Conditionally returned                                                        | Contains additional information about the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`cardproduct_preferred_notification_language`, `issuer_product_config_id`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| metadata.**cardproduct\_preferred\_notification\_language**<br /><br />string<br /><br />Conditionally returned     | Language specified in the `config.transaction_controls.notification_language` field of the card product:<br /><br />- **ces** – Czech<br />- **deu** – German<br />- **eng** – English<br />- **fra** – French<br />- **ell** – Greek<br />- **ita** – Italian<br />- **nld** – Dutch<br />- **pol** – Polish<br />- **por** – Portuguese<br />- **ron** – Romanian<br />- **spa** – Spanish<br />- **swe** – Swedish<br /><br />By default, notifications are sent in English.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO 3166 two- and three-digit numeric country codes</a>.<br /><br />**Allowable Values:**<br /><br />`ces`, `deu`, `eng`, `fra`, `ell`, `ita`, `nld`, `pol`, `por`, `ron`, `spa`, `swe`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| metadata.**issuer\_product\_config\_id**<br /><br />string<br /><br />Conditionally returned                        | Unique identifier of the product configuration on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| state<br /><br />string<br /><br />Conditionally returned                                                           | State of the digital wallet token.<br /><br />For state descriptions, see <a href="/developer-guides/managing-the-digital-wallet-token-lifecycle/#_transitioning_token_states">Transitioning Token States</a>.<br /><br />**Allowable Values:**<br /><br />`REQUESTED`, `REQUEST_DECLINED`, `ACTIVE`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| state\_reason<br /><br />string<br /><br />Conditionally returned                                                   | Reason why the digital wallet token transitioned to its current state.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| token<br /><br />string<br /><br />Conditionally returned                                                           | Unique identifier of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Existing digital wallet token.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| token\_service\_provider<br /><br />object<br /><br />Conditionally returned                                        | Contains information held and provided by the token service provider (card network).<br /><br />**Allowable Values:**<br /><br />`correlation_id`, `pan_reference_id`, `token_assurance_level`, `token_eligibility_decision`, `token_expiration`, `token_pan`, `token_reference_id`, `token_requestor_id`, `token_requestor_name`, `token_score`, `token_type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| token\_service\_provider.**correlation\_id**<br /><br />string<br /><br />Conditionally returned                    | For Mastercard only. Unique value representing a tokenization request.<br /><br />**Allowable Values:**<br /><br />Existing correlation identifier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| token\_service\_provider.**pan\_reference\_id**<br /><br />string<br /><br />Conditionally returned                 | Unique identifier of the digital wallet token primary account number (PAN) within the card network.<br /><br />**Allowable Values:**<br /><br />Existing PAN Reference ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| token\_service\_provider.**token\_assurance\_level**<br /><br />string<br /><br />Conditionally returned            | For Mastercard only. Represents the confidence level in the digital wallet token.<br /><br />**Allowable Values:**<br /><br />0-99                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| token\_service\_provider.**token\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned       | Digital wallet’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| token\_service\_provider.**token\_expiration**<br /><br />string<br /><br />Conditionally returned                  | Expiration date of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| token\_service\_provider.**token\_pan**<br /><br />string<br /><br />Conditionally returned                         | Primary account number (PAN) of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />16 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| token\_service\_provider.**token\_reference\_id**<br /><br />string<br /><br />Conditionally returned               | Unique identifier of the digital wallet token within the card network.<br /><br />**Allowable Values:**<br /><br />Existing Token Reference ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| token\_service\_provider.**token\_requestor\_id**<br /><br />string<br /><br />Conditionally returned               | Unique numerical identifier of the token requestor within the card network. These ID numbers map to `token_requestor_name` field values as follows:<br /><br />**Mastercard**<br /><br />- 50110030273 – `APPLE_PAY`<br />- 50120834693 – `ANDROID_PAY`<br />- 50139059239 – `SAMSUNG_PAY`<br /><br />**Visa**<br /><br />- 40010030273 – `APPLE_PAY`<br />- 40010075001 – `ANDROID_PAY`<br />- 40010043095 – `SAMSUNG_PAY`<br />- 40010075196 – `MICROSOFT_PAY`<br />- 40010075338 – `VISA_CHECKOUT`<br />- 40010075449 – `FACEBOOK`<br />- 40010075839 – `NETFLIX`<br />- 40010077056 – `FITBIT_PAY`<br />- 40010069887 – `GARMIN_PAY`<br /><br />**Allowable Values:**<br /><br />11 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – 50110030273, 50120834693, 50139059239<br />- **Visa** – 40010030273, 40010075001, 40010075338, 40010075449, 40010075839, 40010043095                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| token\_service\_provider.**token\_requestor\_name**<br /><br />string<br /><br />Conditionally returned             | Name of the token requestor within the card network.<br /><br />**NOTE:** The list of example values for this field is maintained by the card networks and is subject to change.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`<br />- **Visa** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`, `MICROSOFT_PAY`, `VISA_CHECKOUT`, `FACEBOOK`, `NETFLIX`, `FITBIT_PAY`, `GARMIN_PAY`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| token\_service\_provider.**token\_score**<br /><br />string<br /><br />Conditionally returned                       | Token score assigned by the digital wallet.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| token\_service\_provider.**token\_type**<br /><br />string<br /><br />Conditionally returned                        | Type of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`MERCHANT_CARD_ON_FILE`, `DEVICE_SECURE_ELEMENT`, `DEVICE_CLOUD_BASED`, `ECOMMERCE_DIGITAL_WALLET`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| transaction\_device<br /><br />object<br /><br />Conditionally returned                                             | Contains information about the device used in the transaction to enhance the risk decisioning process. Use this data to improve fraud prevention and dispute resolution.<br /><br />**Allowable Values:**<br /><br />`binding_id`, `ip_address`, `location`, `phone_number`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| transaction\_device.**binding\_id**<br /><br />string<br /><br />Conditionally returned                             | Unique identifier of the data component bound to the credential.<br /><br />**Allowable Values:**<br /><br />48 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| transaction\_device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                             | IP address of the device. The presence of the IP address helps determine if the transaction was initiated from an unusual network, helping establish a pattern of safe device usage that further confirms the authenticity of the consumer who initiated the transaction.<br /><br />**Allowable Values:**<br /><br />IP address format, 39 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| transaction\_device.**location**<br /><br />string<br /><br />Conditionally returned                                | Geographic coordinates of the device. Contains the latitude and longitude of the device used when the cardholder was authenticated during checkout. This field helps to determine if the transaction was initiated from an unexpected location.<br /><br />**Allowable Values:**<br /><br />Latitude and longitude in `DDD.DD/DDD.DD` format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| transaction\_device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                           | Telephone number of the device. Contains the phone number that was used to authenticate the consumer during checkout, or the consumer’s preferred phone number. The presence of the phone number helps establish the consumer’s authenticity when matching the phone number provided during checkout to a list of known phone numbers for the consumer.<br /><br />**Allowable Values:**<br /><br />15 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user<br /><br />object<br /><br />Conditionally returned                                                            | Contains information about a cardholder.<br /><br />**Allowable Values:**<br /><br />`account_holder_group_token`, `active`, `address1`, `address2`, `authentication`, `birth_date`, `birth_place`, `business_token`, `city`, `company`, `corporate_card_holder`, `country`, `created_time`, `email`, `first_name`, `gender`, `honorific`, `id_card_expiration_date`, `id_card_number`, `identifications`, `ip_address`, `last_modified_time`, `last_name`, `metadata`, `middle_name`, `nationality`, `notes`, `parent_token`, `passport_expiration_date`, `passport_number`, `password`, `phone`, `postal_code`, `ssn`, `state`, `status`, `title`, `token`, `uses_parent_account`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**account\_holder\_group\_token**<br /><br />string<br /><br />Conditionally returned                          | Associates the specified account holder group with the cardholder.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**active**<br /><br />boolean<br /><br />Conditionally returned                                                | Specifies if the cardholder is in the `ACTIVE` state on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| user.**address1**<br /><br />string<br /><br />Conditionally returned                                               | Cardholder’s address.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| user.**address2**<br /><br />string<br /><br />Conditionally returned                                               | Additional address information for the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| user.**authentication**<br /><br />object<br /><br />Conditionally returned                                         | Contains the cardholder’s email address and password information.<br /><br />**Allowable Values:**<br /><br />`email_verified`, `email_verified_time`, `last_password_update_channel`, `last_password_update_time`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.authentication.**email\_verified**<br /><br />boolean<br /><br />Conditionally returned                        | Specifies whether the email address has been verified.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.authentication.**email\_verified\_time**<br /><br />datetime<br /><br />Conditionally returned                 | Date and time when the email address was verified.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| user.authentication.**last\_password\_update\_channel**<br /><br />string<br /><br />Conditionally returned         | Specifies the channel through which the password was last changed.<br /><br />**Allowable Values:**<br /><br />`USER_CHANGE`, `USER_RESET`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.authentication.**last\_password\_update\_time**<br /><br />datetime<br /><br />Conditionally returned          | Date and time when the password was last changed.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| user.**birth\_date**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s date of birth.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**birth\_place**<br /><br />string<br /><br />Conditionally returned                                           | Country where the cardholder was born.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />ISO 3166 two-character country codes. For example, the country code for the United States is `US`.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO-3166 country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.**business\_token**<br /><br />string<br /><br />Conditionally returned                                        | Unique identifier of the business resource.<br /><br />**Allowable Values:**<br /><br />Existing business resource token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| user.**city**<br /><br />string<br /><br />Conditionally returned                                                   | City where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**company**<br /><br />string<br /><br />Conditionally returned                                                | Company name.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| user.**corporate\_card\_holder**<br /><br />boolean<br /><br />Conditionally returned                               | Specifies if the cardholder holds a corporate card.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user.**country**<br /><br />string<br /><br />Conditionally returned                                                | Country where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| user.**created\_time**<br /><br />datetime<br /><br />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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**email**<br /><br />string<br /><br />Conditionally returned                                                  | Valid email address of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| user.**first\_name**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s first name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.**gender**<br /><br />string<br /><br />Conditionally returned                                                 | Gender of the cardholder.<br /><br />**Allowable Values:**<br /><br />`F`, `M`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| user.**honorific**<br /><br />string<br /><br />Conditionally returned                                              | Cardholder’s title or prefix: Dr., Miss, Mr., Ms., and so on.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| user.**id\_card\_expiration\_date**<br /><br />string<br /><br />Conditionally returned                             | Expiration date of the cardholder’s identification.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.**id\_card\_number**<br /><br />string<br /><br />Conditionally returned                                       | Cardholder’s identification card number.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user.**identifications**<br /><br />array of objects<br /><br />Conditionally returned                              | One or more objects containing identifications associated with the cardholder.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more `identifications` objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user.identifications\[].**expiration\_date**<br /><br />string<br /><br />Conditionally returned                    | Expiration date of the identification, if applicable.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| user.identifications\[].**type**<br /><br />string<br /><br />Conditionally returned                                | Type of identification.<br /><br />**Allowable Values:**<br /><br />`SSN`, `TIN`, `SIN`, `NIN`, `PASSPORT_NUMBER`, `DRIVERS_LICENSE`, `BUSINESS_NUMBER`, `BUSINESS_TAX_ID`, `TAXPAYER_REFERENCE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.identifications\[].**value**<br /><br />string<br /><br />Conditionally returned                               | Number associated with the identification.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| user.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s IP address.<br /><br />**Allowable Values:**<br /><br />39 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.**last\_modified\_time**<br /><br />datetime<br /><br />Returned                                               | Date and time when the resource was last updated, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user.**last\_name**<br /><br />string<br /><br />Conditionally returned                                             | Cardholder’s last name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user.**metadata**<br /><br />object<br /><br />Conditionally returned                                               | Associates any additional metadata you provide 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.**middle\_name**<br /><br />string<br /><br />Conditionally returned                                           | Cardholder’s middle name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user.**nationality**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s nationality.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.**notes**<br /><br />string<br /><br />Conditionally returned                                                  | Any additional information pertaining to the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user.**parent\_token**<br /><br />string<br /><br />Conditionally returned                                          | Unique identifier of the parent user or business resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user.**passport\_expiration\_date**<br /><br />string<br /><br />Conditionally returned                             | Expiration date of the cardholder’s passport.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| user.**passport\_number**<br /><br />string<br /><br />Conditionally returned                                       | Cardholder’s passport number.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| user.**password**<br /><br />string<br /><br />Conditionally returned                                               | Password to the cardholder’s user account on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**phone**<br /><br />string<br /><br />Conditionally returned                                                  | Cardholder’s telephone number.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| user.**postal\_code**<br /><br />string<br /><br />Conditionally returned                                           | Postal code of the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.**ssn**<br /><br />string<br /><br />Conditionally returned                                                    | Cardholder’s Social Security Number (SSN).<br /><br />**Allowable Values:**<br /><br />Nine digits only, no delimiters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| user.**state**<br /><br />string<br /><br />Conditionally returned                                                  | State or province where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| user.**status**<br /><br />string<br /><br />Conditionally returned                                                 | Specifies the status of the cardholder on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />`UNVERIFIED`, `LIMITED`, `ACTIVE`, `SUSPENDED`, `CLOSED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| user.**title**<br /><br />string<br /><br />Conditionally returned                                                  | Professional title of the cardholder, such as Chief Comptroller.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| user.**token**<br /><br />string<br /><br />Conditionally returned                                                  | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| user.**uses\_parent\_account**<br /><br />boolean<br /><br />Conditionally returned                                 | Indicates whether the child shares balances with the parent (`true`), or the child’s balances are independent of the parent (`false`).<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.**zip**<br /><br />string<br /><br />Conditionally returned                                                    | United States ZIP code of the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| wallet\_provider\_profile<br /><br />object<br /><br />Conditionally returned                                       | Contains information held and provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`account`, `device_score`, `pan_source`, `reason_code`, `recommendation_reasons`, `risk_assessment`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| wallet\_provider\_profile.**account**<br /><br />object<br /><br />Conditionally returned                           | Contains information related to the cardholder and provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`email_address`, `id`, `score`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| wallet\_provider\_profile.account.**email\_address**<br /><br />string<br /><br />Conditionally returned            | Digital wallet provider’s email address for the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| wallet\_provider\_profile.account.**id**<br /><br />string<br /><br />Conditionally returned                        | Digital wallet provider’s identity number for the cardholder.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| wallet\_provider\_profile.account.**score**<br /><br />string<br /><br />Conditionally returned                     | Score from the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| wallet\_provider\_profile.**device\_score**<br /><br />string<br /><br />Conditionally returned                     | Score from the device.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| wallet\_provider\_profile.**pan\_source**<br /><br />string<br /><br />Conditionally returned                       | Source from which the digital wallet provider obtained the card primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />`KEY_ENTERED`, `ON_FILE`, `MOBILE_BANKING_APP`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.**reason\_code**<br /><br />string<br /><br />Conditionally returned                      | Reason for the wallet provider’s provisioning decision.<br /><br />- **01** – Cardholder’s wallet account is too new relative to launch.<br />- **02** – Cardholder’s wallet account is too new relative to provisioning request.<br />- **03** – Cardholder’s wallet account/card pair is newer than date threshold.<br />- **04** – Changes made to account data within the account threshold.<br />- **05** – Suspicious transactions linked to this account.<br />- **06** – Account has not had activity in the last year.<br />- **07** – Suspended cards in the secure element.<br />- **08** – Device was put in lost mode in the last seven days for longer than the duration threshold.<br />- **09** – The number of provisioning attempts on this device in 24 hours exceeds threshold.<br />- **0A** – There have been more than the threshold number of different cards attempted at provisioning to this phone in 24 hours.<br />- **0B** – The card provisioning attempt contains a distinct name in excess of the threshold.<br />- **0C** – The device score is less than 3.<br />- **0D** – The account score is less than 4.<br />- **0E** – Device provisioning location outside of the cardholder’s wallet account home country.<br />- **0G** – Suspect fraud.<br /><br />**Allowable Values:**<br /><br />01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0G |
| wallet\_provider\_profile.**recommendation\_reasons**<br /><br />array of strings<br /><br />Conditionally returned | Array of recommendation reasons from the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more recommendation reasons                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| wallet\_provider\_profile.**risk\_assessment**<br /><br />object<br /><br />Conditionally returned                  | Contains the digital wallet provider’s risk assessment for provisioning the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`score`, `version`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| wallet\_provider\_profile.risk\_assessment.**score**<br /><br />string<br /><br />Conditionally returned            | Wallet provider’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.risk\_assessment.**version**<br /><br />string<br /><br />Conditionally returned          | Wallet provider’s risk assessment version.<br /><br />**Allowable Values:**<br /><br />Version information, as provided by the wallet provider                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

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

```json JSON expandable lines wrap theme={null}
{
  "token": "my_token_0000",
  "card_token": "my_card_token_1989",
  "state": "ACTIVE",
  "state_reason": "Card activated by cardholder",
  "fulfillment_status": "PROVISIONED",
  "issuer_eligibility_decision": "cardaccount.verified",
  "created_time": "2025-10-03T18:55:45Z",
  "last_modified_time": "2025-01-26T22:36:10Z",
  "token_service_provider": {
    "token_reference_id": "my_token_reference_id_1600",
    "pan_reference_id": "my_pan_reference_id_0073",
    "token_requestor_id": "my_token_requestor_id_0373",
    "token_requestor_name": "Token Requestor Name",
    "token_type": "DEVICE_SECURE_ELEMENT",
    "token_score": "02",
    "token_eligibility_decision": "DECISION_GREEN"
  },
  "device": {
    "type": "MOBILE_PHONE",
    "language_code": "eng",
    "device_id": "my_device_id_9575",
    "phone_number": "12345678900",
    "name": "Phone Name",
    "location": "+37.81/-122.26",
    "ip_address": "x.x.x.x"
  },
  "wallet_provider_profile": {
    "account": {
      "score": "05"
    },
    "risk_assessment": {
      "score": "DECISION_YELLOW",
      "version": "0001.00"
    },
    "device_score": "03",
    "pan_source": "KEY_ENTERED"
  },
  "address_verification": {
    "name": "Address Verification Name",
    "street_address": "223 Elm Street",
    "postal_code": "94703"
  }
}
```

<h2 id="get_digitalwallettokens_card_cardtoken">
  List digital wallet tokens for card
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallettokens/card/{card_token}`

{/* <EndpointCard
title="Returns a list of digital wallet tokens for the specified card"
path="/digitalwallettokens/card/{card\_token}"
method="get"
/> */}

Use this endpoint to return an array of all digital wallet tokens for a particular card.

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

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

| Fields                                            | Description                                                                                                                                                                                              |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Required | Unique identifier of the card. Used to minimize the need to exchange card details during subsequent calls, and also for troubleshooting.<br /><br />**Allowable Values:**<br /><br />Existing card token |

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

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                          |
| --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Optional        | Number of digital wallet token resources to retrieve.<br /><br />**Allowable Values:**<br /><br />Any integer<br /><br />**Default value:**<br />5                                                                                                                                                                                                                                                                   |
| start\_index<br /><br />integer<br /><br />Optional | Sort order index of the first digital wallet token resource in the returned array.<br /><br />**Allowable Values:**<br /><br />Any integer<br /><br />**Default value:**<br />0                                                                                                                                                                                                                                      |
| 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_11">
  Response body
</h3>

| Fields                                                                                                                      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Conditionally returned                                                                  | Number of resources returned.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data<br /><br />array of objects<br /><br />Conditionally returned                                                          | Array of digital wallet token resources.<br /><br />Resources are returned as appropriate to your query.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more digital wallet token resources                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**address\_verification**<br /><br />object<br /><br />Conditionally returned                                       | Contains address verification information.<br /><br />**Allowable Values:**<br /><br />`name`, `postal_code`, `street_address`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].address\_verification.**name**<br /><br />string<br /><br />Conditionally returned                                  | Name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].address\_verification.**postal\_code**<br /><br />string<br /><br />Conditionally returned                          | Postal code.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].address\_verification.**street\_address**<br /><br />string<br /><br />Conditionally returned                       | Street address provided by the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].address\_verification.**zip**<br /><br />string<br /><br />Conditionally returned                                   | United States ZIP code.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**card\_token**<br /><br />string<br /><br />Conditionally returned                                                 | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**created\_time**<br /><br />datetime<br /><br />Conditionally returned                                             | Date and time when the digital wallet token object was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**device**<br /><br />object<br /><br />Conditionally returned                                                      | Contains information related to the device being provisioned.<br /><br />**Allowable Values:**<br /><br />`device_id`, `ip_address`, `language_code`, `location`, `name`, `phone_number`, `token`, `type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].device.**device\_id**<br /><br />string<br /><br />Conditionally returned                                           | Identity number of the device.<br /><br />**Allowable Values:**<br /><br />24 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                          | Device’s IP address.<br /><br />**Allowable Values:**<br /><br />IP address format, 50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].device.**language\_code**<br /><br />string<br /><br />Conditionally returned                                       | Language the device is configured to use.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].device.**location**<br /><br />string<br /><br />Conditionally returned                                             | Geographic coordinates of the device.<br /><br />**Allowable Values:**<br /><br />Latitude and longitude in `DDD.DD/DDD.DD` format.<br /><br />**NOTE:** Both the longitude and latitude are prefixed with either a `+` or `-` symbol, for example: `+42.29/-71.07`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].device.**name**<br /><br />string<br /><br />Conditionally returned                                                 | Name of the device.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                                        | Device’s telephone number.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].device.**token**<br /><br />string<br /><br />Conditionally returned                                                | Unique identifier of the device object.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].device.**type**<br /><br />string<br /><br />Conditionally returned                                                 | Type of device being provisioned.<br /><br />**Allowable Values:**<br /><br />`MOBILE_PHONE`, `WATCH`, `TABLET`, `MOBILE_PHONE_OR_TABLET`, `VEHICLE`, `APPLIANCE`, `LAPTOP`, `GAMING_DEVICE`, `WEARABLE_DEVICE`, `UNKNOWN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**fulfillment\_status**<br /><br />string<br /><br />Conditionally returned                                         | Digital wallet token’s provisioning status.<br /><br />For fulfillment status descriptions, see <a href="/core-api/digital-wallets-management/#post_digitalwallettokentransitions">Create digital wallet token transition</a>.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`, `REJECTED`, `PROVISIONED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**issuer\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned                               | The Marqeta platform’s decision as to whether the digital wallet token should be provisioned.<br /><br />- **0000** – The token should be provisioned.<br />- **token.activation.verification.required** – Provisioning is pending; further action is required for completion.<br /><br />For all other values, check the value of the `fulfillment_status` field to definitively ascertain the provisioning outcome.<br /><br />**NOTE:** The value `invalid.cid` indicates an invalid CVV2 number.<br /><br />**Allowable Values:**<br /><br />0000, `cardaccount.verified`, `card.suspicious`, `token.activation.verification.required`, `token.activation-request.decline`, `card.not.active`, `invalid.cid`, `card.expired`, `card.suspended`, `cardholder.not.active`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].**last\_modified\_time**<br /><br />datetime<br /><br />Conditionally returned                                      | Date and time when the digital wallet token object was last modified, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**metadata**<br /><br />object<br /><br />Conditionally returned                                                    | Contains additional information about the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`cardproduct_preferred_notification_language`, `issuer_product_config_id`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].metadata.**cardproduct\_preferred\_notification\_language**<br /><br />string<br /><br />Conditionally returned     | Language specified in the `config.transaction_controls.notification_language` field of the card product:<br /><br />- **ces** – Czech<br />- **deu** – German<br />- **eng** – English<br />- **fra** – French<br />- **ell** – Greek<br />- **ita** – Italian<br />- **nld** – Dutch<br />- **pol** – Polish<br />- **por** – Portuguese<br />- **ron** – Romanian<br />- **spa** – Spanish<br />- **swe** – Swedish<br /><br />By default, notifications are sent in English.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO 3166 two- and three-digit numeric country codes</a>.<br /><br />**Allowable Values:**<br /><br />`ces`, `deu`, `eng`, `fra`, `ell`, `ita`, `nld`, `pol`, `por`, `ron`, `spa`, `swe`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].metadata.**issuer\_product\_config\_id**<br /><br />string<br /><br />Conditionally returned                        | Unique identifier of the product configuration on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**state**<br /><br />string<br /><br />Conditionally returned                                                       | State of the digital wallet token.<br /><br />For state descriptions, see <a href="/developer-guides/managing-the-digital-wallet-token-lifecycle/#_transitioning_token_states">Transitioning Token States</a>.<br /><br />**Allowable Values:**<br /><br />`REQUESTED`, `REQUEST_DECLINED`, `ACTIVE`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**state\_reason**<br /><br />string<br /><br />Conditionally returned                                               | Reason why the digital wallet token transitioned to its current state.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**token**<br /><br />string<br /><br />Conditionally returned                                                       | Unique identifier of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Existing digital wallet token.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**token\_service\_provider**<br /><br />object<br /><br />Conditionally returned                                    | Contains information held and provided by the token service provider (card network).<br /><br />**Allowable Values:**<br /><br />`correlation_id`, `pan_reference_id`, `token_assurance_level`, `token_eligibility_decision`, `token_expiration`, `token_pan`, `token_reference_id`, `token_requestor_id`, `token_requestor_name`, `token_score`, `token_type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].token\_service\_provider.**correlation\_id**<br /><br />string<br /><br />Conditionally returned                    | For Mastercard only. Unique value representing a tokenization request.<br /><br />**Allowable Values:**<br /><br />Existing correlation identifier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].token\_service\_provider.**pan\_reference\_id**<br /><br />string<br /><br />Conditionally returned                 | Unique identifier of the digital wallet token primary account number (PAN) within the card network.<br /><br />**Allowable Values:**<br /><br />Existing PAN Reference ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].token\_service\_provider.**token\_assurance\_level**<br /><br />string<br /><br />Conditionally returned            | For Mastercard only. Represents the confidence level in the digital wallet token.<br /><br />**Allowable Values:**<br /><br />0-99                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].token\_service\_provider.**token\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned       | Digital wallet’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].token\_service\_provider.**token\_expiration**<br /><br />string<br /><br />Conditionally returned                  | Expiration date of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].token\_service\_provider.**token\_pan**<br /><br />string<br /><br />Conditionally returned                         | Primary account number (PAN) of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />16 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].token\_service\_provider.**token\_reference\_id**<br /><br />string<br /><br />Conditionally returned               | Unique identifier of the digital wallet token within the card network.<br /><br />**Allowable Values:**<br /><br />Existing Token Reference ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].token\_service\_provider.**token\_requestor\_id**<br /><br />string<br /><br />Conditionally returned               | Unique numerical identifier of the token requestor within the card network. These ID numbers map to `token_requestor_name` field values as follows:<br /><br />**Mastercard**<br /><br />- 50110030273 – `APPLE_PAY`<br />- 50120834693 – `ANDROID_PAY`<br />- 50139059239 – `SAMSUNG_PAY`<br /><br />**Visa**<br /><br />- 40010030273 – `APPLE_PAY`<br />- 40010075001 – `ANDROID_PAY`<br />- 40010043095 – `SAMSUNG_PAY`<br />- 40010075196 – `MICROSOFT_PAY`<br />- 40010075338 – `VISA_CHECKOUT`<br />- 40010075449 – `FACEBOOK`<br />- 40010075839 – `NETFLIX`<br />- 40010077056 – `FITBIT_PAY`<br />- 40010069887 – `GARMIN_PAY`<br /><br />**Allowable Values:**<br /><br />11 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – 50110030273, 50120834693, 50139059239<br />- **Visa** – 40010030273, 40010075001, 40010075338, 40010075449, 40010075839, 40010043095                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].token\_service\_provider.**token\_requestor\_name**<br /><br />string<br /><br />Conditionally returned             | Name of the token requestor within the card network.<br /><br />**NOTE:** The list of example values for this field is maintained by the card networks and is subject to change.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`<br />- **Visa** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`, `MICROSOFT_PAY`, `VISA_CHECKOUT`, `FACEBOOK`, `NETFLIX`, `FITBIT_PAY`, `GARMIN_PAY`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].token\_service\_provider.**token\_score**<br /><br />string<br /><br />Conditionally returned                       | Token score assigned by the digital wallet.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].token\_service\_provider.**token\_type**<br /><br />string<br /><br />Conditionally returned                        | Type of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`MERCHANT_CARD_ON_FILE`, `DEVICE_SECURE_ELEMENT`, `DEVICE_CLOUD_BASED`, `ECOMMERCE_DIGITAL_WALLET`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**transaction\_device**<br /><br />object<br /><br />Conditionally returned                                         | Contains information about the device used in the transaction to enhance the risk decisioning process. Use this data to improve fraud prevention and dispute resolution.<br /><br />**Allowable Values:**<br /><br />`binding_id`, `ip_address`, `location`, `phone_number`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].transaction\_device.**binding\_id**<br /><br />string<br /><br />Conditionally returned                             | Unique identifier of the data component bound to the credential.<br /><br />**Allowable Values:**<br /><br />48 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].transaction\_device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                             | IP address of the device. The presence of the IP address helps determine if the transaction was initiated from an unusual network, helping establish a pattern of safe device usage that further confirms the authenticity of the consumer who initiated the transaction.<br /><br />**Allowable Values:**<br /><br />IP address format, 39 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].transaction\_device.**location**<br /><br />string<br /><br />Conditionally returned                                | Geographic coordinates of the device. Contains the latitude and longitude of the device used when the cardholder was authenticated during checkout. This field helps to determine if the transaction was initiated from an unexpected location.<br /><br />**Allowable Values:**<br /><br />Latitude and longitude in `DDD.DD/DDD.DD` format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].transaction\_device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                           | Telephone number of the device. Contains the phone number that was used to authenticate the consumer during checkout, or the consumer’s preferred phone number. The presence of the phone number helps establish the consumer’s authenticity when matching the phone number provided during checkout to a list of known phone numbers for the consumer.<br /><br />**Allowable Values:**<br /><br />15 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**user**<br /><br />object<br /><br />Conditionally returned                                                        | Contains information about a cardholder.<br /><br />**Allowable Values:**<br /><br />`account_holder_group_token`, `active`, `address1`, `address2`, `authentication`, `birth_date`, `birth_place`, `business_token`, `city`, `company`, `corporate_card_holder`, `country`, `created_time`, `email`, `first_name`, `gender`, `honorific`, `id_card_expiration_date`, `id_card_number`, `identifications`, `ip_address`, `last_modified_time`, `last_name`, `metadata`, `middle_name`, `nationality`, `notes`, `parent_token`, `passport_expiration_date`, `passport_number`, `password`, `phone`, `postal_code`, `ssn`, `state`, `status`, `title`, `token`, `uses_parent_account`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**account\_holder\_group\_token**<br /><br />string<br /><br />Conditionally returned                          | Associates the specified account holder group with the cardholder.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**active**<br /><br />boolean<br /><br />Conditionally returned                                                | Specifies if the cardholder is in the `ACTIVE` state on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].user.**address1**<br /><br />string<br /><br />Conditionally returned                                               | Cardholder’s address.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].user.**address2**<br /><br />string<br /><br />Conditionally returned                                               | Additional address information for the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].user.**authentication**<br /><br />object<br /><br />Conditionally returned                                         | Contains the cardholder’s email address and password information.<br /><br />**Allowable Values:**<br /><br />`email_verified`, `email_verified_time`, `last_password_update_channel`, `last_password_update_time`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.authentication.**email\_verified**<br /><br />boolean<br /><br />Conditionally returned                        | Specifies whether the email address has been verified.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.authentication.**email\_verified\_time**<br /><br />datetime<br /><br />Conditionally returned                 | Date and time when the email address was verified.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].user.authentication.**last\_password\_update\_channel**<br /><br />string<br /><br />Conditionally returned         | Specifies the channel through which the password was last changed.<br /><br />**Allowable Values:**<br /><br />`USER_CHANGE`, `USER_RESET`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.authentication.**last\_password\_update\_time**<br /><br />datetime<br /><br />Conditionally returned          | Date and time when the password was last changed.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].user.**birth\_date**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s date of birth.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**birth\_place**<br /><br />string<br /><br />Conditionally returned                                           | Country where the cardholder was born.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />ISO 3166 two-character country codes. For example, the country code for the United States is `US`.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO-3166 country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.**business\_token**<br /><br />string<br /><br />Conditionally returned                                        | Unique identifier of the business resource.<br /><br />**Allowable Values:**<br /><br />Existing business resource token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].user.**city**<br /><br />string<br /><br />Conditionally returned                                                   | City where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**company**<br /><br />string<br /><br />Conditionally returned                                                | Company name.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].user.**corporate\_card\_holder**<br /><br />boolean<br /><br />Conditionally returned                               | Specifies if the cardholder holds a corporate card.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].user.**country**<br /><br />string<br /><br />Conditionally returned                                                | Country where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].user.**created\_time**<br /><br />datetime<br /><br />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\[].user.**email**<br /><br />string<br /><br />Conditionally returned                                                  | Valid email address of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].user.**first\_name**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s first name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.**gender**<br /><br />string<br /><br />Conditionally returned                                                 | Gender of the cardholder.<br /><br />**Allowable Values:**<br /><br />`F`, `M`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].user.**honorific**<br /><br />string<br /><br />Conditionally returned                                              | Cardholder’s title or prefix: Dr., Miss, Mr., Ms., and so on.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].user.**id\_card\_expiration\_date**<br /><br />string<br /><br />Conditionally returned                             | Expiration date of the cardholder’s identification.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.**id\_card\_number**<br /><br />string<br /><br />Conditionally returned                                       | Cardholder’s identification card number.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].user.**identifications**<br /><br />array of objects<br /><br />Conditionally returned                              | One or more objects containing identifications associated with the cardholder.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more `identifications` objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].user.identifications\[].**expiration\_date**<br /><br />string<br /><br />Conditionally returned                    | Expiration date of the identification, if applicable.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].user.identifications\[].**type**<br /><br />string<br /><br />Conditionally returned                                | Type of identification.<br /><br />**Allowable Values:**<br /><br />`SSN`, `TIN`, `SIN`, `NIN`, `PASSPORT_NUMBER`, `DRIVERS_LICENSE`, `BUSINESS_NUMBER`, `BUSINESS_TAX_ID`, `TAXPAYER_REFERENCE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.identifications\[].**value**<br /><br />string<br /><br />Conditionally returned                               | Number associated with the identification.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].user.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s IP address.<br /><br />**Allowable Values:**<br /><br />39 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.**last\_modified\_time**<br /><br />datetime<br /><br />Returned                                               | Date and time when the resource was last updated, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].user.**last\_name**<br /><br />string<br /><br />Conditionally returned                                             | Cardholder’s last name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].user.**metadata**<br /><br />object<br /><br />Conditionally returned                                               | Associates any additional metadata you provide 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.**middle\_name**<br /><br />string<br /><br />Conditionally returned                                           | Cardholder’s middle name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].user.**nationality**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s nationality.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.**notes**<br /><br />string<br /><br />Conditionally returned                                                  | Any additional information pertaining to the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].user.**parent\_token**<br /><br />string<br /><br />Conditionally returned                                          | Unique identifier of the parent user or business resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].user.**passport\_expiration\_date**<br /><br />string<br /><br />Conditionally returned                             | Expiration date of the cardholder’s passport.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].user.**passport\_number**<br /><br />string<br /><br />Conditionally returned                                       | Cardholder’s passport number.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].user.**password**<br /><br />string<br /><br />Conditionally returned                                               | Password to the cardholder’s user account on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].user.**phone**<br /><br />string<br /><br />Conditionally returned                                                  | Cardholder’s telephone number.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].user.**postal\_code**<br /><br />string<br /><br />Conditionally returned                                           | Postal code of the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].user.**ssn**<br /><br />string<br /><br />Conditionally returned                                                    | Cardholder’s Social Security Number (SSN).<br /><br />**Allowable Values:**<br /><br />Nine digits only, no delimiters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].user.**state**<br /><br />string<br /><br />Conditionally returned                                                  | State or province where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].user.**status**<br /><br />string<br /><br />Conditionally returned                                                 | Specifies the status of the cardholder on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />`UNVERIFIED`, `LIMITED`, `ACTIVE`, `SUSPENDED`, `CLOSED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].user.**title**<br /><br />string<br /><br />Conditionally returned                                                  | Professional title of the cardholder, such as Chief Comptroller.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].user.**token**<br /><br />string<br /><br />Conditionally returned                                                  | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].user.**uses\_parent\_account**<br /><br />boolean<br /><br />Conditionally returned                                 | Indicates whether the child shares balances with the parent (`true`), or the child’s balances are independent of the parent (`false`).<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].user.**zip**<br /><br />string<br /><br />Conditionally returned                                                    | United States ZIP code of the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].**wallet\_provider\_profile**<br /><br />object<br /><br />Conditionally returned                                   | Contains information held and provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`account`, `device_score`, `pan_source`, `reason_code`, `recommendation_reasons`, `risk_assessment`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].wallet\_provider\_profile.**account**<br /><br />object<br /><br />Conditionally returned                           | Contains information related to the cardholder and provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`email_address`, `id`, `score`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].wallet\_provider\_profile.account.**email\_address**<br /><br />string<br /><br />Conditionally returned            | Digital wallet provider’s email address for the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].wallet\_provider\_profile.account.**id**<br /><br />string<br /><br />Conditionally returned                        | Digital wallet provider’s identity number for the cardholder.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].wallet\_provider\_profile.account.**score**<br /><br />string<br /><br />Conditionally returned                     | Score from the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].wallet\_provider\_profile.**device\_score**<br /><br />string<br /><br />Conditionally returned                     | Score from the device.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].wallet\_provider\_profile.**pan\_source**<br /><br />string<br /><br />Conditionally returned                       | Source from which the digital wallet provider obtained the card primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />`KEY_ENTERED`, `ON_FILE`, `MOBILE_BANKING_APP`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.**reason\_code**<br /><br />string<br /><br />Conditionally returned                      | Reason for the wallet provider’s provisioning decision.<br /><br />- **01** – Cardholder’s wallet account is too new relative to launch.<br />- **02** – Cardholder’s wallet account is too new relative to provisioning request.<br />- **03** – Cardholder’s wallet account/card pair is newer than date threshold.<br />- **04** – Changes made to account data within the account threshold.<br />- **05** – Suspicious transactions linked to this account.<br />- **06** – Account has not had activity in the last year.<br />- **07** – Suspended cards in the secure element.<br />- **08** – Device was put in lost mode in the last seven days for longer than the duration threshold.<br />- **09** – The number of provisioning attempts on this device in 24 hours exceeds threshold.<br />- **0A** – There have been more than the threshold number of different cards attempted at provisioning to this phone in 24 hours.<br />- **0B** – The card provisioning attempt contains a distinct name in excess of the threshold.<br />- **0C** – The device score is less than 3.<br />- **0D** – The account score is less than 4.<br />- **0E** – Device provisioning location outside of the cardholder’s wallet account home country.<br />- **0G** – Suspect fraud.<br /><br />**Allowable Values:**<br /><br />01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0G |
| data\[].wallet\_provider\_profile.**recommendation\_reasons**<br /><br />array of strings<br /><br />Conditionally returned | Array of recommendation reasons from the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more recommendation reasons                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].wallet\_provider\_profile.**risk\_assessment**<br /><br />object<br /><br />Conditionally returned                  | Contains the digital wallet provider’s risk assessment for provisioning the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`score`, `version`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].wallet\_provider\_profile.risk\_assessment.**score**<br /><br />string<br /><br />Conditionally returned            | Wallet provider’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.risk\_assessment.**version**<br /><br />string<br /><br />Conditionally returned          | Wallet provider’s risk assessment version.<br /><br />**Allowable Values:**<br /><br />Version information, as provided by the wallet provider                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 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_7">
  Sample response body
</h3>

```json JSON expandable lines wrap theme={null}
{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": true,
  "data": [
    {
      "token": "my_token_0000",
      "card_token": "my_card_token_1989",
      "state": "ACTIVE",
      "state_reason": "Card activated by cardholder",
      "fulfillment_status": "PROVISIONED",
      "issuer_eligibility_decision": "cardaccount.verified",
      "created_time": "2025-10-03T18:55:45Z",
      "last_modified_time": "2025-01-26T22:36:10Z",
      "token_service_provider": {
        "token_reference_id": "my_token_reference_id_1600",
        "pan_reference_id": "my_pan_reference_id_0073",
        "token_requestor_id": "my_token_requestor_id_0373",
        "token_requestor_name": "Token Requestor Name",
        "token_type": "DEVICE_SECURE_ELEMENT",
        "token_score": "02",
        "token_eligibility_decision": "DECISION_GREEN"
      },
      "device": {
        "type": "MOBILE_PHONE",
        "language_code": "eng",
        "device_id": "my_device_id_9575",
        "phone_number": "12345678900",
        "name": "Phone Name",
        "location": "+37.81/-122.26",
        "ip_address": "x.x.x.x"
      },
      "wallet_provider_profile": {
        "account": {
          "score": "05"
        },
        "risk_assessment": {
          "score": "DECISION_YELLOW",
          "version": "0001.00"
        },
        "device_score": "03",
        "pan_source": "KEY_ENTERED"
      },
      "address_verification": {
        "name": "Address Verification Name",
        "street_address": "223 Elm Street",
        "postal_code": "94703"
      }
    }
  ]
}
```

<h2 id="get_digitalwallettokens_token_showtokenpan">
  Retrieve digital wallet token PAN
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallettokens/{token}/showtokenpan`

{/* <EndpointCard
title="Returns a specific digital wallet token PAN visible"
path="/digitalwallettokens/{token}/showtokenpan"
method="get"
/> */}

Use this endpoint to retrieve a digital wallet token with the entire primary account number (PAN) displayed. The PAN returned is of the digital wallet token and not of the card. (For security reasons, the PAN is not fully visible on the digital wallet token returned by `GET` `/digitalwallettokens/{token}`.)

<Danger>
  **Warning**\
  Sending a request to this endpoint requires PCI DSS compliance. You must comply with PCI DSS data security requirements if you want to store, transmit, or process sensitive card data such as the cardholder’s primary account number (PAN), personal identification number (PIN), and card expiration date.
</Danger>

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

| Fields                                      | Description                                                                                                         |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Required | Unique identifier of the digital wallet token (DWT).<br /><br />**Allowable Values:**<br /><br />Existing DWT token |

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

| Fields                                                                                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| address\_verification<br /><br />object<br /><br />Conditionally returned                                           | Contains address verification information.<br /><br />**Allowable Values:**<br /><br />`name`, `postal_code`, `street_address`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| address\_verification.**name**<br /><br />string<br /><br />Conditionally returned                                  | Name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| address\_verification.**postal\_code**<br /><br />string<br /><br />Conditionally returned                          | Postal code.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| address\_verification.**street\_address**<br /><br />string<br /><br />Conditionally returned                       | Street address provided by the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| address\_verification.**zip**<br /><br />string<br /><br />Conditionally returned                                   | United States ZIP code.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| card\_token<br /><br />string<br /><br />Conditionally returned                                                     | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                                                 | Date and time when the digital wallet token object was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| device<br /><br />object<br /><br />Conditionally returned                                                          | Contains information related to the device being provisioned.<br /><br />**Allowable Values:**<br /><br />`device_id`, `ip_address`, `language_code`, `location`, `name`, `phone_number`, `token`, `type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| device.**device\_id**<br /><br />string<br /><br />Conditionally returned                                           | Identity number of the device.<br /><br />**Allowable Values:**<br /><br />24 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                          | Device’s IP address.<br /><br />**Allowable Values:**<br /><br />IP address format, 50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| device.**language\_code**<br /><br />string<br /><br />Conditionally returned                                       | Language the device is configured to use.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| device.**location**<br /><br />string<br /><br />Conditionally returned                                             | Geographic coordinates of the device.<br /><br />**Allowable Values:**<br /><br />Latitude and longitude in `DDD.DD/DDD.DD` format.<br /><br />**NOTE:** Both the longitude and latitude are prefixed with either a `+` or `-` symbol, for example: `+42.29/-71.07`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| device.**name**<br /><br />string<br /><br />Conditionally returned                                                 | Name of the device.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                                        | Device’s telephone number.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| device.**token**<br /><br />string<br /><br />Conditionally returned                                                | Unique identifier of the device object.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| device.**type**<br /><br />string<br /><br />Conditionally returned                                                 | Type of device being provisioned.<br /><br />**Allowable Values:**<br /><br />`MOBILE_PHONE`, `WATCH`, `TABLET`, `MOBILE_PHONE_OR_TABLET`, `VEHICLE`, `APPLIANCE`, `LAPTOP`, `GAMING_DEVICE`, `WEARABLE_DEVICE`, `UNKNOWN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| fulfillment\_status<br /><br />string<br /><br />Conditionally returned                                             | Digital wallet token’s provisioning status.<br /><br />For fulfillment status descriptions, see <a href="/core-api/digital-wallets-management/#post_digitalwallettokentransitions">Create digital wallet token transition</a>.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`, `REJECTED`, `PROVISIONED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| issuer\_eligibility\_decision<br /><br />string<br /><br />Conditionally returned                                   | The Marqeta platform’s decision as to whether the digital wallet token should be provisioned.<br /><br />- **0000** – The token should be provisioned.<br />- **token.activation.verification.required** – Provisioning is pending; further action is required for completion.<br /><br />For all other values, check the value of the `fulfillment_status` field to definitively ascertain the provisioning outcome.<br /><br />**NOTE:** The value `invalid.cid` indicates an invalid CVV2 number.<br /><br />**Allowable Values:**<br /><br />0000, `cardaccount.verified`, `card.suspicious`, `token.activation.verification.required`, `token.activation-request.decline`, `card.not.active`, `invalid.cid`, `card.expired`, `card.suspended`, `cardholder.not.active`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| last\_modified\_time<br /><br />datetime<br /><br />Conditionally returned                                          | Date and time when the digital wallet token object was last modified, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| metadata<br /><br />object<br /><br />Conditionally returned                                                        | Contains additional information about the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`cardproduct_preferred_notification_language`, `issuer_product_config_id`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| metadata.**cardproduct\_preferred\_notification\_language**<br /><br />string<br /><br />Conditionally returned     | Language specified in the `config.transaction_controls.notification_language` field of the card product:<br /><br />- **ces** – Czech<br />- **deu** – German<br />- **eng** – English<br />- **fra** – French<br />- **ell** – Greek<br />- **ita** – Italian<br />- **nld** – Dutch<br />- **pol** – Polish<br />- **por** – Portuguese<br />- **ron** – Romanian<br />- **spa** – Spanish<br />- **swe** – Swedish<br /><br />By default, notifications are sent in English.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO 3166 two- and three-digit numeric country codes</a>.<br /><br />**Allowable Values:**<br /><br />`ces`, `deu`, `eng`, `fra`, `ell`, `ita`, `nld`, `pol`, `por`, `ron`, `spa`, `swe`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| metadata.**issuer\_product\_config\_id**<br /><br />string<br /><br />Conditionally returned                        | Unique identifier of the product configuration on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| state<br /><br />string<br /><br />Conditionally returned                                                           | State of the digital wallet token.<br /><br />For state descriptions, see <a href="/developer-guides/managing-the-digital-wallet-token-lifecycle/#_transitioning_token_states">Transitioning Token States</a>.<br /><br />**Allowable Values:**<br /><br />`REQUESTED`, `REQUEST_DECLINED`, `ACTIVE`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| state\_reason<br /><br />string<br /><br />Conditionally returned                                                   | Reason why the digital wallet token transitioned to its current state.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| token<br /><br />string<br /><br />Conditionally returned                                                           | Unique identifier of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Existing digital wallet token.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| token\_service\_provider<br /><br />object<br /><br />Conditionally returned                                        | Contains information held and provided by the token service provider (card network).<br /><br />**Allowable Values:**<br /><br />`correlation_id`, `pan_reference_id`, `token_assurance_level`, `token_eligibility_decision`, `token_expiration`, `token_pan`, `token_reference_id`, `token_requestor_id`, `token_requestor_name`, `token_score`, `token_type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| token\_service\_provider.**correlation\_id**<br /><br />string<br /><br />Conditionally returned                    | For Mastercard only. Unique value representing a tokenization request.<br /><br />**Allowable Values:**<br /><br />Existing correlation identifier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| token\_service\_provider.**pan\_reference\_id**<br /><br />string<br /><br />Conditionally returned                 | Unique identifier of the digital wallet token primary account number (PAN) within the card network.<br /><br />**Allowable Values:**<br /><br />Existing PAN Reference ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| token\_service\_provider.**token\_assurance\_level**<br /><br />string<br /><br />Conditionally returned            | For Mastercard only. Represents the confidence level in the digital wallet token.<br /><br />**Allowable Values:**<br /><br />0-99                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| token\_service\_provider.**token\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned       | Digital wallet’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| token\_service\_provider.**token\_expiration**<br /><br />string<br /><br />Conditionally returned                  | Expiration date of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| token\_service\_provider.**token\_pan**<br /><br />string<br /><br />Conditionally returned                         | Primary account number (PAN) of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />16 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| token\_service\_provider.**token\_reference\_id**<br /><br />string<br /><br />Conditionally returned               | Unique identifier of the digital wallet token within the card network.<br /><br />**Allowable Values:**<br /><br />Existing Token Reference ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| token\_service\_provider.**token\_requestor\_id**<br /><br />string<br /><br />Conditionally returned               | Unique numerical identifier of the token requestor within the card network. These ID numbers map to `token_requestor_name` field values as follows:<br /><br />**Mastercard**<br /><br />- 50110030273 – `APPLE_PAY`<br />- 50120834693 – `ANDROID_PAY`<br />- 50139059239 – `SAMSUNG_PAY`<br /><br />**Visa**<br /><br />- 40010030273 – `APPLE_PAY`<br />- 40010075001 – `ANDROID_PAY`<br />- 40010043095 – `SAMSUNG_PAY`<br />- 40010075196 – `MICROSOFT_PAY`<br />- 40010075338 – `VISA_CHECKOUT`<br />- 40010075449 – `FACEBOOK`<br />- 40010075839 – `NETFLIX`<br />- 40010077056 – `FITBIT_PAY`<br />- 40010069887 – `GARMIN_PAY`<br /><br />**Allowable Values:**<br /><br />11 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – 50110030273, 50120834693, 50139059239<br />- **Visa** – 40010030273, 40010075001, 40010075338, 40010075449, 40010075839, 40010043095                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| token\_service\_provider.**token\_requestor\_name**<br /><br />string<br /><br />Conditionally returned             | Name of the token requestor within the card network.<br /><br />**NOTE:** The list of example values for this field is maintained by the card networks and is subject to change.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />**Example Values:**<br /><br />- **Mastercard** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`<br />- **Visa** – `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`, `MICROSOFT_PAY`, `VISA_CHECKOUT`, `FACEBOOK`, `NETFLIX`, `FITBIT_PAY`, `GARMIN_PAY`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| token\_service\_provider.**token\_score**<br /><br />string<br /><br />Conditionally returned                       | Token score assigned by the digital wallet.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| token\_service\_provider.**token\_type**<br /><br />string<br /><br />Conditionally returned                        | Type of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`MERCHANT_CARD_ON_FILE`, `DEVICE_SECURE_ELEMENT`, `DEVICE_CLOUD_BASED`, `ECOMMERCE_DIGITAL_WALLET`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| transaction\_device<br /><br />object<br /><br />Conditionally returned                                             | Contains information about the device used in the transaction to enhance the risk decisioning process. Use this data to improve fraud prevention and dispute resolution.<br /><br />**Allowable Values:**<br /><br />`binding_id`, `ip_address`, `location`, `phone_number`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| transaction\_device.**binding\_id**<br /><br />string<br /><br />Conditionally returned                             | Unique identifier of the data component bound to the credential.<br /><br />**Allowable Values:**<br /><br />48 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| transaction\_device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                             | IP address of the device. The presence of the IP address helps determine if the transaction was initiated from an unusual network, helping establish a pattern of safe device usage that further confirms the authenticity of the consumer who initiated the transaction.<br /><br />**Allowable Values:**<br /><br />IP address format, 39 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| transaction\_device.**location**<br /><br />string<br /><br />Conditionally returned                                | Geographic coordinates of the device. Contains the latitude and longitude of the device used when the cardholder was authenticated during checkout. This field helps to determine if the transaction was initiated from an unexpected location.<br /><br />**Allowable Values:**<br /><br />Latitude and longitude in `DDD.DD/DDD.DD` format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| transaction\_device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                           | Telephone number of the device. Contains the phone number that was used to authenticate the consumer during checkout, or the consumer’s preferred phone number. The presence of the phone number helps establish the consumer’s authenticity when matching the phone number provided during checkout to a list of known phone numbers for the consumer.<br /><br />**Allowable Values:**<br /><br />15 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user<br /><br />object<br /><br />Conditionally returned                                                            | Contains information about a cardholder.<br /><br />**Allowable Values:**<br /><br />`account_holder_group_token`, `active`, `address1`, `address2`, `authentication`, `birth_date`, `birth_place`, `business_token`, `city`, `company`, `corporate_card_holder`, `country`, `created_time`, `email`, `first_name`, `gender`, `honorific`, `id_card_expiration_date`, `id_card_number`, `identifications`, `ip_address`, `last_modified_time`, `last_name`, `metadata`, `middle_name`, `nationality`, `notes`, `parent_token`, `passport_expiration_date`, `passport_number`, `password`, `phone`, `postal_code`, `ssn`, `state`, `status`, `title`, `token`, `uses_parent_account`, `zip`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**account\_holder\_group\_token**<br /><br />string<br /><br />Conditionally returned                          | Associates the specified account holder group with the cardholder.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**active**<br /><br />boolean<br /><br />Conditionally returned                                                | Specifies if the cardholder is in the `ACTIVE` state on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| user.**address1**<br /><br />string<br /><br />Conditionally returned                                               | Cardholder’s address.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| user.**address2**<br /><br />string<br /><br />Conditionally returned                                               | Additional address information for the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| user.**authentication**<br /><br />object<br /><br />Conditionally returned                                         | Contains the cardholder’s email address and password information.<br /><br />**Allowable Values:**<br /><br />`email_verified`, `email_verified_time`, `last_password_update_channel`, `last_password_update_time`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.authentication.**email\_verified**<br /><br />boolean<br /><br />Conditionally returned                        | Specifies whether the email address has been verified.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.authentication.**email\_verified\_time**<br /><br />datetime<br /><br />Conditionally returned                 | Date and time when the email address was verified.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| user.authentication.**last\_password\_update\_channel**<br /><br />string<br /><br />Conditionally returned         | Specifies the channel through which the password was last changed.<br /><br />**Allowable Values:**<br /><br />`USER_CHANGE`, `USER_RESET`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.authentication.**last\_password\_update\_time**<br /><br />datetime<br /><br />Conditionally returned          | Date and time when the password was last changed.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| user.**birth\_date**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s date of birth.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**birth\_place**<br /><br />string<br /><br />Conditionally returned                                           | Country where the cardholder was born.<br /><br />**Allowable Values:**<br /><br />255 char max<br /><br />ISO 3166 two-character country codes. For example, the country code for the United States is `US`.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO-3166 country codes</a>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.**business\_token**<br /><br />string<br /><br />Conditionally returned                                        | Unique identifier of the business resource.<br /><br />**Allowable Values:**<br /><br />Existing business resource token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| user.**city**<br /><br />string<br /><br />Conditionally returned                                                   | City where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**company**<br /><br />string<br /><br />Conditionally returned                                                | Company name.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| user.**corporate\_card\_holder**<br /><br />boolean<br /><br />Conditionally returned                               | Specifies if the cardholder holds a corporate card.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user.**country**<br /><br />string<br /><br />Conditionally returned                                                | Country where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| user.**created\_time**<br /><br />datetime<br /><br />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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**email**<br /><br />string<br /><br />Conditionally returned                                                  | Valid email address of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| user.**first\_name**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s first name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.**gender**<br /><br />string<br /><br />Conditionally returned                                                 | Gender of the cardholder.<br /><br />**Allowable Values:**<br /><br />`F`, `M`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| user.**honorific**<br /><br />string<br /><br />Conditionally returned                                              | Cardholder’s title or prefix: Dr., Miss, Mr., Ms., and so on.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| user.**id\_card\_expiration\_date**<br /><br />string<br /><br />Conditionally returned                             | Expiration date of the cardholder’s identification.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.**id\_card\_number**<br /><br />string<br /><br />Conditionally returned                                       | Cardholder’s identification card number.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user.**identifications**<br /><br />array of objects<br /><br />Conditionally returned                              | One or more objects containing identifications associated with the cardholder.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more `identifications` objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user.identifications\[].**expiration\_date**<br /><br />string<br /><br />Conditionally returned                    | Expiration date of the identification, if applicable.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| user.identifications\[].**type**<br /><br />string<br /><br />Conditionally returned                                | Type of identification.<br /><br />**Allowable Values:**<br /><br />`SSN`, `TIN`, `SIN`, `NIN`, `PASSPORT_NUMBER`, `DRIVERS_LICENSE`, `BUSINESS_NUMBER`, `BUSINESS_TAX_ID`, `TAXPAYER_REFERENCE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.identifications\[].**value**<br /><br />string<br /><br />Conditionally returned                               | Number associated with the identification.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| user.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s IP address.<br /><br />**Allowable Values:**<br /><br />39 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.**last\_modified\_time**<br /><br />datetime<br /><br />Returned                                               | Date and time when the resource was last updated, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user.**last\_name**<br /><br />string<br /><br />Conditionally returned                                             | Cardholder’s last name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| user.**metadata**<br /><br />object<br /><br />Conditionally returned                                               | Associates any additional metadata you provide 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.**middle\_name**<br /><br />string<br /><br />Conditionally returned                                           | Cardholder’s middle name.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user.**nationality**<br /><br />string<br /><br />Conditionally returned                                            | Cardholder’s nationality.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.**notes**<br /><br />string<br /><br />Conditionally returned                                                  | Any additional information pertaining to the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user.**parent\_token**<br /><br />string<br /><br />Conditionally returned                                          | Unique identifier of the parent user or business resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user.**passport\_expiration\_date**<br /><br />string<br /><br />Conditionally returned                             | Expiration date of the cardholder’s passport.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| user.**passport\_number**<br /><br />string<br /><br />Conditionally returned                                       | Cardholder’s passport number.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| user.**password**<br /><br />string<br /><br />Conditionally returned                                               | Password to the cardholder’s user account on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user.**phone**<br /><br />string<br /><br />Conditionally returned                                                  | Cardholder’s telephone number.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| user.**postal\_code**<br /><br />string<br /><br />Conditionally returned                                           | Postal code of the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user.**ssn**<br /><br />string<br /><br />Conditionally returned                                                    | Cardholder’s Social Security Number (SSN).<br /><br />**Allowable Values:**<br /><br />Nine digits only, no delimiters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| user.**state**<br /><br />string<br /><br />Conditionally returned                                                  | State or province where the cardholder resides.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| user.**status**<br /><br />string<br /><br />Conditionally returned                                                 | Specifies the status of the cardholder on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />`UNVERIFIED`, `LIMITED`, `ACTIVE`, `SUSPENDED`, `CLOSED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| user.**title**<br /><br />string<br /><br />Conditionally returned                                                  | Professional title of the cardholder, such as Chief Comptroller.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| user.**token**<br /><br />string<br /><br />Conditionally returned                                                  | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| user.**uses\_parent\_account**<br /><br />boolean<br /><br />Conditionally returned                                 | Indicates whether the child shares balances with the parent (`true`), or the child’s balances are independent of the parent (`false`).<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| user.**zip**<br /><br />string<br /><br />Conditionally returned                                                    | United States ZIP code of the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />10 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| wallet\_provider\_profile<br /><br />object<br /><br />Conditionally returned                                       | Contains information held and provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`account`, `device_score`, `pan_source`, `reason_code`, `recommendation_reasons`, `risk_assessment`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| wallet\_provider\_profile.**account**<br /><br />object<br /><br />Conditionally returned                           | Contains information related to the cardholder and provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`email_address`, `id`, `score`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| wallet\_provider\_profile.account.**email\_address**<br /><br />string<br /><br />Conditionally returned            | Digital wallet provider’s email address for the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| wallet\_provider\_profile.account.**id**<br /><br />string<br /><br />Conditionally returned                        | Digital wallet provider’s identity number for the cardholder.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| wallet\_provider\_profile.account.**score**<br /><br />string<br /><br />Conditionally returned                     | Score from the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| wallet\_provider\_profile.**device\_score**<br /><br />string<br /><br />Conditionally returned                     | Score from the device.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| wallet\_provider\_profile.**pan\_source**<br /><br />string<br /><br />Conditionally returned                       | Source from which the digital wallet provider obtained the card primary account number (PAN).<br /><br />**Allowable Values:**<br /><br />`KEY_ENTERED`, `ON_FILE`, `MOBILE_BANKING_APP`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.**reason\_code**<br /><br />string<br /><br />Conditionally returned                      | Reason for the wallet provider’s provisioning decision.<br /><br />- **01** – Cardholder’s wallet account is too new relative to launch.<br />- **02** – Cardholder’s wallet account is too new relative to provisioning request.<br />- **03** – Cardholder’s wallet account/card pair is newer than date threshold.<br />- **04** – Changes made to account data within the account threshold.<br />- **05** – Suspicious transactions linked to this account.<br />- **06** – Account has not had activity in the last year.<br />- **07** – Suspended cards in the secure element.<br />- **08** – Device was put in lost mode in the last seven days for longer than the duration threshold.<br />- **09** – The number of provisioning attempts on this device in 24 hours exceeds threshold.<br />- **0A** – There have been more than the threshold number of different cards attempted at provisioning to this phone in 24 hours.<br />- **0B** – The card provisioning attempt contains a distinct name in excess of the threshold.<br />- **0C** – The device score is less than 3.<br />- **0D** – The account score is less than 4.<br />- **0E** – Device provisioning location outside of the cardholder’s wallet account home country.<br />- **0G** – Suspect fraud.<br /><br />**Allowable Values:**<br /><br />01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0G |
| wallet\_provider\_profile.**recommendation\_reasons**<br /><br />array of strings<br /><br />Conditionally returned | Array of recommendation reasons from the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more recommendation reasons                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| wallet\_provider\_profile.**risk\_assessment**<br /><br />object<br /><br />Conditionally returned                  | Contains the digital wallet provider’s risk assessment for provisioning the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`score`, `version`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| wallet\_provider\_profile.risk\_assessment.**score**<br /><br />string<br /><br />Conditionally returned            | Wallet provider’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_RED`, `DECISION_YELLOW`, `DECISION_GREEN`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.risk\_assessment.**version**<br /><br />string<br /><br />Conditionally returned          | Wallet provider’s risk assessment version.<br /><br />**Allowable Values:**<br /><br />Version information, as provided by the wallet provider                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

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

```json JSON expandable lines wrap theme={null}
{
  "token": "my_token_0000",
  "card_token": "my_card_token_1989",
  "state": "ACTIVE",
  "state_reason": "Card activated by cardholder",
  "fulfillment_status": "PROVISIONED",
  "issuer_eligibility_decision": "cardaccount.verified",
  "created_time": "2025-10-03T18:55:45Z",
  "last_modified_time": "2025-01-26T22:36:10Z",
  "token_service_provider": {
    "token_reference_id": "my_token_reference_id_1600",
    "pan_reference_id": "my_pan_reference_id_0073",
    "token_requestor_id": "my_token_requestor_id_0373",
    "token_requestor_name": "Token Requestor Name",
    "token_type": "DEVICE_SECURE_ELEMENT",
    "token_pan": "my_token_pan_6792",
    "token_score": "02",
    "token_eligibility_decision": "DECISION_GREEN"
  },
  "device": {
    "type": "MOBILE_PHONE",
    "language_code": "eng",
    "device_id": "my_device_id_9575",
    "phone_number": "12345678900",
    "name": "Phone Name",
    "location": "+37.81/-122.26",
    "ip_address": "x.x.x.x"
  },
  "wallet_provider_profile": {
    "account": {
      "score": "05"
    },
    "risk_assessment": {
      "score": "DECISION_YELLOW",
      "version": "0001.00"
    },
    "device_score": "03",
    "pan_source": "KEY_ENTERED"
  },
  "address_verification": {
    "name": "Address Verification Name",
    "street_address": "223 Elm Street",
    "postal_code": "94703"
  }
}
```

<h2 id="generate_apple_pay_wppjwt">
  Create request for Apple Wallet web push provisioning
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/wpp/applePayJWT`

{/* <EndpointCard
title="API to generate a Javascript object token containing a JWT to initiate Apple Pay web push provisioning"
path="/digitalwallets/wpp/applePayJWT"
method="post"
/> */}

Use this endpoint to add a card to Apple Wallet via a web application.

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

| Fields                                            | Description                                                                                                                                                                                     |
| ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Required | Unique identifier of the card resource.<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                         |
| req-sys-id<br /><br />string<br /><br />Required  | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |

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

| Fields                                                   | Description                                                                                                                                                                                    |
| -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| jws<br /><br />object<br /><br />Returned                | Object containing JSON Web Signature (JWS) data.<br /><br />**Allowable Values:**<br /><br />Existing JWS object                                                                               |
| jws.**header**<br /><br />object<br /><br />Returned     | Contains header data for the JWS object.<br /><br />**Allowable Values:**<br /><br />Existing `kid` string                                                                                     |
| jws.header.**kid**<br /><br />string<br /><br />Returned | Unique identifier of the JSON Web Signature (JWS) public key of the key pair used to generate the signature.<br /><br />**Allowable Values:**<br /><br />Any value                             |
| jws.**protected**<br /><br />string<br /><br />Returned  | Contains header parameters that are integrity-protected by the JSON Web Signature (JWS).<br /><br />**Allowable Values:**<br /><br />Any value                                                 |
| jws.**payload**<br /><br />string<br /><br />Returned    | JSON Web Signature (JWS) message payload.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                |
| jws.**signature**<br /><br />string<br /><br />Returned  | The JSON Web Signature (JWS).<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                            |
| state<br /><br />string<br /><br />Returned              | Unique state associated with the digital wallet token. The Marqeta platform returns a universally unique identifier (UUID) in this field.<br /><br />**Allowable Values:**<br /><br />255 char |

<h2 id="send_opc_data_to_google_pay">
  Create request for Google Wallet web push provisioning
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/wpp/googlePayPushProvisioningNotification`

{/* <EndpointCard
title="Request sending OPC data to google pay"
path="/digitalwallets/wpp/googlePayPushProvisioningNotification"
method="post"
/> */}

Use this endpoint to add a card to Google Wallet via a web application.

This endpoint does not return a payload in response to a request. Instead, a successful call will return a response code only.

<h3 id="_header_parameter_2">
  Header parameter
</h3>

| Fields                                           | Description                                                                                                                                                                                                                                                          |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br /><br />For example: '123d837e-958a-4e9f-bc97-4843ec948123' |

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

| Fields                                                    | Description                                                                                                                                                                                                                      |
| --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_setting<br /><br />integer<br /><br />Required      | Indicates if the Funding Primary Account Number (FPAN) will be attempted.<br /><br />- **1** - FPAN save will be attempted.<br />- **0** - FPAN save will not be attempted.<br /><br />**Allowable Values:**<br /><br />`0`, `1` |
| card\_token<br /><br />string<br /><br />Required         | Unique identifier of the card resource.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                    |
| client\_session\_id<br /><br />string<br /><br />Required | String provided by Google Wallet that identifies the client session.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                       |
| integrator\_id<br /><br />string<br /><br />Required      | Google-assigned string that uniquely identifies both the integrator that is initiating the session and the issuer of the card.<br /><br />**Allowable Values:**<br /><br />Any value                                             |
| public\_device\_id<br /><br />string<br /><br />Required  | String provided by Google Wallet that identifies the Android device that will receive the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Any value                                                            |
| public\_wallet\_id<br /><br />string<br /><br />Required  | String provided by Google Wallet that identifies the device-scoped wallet that receives the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Any value                                                          |
| server\_session\_id<br /><br />string<br /><br />Required | String provided by Google Wallet that identifies the backend session.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                      |
| token\_setting<br /><br />integer<br /><br />Required     | Indicates if tokenization will be attempted.<br /><br />- **1** - Tokenization will be attempted.<br />- **0** - Tokenization will not be attempted.<br /><br />**Allowable Values:**<br /><br />`0`, `1`                        |

<h2 id="get_clicktopay_mastercard_checkeligibility">
  Check eligibility for Click to Pay for Mastercard
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallets/clicktopay/mastercard/checkeligibility`

{/* <EndpointCard
title="Use this endpoint to check if a provided BIN prefix is eligible for Click to Pay for Mastercard."
path="/digitalwallets/clicktopay/mastercard/checkeligibility"
method="get"
/> */}

Use this endpoint to check if a provided BIN prefix is eligible for Click to Pay for Mastercard.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

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

| Fields                                                | Description                                                                                                                                                                                                                                                                                        |
| ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| bin\_prefix<br /><br />string<br /><br />Required     | Prefix of the bank identification number.<br /><br />**Allowable Values:**<br /><br />A six- to nine-digit number<br /><br />**NOTE:** It is preferable to use eight- or nine-digit BIN prefixes in production environments. Contact your Marqeta representative for the appropriate value to use. |
| include\_asset<br /><br />boolean<br /><br />Optional | Returns a list of image assets for the Click to Pay logo if set to `true`.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                             |

<h3 id="_header_parameter_3">
  Header parameter
</h3>

| Fields                                           | Description                                                                                                                                                                                     |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |

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

| Fields                                                                          | Description                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| is\_eligible<br /><br />boolean<br /><br />Conditionally returned               | Indicates whether the `bin_prefix` is eligible for Click to Pay.<br /><br />- `true`: The `bin_prefix` is eligible for Click to Pay.<br />- `false`: The `bin_prefix` is not eligible for Click to Pay.<br /><br />**Allowable Values:**<br /><br />`true`, `false`              |
| image\_assets<br /><br />array of objects<br /><br />Conditionally returned     | List of image assets for the Click to Pay logo if `include_asset` is set to `true` in the request.<br /><br />**Allowable Values:**<br /><br />A valid array of `image_asset` objects                                                                                            |
| image\_assets\[].**type**<br /><br />string<br /><br />Conditionally returned   | Type of media. Specified as Multipurpose Internet Mail Extension (MIME).<br /><br />Supported media types include:<br /><br />- application/pdf<br />- image/png<br />- image/svg+xml<br />- text/plain<br />- text/html<br /><br />**Allowable Values:**<br /><br />32 char max |
| image\_assets\[].**data**<br /><br />string<br /><br />Conditionally returned   | Media data content.<br /><br />**Allowable Values:**<br /><br />Base64-encoded media data                                                                                                                                                                                        |
| image\_assets\[].**height**<br /><br />string<br /><br />Conditionally returned | Height of non-SVG image asset. Specified in pixels.<br /><br />**Allowable Values:**<br /><br />6 char max                                                                                                                                                                       |
| image\_assets\[].**width**<br /><br />string<br /><br />Conditionally returned  | Width of non-SVG image asset. Specified in pixels.<br /><br />**Allowable Values:**<br /><br />6 char max                                                                                                                                                                        |

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

```json JSON expandable lines wrap theme={null}
{
  "is_eligible": true,
  "image_assets": [
    {
      "media_content": {
        "type": "image/png",
        "data": "iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6... (truncated for readability)",
        "height": "192px",
        "width": "192px"
      }
    },
    {
      "media_content": {
        "type": "image/svg+xml",
        "data": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3... (truncated for readability)",
        "height": "192px",
        "width": "192px"
      }
    }
  ]
}
```

<h2 id="post_clicktopay_mastercard_enroll">
  Enroll a card to Click to Pay for Mastercard
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/clicktopay/mastercard/enroll`

{/* <EndpointCard
title="Use this endpoint to enroll a card in Click to Pay for Mastercard."
path="/digitalwallets/clicktopay/mastercard/enroll"
method="post"
/> */}

Use this endpoint to enroll a card in Click to Pay for Mastercard.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

<h3 id="_header_parameter_4">
  Header parameter
</h3>

| Fields                                           | Description                                                                                                                                                                                     |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |

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

| Fields                                                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| card\_token<br /><br />string<br /><br />Required                                       | Unique identifier of the card resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| user\_token<br /><br />string<br /><br />Required                                       | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| user\_details<br /><br />array of objects<br /><br />Required                           | User’s email address and mobile phone number with country code.<br /><br />**Allowable Values:**<br /><br />A valid array of `user_details` objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| user\_details\[].**email\_address**<br /><br />string<br /><br />Required               | User’s email address.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| user\_details\[].**mobile\_number**<br /><br />object<br /><br />Required               | User’s mobile phone number and country code.<br /><br />**Allowable Values:**<br /><br />`country_code`, `phone_number`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| user\_details\[].mobile\_number.**country\_code**<br /><br />string<br /><br />Required | User’s mobile phone number country code only.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| user\_details\[].mobile\_number.**phone\_number**<br /><br />string<br /><br />Required | User’s mobile phone number without country code.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| locale\_country<br /><br />string<br /><br />Required                                   | The user-provided country code. The ISO 3166 country code is a two-letter country code that represents a country. For example, the numeric code for the United States is `US`.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">ISO-3166 country codes</a>.<br /><br />**Allowable Values:**<br /><br />2 chars                                                                                                                                                                                                                                                                                                                                                                                                                           |
| locale\_language<br /><br />string<br /><br />Required                                  | The user-provided language choice. The ISO 639-2 language code is a two-letter country code that represents a language.<br /><br />The ISO maintains the <a href="https://id.loc.gov/vocabulary/iso639-2.html" target="_blank" rel="noopener">ISO 639-2 language codes</a>.<br /><br />**Allowable Values:**<br /><br />2 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| callback\_url<br /><br />string<br /><br />Optional                                     | The URL to which the Click to Pay request status is sent via webhooks.<br /><br />**Allowable Values:**<br /><br />A valid URL                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| callback\_authentication\_type<br /><br />string<br /><br />Optional                    | The type of authentication required for the callback URL.<br /><br />- `OAUTH_BEARER_TOKEN`: OAuth bearer token for the callback URL.<br />- `BASIC_AUTH`: Basic auth username and password for the callback URL.<br /><br />**Allowable Values:**<br /><br />`OAUTH_BEARER_TOKEN`, `BASIC_AUTH`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| oauth\_bearer\_token<br /><br />string<br /><br />Optional                              | OAuth bearer token to access your callback URL if the `callback_authentication_type` is `OAUTH_BEARER_TOKEN`.<br /><br />**Allowable Values:**<br /><br />A bearer token that can be used to authenticate the callback API on the receiving end                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| callback\_secret\_for\_signature<br /><br />string<br /><br />Optional                  | Randomly chosen string used for implementing HMAC-SHA1.<br /><br />HMAC-SHA1 provides an added layer of security by authenticating the message and validating message integrity. Using this functionality requires that your callback endpoint verify the message signature. For information about implementing this functionality, see <a href="/developer-guides/signature-verification/">Signature Verification</a>.<br /><br />**Allowable Values:**<br /><br />20–50 chars<br /><br />- Must contain at least one numeral<br />- Must contain at least one lowercase letter<br />- Must contain at least one uppercase letter<br />- Must contain at least one of these symbols:<br />`@``#``$``%``!``^``&``*``(``)`<br />`\\``_``+``~``-``=``[``]``\{``}`<br />`,``;``:``'``"``.``/``<``>``?`<code>\`</code> |
| basic\_auth\_username<br /><br />string<br /><br />Optional                             | Basic auth username to access your callback URL if authentication type is basic. If authentication type is basic, both username and password are required.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| basic\_auth\_password<br /><br />string<br /><br />Optional                             | Basic auth password to access your callback URL if authentication type is basic. If authentication type is basic, both username and password are required.<br /><br />**Allowable Values:**<br /><br />20–50 chars<br /><br />- Must contain at least one numeral<br />- Must contain at least one lowercase letter<br />- Must contain at least one uppercase letter<br />- Must contain at least one of these symbols:<br />`@``#``$``%``!``^``&``*``(``)`<br />`\\``_``+``~``-``=``[``]``\{``}`<br />`,``;``:``'``"``.``/``<``>``?`<code>\`</code>                                                                                                                                                                                                                                                              |

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

```json JSON lines wrap theme={null}
{
  "card_token": "my_card_token_1234",
  "user_token": "my_user_token_1234",
  "user_details": [
    {
      "email_address": "test@test.com",
      "mobile_number": {
        "country_code": "44",
        "phone_number": "1234567890"
      }
    }
  ],
  "locale_country": "US",
  "locale_language": "en"
}
```

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

| Fields                                                    | Description                                                                                           |
| --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Conditionally returned | Unique identifier of the Click to Pay request.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

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

```json JSON lines wrap theme={null}
{
  "token": "my_token_0000"
}
```

<h2 id="get_clicktopay_mastercard_status_token">
  Retrieve Click to Pay for Mastercard enrollment status
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallets/clicktopay/mastercard/status/{token}`

{/* <EndpointCard
title="Use this endpoint to return the status of a specific Click to Pay for Mastercard request."
path="/digitalwallets/clicktopay/mastercard/status/{token}"
method="get"
/> */}

Use this endpoint to return the status of a specific Click to Pay for Mastercard request.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

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

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

<h3 id="_header_parameter_5">
  Header parameter
</h3>

| Fields                                           | Description                                                                                                                                                                                     |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |

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

| Fields                                                                   | Description                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Conditionally returned                | Unique identifier of the Click to Pay request, used to track the status of the request.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                  |
| status<br /><br />string<br /><br />Conditionally returned               | The status of the Click to Pay request.<br /><br />- `SUCCESS`: The Click to Pay request was successful.<br />- `FAILED`: The Click to Pay request failed.<br />- `RECEIVED`: The Click to Pay request was received.<br /><br />**Allowable Values:**<br /><br />`SUCCESS`, `FAILED`, `RECEIVED` |
| token\_reference\_id<br /><br />string<br /><br />Conditionally returned | Unique identifier of the digital wallet token within the card network.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                  |

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

```json JSON lines wrap theme={null}
{
  "token": "my_token_0000",
  "status": "SUCCESS",
  "token_reference_id": "my_token_reference_id_1600"
}
```

<h2 id="enroll_cardholder">
  Enroll a cardholder to Click to Pay for Visa
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/clicktopay/visa/enroll`

{/* <EndpointCard
title="Use this endpoint to enroll a new cardholder in Click to Pay for Visa."
path="/digitalwallets/clicktopay/visa/enroll"
method="post"
/> */}

Use this endpoint to enroll a new cardholder in Click to Pay for Visa.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

<h3 id="_header_parameter_6">
  Header parameter
</h3>

| Fields                                                               | Description                                                                                                                                                                                     |
| -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required                     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| external-consumer-id-owner-bid<br /><br />string<br /><br />Required | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs.<br /><br />**Allowable Values:**<br /><br />1-8 chars                                                    |

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

| Fields                                                                   | Description                                                                                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card<br /><br />object<br /><br />Required                               | Card information for Visa Click to Pay.<br /><br />**Allowable Values:**<br /><br />`cardToken`, `nameOnCard`                                                                                                                                                                                                                     |
| card.**cardToken**<br /><br />string<br /><br />Required                 | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                             |
| card.**nameOnCard**<br /><br />string<br /><br />Required                | Name of the cardholder that appears on the card.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                                                                                                                                                                                                          |
| card.**billingAddress**<br /><br />object<br /><br />Required            | Billing address for Visa Click to Pay.<br /><br />**Allowable Values:**<br /><br />`address1`, `city`, `state`, `country`, `postalCode`                                                                                                                                                                                           |
| card.billingAddress.**address1**<br /><br />string<br /><br />Optional   | First line of the billing address.<br /><br />**Allowable Values:**<br /><br />64 chars max                                                                                                                                                                                                                                       |
| card.billingAddress.**address2**<br /><br />string<br /><br />Optional   | Optional second line of the billing address.<br /><br />**Allowable Values:**<br /><br />64 chars max                                                                                                                                                                                                                             |
| card.billingAddress.**city**<br /><br />string<br /><br />Optional       | City of the billing address.<br /><br />**Allowable Values:**<br /><br />32 chars max                                                                                                                                                                                                                                             |
| card.billingAddress.**state**<br /><br />string<br /><br />Optional      | State of the billing address.<br /><br />**Allowable Values:**<br /><br />3 chars max                                                                                                                                                                                                                                             |
| card.billingAddress.**country**<br /><br />string<br /><br />Required    | Country of the billing address.<br /><br />**Allowable Values:**<br /><br />3 chars                                                                                                                                                                                                                                               |
| card.billingAddress.**postalCode**<br /><br />string<br /><br />Optional | Postal code of the billing address.<br /><br />**Allowable Values:**<br /><br />9 chars max                                                                                                                                                                                                                                       |
| user<br /><br />object<br /><br />Required                               | User’s email address, mobile phone number without country code, first name, last name, locale, and country.<br /><br />**Allowable Values:**<br /><br />`userToken`, `email`, `phone`, `firstName`, `lastName`, `locale`, `country`                                                                                               |
| user.**userToken**<br /><br />string<br /><br />Required                 | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                       |
| user.**email**<br /><br />string<br /><br />Required                     | User’s email address.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                    |
| user.**phone**<br /><br />string<br /><br />Required                     | User’s mobile phone number according to ITU-T E.164 (2010) number structure.<br /><br />**NOTE:** In the E.164 format, the "+" sign is not included.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                       |
| user.**firstName**<br /><br />string<br /><br />Required                 | User’s first name.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                         |
| user.**lastName**<br /><br />string<br /><br />Required                  | User’s last name.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                          |
| user.**locale**<br /><br />string<br /><br />Required                    | The user-provided language choice. The ISO 639-2 language code is a two-letter country code that represents a language.<br /><br />The ISO maintains the <a href="https://id.loc.gov/vocabulary/iso639-2.html" target="_blank" rel="noopener">ISO 639-2 language codes</a>.<br /><br />**Allowable Values:**<br /><br />2–5 chars |
| user.**country**<br /><br />string<br /><br />Required                   | ISO 3166-1 alpha-3 country code.<br /><br />**Allowable Values:**<br /><br />3 chars                                                                                                                                                                                                                                              |

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

```json JSON expandable lines wrap theme={null}
{
  "user": {
    "userToken": "1234567890",
    "firstName": "John",
    "lastName": "Smith",
    "email": "example@email.com",
    "phone": "111-111-1111",
    "locale": "en_US",
    "country": "USA"
  },
  "card": {
    "cardToken": "2345678910",
    "nameOnCard": "John Smith",
    "billingAddress": {
      "address1": "123 Elm Street",
      "address2": "APT 1",
      "city": "Oakland",
      "state": "CA",
      "country": "USA",
      "postalCode": "94607"
    }
  }
}
```

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

| Fields                                               | Description                                                                                                |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| requestTraceId<br /><br />string<br /><br />Returned | Unique identifier of the Visa Click to Pay request.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

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

```json JSON lines wrap theme={null}
{
  "requestTraceId": "2b6f0cc904d137be2e1730235f5664094b83"
}
```

<h2 id="enroll_card">
  Enroll a card to Click to Pay for Visa
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/clicktopay/visa/enrollcards`

{/* <EndpointCard
title="Use this endpoint to enroll a new card for an existing cardholder in Click to Pay for Visa."
path="/digitalwallets/clicktopay/visa/enrollcards"
method="post"
/> */}

Use this endpoint to enroll a new card for an existing cardholder in Click to Pay for Visa.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

<h3 id="_header_parameter_7">
  Header parameter
</h3>

| Fields                                                               | Description                                                                                                                                                                                     |
| -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required                     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| external-consumer-id-owner-bid<br /><br />string<br /><br />Required | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs.<br /><br />**Allowable Values:**<br /><br />1-8 chars                                                    |

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

| Fields                                                        | Description                                                                                                                             |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| card<br /><br />object<br /><br />Required                    | Card information for Visa Click to Pay.<br /><br />**Allowable Values:**<br /><br />`cardToken`, `nameOnCard`                           |
| card.**cardToken**<br /><br />string<br /><br />Required      | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                   |
| card.**nameOnCard**<br /><br />string<br /><br />Required     | Name of the cardholder that appears on the card.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                |
| card.**billingAddress**<br /><br />object<br /><br />Required | Billing address for Visa Click to Pay.<br /><br />**Allowable Values:**<br /><br />`address1`, `city`, `state`, `country`, `postalCode` |
| userToken<br /><br />string<br /><br />Required               | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                             |

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

```json JSON lines wrap theme={null}
{
  "userToken": "1234567890",
  "card": {
    "cardToken": "2345678901",
    "nameOnCard": "John Smith",
    "billingAddress": {
      "address1": "123 Elm Street",
      "address2": "APT 1",
      "city": "Oakland",
      "state": "CA",
      "country": "USA",
      "postalCode": "94607"
    }
  }
}
```

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

| Fields                                               | Description                                                                                                |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| requestTraceId<br /><br />string<br /><br />Returned | Unique identifier of the Visa Click to Pay request.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

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

```json JSON lines wrap theme={null}
{
  "requestTraceId": "2b6f0cc904d137be2e1730235f5664094b83"
}
```

<h2 id="get_user_data">
  Retrieve user data for Click to Pay for Visa
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallets/clicktopay/visa/getdata/{user_token}`

{/* <EndpointCard
title="Use this endpoint to get user data for Click to Pay for Visa."
path="/digitalwallets/clicktopay/visa/getdata/{user_token}"
method="get"
/> */}

Use this endpoint to get user data for Click to Pay for Visa.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

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

| Fields                                            | Description                                                                                                            |
| ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| user\_token<br /><br />string<br /><br />Required | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />Existing Visa Click To Pay User Token |

<h3 id="_header_parameter_8">
  Header parameter
</h3>

| Fields                                                               | Description                                                                                                                                                                                                                                                          |
| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required                     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br /><br />For example: '123d837e-958a-4e9f-bc97-4843ec948123' |
| external-consumer-id-owner-bid<br /><br />string<br /><br />Required | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs.<br /><br />**Allowable Values:**<br /><br />1-8 chars                                                                                                                         |

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

| Fields                                                                         | Description                                                                                                                                                                                                                                                  |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| data<br /><br />array of objects<br /><br />Returned                           | Array of objects containing information of a Visa Click to Pay cardholder<br /><br />**Allowable Values:**<br /><br />Valid array of data objects                                                                                                            |
| data\[].**intent**<br /><br />object<br /><br />Returned                       | Intent of the Visa Click to Pay operation.<br /><br />**Allowable Values:**<br /><br />`type`, `value`                                                                                                                                                       |
| data\[].**consumerInformation**<br /><br />object<br /><br />Returned          | Object containing cardholder details for Visa Click to Pay operation.<br /><br />**Allowable Values:**<br /><br />`externalConsumerID`, `firstName`, `middleName`, `lastName`, `phones`, `emails`, `locale`, `countryCode`, `state`                          |
| data\[].**paymentInstruments**<br /><br />array of objects<br /><br />Returned | Array of objects containing details of payment instruments for Visa Click to Pay.<br /><br />**Allowable Values:**<br /><br />`type`, `accountNumber`, `nameOnCard`, `expirationDate`, `tokenDetails`, `paymentAccountReference`, `billingAddress`, `status` |

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

```json JSON expandable lines wrap theme={null}
{
  "data": [
    {
      "intent": {
        "type": "PRODUCT_CODE",
        "value": "CLICK_TO_PAY"
      },
      "paymentInstruments": [
        {
          "type": "CARD",
          "status": "ACTIVE",
          "cardType": "Visa Platinum",
          "issuerName": "Bank A",
          "nameOnCard": "John Doe",
          "tokenDetails": {
            "tokenReferenceID": "hflasdhflsdkfhoin3y038yfwn",
            "tokenRequestorID": "1234567890"
          },
          "accountNumber": "4111111145551140",
          "billingAddress": {
            "city": "San Francisco",
            "state": "CA",
            "country": "USA",
            "postalCode": "94105",
            "addressLine1": "1000 Market Street",
            "addressLine2": "Building 56",
            "addressLine3": "Suite 101"
          },
          "expirationDate": "2030-01",
          "panReferenceID": "alikbndesfiluwbn1342fs",
          "paymentAccountReference": "paymentAccountReferenceValues"
        }
      ],
      "consumerInformation": {
        "emails": [
          "alex123@hotmail.com"
        ],
        "locale": "en_US",
        "phones": [
          "16504005555"
        ],
        "status": "ACTIVE",
        "consent": {
          "version": "1.0",
          "presenter": "Bank A",
          "timeOfConsent": "2020-05-05T12:12:12.000Z"
        },
        "lastName": "Miller",
        "firstName": "Alex",
        "middleName": "Robert",
        "countryCode": "USA",
        "externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85",
        "nationalIdentifiers": [
          {
            "type": "PASSPORT",
            "value": "A123456"
          }
        ]
      }
    }
  ]
}
```

<h2 id="update_card_holder_info">
  Update cardholder information for Click to Pay for Visa
</h2>

**Action:** `PUT`\
**Endpoint:** `/digitalwallets/clicktopay/visa/users`

{/* <EndpointCard
title="Use this endpoint to update cardholder information for Click to Pay for Visa."
path="/digitalwallets/clicktopay/visa/users"
method="put"
/> */}

Use this endpoint to update cardholder information for Click to Pay for Visa.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

<h3 id="_header_parameters">
  Header parameters
</h3>

| Fields                                                               | Description                                                                                                                                                                                                                                                          |
| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required                     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br /><br />For example: '123d837e-958a-4e9f-bc97-4843ec948123' |
| external-consumer-id-owner-bid<br /><br />string<br /><br />Required | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs.<br /><br />**Allowable Values:**<br /><br />1-8 chars                                                                                                                         |

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

| Fields                                                   | Description                                                                                                                                                                                                                                                                                                                       |
| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| user<br /><br />object<br /><br />Required               | User’s email address, mobile phone number without country code, first name, last name, locale, and country.<br /><br />**Allowable Values:**<br /><br />`userToken`, `email`, `phone`, `firstName`, `lastName`, `locale`, `country`                                                                                               |
| user.**userToken**<br /><br />string<br /><br />Required | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                       |
| user.**email**<br /><br />string<br /><br />Required     | User’s email address.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                    |
| user.**phone**<br /><br />string<br /><br />Required     | User’s mobile phone number according to ITU-T E.164 (2010) number structure.<br /><br />**NOTE:** In the E.164 format, the "+" sign is not included.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                       |
| user.**firstName**<br /><br />string<br /><br />Required | User’s first name.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                         |
| user.**lastName**<br /><br />string<br /><br />Required  | User’s last name.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                          |
| user.**locale**<br /><br />string<br /><br />Required    | The user-provided language choice. The ISO 639-2 language code is a two-letter country code that represents a language.<br /><br />The ISO maintains the <a href="https://id.loc.gov/vocabulary/iso639-2.html" target="_blank" rel="noopener">ISO 639-2 language codes</a>.<br /><br />**Allowable Values:**<br /><br />2–5 chars |
| user.**country**<br /><br />string<br /><br />Required   | ISO 3166-1 alpha-3 country code.<br /><br />**Allowable Values:**<br /><br />3 chars                                                                                                                                                                                                                                              |

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

```json JSON lines wrap theme={null}
{
  "user": {
    "userToken": "1234567890",
    "firstName": "John",
    "lastName": "Smith",
    "email": "example@email.com",
    "phone": "111-111-1111",
    "locale": "en_US",
    "country": "USA"
  }
}
```

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

| Fields                                               | Description                                                                                                |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| requestTraceId<br /><br />string<br /><br />Returned | Unique identifier of the Visa Click to Pay request.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

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

```json JSON lines wrap theme={null}
{
  "requestTraceId": "2b6f0cc904d137be2e1730235f5664094b83"
}
```

<h2 id="delete_card_holder_info">
  Delete cardholder information for Click to Pay for Visa
</h2>

**Action:** `DELETE`\
**Endpoint:** `/digitalwallets/clicktopay/visa/users`

{/* <EndpointCard
title="Use this endpoint to delete cardholder information for Click to Pay for Visa."
path="/digitalwallets/clicktopay/visa/users"
method="delete"
/> */}

Use this endpoint to delete cardholder information for Click to Pay for Visa.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

<h3 id="_header_parameters_2">
  Header parameters
</h3>

| Fields                                                               | Description                                                                                                                                                                                                                                                          |
| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required                     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br /><br />For example: '123d837e-958a-4e9f-bc97-4843ec948123' |
| external-consumer-id-owner-bid<br /><br />string<br /><br />Required | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs.<br /><br />**Allowable Values:**<br /><br />1-8 chars                                                                                                                         |

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

| Fields                                          | Description                                                                                 |
| ----------------------------------------------- | ------------------------------------------------------------------------------------------- |
| userToken<br /><br />string<br /><br />Required | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

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

```json JSON lines wrap theme={null}
{
  "userToken": "1234567890"
}
```

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

| Fields                                               | Description                                                                                                |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| requestTraceId<br /><br />string<br /><br />Returned | Unique identifier of the Visa Click to Pay request.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

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

```json JSON lines wrap theme={null}
{
  "requestTraceId": "2b6f0cc904d137be2e1730235f5664094b83"
}
```

<h2 id="update_card_info">
  Update card information for Click to Pay for Visa
</h2>

**Action:** `PUT`\
**Endpoint:** `/digitalwallets/clicktopay/visa/cards`

{/* <EndpointCard
title="Use this endpoint to update card information for Click to Pay for Visa."
path="/digitalwallets/clicktopay/visa/cards"
method="put"
/> */}

Use this endpoint to update card information for Click to Pay for Visa.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

<h3 id="_header_parameter_9">
  Header parameter
</h3>

| Fields                                                               | Description                                                                                                                                                                                                                                                          |
| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required                     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br /><br />For example: '123d837e-958a-4e9f-bc97-4843ec948123' |
| external-consumer-id-owner-bid<br /><br />string<br /><br />Required | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs.<br /><br />**Allowable Values:**<br /><br />1-8 chars                                                                                                                         |

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

| Fields                                                        | Description                                                                                                                             |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| card<br /><br />object<br /><br />Required                    | Card information for Visa Click to Pay.<br /><br />**Allowable Values:**<br /><br />`cardToken`, `nameOnCard`                           |
| card.**cardToken**<br /><br />string<br /><br />Required      | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                   |
| card.**nameOnCard**<br /><br />string<br /><br />Required     | Name of the cardholder that appears on the card.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                |
| card.**billingAddress**<br /><br />object<br /><br />Required | Billing address for Visa Click to Pay.<br /><br />**Allowable Values:**<br /><br />`address1`, `city`, `state`, `country`, `postalCode` |
| userToken<br /><br />string<br /><br />Required               | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                             |

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

```json JSON lines wrap theme={null}
{
  "userToken": "1234567890",
  "card": {
    "cardToken": "2345678901",
    "nameOnCard": "John Smith",
    "billingAddress": {
      "address1": "123 Elm Street",
      "address2": "APT 1",
      "city": "Oakland",
      "state": "CA",
      "country": "USA",
      "postalCode": "94607"
    }
  }
}
```

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

| Fields                                               | Description                                                                                                |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| requestTraceId<br /><br />string<br /><br />Returned | Unique identifier of the Visa Click to Pay request.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

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

```json JSON lines wrap theme={null}
{
  "requestTraceId": "2b6f0cc904d137be2e1730235f5664094b83"
}
```

<h2 id="delete_card_info">
  Delete card information for Click to Pay for Visa
</h2>

**Action:** `DELETE`\
**Endpoint:** `/digitalwallets/clicktopay/visa/cards/{card_token}`

{/* <EndpointCard
title="Use this endpoint to delete card information for Click to Pay for Visa."
path="/digitalwallets/clicktopay/visa/cards/{card_token}"
method="delete"
/> */}

Use this endpoint to delete card information for Click to Pay for Visa.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

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

| Fields                                            | Description                                                                                 |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Required | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

<h3 id="_header_parameters_3">
  Header parameters
</h3>

| Fields                                                               | Description                                                                                                                                                                                                                                                          |
| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required                     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br /><br />For example: '123d837e-958a-4e9f-bc97-4843ec948123' |
| external-consumer-id-owner-bid<br /><br />string<br /><br />Required | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs.<br /><br />**Allowable Values:**<br /><br />1-8 chars                                                                                                                         |

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

| Fields                                               | Description                                                                                                |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| requestTraceId<br /><br />string<br /><br />Returned | Unique identifier of the Visa Click to Pay request.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

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

```json JSON lines wrap theme={null}
{
  "requestTraceId": "2b6f0cc904d137be2e1730235f5664094b83"
}
```

<h2 id="get_status">
  Retrieve Click to Pay for Visa request status
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallets/clicktopay/visa/status/{requestTraceId}`

{/* <EndpointCard
title="Use this endpoint to return the status of a Click to Pay for Visa request."
path="/digitalwallets/clicktopay/visa/status/{requestTraceId}"
method="get"
/> */}

Use this endpoint to return the status of a Click to Pay for Visa request.

For more information about this ecommerce checkout solution, see [Click to Pay](/developer-guides/digital-wallets-and-tokenization/#_click_to_pay).

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

| Fields                                               | Description                                                                                                |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| requestTraceId<br /><br />string<br /><br />Required | Unique identifier of the Visa Click to Pay request.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

<h3 id="_header_parameters_4">
  Header parameters
</h3>

| Fields                                                               | Description                                                                                                                                                                                                                                                          |
| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required                     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br /><br />For example: '123d837e-958a-4e9f-bc97-4843ec948123' |
| external-consumer-id-owner-bid<br /><br />string<br /><br />Required | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs.<br /><br />**Allowable Values:**<br /><br />1-8 chars                                                                                                                         |

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

| Fields                                                                                                 | Description                                                                                                                                  |
| ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
| status<br /><br />string<br /><br />Returned                                                           | Status of the operation.<br /><br />**Allowable Values:**<br /><br />`IN_PROGRESS`, `COMPLETED`                                              |
| consumerInformation<br /><br />object<br /><br />Conditionally returned                                | Consumer information.<br /><br />**Allowable Values:**<br /><br />Existing `consumerInformation` object                                      |
| consumerInformation.**externalConsumerID**<br /><br />string<br /><br />Conditionally returned         | External consumer ID.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                |
| consumerInformation.**externalConsumerIDOwnerBID**<br /><br />string<br /><br />Conditionally returned | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs.<br /><br />**Allowable Values:**<br /><br />1–8 chars |
| details<br /><br />array of undefineds<br /><br />Conditionally returned                               | Additional status details of the operation.<br /><br />**Allowable Values:**<br /><br />Array of `details` object                            |
| details\[].**status**<br /><br />string<br /><br />Returned                                            | Status of the operation.<br /><br />**Allowable Values:**<br /><br />`SUCCESS`, `FAILED`                                                     |
| details\[].**intent**<br /><br />object<br /><br />Returned                                            | Intent of the Visa Click to Pay operation.<br /><br />**Allowable Values:**<br /><br />`type`, `value`                                       |
| details\[].**errorDetails**<br /><br />array of objects<br /><br />Returned                            | Details of error occurred while executing the operation.<br /><br />**Allowable Values:**<br /><br />`field`, `reason`, `message`            |

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

```json JSON expandable lines wrap theme={null}
{
  "status": "IN_PROGRESS",
  "details": [
    {
      "intent": {
        "type": "PRODUCT_CODE",
        "value": "CLICK_TO_PAY"
      },
      "status": "SUCCESS",
      "errorDetails": [
        {
          "field": "string",
          "reason": "string",
          "message": "string"
        }
      ]
    }
  ],
  "consumerInformation": {
    "externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85",
    "externalConsumerIDOwnerBID": "10098765"
  }
}
```

<h2 id="create_alias">
  Create a Visa Alias
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases`

{/* <EndpointCard
title="Use this endpoint to create a Visa Alias."
path="/digitalwallets/aliasdirectory/visa/aliases"
method="post"
/> */}

Use this endpoint to create a Visa Alias.

<h3 id="_header_parameters_5">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                                                                                          |
| ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br /><br />For example: '123d837e-958a-4e9f-bc97-4843ec948123' |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                                                                                     |

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

| Fields                                                                                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                 |
| -------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| aliasType<br /><br />string<br /><br />Required                                              | Type of Visa Alias in the Alias Directory Service (ADS) profile. Visa supports phone and email as Visa Alias types that can be used in place of sensitive payment credentials details.<br /><br />**Allowable Values:**<br /><br />`EMAIL`, `PHONE`, `DIRECTORY_ALIASID`, `PAYNAME`                                                                                                                                         |
| userToken<br /><br />string<br /><br />Required                                              | Unique identifier of the user.<br /><br />**Allowable Values:**<br /><br />1–128 chars                                                                                                                                                                                                                                                                                                                                      |
| aliasValue<br /><br />string<br /><br />Required                                             | Visa Alias value, which can be an email, a phone number, ID of an alias directory, or a payname.<br /><br />If a phone number is used for the Visa Alias, it must follow ITU-T E.164 (2010) number structure. **NOTE:** In the E.164 format, the "+" sign is not included.<br /><br />**Allowable Values:**<br /><br />1–128 chars                                                                                          |
| consent<br /><br />object<br /><br />Required                                                | Visa Alias Directory Service (ADS) consent information.<br /><br />**Allowable Values:**<br /><br />`presenter`, `validFromDateTime`, `version`, `expiryDateTime`, `intermediaries`                                                                                                                                                                                                                                         |
| paymentCredentials<br /><br />array of objects<br /><br />Required                           | Visa Alias payment credentials.<br /><br />**Allowable Values:**<br /><br />`cardToken`, `billingAddress`, `nameOnCard`, `cardType`, `issuerName`, `currencyCode`, `preferredFor`                                                                                                                                                                                                                                           |
| paymentCredentials.**cardToken**<br /><br />string<br /><br />Required                       | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />Existing card token                                                                                                                                                                                                                                                                                                                              |
| paymentCredentials.**billingAddress**<br /><br />object<br /><br />Required                  | Billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />`country`, `addressLine1`, `addressLine2`, `buildingNumber`, `city`, `minorSubdivision`, `postalCode`, `state`, `streetName`                                                                                                                                                                                            |
| paymentCredentials.billingAddress.**country**<br /><br />string<br /><br />Required          | Country of the billing address associated with the payment credential, expressed as an ISO 3166 code. For example, the numeric code for the United States is `840` and the alpha-3 code is `USA`.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO 3166 country codes</a>.<br /><br />**Allowable Values:**<br /><br />3 char max |
| paymentCredentials.billingAddress.**addressLine1**<br /><br />string<br /><br />Optional     | Address line 1 of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />99 char max                                                                                                                                                                                                                                                                                       |
| paymentCredentials.billingAddress.**addressLine2**<br /><br />string<br /><br />Optional     | Address line 2 of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />99 char max                                                                                                                                                                                                                                                                                       |
| paymentCredentials.billingAddress.**buildingNumber**<br /><br />string<br /><br />Optional   | Building number of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–60 chars                                                                                                                                                                                                                                                                                       |
| paymentCredentials.billingAddress.**city**<br /><br />string<br /><br />Optional             | City of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                                                  |
| paymentCredentials.billingAddress.**minorSubdivision**<br /><br />string<br /><br />Optional | Minor subdivision of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                     |
| paymentCredentials.billingAddress.**postalCode**<br /><br />string<br /><br />Optional       | Postal code of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                                                                                                                                                                                           |
| paymentCredentials.billingAddress.**state**<br /><br />string<br /><br />Optional            | State of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                                                                                                                                                                                                 |
| paymentCredentials.billingAddress.**streetName**<br /><br />string<br /><br />Optional       | Street name of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–60 chars                                                                                                                                                                                                                                                                                           |
| paymentCredentials.**nameOnCard**<br /><br />string<br /><br />Required                      | Name on the card for the payment credential.<br /><br />**Allowable Values:**<br /><br />1-120 chars                                                                                                                                                                                                                                                                                                                        |
| paymentCredentials.**cardType**<br /><br />string<br /><br />Required                        | Type of card for the payment credential.<br /><br />**Allowable Values:**<br /><br />1-70 chars                                                                                                                                                                                                                                                                                                                             |
| paymentCredentials.**issuerName**<br /><br />string<br /><br />Required                      | Card issuer’s name for the payment credential.<br /><br />**Allowable Values:**<br /><br />1-150 chars                                                                                                                                                                                                                                                                                                                      |
| paymentCredentials.**currencyCode**<br /><br />string<br /><br />Optional                    | Three-digit ISO 4217 currency code for the payment credential.<br /><br />**Allowable Values:**<br /><br />Valid three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a> (Alpha-3)                                                                                                                                                                 |
| paymentCredentials.**preferredFor**<br /><br />array of strings<br /><br />Optional          | Indicates if a payment credential is a preferred Receiving, Sending, or Paying account.<br /><br />**Allowable Values:**<br /><br />`RECEIVE`, `SEND`, `PAYING`                                                                                                                                                                                                                                                             |
| profile<br /><br />object<br /><br />Required                                                | Alias Directory Service (ADS) profile information.<br /><br />**Allowable Values:**<br /><br />`firstName`, `lastName`, `contactInfo`, `dateOfBirth`, `firstNameLocal`, `lastNameLocal`, `middleName`, `middleNameLocal`, `preferredName`                                                                                                                                                                                   |
| profile.**firstName**<br /><br />string<br /><br />Required                                  | First name in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                                                             |
| profile.**lastName**<br /><br />string<br /><br />Required                                   | Last name in the Alias Directory Service (ADS) profile. Participants in the CEMEA and EU regions must only use the initial of the consumer’s last name followed by a period to create or modify a Visa Alias record.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                 |
| profile.**contactInfo**<br /><br />object<br /><br />Required                                | Contact information in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />`type`, `value`                                                                                                                                                                                                                                                                                               |
| profile.contactInfo.**type**<br /><br />string<br /><br />Required                           | Type of contact information in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />`EMAIL`, `PHONE`, `DIRECTORY_ALIASID`                                                                                                                                                                                                                                                                 |
| profile.contactInfo.**value**<br /><br />string<br /><br />Required                          | Contact information value, which is the email address or phone number.<br /><br />**Allowable Values:**<br /><br />1-320 chars                                                                                                                                                                                                                                                                                              |
| profile.**dateOfBirth**<br /><br />date<br /><br />Optional                                  | Date of birth in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />10 chars                                                                                                                                                                                                                                                                                                            |
| profile.**firstNameLocal**<br /><br />string<br /><br />Optional                             | First name in the Alias Directory Service (ADS) profile, expressed in the user’s local language.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                     |
| profile.**lastNameLocal**<br /><br />string<br /><br />Optional                              | Last name in the Alias Directory Service (ADS) profile, expressed in the user’s local language.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                      |
| profile.**middleName**<br /><br />string<br /><br />Optional                                 | Middle name in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                                                            |
| profile.**middleNameLocal**<br /><br />string<br /><br />Optional                            | Middle name in the Alias Directory Service (ADS) profile, expressed in the user’s local language.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                    |
| profile.**preferredName**<br /><br />string<br /><br />Optional                              | Preferred name in the Alias Directory Service (ADS) profile, as provided by the user.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                                |
| identification<br /><br />object<br /><br />Optional                                         | Identification of the user associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`type`, `value`, `verificationDetails`                                                                                                                                                                                                                                                                               |

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

```json JSON expandable lines wrap theme={null}
{
  "aliasType": "PHONE",
  "userToken": "21267931-7975-4b61-be7a-86915883b2b4",
  "aliasValue": "1231231234",
  "consent": {
    "presenter": "Bank A",
    "validFromDateTime": "2024-12-01T10:00:00Z",
    "intermediaries": [
      "Client A"
    ],
    "version": "1.0",
    "expiryDateTime": "2027-06-20T10:00:00Z"
  },
  "paymentCredentials": [
    {
      "cardToken": "4111111145551142",
      "billingAddress": {
        "country": "USA",
        "streetName": "12",
        "city": "San Francisco",
        "postalCode": "94105",
        "addressLine1": "1000 Market Street",
        "buildingNumber": "56",
        "addressLine2": "Suite 101",
        "state": "CA",
        "minorSubdivisionCode": "CA"
      },
      "nameOnCard": "John Doe",
      "cardType": "Visa Platinum",
      "issuerName": "Bank A",
      "currencyCode": "USD"
    }
  ],
  "profile": {
    "firstName": "Alex",
    "middleName": "Robert",
    "lastName": "Miller",
    "firstNameLocal": "Roberto",
    "middleNameLocal": "Alexander",
    "lastNameLocal": "Miller",
    "preferredName": "Miller's Shop",
    "dateOfBirth": "1980-02-01",
    "contactInfo": [
      {
        "type": "PHONE",
        "value": "1231234321"
      }
    ]
  },
  "identification": {
    "type": "PASSPORT",
    "value": "A123456",
    "verificationDetails": {
      "verifiedPhone": false,
      "authMethodReference": "EXTERNAL, SMS OTP, Email OTP",
      "authDateTime": "2025-01-01T22:52:46.000Z",
      "verifiedEmail": true,
      "creationDateTime": "2025-01-01T22:52:46.000Z"
    }
  }
}
```

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

| Fields                                                                           | Description                                                                                                                                                                                                                                                   |
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id<br /><br />string<br /><br />Returned                                         | UUID generated by Alias Directory, which identifies the Visa Alias.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                   |
| externalId<br /><br />string<br /><br />Conditionally returned                   | External ID of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                                                                                                                        |
| paymentCredentials<br /><br />array of objects<br /><br />Conditionally returned | List of payment credentials associated with the Visa Alias.<br /><br />This array is returned if the Visa Alias exists and one or more payment credentials are linked to it.<br /><br />**Allowable Values:**<br /><br />A valid array of payment credentials |

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

```json JSON lines wrap theme={null}
{
  "id": "1f4f5e10-bde6-46a7-b2aa-576550054981",
  "externalId": "21267931-7975-4b61-a-8691588sdfsdfa",
  "paymentCredentials": [
    {
      "type": "CARD",
      "id": "19e538ea-edfb-4780-915e-2f6e02959e03",
      "externalId": "1111111111111111"
    }
  ]
}
```

<h2 id="get_alias_by_id">
  Retrieve Visa Alias by Visa Alias ID
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/{aliasId}`

{/* <EndpointCard
title="Use this endpoint to retrieve a Visa Alias by its Visa Alias ID."
path="/digitalwallets/aliasdirectory/visa/aliases/{aliasId}"
method="get"
/> */}

Use this endpoint to retrieve a Visa Alias by its Visa Alias ID.

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

| Fields                                        | Description                                                                                             |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| aliasId<br /><br />string<br /><br />Required | Unique identifier of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />Existing Visa Alias ID |

<h3 id="_header_parameters_6">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                                                                     | Description                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| aliasValue<br /><br />string<br /><br />Conditionally returned                             | Visa Alias value, which can be an email, a phone number, ID of an alias directory, or a payname.<br /><br />If a phone number is used for the Visa Alias, it must follow ITU-T E.164 (2010) number structure. **NOTE:** In the E.164 format, the "+" sign is not included.<br /><br />**Allowable Values:**<br /><br />1–128 chars          |
| profile<br /><br />object<br /><br />Conditionally returned                                | Alias Directory Service (ADS) profile information.<br /><br />**Allowable Values:**<br /><br />- `firstName`<br />- `lastName`<br />- `contactInfo`<br />- `dateOfBirth`<br />- `firstNameLocal`<br />- `lastNameLocal`<br />- `middleName`<br />- `middleNameLocal`<br />- `preferredName`                                                 |
| profile.**firstName**<br /><br />string<br /><br />Returned                                | First name in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                             |
| profile.**lastName**<br /><br />string<br /><br />Returned                                 | Last name in the Alias Directory Service (ADS) profile. Participants in the CEMEA and EU regions must only use the initial of the consumer’s last name followed by a period to create or modify a Visa Alias record.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                 |
| profile.**contactInfo**<br /><br />array of objects<br /><br />Conditionally returned      | Contact information in the Alias Directory Service (ADS) profile.<br /><br />This array is returned if the Visa Alias' contact information details exist.<br /><br />**Allowable Values:**<br /><br />A valid array of contact information details                                                                                          |
| profile.**dateOfBirth**<br /><br />date<br /><br />Conditionally returned                  | Date of birth in the Alias Directory Service (ADS) profile.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />10 chars                                                                                                                                                            |
| profile.**firstNameLocal**<br /><br />string<br /><br />Conditionally returned             | First name in the Alias Directory Service (ADS) profile, expressed in the user’s local language.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                     |
| profile.**lastNameLocal**<br /><br />string<br /><br />Conditionally returned              | Last name in the Alias Directory Service (ADS) profile, expressed in the user’s local language.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                      |
| profile.**middleName**<br /><br />string<br /><br />Conditionally returned                 | Middle name in the Alias Directory Service (ADS) profile.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                            |
| profile.**middleNameLocal**<br /><br />string<br /><br />Conditionally returned            | Middle name in the Alias Directory Service (ADS) profile, expressed in the user’s local language.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                    |
| profile.**preferredName**<br /><br />string<br /><br />Conditionally returned              | Preferred name in the Alias Directory Service (ADS) profile, as provided by the user.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                |
| aliasType<br /><br />string<br /><br />Conditionally returned                              | Type of Visa Alias in the Alias Directory Service (ADS) profile. Visa supports phone and email as Visa Alias types that can be used in place of sensitive payment credentials.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />`EMAIL`, `PHONE`, `DIRECTORY_ALIASID`, `PAYNAME` |
| consent<br /><br />object<br /><br />Conditionally returned                                | Visa Alias Directory Service (ADS) consent information.<br /><br />**Allowable Values:**<br /><br />`presenter`, `validFromDateTime`, `version`, `expiryDateTime`, `intermediaries`                                                                                                                                                         |
| consent.**presenter**<br /><br />string<br /><br />Returned                                | Presenter of the Visa Alias Directory Service (ADS) consent.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                                                                                                                                                                                                        |
| consent.**validFromDateTime**<br /><br />datetime<br /><br />Returned                      | Date and time when the validity of the Visa ADS consent begins.<br /><br />**Allowable Values:**<br /><br />20 chars<br /><br />Format: YYYY-MM-DDThh:mm:ssZ                                                                                                                                                                                |
| consent.**version**<br /><br />string<br /><br />Returned                                  | Version of the Visa ADS consent.<br /><br />**Allowable Values:**<br /><br />1–9 chars                                                                                                                                                                                                                                                      |
| consent.**expiryDateTime**<br /><br />datetime<br /><br />Conditionally returned           | Date and time when the validity of the Visa ADS consent ends.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />20 chars<br /><br />Format: YYYY-MM-DDThh:mm:ssZ                                                                                                                  |
| consent.**intermediaries**<br /><br />array of strings<br /><br />Conditionally returned   | Intermediaries of the Visa ADS consent.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                                                                                                                                                                                                                             |
| createdOn<br /><br />datetime<br /><br />Conditionally returned                            | Date and time when the Visa Alias was created.<br /><br />**Allowable Values:**<br /><br />24 chars<br /><br />Format: YYYY-MM-DDThh:mm:ss.000Z                                                                                                                                                                                             |
| identification<br /><br />object<br /><br />Conditionally returned                         | Identification of the user associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`type`, `value`, `verificationDetails`                                                                                                                                                                                               |
| identification.**type**<br /><br />string<br /><br />Returned                              | Type of identification provided by the user associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`DNI`, `CE`, `PASSPORT`, `PTP`, `FFPP`, `FFAA`, `CCD`, `COI`, `PN`, `CIE`, `CPF`, `DL`, `DPI`, `NIDN`                                                                                                               |
| identification.**value**<br /><br />string<br /><br />Returned                             | Value of the identification provided by the user associated with the Visa Alias, which is used to validate the user. Passport number, for example.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                   |
| identification.**verificationDetails**<br /><br />object<br /><br />Conditionally returned | Verification details associated with the Visa Alias.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />`authDateTime`, `authMethodReference`, `creationDateTime`, `verifiedEmail`, `verifiedPhone`                                                                                |
| lastModifiedOn<br /><br />datetime<br /><br />Conditionally returned                       | Date and time when the Visa Alias was last modified.<br /><br />**Allowable Values:**<br /><br />24 chars<br /><br />Format: YYYY-MM-DDThh:mm:ss.000Z                                                                                                                                                                                       |
| status<br /><br />string<br /><br />Conditionally returned                                 | Status of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `DISABLED`, `BLOCKED`, `EXPIRED`                                                                                                                                                                                                                            |

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

```json JSON expandable lines wrap theme={null}
{
  "aliasValue": "1231231234",
  "profile": {
    "lastName": "Miller",
    "firstName": "Alex",
    "middleName": "Robert",
    "contactInfo": [
      {
        "type": "PHONE",
        "value": "1231234321"
      }
    ],
    "dateOfBirth": "1980-02-01",
    "lastNameLocal": "Miller",
    "preferredName": "Miller's Shop",
    "firstNameLocal": "Alexander",
    "middleNameLocal": "Roberto"
  },
  "aliasType": "PHONE",
  "consent": {
    "version": "1.0",
    "presenter": "Bank A",
    "expiryDateTime": "2025-06-20T10:00:00Z",
    "intermediaries": [
      "Client A"
    ],
    "validFromDateTime": "2024-12-01T10:00:00Z"
  },
  "identification": {
    "type": "PASSPORT",
    "value": "A123456",
    "verificationDetails": {
      "authDateTime": "2025-01-01T22:52:46Z",
      "verifiedEmail": true,
      "verifiedPhone": false,
      "creationDateTime": "2025-01-01T22:52:46Z",
      "authMethodReference": "EXTERNAL, SMS OTP, Email OTP"
    }
  },
  "createdOn": "2025-01-01T22:52:46.000Z",
  "lastModifiedOn": "2025-01-01T22:52:46.000Z",
  "status": "ACTIVE"
}
```

<h2 id="update_alias_by_id">
  Update Visa Alias by Visa Alias ID
</h2>

**Action:** `PUT`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/{aliasId}`

{/* <EndpointCard
title="Use this endpoint to update a Visa Alias by its Visa Alias ID."
path="/digitalwallets/aliasdirectory/visa/aliases/{aliasId}"
method="put"
/> */}

Use this endpoint to update a Visa Alias by its Visa Alias ID.

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

| Fields                                        | Description                                                                                             |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| aliasId<br /><br />string<br /><br />Required | Unique identifier of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />Existing Visa Alias ID |

<h3 id="_header_parameters_7">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                               | Description                                                                                                                                                                                                                                                                                 |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| consent<br /><br />object<br /><br />Required        | Visa Alias Directory Service (ADS) consent information.<br /><br />**Allowable Values:**<br /><br />`presenter`, `validFromDateTime`, `version`, `expiryDateTime`, `intermediaries`                                                                                                         |
| profile<br /><br />object<br /><br />Required        | Alias Directory Service (ADS) profile information.<br /><br />**Allowable Values:**<br /><br />- `firstName`<br />- `lastName`<br />- `contactInfo`<br />- `dateOfBirth`<br />- `firstNameLocal`<br />- `lastNameLocal`<br />- `middleName`<br />- `middleNameLocal`<br />- `preferredName` |
| identification<br /><br />object<br /><br />Optional | Identification of the user associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`type`, `value`, `verificationDetails`                                                                                                                                               |

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

```json JSON expandable lines wrap theme={null}
{
  "aliasValue": "1231231234",
  "aliasType": "PHONE",
  "profile": {
    "firstName": "Alex",
    "middleName": "Robert",
    "lastName": "Miller",
    "firstNameLocal": "Alexander",
    "middleNameLocal": "Roberto",
    "lastNameLocal": "Miller",
    "preferredName": "Miller's Shop",
    "dateOfBirth": "1980-02-01",
    "contactInfo": [
      {
        "type": "PHONE",
        "value": "1231234321"
      }
    ]
  },
  "consent": {
    "version": "1.0",
    "presenter": "Bank A",
    "validFromDateTime": "2024-12-01T10:00:00Z",
    "expiryDateTime": "2025-06-20T10:00:00Z",
    "intermediaries": [
      "Client A"
    ]
  },
  "identification": {
    "type": "PASSPORT",
    "value": "A123456",
    "verificationDetails": {
      "authDateTime": "2025-01-01T22:52:46Z",
      "verifiedEmail": true,
      "verifiedPhone": false,
      "creationDateTime": "2025-01-01T22:52:46Z",
      "authMethodReference": "EXTERNAL, SMS OTP, Email OTP"
    }
  },
  "createdOn": "2025-01-01T22:52:46Z",
  "lastModifiedOn": "2025-01-01T22:52:46Z",
  "status": "ACTIVE"
}
```

<h2 id="delete_alias_by_id">
  Delete Visa Alias by Visa Alias ID
</h2>

**Action:** `DELETE`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/{aliasId}`

{/* <EndpointCard
title="Use this endpoint to delete a Visa Alias by Visa Alias ID."
path="/digitalwallets/aliasdirectory/visa/aliases/{aliasId}"
method="delete"
/> */}

Use this endpoint to delete a Visa Alias by Visa Alias ID.

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

| Fields                                        | Description                                                                                             |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| aliasId<br /><br />string<br /><br />Required | Unique identifier of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />Existing Visa Alias ID |

<h3 id="_header_parameters_8">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

<h2 id="get_alias_id_by_value">
  Retrieve alias internal ID
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/aliasId`

{/* <EndpointCard
title="Use this endpoint to retrieve the internal ID associated with a Visa Alias."
path="/digitalwallets/aliasdirectory/visa/aliases/aliasId"
method="post"
/> */}

Use this endpoint to retrieve the internal ID associated with a Visa Alias.

<h3 id="_header_parameters_9">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                           | Description                                                                                                                                                                                                                                                                                                                        |
| ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| aliasValue<br /><br />string<br /><br />Optional | Visa Alias value, which can be an email, a phone number, ID of an alias directory, or a payname.<br /><br />If a phone number is used for the Visa Alias, it must follow ITU-T E.164 (2010) number structure. **NOTE:** In the E.164 format, the "+" sign is not included.<br /><br />**Allowable Values:**<br /><br />1–128 chars |

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

```json JSON lines wrap theme={null}
{
  "aliasValue": "my_alias_value_1234"
}
```

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

| Fields                                                 | Description                                                                                                                 |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------- |
| id<br /><br />string<br /><br />Conditionally returned | UUID generated by Alias Directory, which identifies the Visa Alias.<br /><br />**Allowable Values:**<br /><br />1–128 chars |

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

```json JSON lines wrap theme={null}
{
  "id": "my_alias_id_1234"
}
```

<h2 id="update_alias_status">
  Update alias status
</h2>

**Action:** `PUT`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/{aliasId}/status`

{/* <EndpointCard
title="Use this endpoint to update the status of a Visa Alias."
path="/digitalwallets/aliasdirectory/visa/aliases/{aliasId}/status"
method="put"
/> */}

Use this endpoint to update the status of a Visa Alias.

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

| Fields                                        | Description                                                                                             |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| aliasId<br /><br />string<br /><br />Required | Unique identifier of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />Existing Visa Alias ID |

<h3 id="_header_parameters_10">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                       | Description                                                                            |
| -------------------------------------------- | -------------------------------------------------------------------------------------- |
| status<br /><br />string<br /><br />Optional | Status of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />ACTIVE, DISABLED |

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

```json JSON lines wrap theme={null}
{
  "status": "ACTIVE"
}
```

<h2 id="create_card_by_alias">
  Create Visa Alias payment credential
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/{aliasId}/cards`

{/* <EndpointCard
title="Use this endpoint to create a payment credential associated with a Visa Alias."
path="/digitalwallets/aliasdirectory/visa/aliases/{aliasId}/cards"
method="post"
/> */}

Use this endpoint to create a payment credential associated with a Visa Alias.

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

| Fields                                        | Description                                                                                             |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| aliasId<br /><br />string<br /><br />Required | Unique identifier of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />Existing Visa Alias ID |

<h3 id="_header_parameters_11">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                                       | Description                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| cardToken<br /><br />string<br /><br />Required              | Unique identifier of the card token.<br /><br />**Allowable Values:**<br /><br />1–36 chars<br /><br />Existing card token                                                                                                                                        |
| billingAddress<br /><br />object<br /><br />Required         | Billing address for the payment credential.<br /><br />**Allowable Values:**<br /><br />`country`, `addressLine1`, `addressLine2`, `buildingNumber`, `city`, `minorSubdivision`, `postalCode`, `state`, `streetName`                                              |
| nameOnCard<br /><br />string<br /><br />Required             | Name on the card for the payment credential.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                                                                                                                                              |
| cardType<br /><br />string<br /><br />Required               | Type of card for the payment credential.<br /><br />**Allowable Values:**<br /><br />1–70 chars                                                                                                                                                                   |
| issuerName<br /><br />string<br /><br />Required             | Card issuer’s name for the payment credential.<br /><br />**Allowable Values:**<br /><br />1–150 chars                                                                                                                                                            |
| currencyCode<br /><br />string<br /><br />Optional           | Three-digit ISO 4217 currency code for the payment credential.<br /><br />**Allowable Values:**<br /><br />3 chars<br /><br />Valid three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="“_blank”">ISO 4217 currency code</a> (Alpha-3) |
| preferredFor<br /><br />array of strings<br /><br />Optional | Indicates if a payment credential is a preferred Receiving, Sending, or Paying account.<br /><br />**Allowable Values:**<br /><br />`RECEIVE`, `SEND`, `PAYING`                                                                                                   |

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

```json JSON expandable lines wrap theme={null}
{
  "cardToken": "4111111145551142",
  "billingAddress": {
    "country": "USA",
    "streetName": "12",
    "city": "San Francisco",
    "postalCode": "94105",
    "addressLine1": "1000 Market Street",
    "buildingNumber": "56",
    "addressLine2": "Suite 101",
    "state": "CA",
    "minorSubdivisionCode": "CA"
  },
  "nameOnCard": "John Doe",
  "cardType": "Visa Platinum",
  "issuerName": "Bank A",
  "currencyCode": "USD",
  "preferredFor": [
    "RECEIVE",
    "SEND"
  ]
}
```

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

| Fields                                                         | Description                                                                                                                                   |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| id<br /><br />string<br /><br />Returned                       | UUID generated by Alias Directory, a utility used to identify the payment credential.<br /><br />**Allowable Values:**<br /><br />36 char max |
| type<br /><br />string<br /><br />Returned                     | Indicates the type of payment credential.<br /><br />**Allowable Values:**<br /><br />`CARD`, `BANK`                                          |
| externalId<br /><br />string<br /><br />Conditionally returned | External ID of the payment credential, which corresponds to Marqeta’s card token.<br /><br />**Allowable Values:**<br /><br />1–100 chars     |

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

```json JSON lines wrap theme={null}
{
  "id": "a44c9553-e687-4f3c-b7e7-a4245d9f238e",
  "type": "CARD",
  "externalId": "63421837-d597-4f0f-89e4-930c1a7b9e85"
}
```

<h2 id="get_cards_by_alias">
  Retrieve a Visa Alias payment credentials
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/{aliasId}/cards`

{/* <EndpointCard
title="Use this endpoint to retrieve a list of payment credentials associated with a Visa Alias."
path="/digitalwallets/aliasdirectory/visa/aliases/{aliasId}/cards"
method="get"
/> */}

Use this endpoint to retrieve a list of payment credentials associated with a Visa Alias.

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

| Fields                                        | Description                                                                                             |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| aliasId<br /><br />string<br /><br />Required | Unique identifier of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />Existing Visa Alias ID |

<h3 id="_header_parameters_12">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                                                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| GetPaymentCredentialsResponse<br /><br />array of objects<br /><br />Conditionally returned                              | Response containing the payment credentials associated with a Visa Alias.<br /><br />This array is returned if the Visa Alias exists and one or more payment credentials are linked to it.<br /><br />**Allowable Values:**<br /><br />A valid array of payment credentials                                                                                                                                              |
| GetPaymentCredentialsResponse\[].**accountNumber**<br /><br />string<br /><br />Returned                                 | Account number of the payment credential.<br /><br />**Allowable Values:**<br /><br />12–19 chars                                                                                                                                                                                                                                                                                                                        |
| GetPaymentCredentialsResponse\[].**billingAddress**<br /><br />object<br /><br />Returned                                | Billing address for the payment credential.<br /><br />**Allowable Values:**<br /><br />`country`, `addressLine1`, `addressLine2`, `buildingNumber`, `city`, `minorSubdivision`, `postalCode`, `state`, `streetName`                                                                                                                                                                                                     |
| GetPaymentCredentialsResponse\[].billingAddress.**country**<br /><br />string<br /><br />Returned                        | Country of the billing address associated with the payment credential, expressed as an ISO 3166 code. For example, the numeric code for the United States is `840` and the alpha-3 code is `USA`.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO 3166 country codes</a>.<br /><br />**Allowable Values:**<br /><br />3 chars |
| GetPaymentCredentialsResponse\[].billingAddress.**addressLine1**<br /><br />string<br /><br />Conditionally returned     | Address line 1 of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />99 char max                                                                                                                                                                                                                                                                                    |
| GetPaymentCredentialsResponse\[].billingAddress.**addressLine2**<br /><br />string<br /><br />Conditionally returned     | Address line 2 of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />99 char max                                                                                                                                                                                                                                                                                    |
| GetPaymentCredentialsResponse\[].billingAddress.**buildingNumber**<br /><br />string<br /><br />Conditionally returned   | Building number of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–60 chars                                                                                                                                                                                                                                                                                    |
| GetPaymentCredentialsResponse\[].billingAddress.**city**<br /><br />string<br /><br />Conditionally returned             | City of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                                               |
| GetPaymentCredentialsResponse\[].billingAddress.**minorSubdivision**<br /><br />string<br /><br />Conditionally returned | Minor subdivision of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                  |
| GetPaymentCredentialsResponse\[].billingAddress.**postalCode**<br /><br />string<br /><br />Conditionally returned       | Postal code of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                                                                                                                                                                                        |
| GetPaymentCredentialsResponse\[].billingAddress.**state**<br /><br />string<br /><br />Conditionally returned            | State of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                                                                                                                                                                                              |
| GetPaymentCredentialsResponse\[].billingAddress.**streetName**<br /><br />string<br /><br />Conditionally returned       | Street name of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–60 chars                                                                                                                                                                                                                                                                                        |
| GetPaymentCredentialsResponse\[].**type**<br /><br />string<br /><br />Returned                                          | Type of payment credential associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`CARD`                                                                                                                                                                                                                                                                                                            |
| GetPaymentCredentialsResponse\[].**accountNumberType**<br /><br />string<br /><br />Conditionally returned               | Type of account number associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />`PAN`, `NIUBIZ`, `TOKEN`                                                                                                                                                                                                                                                                                      |
| GetPaymentCredentialsResponse\[].**cardType**<br /><br />string<br /><br />Conditionally returned                        | Type of card associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–70 chars                                                                                                                                                                                                                                                                                                              |
| GetPaymentCredentialsResponse\[].**createdOn**<br /><br />datetime<br /><br />Conditionally returned                     | Date and time when the payment credential was created.<br /><br />**Allowable Values:**<br /><br />24 chars<br /><br />Format: YYYY-MM-DDTHH:MM:SS.000Z                                                                                                                                                                                                                                                                  |
| GetPaymentCredentialsResponse\[].**currencyCode**<br /><br />string<br /><br />Conditionally returned                    | Three-digit ISO 4217 currency code for the payment credential.<br /><br />**Allowable Values:**<br /><br />3 chars<br /><br />Valid three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="“_blank”">ISO 4217 currency code</a> (Alpha-3)                                                                                                                                                        |
| GetPaymentCredentialsResponse\[].**expirationDate**<br /><br />string<br /><br />Conditionally returned                  | Expiration date of the card.<br /><br />**Allowable Values:**<br /><br />7 chars<br /><br />Format: YYYY-MM                                                                                                                                                                                                                                                                                                              |
| GetPaymentCredentialsResponse\[].**externalId**<br /><br />string<br /><br />Conditionally returned                      | External ID of the payment credential, which corresponds to Marqeta’s card token.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                                                                                                                                                                                                                                |
| GetPaymentCredentialsResponse\[].**id**<br /><br />string<br /><br />Conditionally returned                              | Unique identifier of the payment credential generated by Alias Directory.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                         |
| GetPaymentCredentialsResponse\[].**issuerName**<br /><br />string<br /><br />Conditionally returned                      | Name of the issuer of the payment credential.<br /><br />**Allowable Values:**<br /><br />1–150 chars                                                                                                                                                                                                                                                                                                                    |
| GetPaymentCredentialsResponse\[].**lastFourDigits**<br /><br />string<br /><br />Conditionally returned                  | Last four digits of the card number.<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                                                                                                                                                 |
| GetPaymentCredentialsResponse\[].**lastUpdatedOn**<br /><br />datetime<br /><br />Conditionally returned                 | Date and time when the payment credential was last updated.<br /><br />**Allowable Values:**<br /><br />24 chars<br /><br />Format: YYYY-MM-DDTHH:MM:SS.000Z                                                                                                                                                                                                                                                             |
| GetPaymentCredentialsResponse\[].**nameOnCard**<br /><br />string<br /><br />Conditionally returned                      | Name on the card associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                                                                                                                                                                                                                                                                                         |
| GetPaymentCredentialsResponse\[].**preferredFor**<br /><br />array of objects<br /><br />Conditionally returned          | Indicates if a payment credential is a preferred Receiving, Sending, or Paying account.<br /><br />This array is returned if you passed the `preferredFor` field when creating a Visa Alias or when adding a new payment credential to an existing Visa Alias.<br /><br />**Allowable Values:**<br /><br />A valid array of `preferredFor` objects                                                                       |
| GetPaymentCredentialsResponse\[].preferredFor\[].**type**<br /><br />string<br /><br />Returned                          | Type of operation associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />`RECEIVE`, `SEND`, `PAY`                                                                                                                                                                                                                                                                                           |
| GetPaymentCredentialsResponse\[].preferredFor\[].**date**<br /><br />date<br /><br />Conditionally returned              | Date of the Receiving, Sending, or Paying operation.<br /><br />**Allowable Values:**<br /><br />10 chars<br /><br />Format: YYYY-MM-DD                                                                                                                                                                                                                                                                                  |
| GetPaymentCredentialsResponse\[].**status**<br /><br />string<br /><br />Conditionally returned                          | Status of the payment credential associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `BLOCKED`, `DISABLED`, `EXPIRED`                                                                                                                                                                                                                                                                  |

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

```json JSON expandable lines wrap theme={null}
{
  "accountNumber": 4111111145551142,
  "billingAddress": {
    "city": "San Francisco",
    "state": "CA",
    "country": "USA",
    "postalCode": 94105,
    "streetName": 12,
    "addressLine1": "1000 Market Street",
    "addressLine2": "Suite 101",
    "buildingNumber": 56,
    "minorSubdivisionCode": "CA"
  },
  "type": "CARD",
  "accountNumberType": "TOKEN",
  "cardType": "Visa Platinum",
  "createdOn": "2025-06-21T13:00:00Z",
  "currencyCode": "USD",
  "expirationDate": "2026-01",
  "externalId": "63421837-d597-4f0f-89e4-930c1a7b9e85",
  "id": "a44c9553-e687-4f3c-b7e7-a4245d9f238e",
  "issuerName": "Bank A",
  "lastFourDigits": 1142,
  "lastUpdatedOn": "2025-06-22T15:12:00Z",
  "nameOnCard": "Alex Miller",
  "preferredFor": [
    {
      "date": "2025-01-01",
      "type": "RECEIVE"
    }
  ],
  "status": "ACTIVE"
}
```

<h2 id="get_card_by_card_token">
  Retrieve payment credential
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/cards/{paymentCredentialId}`

{/* <EndpointCard
title="Use this endpoint to retrieve an existing payment credential."
path="/digitalwallets/aliasdirectory/visa/cards/{paymentCredentialId}"
method="get"
/> */}

Use this endpoint to retrieve an existing payment credential.

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

| Fields                                                    | Description                                                                                                                     |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| paymentCredentialId<br /><br />string<br /><br />Required | Unique identifier of an existing payment credential.<br /><br />**Allowable Values:**<br /><br />Existing payment credential ID |

<h3 id="_header_parameters_13">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                                                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| GetPaymentCredentialsResponse<br /><br />array of objects<br /><br />Conditionally returned                              | Response containing the payment credentials associated with a Visa Alias.<br /><br />This array is returned if the Visa Alias exists and one or more payment credentials are linked to it.<br /><br />**Allowable Values:**<br /><br />A valid array of payment credentials                                                                                                                                              |
| GetPaymentCredentialsResponse\[].**accountNumber**<br /><br />string<br /><br />Returned                                 | Account number of the payment credential.<br /><br />**Allowable Values:**<br /><br />12–19 chars                                                                                                                                                                                                                                                                                                                        |
| GetPaymentCredentialsResponse\[].**billingAddress**<br /><br />object<br /><br />Returned                                | Billing address for the payment credential.<br /><br />**Allowable Values:**<br /><br />`country`, `addressLine1`, `addressLine2`, `buildingNumber`, `city`, `minorSubdivision`, `postalCode`, `state`, `streetName`                                                                                                                                                                                                     |
| GetPaymentCredentialsResponse\[].billingAddress.**country**<br /><br />string<br /><br />Returned                        | Country of the billing address associated with the payment credential, expressed as an ISO 3166 code. For example, the numeric code for the United States is `840` and the alpha-3 code is `USA`.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO 3166 country codes</a>.<br /><br />**Allowable Values:**<br /><br />3 chars |
| GetPaymentCredentialsResponse\[].billingAddress.**addressLine1**<br /><br />string<br /><br />Conditionally returned     | Address line 1 of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />99 char max                                                                                                                                                                                                                                                                                    |
| GetPaymentCredentialsResponse\[].billingAddress.**addressLine2**<br /><br />string<br /><br />Conditionally returned     | Address line 2 of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />99 char max                                                                                                                                                                                                                                                                                    |
| GetPaymentCredentialsResponse\[].billingAddress.**buildingNumber**<br /><br />string<br /><br />Conditionally returned   | Building number of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–60 chars                                                                                                                                                                                                                                                                                    |
| GetPaymentCredentialsResponse\[].billingAddress.**city**<br /><br />string<br /><br />Conditionally returned             | City of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                                               |
| GetPaymentCredentialsResponse\[].billingAddress.**minorSubdivision**<br /><br />string<br /><br />Conditionally returned | Minor subdivision of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                  |
| GetPaymentCredentialsResponse\[].billingAddress.**postalCode**<br /><br />string<br /><br />Conditionally returned       | Postal code of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                                                                                                                                                                                        |
| GetPaymentCredentialsResponse\[].billingAddress.**state**<br /><br />string<br /><br />Conditionally returned            | State of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                                                                                                                                                                                              |
| GetPaymentCredentialsResponse\[].billingAddress.**streetName**<br /><br />string<br /><br />Conditionally returned       | Street name of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–60 chars                                                                                                                                                                                                                                                                                        |
| GetPaymentCredentialsResponse\[].**type**<br /><br />string<br /><br />Returned                                          | Type of payment credential associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`CARD`                                                                                                                                                                                                                                                                                                            |
| GetPaymentCredentialsResponse\[].**accountNumberType**<br /><br />string<br /><br />Conditionally returned               | Type of account number associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />`PAN`, `NIUBIZ`, `TOKEN`                                                                                                                                                                                                                                                                                      |
| GetPaymentCredentialsResponse\[].**cardType**<br /><br />string<br /><br />Conditionally returned                        | Type of card associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–70 chars                                                                                                                                                                                                                                                                                                              |
| GetPaymentCredentialsResponse\[].**createdOn**<br /><br />datetime<br /><br />Conditionally returned                     | Date and time when the payment credential was created.<br /><br />**Allowable Values:**<br /><br />24 chars<br /><br />Format: YYYY-MM-DDTHH:MM:SS.000Z                                                                                                                                                                                                                                                                  |
| GetPaymentCredentialsResponse\[].**currencyCode**<br /><br />string<br /><br />Conditionally returned                    | Three-digit ISO 4217 currency code for the payment credential.<br /><br />**Allowable Values:**<br /><br />3 chars<br /><br />Valid three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="“_blank”">ISO 4217 currency code</a> (Alpha-3)                                                                                                                                                        |
| GetPaymentCredentialsResponse\[].**expirationDate**<br /><br />string<br /><br />Conditionally returned                  | Expiration date of the card.<br /><br />**Allowable Values:**<br /><br />7 chars<br /><br />Format: YYYY-MM                                                                                                                                                                                                                                                                                                              |
| GetPaymentCredentialsResponse\[].**externalId**<br /><br />string<br /><br />Conditionally returned                      | External ID of the payment credential, which corresponds to Marqeta’s card token.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                                                                                                                                                                                                                                |
| GetPaymentCredentialsResponse\[].**id**<br /><br />string<br /><br />Conditionally returned                              | Unique identifier of the payment credential generated by Alias Directory.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                         |
| GetPaymentCredentialsResponse\[].**issuerName**<br /><br />string<br /><br />Conditionally returned                      | Name of the issuer of the payment credential.<br /><br />**Allowable Values:**<br /><br />1–150 chars                                                                                                                                                                                                                                                                                                                    |
| GetPaymentCredentialsResponse\[].**lastFourDigits**<br /><br />string<br /><br />Conditionally returned                  | Last four digits of the card number.<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                                                                                                                                                 |
| GetPaymentCredentialsResponse\[].**lastUpdatedOn**<br /><br />datetime<br /><br />Conditionally returned                 | Date and time when the payment credential was last updated.<br /><br />**Allowable Values:**<br /><br />24 chars<br /><br />Format: YYYY-MM-DDTHH:MM:SS.000Z                                                                                                                                                                                                                                                             |
| GetPaymentCredentialsResponse\[].**nameOnCard**<br /><br />string<br /><br />Conditionally returned                      | Name on the card associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                                                                                                                                                                                                                                                                                         |
| GetPaymentCredentialsResponse\[].**preferredFor**<br /><br />array of objects<br /><br />Conditionally returned          | Indicates if a payment credential is a preferred Receiving, Sending, or Paying account.<br /><br />This array is returned if you passed the `preferredFor` field when creating a Visa Alias or when adding a new payment credential to an existing Visa Alias.<br /><br />**Allowable Values:**<br /><br />A valid array of `preferredFor` objects                                                                       |
| GetPaymentCredentialsResponse\[].preferredFor\[].**type**<br /><br />string<br /><br />Returned                          | Type of operation associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />`RECEIVE`, `SEND`, `PAY`                                                                                                                                                                                                                                                                                           |
| GetPaymentCredentialsResponse\[].preferredFor\[].**date**<br /><br />date<br /><br />Conditionally returned              | Date of the Receiving, Sending, or Paying operation.<br /><br />**Allowable Values:**<br /><br />10 chars<br /><br />Format: YYYY-MM-DD                                                                                                                                                                                                                                                                                  |
| GetPaymentCredentialsResponse\[].**status**<br /><br />string<br /><br />Conditionally returned                          | Status of the payment credential associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `BLOCKED`, `DISABLED`, `EXPIRED`                                                                                                                                                                                                                                                                  |

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

```json JSON expandable lines wrap theme={null}
{
  "accountNumber": "4111111145551142",
  "billingAddress": {
    "city": "San Francisco",
    "state": "CA",
    "country": "USA",
    "postalCode": "94105",
    "streetName": 12,
    "addressLine1": "1000 Market Street",
    "addressLine2": "Suite 101",
    "buildingNumber": 56,
    "minorSubdivisionCode": "CA"
  },
  "type": "CARD",
  "accountNumberType": "TOKEN",
  "cardType": "Visa Platinum",
  "createdOn": "2025-06-21T13:00:00.645Z",
  "currencyCode": "USD",
  "expirationDate": "2026-01",
  "externalId": "63421837-d597-4f0f-89e4-930c1a7b9e85",
  "id": "a44c9553-e687-4f3c-b7e7-a4245d9f238e",
  "issuerName": "Bank A",
  "lastFourDigits": 1142,
  "lastUpdatedOn": "2025-06-22T15:12:00.322Z",
  "nameOnCard": "Alex Miller",
  "preferredFor": [
    {
      "date": "2025-01-01",
      "type": "RECEIVE"
    }
  ],
  "status": "ACTIVE"
}
```

<h2 id="update_payment_credential">
  Update payment credential
</h2>

**Action:** `PUT`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/cards/{paymentCredentialId}`

{/* <EndpointCard
title="Use this endpoint to update an existing payment credential."
path="/digitalwallets/aliasdirectory/visa/cards/{paymentCredentialId}"
method="put"
/> */}

Use this endpoint to update an existing payment credential.

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

| Fields                                                    | Description                                                                                                                     |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| paymentCredentialId<br /><br />string<br /><br />Required | Unique identifier of an existing payment credential.<br /><br />**Allowable Values:**<br /><br />Existing payment credential ID |

<h3 id="_header_parameters_14">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                                       | Description                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| cardToken<br /><br />string<br /><br />Required              | Unique identifier of the card token.<br /><br />**Allowable Values:**<br /><br />1–36 chars<br /><br />Existing card token                                                                                                                                        |
| billingAddress<br /><br />object<br /><br />Required         | Billing address for the payment credential.<br /><br />**Allowable Values:**<br /><br />`country`, `addressLine1`, `addressLine2`, `buildingNumber`, `city`, `minorSubdivision`, `postalCode`, `state`, `streetName`                                              |
| nameOnCard<br /><br />string<br /><br />Required             | Name on the card for the payment credential.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                                                                                                                                              |
| cardType<br /><br />string<br /><br />Required               | Type of card for the payment credential.<br /><br />**Allowable Values:**<br /><br />1–70 chars                                                                                                                                                                   |
| issuerName<br /><br />string<br /><br />Required             | Card issuer’s name for the payment credential.<br /><br />**Allowable Values:**<br /><br />1–150 chars                                                                                                                                                            |
| currencyCode<br /><br />string<br /><br />Optional           | Three-digit ISO 4217 currency code for the payment credential.<br /><br />**Allowable Values:**<br /><br />3 chars<br /><br />Valid three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="“_blank”">ISO 4217 currency code</a> (Alpha-3) |
| preferredFor<br /><br />array of strings<br /><br />Optional | Indicates if a payment credential is a preferred Receiving, Sending, or Paying account.<br /><br />**Allowable Values:**<br /><br />`RECEIVE`, `SEND`, `PAYING`                                                                                                   |

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

```json JSON expandable lines wrap theme={null}
{
  "cardToken": "4111111145551142",
  "billingAddress": {
    "country": "USA",
    "streetName": "12",
    "city": "San Francisco",
    "postalCode": "94105",
    "addressLine1": "1000 Market Street",
    "buildingNumber": "56",
    "addressLine2": "Suite 101",
    "state": "CA",
    "minorSubdivisionCode": "CA"
  },
  "nameOnCard": "John Doe",
  "cardType": "Visa Platinum",
  "issuerName": "Bank A",
  "currencyCode": "USD",
  "preferredFor": [
    "RECEIVE",
    "SEND"
  ]
}
```

<h2 id="delete_payment_credential">
  Delete an existing payment credential
</h2>

**Action:** `DELETE`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/cards/{paymentCredentialId}`

{/* <EndpointCard
title="Use this endpoint to delete an existing payment credential."
path="/digitalwallets/aliasdirectory/visa/cards/{paymentCredentialId}"
method="delete"
/> */}

Use this endpoint to delete an existing payment credential.

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

| Fields                                                    | Description                                                                                                                     |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| paymentCredentialId<br /><br />string<br /><br />Required | Unique identifier of an existing payment credential.<br /><br />**Allowable Values:**<br /><br />Existing payment credential ID |

<h3 id="_header_parameters_15">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

<h2 id="create_additional_aliases">
  Create an additional Visa Alias
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/{aliasId}/additionalAlias`

{/* <EndpointCard
title="Use this endpoint to create additional Visa Aliases associated with an existing main Visa Alias."
path="/digitalwallets/aliasdirectory/visa/aliases/{aliasId}/additionalAlias"
method="post"
/> */}

Use this endpoint to create additional Visa Aliases associated with an existing main Visa Alias.

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

| Fields                                        | Description                                                                                             |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| aliasId<br /><br />string<br /><br />Required | Unique identifier of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />Existing Visa Alias ID |

<h3 id="_header_parameters_16">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                      | Description                                                                                                                      |
| ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| type<br /><br />string<br /><br />Required  | Type of the additional Visa Alias.<br /><br />**Allowable Values:**<br /><br />`EMAIL`, `PHONE`                                  |
| value<br /><br />string<br /><br />Required | Unique identifier that represents the customer in the payment ecosystem.<br /><br />**Allowable Values:**<br /><br />1–128 chars |

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

```json JSON lines wrap theme={null}
{
  "type": "EMAIL",
  "value": "1231231234"
}
```

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

| Fields                                   | Description                                                                                                                |
| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| id<br /><br />string<br /><br />Returned | UUID generated by Alias Directory, which identifies the Visa Alias.<br /><br />**Allowable Values:**<br /><br />1–36 chars |

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

```json JSON lines wrap theme={null}
{
  "id": "my_alias_id_1234"
}
```

<h2 id="delete_additional_alias_by_id">
  Delete an additional Visa Alias
</h2>

**Action:** `DELETE`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/additionalAliases/{additionalAliasId}`

{/* <EndpointCard
title="Use this endpoint to delete an additional Visa Alias by its Visa Alias ID."
path="/digitalwallets/aliasdirectory/visa/additionalAliases/{additionalAliasId}"
method="delete"
/> */}

Use this endpoint to delete an additional Visa Alias by its Visa Alias ID.

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

| Fields                                                  | Description                                                                                                                     |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| additionalAliasId<br /><br />string<br /><br />Required | Unique identifier of the additional Visa Aliases.<br /><br />**Allowable Values:**<br /><br />Existing additional Visa Alias ID |

<h3 id="_header_parameters_17">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

<h2 id="get_alias_by_external_id">
  Retrieve Visa Alias by external ID
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/getByExternalId`

{/* <EndpointCard
title="Use this endpoint to retrieve a Visa Alias by its external ID."
path="/digitalwallets/aliasdirectory/visa/aliases/getByExternalId"
method="post"
/> */}

Use this endpoint to retrieve a Visa Alias by its external ID.

<h3 id="_header_parameters_18">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                           | Description                                                                                                                                                                                                                                              |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| externalId<br /><br />string<br /><br />Required | External ID of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                                                                                                                   |
| type<br /><br />string<br /><br />Required       | Type of Visa Alias in the Alias Directory Service (ADS) profile. Visa supports phone and email as Visa Alias types that can be used in place of sensitive payment credentials.<br /><br />**Allowable Values:**<br /><br />`ALIAS`, `PAYMENT_CREDENTIAL` |

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

```json JSON lines wrap theme={null}
{
  "externalId": "21267931-7975-4b61-be7a-86915883b2b4",
  "type": "ALIAS"
}
```

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

| Fields                                                                        | Description                                                                                                                          |
| ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| associatedIds<br /><br />array of objects<br /><br />Returned                 | List of associated Visa Alias IDs.<br /><br />**Allowable Values:**<br /><br />`associatedIds`                                       |
| associatedIds\[].**id**<br /><br />string<br /><br />Conditionally returned   | ID of the payment credential associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />1–64 chars                  |
| associatedIds\[].**type**<br /><br />string<br /><br />Conditionally returned | Type of payment credential associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`ALIAS`, `PAYMENT_CREDENTIAL` |
| id<br /><br />string<br /><br />Conditionally returned                        | UUID generated by Alias Directory, which identifies the Visa Alias.<br /><br />**Allowable Values:**<br /><br />1–36 chars           |

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

```json JSON lines wrap theme={null}
{
  "associatedIds": [
    {
      "id": "a44c9553-e687-4f3c-b7e7-a4245d9f238e",
      "type": "PAYMENT_CREDENTIAL"
    }
  ],
  "id": "e336c8c8-2945-4be3-af3e-951ec2d01219"
}
```

<h2 id="create_report">
  Create a report request
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/reports`

{/* <EndpointCard
title="Use this endpoint to create a new report request."
path="/digitalwallets/aliasdirectory/visa/reports"
method="post"
/> */}

Use this endpoint to create a new report request.

<h3 id="_header_parameters_19">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                           | Description                                                                                                                                                                                        |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| filters<br /><br />object<br /><br />Required    | Filters for the report.<br /><br />**Allowable Values:**<br /><br />`aliasStatuses`, `aliasType`, `billingEventTypes`, `endDate`, `startDate`                                                      |
| format<br /><br />string<br /><br />Required     | The format of the report<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                    |
| reportType<br /><br />string<br /><br />Required | Indicates the type of report.<br /><br />**Allowable Values:**<br /><br />`DIRECTORY_STATUS`, `PLATFORM_REQUESTS`, `RESOLUTION_RECONCILIATION`, `DIRECTORY_ACTIVITY`, `PAYMENT_CREDENTIAL_DETAILS` |

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

```json JSON lines wrap theme={null}
{
  "format": "JSON",
  "filters": {
    "endDate": "2025-01-01T22:52:46Z",
    "aliasType": "PHONE",
    "startDate": "2025-01-01T22:52:46Z",
    "aliasStatuses": [
      "ACTIVE"
    ],
    "billingEventTypes": [
      "createAlias"
    ]
  },
  "reportType": "PLATFORM_REQUESTS"
}
```

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

| Fields                                                       | Description                                                                              |
| ------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |
| reportId<br /><br />string<br /><br />Conditionally returned | Unique identifier of the report.<br /><br />**Allowable Values:**<br /><br />36 char max |

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

```json JSON lines wrap theme={null}
{
  "reportId": "my_report_id_1234"
}
```

<h2 id="get_report_by_id">
  Retrieve report status by report ID
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/reports/{reportId}`

{/* <EndpointCard
title="Use this endpoint to retrieve the status of a report by its report ID."
path="/digitalwallets/aliasdirectory/visa/reports/{reportId}"
method="get"
/> */}

Use this endpoint to retrieve the status of a report by its report ID.

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

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

<h3 id="_header_parameters_20">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                                                   | Description                                                                                                                                                                            |
| ------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| creationDateTime<br /><br />datetime<br /><br />Conditionally returned   | The timestamp when the report was created in ISO UTC format YYYY-MM-DDThh:mm:ss.000Z<br /><br />**Allowable Values:**<br /><br />`YYYY-MM-DDThh:mm:ss.000Z`                            |
| dataClassification<br /><br />string<br /><br />Conditionally returned   | Data classification of the report.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                              |
| expirationDateTime<br /><br />datetime<br /><br />Conditionally returned | The timestamp after which the report won’t be available for download in ISO UTC format YYYY-MM-DDThh:mm:ss.000Z<br /><br />**Allowable Values:**<br /><br />`YYYY-MM-DDThh:mm:ss.000Z` |
| fileIds<br /><br />array of strings<br /><br />Conditionally returned    | UUIDs of the files generated by the report.<br /><br />**Allowable Values:**                                                                                                           |
| format<br /><br />string<br /><br />Conditionally returned               | Format of the report.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                           |
| id<br /><br />string<br /><br />Conditionally returned                   | UUID generated by Alias Directory, which identifies the report.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                 |
| reportType<br /><br />string<br /><br />Conditionally returned           | Indicates the type of report.<br /><br />**Allowable Values:**<br /><br />`PLATFORM_REQUESTS`, `DIRECTORY_STATUS`, `PAYMENT_CREDENTIAL_DETAILS`                                        |
| status<br /><br />string<br /><br />Conditionally returned               | Indicates the status of the report.<br /><br />**Allowable Values:**<br /><br />`CREATED`, `IN_PROGRESS`, `COMPLETED`                                                                  |

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

```json JSON lines wrap theme={null}
{
  "id": "a77ef5c5-c972-467b-9a11-ac550183b495",
  "format": "JSON",
  "status": "COMPLETED",
  "fileIds": [
    "000001-a96032e1-0ad9-4937-9320-a2a28b139ea5, 000002-a96032e1-0ad9-4937-9320-a2a28b139ea5"
  ],
  "reportType": "PLATFORM_REQUESTS",
  "creationDateTime": "2025-01-01T22:52:46Z",
  "dataClassification": "VERY_IMPORTANT",
  "expirationDateTime": "2025-01-01T22:52:46Z"
}
```

<h2 id="get_file_by_report_and_file_id">
  Retrieve file by file ID and report ID
</h2>

**Action:** `GET`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/reports/{reportId}/file/{fileId}`

{/* <EndpointCard
title="Use this endpoint to retrieve a file by its file ID and report ID."
path="/digitalwallets/aliasdirectory/visa/reports/{reportId}/file/{fileId}"
method="get"
/> */}

Use this endpoint to retrieve a file by its file ID and report ID.

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

| Fields                                         | Description                                                                                     |
| ---------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| reportId<br /><br />string<br /><br />Required | Unique identifier of the report.<br /><br />**Allowable Values:**<br /><br />Existing report ID |
| fileId<br /><br />string<br /><br />Required   | Unique identifier of the file.<br /><br />**Allowable Values:**<br /><br />Existing file ID     |

<h3 id="_header_parameters_21">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |

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

| Fields                                                                | Description                                                                                 |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| programId<br /><br />string<br /><br />Conditionally returned         | ID associated with the program.<br /><br />**Allowable Values:**<br /><br />255 char max    |
| statusCode<br /><br />integer<br /><br />Conditionally returned       | Status code of the operation.<br /><br />**Allowable Values:**<br /><br />Any integer       |
| operationType<br /><br />string<br /><br />Conditionally returned     | Indicates the type of operation.<br /><br />**Allowable Values:**<br /><br />255 char max   |
| operationsCount<br /><br />integer<br /><br />Conditionally returned  | Number of operations in the report.<br /><br />**Allowable Values:**<br /><br />Any integer |
| originatorActorId<br /><br />string<br /><br />Conditionally returned | Indicates the Originator Actor ID.<br /><br />**Allowable Values:**<br /><br />255 char max |

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

```json JSON lines wrap theme={null}
[
  {
    "programId": "baf85624-3cf6-4c52-b91f-b8f3493e7330",
    "statusCode": 200,
    "operationType": "resolveAlias",
    "operationsCount": 18,
    "originatorActorId": "012af73f-44d8-4c9c-bbee-628b07faae1c"
  }
]
```

<h2 id="inquire_alias_availability">
  Check for Visa Alias
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/inquiry`

{/* <EndpointCard
title="Use this endpoint to check for available Visa Aliases for alias resolution. One or more Visa Aliases may be available."
path="/digitalwallets/aliasdirectory/visa/aliases/inquiry"
method="post"
/> */}

Use this endpoint to check for available Visa Aliases for alias resolution. One or more Visa Aliases may be available.

<h3 id="_header_parameters_22">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |

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

| Fields                                                   | Description                                                                                                                                                                                 |
| -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| aliases<br /><br />array of strings<br /><br />Required  | List of Visa Aliases to check for availability.<br /><br />**Allowable Values:**<br /><br />1–128 chars                                                                                     |
| filters<br /><br />array of objects<br /><br />Optional  | List of filters to apply in the request to check Visa Alias availability.<br /><br />**Allowable Values:**<br /><br />1-3 items                                                             |
| transactionDetails<br /><br />object<br /><br />Optional | Details of the transaction associated with the Alias.<br /><br />**Allowable Values:**<br /><br />`currencyCode`                                                                            |
| userDetails<br /><br />object<br /><br />Optional        | Details of the user requesting the Visa Alias information. The information must not contain personal identifiable information (PII).<br /><br />**Allowable Values:**<br /><br />`userName` |

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

```json JSON expandable lines wrap theme={null}
{
  "aliases": [
    "123456"
  ],
  "filters": [
    {
      "field": "DIRECTORY_NAME",
      "value": [
        "DIRECTORY_A",
        "DIRECTORY_B",
        "DIRECTORY_C"
      ]
    }
  ],
  "transactionDetails": {
    "currencyCode": "USD"
  },
  "userDetails": {
    "userName": "johndoe313"
  }
}
```

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

| Fields                                                                                                      | Description                                                                                                                                                                                                                                                                                                                       |
| ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| summary<br /><br />object<br /><br />Required                                                               | Summary of available Visa Aliases<br /><br />**Allowable Values:**<br /><br />`aliasesFound`, `aliasesNotFound`, `aliasesRepeated`, `aliasesTotal`                                                                                                                                                                                |
| summary.**aliasesFound**<br /><br />integer<br /><br />Required                                             | Number of available Visa Aliases found.<br /><br />**Allowable Values:**<br /><br />0-900                                                                                                                                                                                                                                         |
| summary.**aliasesNotFound**<br /><br />integer<br /><br />Required                                          | Number of Visa Aliases not found.<br /><br />**Allowable Values:**<br /><br />0-900                                                                                                                                                                                                                                               |
| summary.**aliasesRepeated**<br /><br />integer<br /><br />Required                                          | Number of duplicate Visa Aliases.<br /><br />**Allowable Values:**<br /><br />0-900                                                                                                                                                                                                                                               |
| summary.**aliasesTotal**<br /><br />integer<br /><br />Required                                             | Total number of available Visa Aliases.<br /><br />**Allowable Values:**<br /><br />0-900                                                                                                                                                                                                                                         |
| details<br /><br />array of objects<br /><br />Optional                                                     | Information associated with available Visa Aliases.<br /><br />**Allowable Values:**<br /><br />`aliasType`, `aliasValue`, `directories`, `directoriesNames`                                                                                                                                                                      |
| details.**aliasType**<br /><br />string<br /><br />Required                                                 | Type of Visa Alias in the Alias Directory Service (ADS) profile. Visa supports phone and email as Visa Alias types that can be used in place of sensitive payment credentials details.<br /><br />**Allowable Values:**<br /><br />`EMAIL`, `PHONE`, `DIRECTORY_ALIASID`, `PAYNAME`                                               |
| details.**aliasValue**<br /><br />string<br /><br />Required                                                | Visa Alias value, which can be an email, a phone number, ID of an alias directory, or a payname.<br /><br />If a phone number is used for the Visa Alias, it must follow ITU-T E.164 (2010) number structure. **NOTE:** In the E.164 format, the "+" sign is not included.<br /><br />**Allowable Values:**<br /><br />1-128 char |
| details.**directories**<br /><br />array of objects<br /><br />Required                                     | List of directories associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`directoryName`, `entities`                                                                                                                                                                                                       |
| details.directories.**directoryName**<br /><br />string<br /><br />Required                                 | The directory name for the Visa Alias.<br /><br />**Allowable Values:**<br /><br />25 char                                                                                                                                                                                                                                        |
| details.directories.**entities**<br /><br />array of objects<br /><br />Required                            | List of entities associated with the directory.<br /><br />**Allowable Values:**<br /><br />`id`, `preferredFor`                                                                                                                                                                                                                  |
| details.directories.entities.**preferredFor**<br /><br />array of objects<br /><br />Conditionally returned | List of preferred payment methods for the entity.<br /><br />**Allowable Values:**<br /><br />0-10 items                                                                                                                                                                                                                          |
| details.directories.entities.preferredFor.**type**<br /><br />string<br /><br />Returned                    | Type of operation associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />`RECEIVE`, `SEND`, `PAY`                                                                                                                                                                                                    |
| details.directories.entities.preferredFor.**date**<br /><br />date<br /><br />Conditionally returned        | Date of the Receiving, Sending, or Paying operation.<br /><br />**Allowable Values:**<br /><br />10 chars                                                                                                                                                                                                                         |
| details.**directoriesNames**<br /><br />array<br /><br />Required                                           | List of directory names associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />Array of 0-10 directory names                                                                                                                                                                                                 |

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

```json JSON expandable lines wrap theme={null}
[
  {
    "summary": {
      "aliasesFound": 1,
      "aliasesTotal": 1,
      "aliasesNotFound": 0,
      "aliasesRepeated": 0
    },
    "details": [
      {
        "aliasType": "PHONE",
        "aliasValue": "123456",
        "directories": [
          {
            "entities": [
              {
                "id": "1101"
              },
              {
                "id": "1102",
                "preferredFor": [
                  {
                    "date": "1980-02-01",
                    "type": "RECEIVE"
                  }
                ]
              }
            ],
            "directoryName": "DIRECTORY_A"
          },
          {
            "directoryName": "DIRECTORY_B"
          }
        ],
        "directoriesName": [
          "DIRECTORY_A",
          "DIRECTORY_B"
        ]
      }
    ]
  }
]
```

<h2 id="resolve_alias">
  Resolve a Visa Alias
</h2>

**Action:** `POST`\
**Endpoint:** `/digitalwallets/aliasdirectory/visa/aliases/resolve`

{/* <EndpointCard
title="Retrieve information about a Visa Alias and all the associated payment credentials."
path="/digitalwallets/aliasdirectory/visa/aliases/resolve"
method="post"
/> */}

Retrieve information about a Visa Alias and all the associated payment credentials.

<h3 id="_header_parameters_23">
  Header parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| participant-id<br /><br />string<br /><br />Required | Visa Business Identifier (BID) that is assigned to the program.<br /><br />**Allowable Values:**<br /><br />Existing participant ID<br /><br /><br />For example, "123456789001"                |
| req-sys-id<br /><br />string<br /><br />Required     | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |

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

| Fields                                                   | Description                                                                                                                                                                                                                                                                                                                        |
| -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| aliasType<br /><br />string<br /><br />Required          | Type of Visa Alias in the Alias Directory Service (ADS) profile. Visa supports phone and email as Visa Alias types that can be used in place of sensitive payment credentials details.<br /><br />**Allowable Values:**<br /><br />`EMAIL`, `PHONE`, `DIRECTORY_ALIASID`, `PAYNAME`                                                |
| aliasValue<br /><br />string<br /><br />Required         | Visa Alias value, which can be an email, a phone number, ID of an alias directory, or a payname.<br /><br />If a phone number is used for the Visa Alias, it must follow ITU-T E.164 (2010) number structure. **NOTE:** In the E.164 format, the "+" sign is not included.<br /><br />**Allowable Values:**<br /><br />1–128 chars |
| filters<br /><br />array of objects<br /><br />Optional  | List of filters to apply in the request for Visa Alias resolution.<br /><br />**Allowable Values:**                                                                                                                                                                                                                                |
| transactionDetails<br /><br />object<br /><br />Optional | Details of the transaction associated with the Alias.<br /><br />**Allowable Values:**<br /><br />`currencyCode`                                                                                                                                                                                                                   |
| userDetails<br /><br />object<br /><br />Optional        | Details of the user requesting the Visa Alias information. The information must not contain personal identifiable information (PII).<br /><br />**Allowable Values:**<br /><br />`userName`                                                                                                                                        |

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

```json JSON lines wrap theme={null}
{
  "aliasType": "PHONE",
  "aliasValue": "1231231234",
  "transactionDetails": {
    "currencyCode": "USD"
  },
  "filters": [
    {
      "field": "DIRECTORY_NAME",
      "value": [
        "DIRECTORY_A",
        "DIRECTORY_B",
        "DIRECTORY_C"
      ]
    }
  ],
  "userDetails": {
    "userName": "username1234"
  }
}
```

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

| Fields                                                                                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                              |
| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| directoryName<br /><br />string<br /><br />Required                                                            | The directory name of the Visa Alias.<br /><br />**Allowable Values:**<br /><br />1-128 chars                                                                                                                                                                                                                                                                                                                            |
| identification<br /><br />object<br /><br />Optional                                                           | Identification of the user associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`type`, `value`, `verificationDetails`                                                                                                                                                                                                                                                                            |
| identification.**type**<br /><br />string<br /><br />Returned                                                  | Type of identification provided by the user associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`DNI`, `CE`, `PASSPORT`, `PTP`, `FFPP`, `FFAA`, `CCD`, `COI`, `PN`, `CIE`, `CPF`, `DL`, `DPI`, `NIDN`                                                                                                                                                                                            |
| identification.**value**<br /><br />string<br /><br />Returned                                                 | Value of the identification provided by the user associated with the Visa Alias, which is used to validate the user. Passport number, for example.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                |
| identification.**verificationDetails**<br /><br />object<br /><br />Conditionally returned                     | Verification details associated with the Visa Alias.<br /><br />This field is returned if it exists in the resource.<br /><br />**Allowable Values:**<br /><br />`authDateTime`, `authMethodReference`, `creationDateTime`, `verifiedEmail`, `verifiedPhone`                                                                                                                                                             |
| identification.verificationDetails.**authDateTime**<br /><br />datetime<br /><br />Conditionally returned      | Time when the user provided the credentials for verification in ISO UTC format.<br /><br />**Allowable Values:**<br /><br />Format: YYYY-MM-DDThh:mm:ss.000Z                                                                                                                                                                                                                                                             |
| identification.verificationDetails.**authMethodReference**<br /><br />string<br /><br />Conditionally returned | Authentication method used when the user provided the credentials for verification.<br /><br />**Allowable Values:**<br /><br />256 char                                                                                                                                                                                                                                                                                 |
| identification.verificationDetails.**creationDateTime**<br /><br />datetime<br /><br />Conditionally returned  | Time when the user was created or enrolled in ISO UTC format.<br /><br />**Allowable Values:**<br /><br />Format: YYYY-MM-DDThh:mm:ss.000Z                                                                                                                                                                                                                                                                               |
| identification.verificationDetails.**verifiedEmail**<br /><br />boolean<br /><br />Conditionally returned      | True if an email was verified during the verification process. This email does not need to match the Alias or contact info if an email was used.<br /><br />**Allowable Values:**<br /><br />`true` , `false`                                                                                                                                                                                                            |
| identification.verificationDetails.**verifiedPhone**<br /><br />boolean<br /><br />Conditionally returned      | True if a phone number was verified during the verification process. This phone number does not need to match the Alias or contact info if a phone number was used.<br /><br />**Allowable Values:**<br /><br />`true` , `false`                                                                                                                                                                                         |
| paymentCredentials<br /><br />array<br /><br />Required                                                        | List of payment credentials associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />1-10 items                                                                                                                                                                                                                                                                                                       |
| paymentCredentials.**accountNumber**<br /><br />string<br /><br />Returned                                     | Account number of the payment credential.<br /><br />**Allowable Values:**<br /><br />12–19 chars                                                                                                                                                                                                                                                                                                                        |
| paymentCredentials.**billingAddress**<br /><br />object<br /><br />Returned                                    | Billing address for the payment credential.<br /><br />**Allowable Values:**<br /><br />`country`, `addressLine1`, `addressLine2`, `buildingNumber`, `city`, `minorSubdivision`, `postalCode`, `state`, `streetName`                                                                                                                                                                                                     |
| paymentCredentials.billingAddress.**country**<br /><br />string<br /><br />Returned                            | Country of the billing address associated with the payment credential, expressed as an ISO 3166 code. For example, the numeric code for the United States is `840` and the alpha-3 code is `USA`.<br /><br />The ISO maintains the <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">full list of ISO 3166 country codes</a>.<br /><br />**Allowable Values:**<br /><br />3 chars |
| paymentCredentials.billingAddress.**addressLine1**<br /><br />string<br /><br />Conditionally returned         | Address line 1 of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />99 char max                                                                                                                                                                                                                                                                                    |
| paymentCredentials.billingAddress.**addressLine2**<br /><br />string<br /><br />Conditionally returned         | Address line 2 of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />99 char max                                                                                                                                                                                                                                                                                    |
| paymentCredentials.billingAddress.**buildingNumber**<br /><br />string<br /><br />Conditionally returned       | Building number of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–60 chars                                                                                                                                                                                                                                                                                    |
| paymentCredentials.billingAddress.**city**<br /><br />string<br /><br />Conditionally returned                 | City of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                                               |
| paymentCredentials.billingAddress.**minorSubdivision**<br /><br />string<br /><br />Conditionally returned     | Minor subdivision of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                  |
| paymentCredentials.billingAddress.**postalCode**<br /><br />string<br /><br />Conditionally returned           | Postal code of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                                                                                                                                                                                        |
| paymentCredentials.billingAddress.**state**<br /><br />string<br /><br />Conditionally returned                | State of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–16 chars                                                                                                                                                                                                                                                                                              |
| paymentCredentials.billingAddress.**streetName**<br /><br />string<br /><br />Conditionally returned           | Street name of the billing address associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–60 chars                                                                                                                                                                                                                                                                                        |
| paymentCredentials.**type**<br /><br />string<br /><br />Returned                                              | Type of payment credential associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`CARD`                                                                                                                                                                                                                                                                                                            |
| paymentCredentials.**accountNumberType**<br /><br />string<br /><br />Conditionally returned                   | Type of account number associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />`PAN`, `NIUBIZ`, `TOKEN`                                                                                                                                                                                                                                                                                      |
| paymentCredentials.**cardType**<br /><br />string<br /><br />Conditionally returned                            | Type of card associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–70 chars                                                                                                                                                                                                                                                                                                              |
| paymentCredentials.**createdOn**<br /><br />datetime<br /><br />Conditionally returned                         | Date and time when the payment credential was created.<br /><br />**Allowable Values:**<br /><br />24 chars<br /><br />Format: YYYY-MM-DDTHH:MM:SS.000Z                                                                                                                                                                                                                                                                  |
| paymentCredentials.**currencyCode**<br /><br />string<br /><br />Conditionally returned                        | Three-digit ISO 4217 currency code for the payment credential.<br /><br />**Allowable Values:**<br /><br />3 chars<br /><br />Valid three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="“_blank”">ISO 4217 currency code</a> (Alpha-3)                                                                                                                                                        |
| paymentCredentials.**expirationDate**<br /><br />string<br /><br />Conditionally returned                      | Expiration date of the card.<br /><br />**Allowable Values:**<br /><br />7 chars<br /><br />Format: YYYY-MM                                                                                                                                                                                                                                                                                                              |
| paymentCredentials.**externalId**<br /><br />string<br /><br />Conditionally returned                          | External ID of the payment credential, which corresponds to Marqeta’s card token.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                                                                                                                                                                                                                                |
| paymentCredentials.**id**<br /><br />string<br /><br />Conditionally returned                                  | Unique identifier of the payment credential generated by Alias Directory.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                         |
| paymentCredentials.**issuerName**<br /><br />string<br /><br />Conditionally returned                          | Name of the issuer of the payment credential.<br /><br />**Allowable Values:**<br /><br />1–150 chars                                                                                                                                                                                                                                                                                                                    |
| paymentCredentials.**lastFourDigits**<br /><br />string<br /><br />Conditionally returned                      | Last four digits of the card number.<br /><br />**Allowable Values:**<br /><br />4 chars                                                                                                                                                                                                                                                                                                                                 |
| paymentCredentials.**lastUpdatedOn**<br /><br />datetime<br /><br />Conditionally returned                     | Date and time when the payment credential was last updated.<br /><br />**Allowable Values:**<br /><br />24 chars<br /><br />Format: YYYY-MM-DDTHH:MM:SS.000Z                                                                                                                                                                                                                                                             |
| paymentCredentials.**nameOnCard**<br /><br />string<br /><br />Conditionally returned                          | Name on the card associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />1–120 chars                                                                                                                                                                                                                                                                                                         |
| paymentCredentials.**preferredFor**<br /><br />array of objects<br /><br />Conditionally returned              | Indicates if a payment credential is a preferred Receiving, Sending, or Paying account.<br /><br />This array is returned if you passed the `preferredFor` field when creating a Visa Alias or when adding a new payment credential to an existing Visa Alias.<br /><br />**Allowable Values:**<br /><br />A valid array of `preferredFor` objects                                                                       |
| paymentCredentials.preferredFor\[].**type**<br /><br />string<br /><br />Returned                              | Type of operation associated with the payment credential.<br /><br />**Allowable Values:**<br /><br />`RECEIVE`, `SEND`, `PAY`                                                                                                                                                                                                                                                                                           |
| paymentCredentials.preferredFor\[].**date**<br /><br />date<br /><br />Conditionally returned                  | Date of the Receiving, Sending, or Paying operation.<br /><br />**Allowable Values:**<br /><br />10 chars<br /><br />Format: YYYY-MM-DD                                                                                                                                                                                                                                                                                  |
| paymentCredentials.**status**<br /><br />string<br /><br />Conditionally returned                              | Status of the payment credential associated with the Visa Alias.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `BLOCKED`, `DISABLED`, `EXPIRED`                                                                                                                                                                                                                                                                  |
| profile<br /><br />object<br /><br />Required                                                                  | Alias Directory Service (ADS) profile information.<br /><br />**Allowable Values:**<br /><br />`firstName`, `lastName`, `contactInfo`, `dateOfBirth`, `firstNameLocal`, `lastNameLocal`, `middleName`, `middleNameLocal`, `preferredName`                                                                                                                                                                                |
| profile.**lastName**<br /><br />string<br /><br />Required                                                     | Last name in the Alias Directory Service (ADS) profile. Participants in the CEMEA and EU regions must only use the initial of the consumer’s last name followed by a period to create or modify a Visa Alias record.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                              |
| profile.**firstName**<br /><br />string<br /><br />Required                                                    | First name in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                                                          |
| profile.**middleName**<br /><br />string<br /><br />Optional                                                   | Middle name in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                                                         |
| profile.**contactInfo**<br /><br />object<br /><br />Required                                                  | Contact information in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />`type`, `value`                                                                                                                                                                                                                                                                                            |
| profile.contactInfo.**type**<br /><br />string<br /><br />Required                                             | Type of contact information in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />`EMAIL`, `PHONE`, `DIRECTORY_ALIASID`                                                                                                                                                                                                                                                              |
| profile.contactInfo.**value**<br /><br />string<br /><br />Required                                            | Contact information value, which is the email address or phone number.<br /><br />**Allowable Values:**<br /><br />1-320 chars                                                                                                                                                                                                                                                                                           |
| profile.**dateOfBirth**<br /><br />date<br /><br />Optional                                                    | Date of birth in the Alias Directory Service (ADS) profile.<br /><br />**Allowable Values:**<br /><br />10 chars                                                                                                                                                                                                                                                                                                         |
| profile.**lastNameLocal**<br /><br />string<br /><br />Optional                                                | Last name in the Alias Directory Service (ADS) profile, expressed in the user’s local language.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                   |
| profile.**preferredName**<br /><br />string<br /><br />Optional                                                | Preferred name in the Alias Directory Service (ADS) profile, as provided by the user.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                             |
| profile.**firstNameLocal**<br /><br />string<br /><br />Optional                                               | First name in the Alias Directory Service (ADS) profile, expressed in the user’s local language.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                  |
| profile.**middleNameLocal**<br /><br />string<br /><br />Optional                                              | Middle name in the Alias Directory Service (ADS) profile, expressed in the user’s local language.<br /><br />**Allowable Values:**<br /><br />1–35 chars                                                                                                                                                                                                                                                                 |

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

```json JSON expandable lines wrap theme={null}
[
  {
    "directoryName": "DIRECTORY_A",
    "paymentCredentials": [
      {
        "type": "CARD",
        "cardType": "Visa Platinum",
        "issuerName": "Bank A",
        "nameOnCard": "Alex Miller",
        "currencyCode": "USD",
        "accountNumber": "4111111145551142",
        "billingAddress": {
          "city": "San Francisco",
          "state": "CA",
          "country": "USA",
          "postalCode": "94105",
          "streetName": "12",
          "addressLine1": "1000 Market Street",
          "addressLine2": "Suite 101",
          "buildingNumber": "56",
          "minorSubdivisionCode": "CA"
        },
        "expirationDate": "2026-01",
        "lastFourDigits": "1142",
        "accountNumberType": "TOKEN",
        "modifiedOn": "2021-01-01T22:52:46.000Z",
        "preferredFor": [
          {
            "date": "2021-01-01",
            "type": "RECEIVE"
          }
        ]
      }
    ],
    "profile": {
      "lastName": "Miller",
      "firstName": "Alex",
      "middleName": "Robert",
      "contactInfo": [
        {
          "type": "PHONE",
          "value": "1231234321"
        }
      ],
      "dateOfBirth": "1980-02-01",
      "lastNameLocal": "Miller",
      "preferredName": "Miller's Shop",
      "firstNameLocal": "Alexander",
      "middleNameLocal": "Roberto"
    },
    "identification": {
      "type": "PASSPORT",
      "value": "A123456",
      "verificationDetails": {
        "authDateTime": "2021-01-01T22:52:46Z",
        "verifiedEmail": true,
        "verifiedPhone": false,
        "creationDateTime": "2021-01-01T22:52:46Z",
        "authMethodReference": "EXTERNAL, SMS OTP, Email OTP"
      }
    }
  }
]
```


## Related topics

- [Digital Wallets Overview](/docs/developer-guides/digital-wallets-landing-page.md)
- [Digital Wallets and Tokenization](/docs/developer-guides/digital-wallets-and-tokenization.md)
- [Provisioning Digital Wallet Tokens](/docs/developer-guides/provisioning-digital-wallet-tokens.md)
- [Managing the Digital Wallet Token Lifecycle](/docs/developer-guides/managing-the-digital-wallet-token-lifecycle.md)
- [2022 Release Notes](/docs/developer-guides/release-notes-2022.md)
