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

# Tokenization-as-a-Service

> Marqeta offers tokenization as a service, allowing you to use Marqeta's tokenization features even if Marqeta is not your issuer processor.

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

<Note>
  **Note**\
  This feature is currently in beta and subject to change. It also requires additional activation steps. To learn more about the Beta program for this feature and about activating it for your program, contact your Marqeta representative.
</Note>

Marqeta offers tokenization as a service, allowing you to use Marqeta’s tokenization features even if Marqeta is not your issuer processor.

* Use the `/digitalwalletprovisionrequests` endpoints to instantly issue new virtual cards and provision digital wallets.

* Use the `/digitalwallettokentransitions` endpoint to create or retrieve digital wallet token transitions.

* Use the `/digitalwallettokens` endpoint to retrieve digital wallet tokens by list, by card, or by individual token.

* Use the `/cardactions` endpoint to transfer digital wallet tokens to new cards, or update the expiry date of a digital wallet token.

* Use the `/webhooks` endpoint to send optional customer notifications for system events.

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

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

{/* <EndpointCard
title="Create digital wallet provisioning request for Apple Wallet"
path="/digitalwalletprovisionrequests/applepay"
method="post"
/> */}

Use the `/digitalwalletprovisionrequests/applepay` 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="_request_body">
  Request body
</h3>

| Fields                                                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| encrypted\_card\_data<br /><br />object<br /><br />Required                                                           | Encrypted data object. This object is first encrypted using the recipient’s public key and sent in <a href="https://openid.net/specs/draft-jones-json-web-encryption-02.html" target="_blank" rel="noopener">JSON Web Encryption (JWE) format</a> and then signed using the sender’s private key using <a href="https://openid.net/specs/draft-jones-json-web-signature-04.html" target="_blank" rel="noopener">JSON Web Signature (JWS)</a>. It represents the decrypted format.<br /><br />**Allowable Values:**<br /><br />`card_token`, `card_type`, `cardholder_info`, `expiration`, `metadata`, `primary_account_number` |
| encrypted\_card\_data.**expiration**<br /><br />object<br /><br />Required                                            | Specifies the expiry date for the card.<br /><br />**Allowable Values:**<br /><br />`month`, `year`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| encrypted\_card\_data.expiration.**month**<br /><br />string<br /><br />Required                                      | Specifies the expiry month for the card in MM format. `01`, for example.<br /><br />**Allowable Values:**<br /><br />Format: MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_card\_data.expiration.**year**<br /><br />string<br /><br />Required                                       | Specifies the expiry year for the card in yyyy format. `2024`, for example.<br /><br />**Allowable Values:**<br /><br />Format: yyyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_card\_data.**card\_token**<br /><br />string<br /><br />Optional                                           | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_card\_data.**primary\_account\_number**<br /><br />string<br /><br />Required                              | Account number of the card being tokenized.<br /><br />**Allowable Values:**<br /><br />12–19 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| encrypted\_card\_data.**card\_type**<br /><br />string<br /><br />Optional                                            | Specifies the type of card. This field is required for Samsung Wallet.<br /><br />**Allowable Values:**<br /><br />`CREDIT`, `DEBIT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_card\_data.**cardholder\_info**<br /><br />object<br /><br />Optional                                      | Contains personal information about the cardholder.<br /><br />**Allowable Values:**<br /><br />`cardholder_address`, `email_address`, `first_name`, `last_name`, `phone_number`                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| encrypted\_card\_data.cardholder\_info.**first\_name**<br /><br />string<br /><br />Optional                          | First or given name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| encrypted\_card\_data.cardholder\_info.**last\_name**<br /><br />string<br /><br />Optional                           | Last or family name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| encrypted\_card\_data.cardholder\_info.**cardholder\_address**<br /><br />object<br /><br />Optional                  | Specifies the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />`address_line_1`, `address_line_2`, `city`, `country_code`, `postal_code`, `state`                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**address\_line\_1**<br /><br />string<br /><br />Required | Street address of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**address\_line\_2**<br /><br />string<br /><br />Optional | Additional address information for the cardholder, such as a suite, floor, room, PO Box or apartment number. `Suite 600`, for example.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**postal\_code**<br /><br />string<br /><br />Required     | Postal code of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**city**<br /><br />string<br /><br />Optional             | City of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**state**<br /><br />string<br /><br />Optional            | State or province code associated with the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />3 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**country\_code**<br /><br />string<br /><br />Optional    | Two-character <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">ISO 3166-1 alpha-2 country code</a>. `US`, for example.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_card\_data.cardholder\_info.**email\_address**<br /><br />string<br /><br />Optional                       | Email address of the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_card\_data.cardholder\_info.**phone\_number**<br /><br />string<br /><br />Optional                        | Phone number of the cardholder. This number is used when Marqeta performs step-up authentication on your behalf.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_card\_data.**metadata**<br /><br />array of objects<br /><br />Optional                                    | Additional metadata related to the card details object.<br /><br />**Allowable Values:**<br /><br />Valid array of card details metadata objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| encrypted\_card\_data.metadata\[].**name**<br /><br />string<br /><br />Required                                      | Specifies the metadata attribute name, such as `CARD_ART_ID`, `MAX_TOKENS_PER_CARD`, and so on.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| encrypted\_card\_data.metadata\[].**value**<br /><br />string<br /><br />Required                                     | Specifies the value of the metadata attribute.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| card\_token<br /><br />string<br /><br />Optional                                                                     | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| device\_type<br /><br />string<br /><br />Optional                                                                    | Specifies the type of device.<br /><br />**Allowable Values:**<br /><br />`UNKNOWN`, `MOBILE_PHONE`, `TABLET`, `WATCH`, `MOBILE_PHONE_OR_TABLET`, `PERSONAL_COMPUTER`, `VEHICLE`, `APPLIANCE`, `LAPTOP`, `GAMING_DEVICE`, `UNRECOGNIZED`                                                                                                                                                                                                                                                                                                                                                                                       |
| provisioning\_app\_version<br /><br />string<br /><br />Optional                                                      | Specifies the version of the application making the provisioning request. This field is used for debugging and fraud prevention.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| certificates<br /><br />array of strings<br /><br />Required                                                          | Leaf and sub-CA certificates provided by Apple. Base 64 encoded. The first element of the array should be the leaf certificate, followed by the sub-CA.<br /><br />**Allowable Values:**<br /><br />1–8192 chars                                                                                                                                                                                                                                                                                                                                                                                                               |
| nonce<br /><br />string<br /><br />Required                                                                           | One-time-use nonce provided by Apple for security purposes.<br /><br />**Allowable Values:**<br /><br />1–32 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| nonce\_signature<br /><br />string<br /><br />Required                                                                | Apple-provided signature to the nonce.<br /><br />**Allowable Values:**<br /><br />1–512 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

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

```json JSON expandable lines wrap theme={null}
{
  "encrypted_card_data": {
    "expiration": {
      "month": "01",
      "year": "2025"
    },
    "card_token": "card-token-811",
    "primary_account_number": "4111111111111111",
    "cardholder_info": {
      "first_name": "Jane",
      "last_name": "Liu",
      "cardholder_address": {
        "city": "Oakland",
        "state": "CA",
        "address_line_1": "180 Grand Ave",
        "address_line_2": "Floor 6",
        "postal_code": "94612",
        "country_code": "US"
      },
      "email_address": "marqetaTest@marqeta.com",
      "phone_number": "1234567890"
    }
  },
  "nonce": "tKVkWRmUTaUiE3zO",
  "certificates": [
    "MIID/DCCA6OgAwIBAgIIRBkEefDVkQ0wCgYIKoZIzj....",
    "MIIC9zCCAnygAwIBAgIIb+/Y9emjp+4wCgYIKoZIzj...."
  ],
  "nonce_signature": "rcQ+z8FCP+jKkgRJ",
  "provisioning_app_version": "2.13.7"
}
```

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

| Fields                                                          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| created\_time<br /><br />datetime<br /><br />Returned           | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| last\_modified\_time<br /><br />datetime<br /><br />Returned    | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| card\_token<br /><br />string<br /><br />Conditionally returned | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_pass\_data<br /><br />string<br /><br />Returned     | This object is encrypted with a shared key derived from the Apple Public Certificates and the generated ephemeral private key. This is binary data, but is presented here in base64 format. Do not persist this data.<br /><br />Because the scheme and contents could change, they are only subject to the `maxLength` limit of the NSData object, which is eight exabytes. For more information, see <a href="https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest/1615926-encryptedpassdata" target="_blank" rel="noopener">[https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest/1615926-encryptedpassdata](https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest/1615926-encryptedpassdata)</a>.<br /><br />**Allowable Values:**<br /><br />1–1000000 chars |
| activation\_data<br /><br />string<br /><br />Returned          | Cryptographic one-time passcode (OTP) conforming to the payment network operator or service provider specifications. This is binary data, but is presented here in base64 format and has no practical max length.<br /><br />For more information, see <a href="https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest/1615914-activationdata" target="_blank" rel="noopener">[https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest/1615914-activationdata](https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest/1615914-activationdata)</a>.<br /><br />**Allowable Values:**<br /><br />1–1000000 chars                                                                                                                                                          |
| ephemeral\_public\_key<br /><br />string<br /><br />Returned    | Ephemeral public key used for the provisioning attempt. This is binary data, but is presented here in base64 format and has no practical max length.<br /><br />For more information, see <a href="https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest/1615952-ephemeralpublickey" target="_blank" rel="noopener">[https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest/1615952-ephemeralpublickey](https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest/1615952-ephemeralpublickey)</a>.<br /><br />**Allowable Values:**<br /><br />1–1000000 chars                                                                                                                                                                                                           |

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

```json JSON lines wrap theme={null}
{
  "created_time": "2022-07-08T16:37:28Z",
  "last_modified_time": "2022-07-08T16:37:28Z",
  "card_token": "card-token-9",
  "encrypted_pass_data": "UnYokfsEG5fQbKPy+4UJ3BF5N0D....",
  "activation_data": "TUJQQUMtMS1GSy03NDgwNTIuMS0tVER....",
  "ephemeral_public_key": "BCJ++11ucFSG7Z+ZECshFHSFpA...."
}
```

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

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

{/* <EndpointCard
title="Create digital wallet provisioning request for Google Wallet"
path="/digitalwalletprovisionrequests/googlepay"
method="post"
/> */}

Use the `/digitalwalletprovisionrequests/googlepay` 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. create digital wallet provisioning request for Google Wallet.

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

| Fields                                                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| encrypted\_card\_data<br /><br />object<br /><br />Required                                                           | Encrypted data object. This object is first encrypted using the recipient’s public key and sent in <a href="https://openid.net/specs/draft-jones-json-web-encryption-02.html" target="_blank" rel="noopener">JSON Web Encryption (JWE) format</a> and then signed using the sender’s private key using <a href="https://openid.net/specs/draft-jones-json-web-signature-04.html" target="_blank" rel="noopener">JSON Web Signature (JWS)</a>. It represents the decrypted format.<br /><br />**Allowable Values:**<br /><br />`card_token`, `card_type`, `cardholder_info`, `expiration`, `metadata`, `primary_account_number` |
| encrypted\_card\_data.**expiration**<br /><br />object<br /><br />Required                                            | Specifies the expiry date for the card.<br /><br />**Allowable Values:**<br /><br />`month`, `year`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| encrypted\_card\_data.expiration.**month**<br /><br />MM<br /><br />Required                                          | Specifies the expiry month for the card in MM format. `01`, for example.<br /><br />**Allowable Values:**<br /><br />Format: MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_card\_data.expiration.**year**<br /><br />yyyy<br /><br />Required                                         | Specifies the expiry year for the card in yyyy format. `2024`, for example.<br /><br />**Allowable Values:**<br /><br />Format: yyyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_card\_data.**card\_token**<br /><br />string<br /><br />Optional                                           | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_card\_data.**primary\_account\_number**<br /><br />string<br /><br />Required                              | Account number of the card being tokenized.<br /><br />**Allowable Values:**<br /><br />12–19 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| encrypted\_card\_data.**card\_type**<br /><br />string<br /><br />Optional                                            | Specifies the type of card. This field is required for Samsung Wallet.<br /><br />**Allowable Values:**<br /><br />`CREDIT`, `DEBIT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_card\_data.**cardholder\_info**<br /><br />object<br /><br />Optional                                      | Contains personal information about the cardholder.<br /><br />**Allowable Values:**<br /><br />`cardholder_address`, `email_address`, `first_name`, `last_name`, `phone_number`                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| encrypted\_card\_data.cardholder\_info.**first\_name**<br /><br />string<br /><br />Optional                          | First or given name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| encrypted\_card\_data.cardholder\_info.**last\_name**<br /><br />string<br /><br />Optional                           | Last or family name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| encrypted\_card\_data.cardholder\_info.**cardholder\_address**<br /><br />object<br /><br />Optional                  | Specifies the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />`address_line_1`, `address_line_2`, `city`, `country_code`, `postal_code`, `state`                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**address\_line\_1**<br /><br />string<br /><br />Required | Street address of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**address\_line\_2**<br /><br />string<br /><br />Optional | Additional address information for the cardholder, such as a suite, floor, room, PO Box or apartment number. `Suite 600`, for example.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**postal\_code**<br /><br />string<br /><br />Required     | Postal code of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**city**<br /><br />string<br /><br />Optional             | City of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**state**<br /><br />string<br /><br />Optional            | State or province code associated with the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />3 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**country\_code**<br /><br />string<br /><br />Optional    | Two-character <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">ISO 3166-1 alpha-2 country code</a>. `US`, for example.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_card\_data.cardholder\_info.**email\_address**<br /><br />string<br /><br />Optional                       | Email address of the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_card\_data.cardholder\_info.**phone\_number**<br /><br />string<br /><br />Optional                        | Phone number of the cardholder. This number is used when Marqeta performs step-up authentication on your behalf.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_card\_data.**metadata**<br /><br />array of objects<br /><br />Optional                                    | Additional metadata related to the card details object.<br /><br />**Allowable Values:**<br /><br />Valid array of card details metadata objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| encrypted\_card\_data.metadata\[].**name**<br /><br />string<br /><br />Required                                      | Specifies the metadata attribute name, such as `CARD_ART_ID`, `MAX_TOKENS_PER_CARD`, and so on.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| encrypted\_card\_data.metadata\[].**value**<br /><br />string<br /><br />Required                                     | Specifies the value of the metadata attribute.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| card\_token<br /><br />string<br /><br />Optional                                                                     | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| device\_type<br /><br />string<br /><br />Optional                                                                    | Specifies the type of device.<br /><br />**Allowable Values:**<br /><br />`UNKNOWN`, `MOBILE_PHONE`, `TABLET`, `WATCH`, `MOBILE_PHONE_OR_TABLET`, `PERSONAL_COMPUTER`, `VEHICLE`, `APPLIANCE`, `LAPTOP`, `GAMING_DEVICE`, `UNRECOGNIZED`                                                                                                                                                                                                                                                                                                                                                                                       |
| provisioning\_app\_version<br /><br />string<br /><br />Optional                                                      | Specifies the version of the application making the provisioning request. This field is used for debugging and fraud prevention.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| wallet\_account\_id<br /><br />string<br /><br />Required                                                             | User’s Google Wallet account ID, as provided by Google during the provisioning process. Google refers to this field as `ActiveWalletId`.<br /><br />**Allowable Values:**<br /><br />1–50 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. Google refers to this field as `StableHardwareId`.<br /><br />**Allowable Values:**<br /><br />1–24 chars                                                                                                                                                                                                                                                                                                                                                                                                                |

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

```json JSON expandable lines wrap theme={null}
{
  "encrypted_card_data": {
    "expiration": {
      "month": "01",
      "year": "2025"
    },
    "card_token": "card-token-811",
    "primary_account_number": "4111111111111111",
    "cardholder_info": {
      "first_name": "Jane",
      "last_name": "Liu",
      "cardholder_address": {
        "city": "Oakland",
        "state": "CA",
        "address_line_1": "180 Grand Ave",
        "address_line_2": "Floor 6",
        "postal_code": "94612",
        "country_code": "US"
      },
      "email_address": "marqetaTest@marqeta.com",
      "phone_number": "1234567890"
    }
  },
  "device_id": "W85OGhjZTk2dsr452dgsr51j",
  "wallet_user_id": "ae25OGhjZTk2dsr452dgsr51",
  "provisioning_app_version": "2.13.3",
  "wallet_account_id": "ae123GhjZTk1dsr123dgsr12"
}
```

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

| Fields                                                                                                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| created\_time<br /><br />datetime<br /><br />Returned                                                        | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| last\_modified\_time<br /><br />datetime<br /><br />Returned                                                 | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| card\_token<br /><br />string<br /><br />Conditionally returned                                              | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| push\_tokenize\_request\_data<br /><br />object<br /><br />Returned                                          | Contains data pertaining to a Google push tokenization request.<br /><br />**Allowable Values:**<br /><br />`display_name`, `last_digits`, `network`, `opaque_payment_card`, `token_service_provider`, `user_address`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| push\_tokenize\_request\_data.**display\_name**<br /><br />string<br /><br />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 />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| push\_tokenize\_request\_data.**last\_digits**<br /><br />string<br /><br />Returned                         | Last four digits of the funding primary account number (FPAN), which is 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 />Returned                              | Card network, as defined by Google; expected to align with the value of the `token_service_provider` field.<br /><br />**Allowable Values:**<br /><br />`Mastercard`, `Visa`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| push\_tokenize\_request\_data.**token\_service\_provider**<br /><br />string<br /><br />Returned             | Token service provider, as defined by Google; expected to align with the value of the `network` field.<br /><br />**Allowable Values:**<br /><br />`TOKEN_PROVIDER_MASTERCARD`, `TOKEN_PROVIDER_VISA`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| push\_tokenize\_request\_data.**opaque\_payment\_card**<br /><br />string<br /><br />Returned                | Encrypted card data passed to Google in base64 format. This data should not be modified in transit. For more information, see <a href="https://developers.google.com/pay/issuers/apis/push-provisioning/android/push-provisioning-objects#opaque_payment_card_opc" target="_blank" rel="noopener">[https://developers.google.com/pay/issuers/apis/push-provisioning/android/push-provisioning-objects#opaque\_payment\_card\_opc](https://developers.google.com/pay/issuers/apis/push-provisioning/android/push-provisioning-objects#opaque_payment_card_opc)</a>.<br /><br />**Allowable Values:**<br /><br />1–5000 chars                                                                                                                                                                                                                              |
| push\_tokenize\_request\_data.**user\_address**<br /><br />object<br /><br />Returned                        | Contains cardholder address information for a Google Wallet push tokenization request. Although not required, Marqeta recommends that you provide all the information in this object. Any missing or invalid address information may result in the user being prompted to complete or correct the address. For more information, see <a href="https://developers.google.com/pay/issuers/apis/push-provisioning/android/push-provisioning-objects#useraddress" target="_blank" rel="noopener">[https://developers.google.com/pay/issuers/apis/push-provisioning/android/push-provisioning-objects#useraddress](https://developers.google.com/pay/issuers/apis/push-provisioning/android/push-provisioning-objects#useraddress)</a>.<br /><br />**Allowable Values:**<br /><br />`address1`, `address2`, `city`, `country`, `name`, `phone`, `postal_code` |
| push\_tokenize\_request\_data.user\_address.**name**<br /><br />string<br /><br />Conditionally returned     | Name of the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| push\_tokenize\_request\_data.user\_address.**address1**<br /><br />string<br /><br />Returned               | Street address of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| push\_tokenize\_request\_data.user\_address.**address2**<br /><br />string<br /><br />Conditionally returned | Secondary address information, such as a suite or apartment number<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| push\_tokenize\_request\_data.user\_address.**city**<br /><br />string<br /><br />Conditionally returned     | City of the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| push\_tokenize\_request\_data.user\_address.**state**<br /><br />string<br /><br />Conditionally returned    | State or province code of the address.<br /><br />**Allowable Values:**<br /><br />3 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| 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.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| push\_tokenize\_request\_data.user\_address.**country**<br /><br />string<br /><br />Conditionally returned  | Two-character <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">ISO 3166-1 alpha-2 country code</a>.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| push\_tokenize\_request\_data.user\_address.**phone**<br /><br />string<br /><br />Conditionally returned    | Phone number of the cardholder.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

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

```json JSON expandable lines wrap theme={null}
{
  "created_time": "2022-09-09T18:08:07Z",
  "last_modified_time": "2022-09-09T18:08:07Z",
  "card_token": "my_card_01",
  "push_tokenize_request_data": {
    "display_name": "Visa Card",
    "last_digits": "1008",
    "network": "Visa",
    "token_service_provider": "TOKEN_PROVIDER_VISA",
    "opaque_payment_card": "eyJraWQiOiIzVkhSWVVSUlRVT1....",
    "user_address": {
      "name": "Jane Liu",
      "address1": "180 Grand Avenue",
      "city": "Oakland",
      "state": "CA",
      "zip": "94612",
      "country": "US",
      "phone": "18000001111",
      "postal_code": "94612"
    }
  }
}
```

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

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

{/* <EndpointCard
title="Create digital wallet provisioning request for Samsung Wallet"
path="/digitalwalletprovisionrequests/samsungpay"
method="post"
/> */}

Use the `/digitalwalletprovisionrequests/samsungpay` 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_3">
  Request body
</h3>

| Fields                                                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| encrypted\_card\_data<br /><br />object<br /><br />Required                                                           | Encrypted data object. This object is first encrypted using the recipient’s public key and sent in <a href="https://openid.net/specs/draft-jones-json-web-encryption-02.html" target="_blank" rel="noopener">JSON Web Encryption (JWE) format</a> and then signed using the sender’s private key using <a href="https://openid.net/specs/draft-jones-json-web-signature-04.html" target="_blank" rel="noopener">JSON Web Signature (JWS)</a>. It represents the decrypted format.<br /><br />**Allowable Values:**<br /><br />`card_token`, `card_type`, `cardholder_info`, `expiration`, `metadata`, `primary_account_number` |
| encrypted\_card\_data.**expiration**<br /><br />object<br /><br />Required                                            | Specifies the expiry date for the card.<br /><br />**Allowable Values:**<br /><br />`month`, `year`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| encrypted\_card\_data.expiration.**month**<br /><br />MM<br /><br />Required                                          | Specifies the expiry month for the card in MM format. `01`, for example.<br /><br />**Allowable Values:**<br /><br />Format: MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_card\_data.expiration.**year**<br /><br />yyyy<br /><br />Required                                         | Specifies the expiry year for the card in yyyy format. `2024`, for example.<br /><br />**Allowable Values:**<br /><br />Format: yyyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_card\_data.**card\_token**<br /><br />string<br /><br />Optional                                           | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_card\_data.**primary\_account\_number**<br /><br />string<br /><br />Required                              | Account number of the card being tokenized.<br /><br />**Allowable Values:**<br /><br />12–19 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| encrypted\_card\_data.**card\_type**<br /><br />string<br /><br />Optional                                            | Specifies the type of card. This field is required for Samsung Wallet.<br /><br />**Allowable Values:**<br /><br />`CREDIT`, `DEBIT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_card\_data.**cardholder\_info**<br /><br />object<br /><br />Optional                                      | Contains personal information about the cardholder.<br /><br />**Allowable Values:**<br /><br />`cardholder_address`, `email_address`, `first_name`, `last_name`, `phone_number`                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| encrypted\_card\_data.cardholder\_info.**first\_name**<br /><br />string<br /><br />Optional                          | First or given name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| encrypted\_card\_data.cardholder\_info.**last\_name**<br /><br />string<br /><br />Optional                           | Last or family name of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| encrypted\_card\_data.cardholder\_info.**cardholder\_address**<br /><br />object<br /><br />Optional                  | Specifies the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />`address_line_1`, `address_line_2`, `city`, `country_code`, `postal_code`, `state`                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**address\_line\_1**<br /><br />string<br /><br />Required | Street address of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**address\_line\_2**<br /><br />string<br /><br />Optional | Additional address information for the cardholder, such as a suite, floor, room, PO Box or apartment number. `Suite 600`, for example.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**postal\_code**<br /><br />string<br /><br />Required     | Postal code of the cardholder.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**city**<br /><br />string<br /><br />Optional             | City of the cardholder.<br /><br />**Allowable Values:**<br /><br />40 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**state**<br /><br />string<br /><br />Optional            | State or province code associated with the cardholder’s address.<br /><br />**Allowable Values:**<br /><br />3 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| encrypted\_card\_data.cardholder\_info.cardholder\_address.**country\_code**<br /><br />string<br /><br />Optional    | Two-character <a href="https://www.iso.org/iso-3166-country-codes.html" target="_blank" rel="noopener">ISO 3166-1 alpha-2 country code</a>. `US`, for example.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_card\_data.cardholder\_info.**email\_address**<br /><br />string<br /><br />Optional                       | Email address of the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_card\_data.cardholder\_info.**phone\_number**<br /><br />string<br /><br />Optional                        | Phone number of the cardholder. This number is used when Marqeta performs step-up authentication on your behalf.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_card\_data.**metadata**<br /><br />array of objects<br /><br />Optional                                    | Additional metadata related to the card details object.<br /><br />**Allowable Values:**<br /><br />Valid array of card details metadata objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| encrypted\_card\_data.metadata\[].**name**<br /><br />string<br /><br />Required                                      | Specifies the metadata attribute name, such as `CARD_ART_ID`, `MAX_TOKENS_PER_CARD`, and so on.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| encrypted\_card\_data.metadata\[].**value**<br /><br />string<br /><br />Required                                     | Specifies the value of the metadata attribute.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| card\_token<br /><br />string<br /><br />Optional                                                                     | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| device\_type<br /><br />string<br /><br />Optional                                                                    | Specifies the type of device.<br /><br />**Allowable Values:**<br /><br />`UNKNOWN`, `MOBILE_PHONE`, `TABLET`, `WATCH`, `MOBILE_PHONE_OR_TABLET`, `PERSONAL_COMPUTER`, `VEHICLE`, `APPLIANCE`, `LAPTOP`, `GAMING_DEVICE`, `UNRECOGNIZED`                                                                                                                                                                                                                                                                                                                                                                                       |
| provisioning\_app\_version<br /><br />string<br /><br />Optional                                                      | Specifies the version of the application making the provisioning request. This field is used for debugging and fraud prevention.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| wallet\_user\_id<br /><br />string<br /><br />Required                                                                | User’s Samsung wallet account identifier, as provided by Samsung during the provisioning process.<br /><br />**Allowable Values:**<br /><br />1–50 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

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

```json JSON expandable lines wrap theme={null}
{
  "encrypted_card_data": {
    "expiration": {
      "month": "01",
      "year": "2025"
    },
    "card_token": "card-token-811",
    "card_type": "CREDIT",
    "primary_account_number": "4111111111111111",
    "cardholder_info": {
      "first_name": "Jane",
      "last_name": "Liu",
      "cardholder_address": {
        "city": "Oakland",
        "state": "CA",
        "address_line_1": "180 Grand Ave",
        "address_line_2": "Floor 6",
        "postal_code": "94612",
        "country_code": "US"
      },
      "email_address": "marqetaTest@marqeta.com",
      "phone_number": "1234567890"
    }
  },
  "device_id": "W85OGhjZTk2dsr452dgsr51j",
  "wallet_user_id": "ae25OGhjZTk2dsr452dgsr51",
  "provisioning_app_version": "2.13.3"
}
```

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

| Fields                                                                                            | Description                                                                                                                                                                                                                        |
| ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| created\_time<br /><br />datetime<br /><br />Returned                                             | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                      |
| last\_modified\_time<br /><br />datetime<br /><br />Returned                                      | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                      |
| card\_token<br /><br />string<br /><br />Conditionally returned                                   | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                              |
| push\_tokenize\_request\_data<br /><br />object<br /><br />Returned                               | Contains data pertaining to a Samsung push tokenization request.<br /><br />**Allowable Values:**<br /><br />`card_type`, `display_name`, `extra_provision_payload`, `last_digits`, `network`, `token_service_provider`            |
| push\_tokenize\_request\_data.**display\_name**<br /><br />string<br /><br />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 />255 char max |
| push\_tokenize\_request\_data.**last\_digits**<br /><br />string<br /><br />Returned              | Last four digits of the funding primary account number (FPAN), which is 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 />Returned                   | Card network, as defined by Google; expected to align with the value of the `token_service_provider` field.<br /><br />**Allowable Values:**<br /><br />`Visa`, `Mastercard`                                                       |
| push\_tokenize\_request\_data.**token\_service\_provider**<br /><br />string<br /><br />Returned  | Token service provider, as defined Google; expected to align with the value of the `network` field.<br /><br />**Allowable Values:**<br /><br />`MC`, `VI`                                                                         |
| push\_tokenize\_request\_data.**extra\_provision\_payload**<br /><br />string<br /><br />Returned | Encrypted card or cardholder details.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                        |
| push\_tokenize\_request\_data.**card\_type**<br /><br />string<br /><br />Returned                | Specifies the type of payment card.<br /><br />**Allowable Values:**<br /><br />`CREDIT`, `DEBIT`, `GIFT`, `LOYALTY`, `PAYMENT`                                                                                                    |

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

```json JSON lines wrap theme={null}
{
  "created_time": "2022-09-09T18:08:05Z",
  "last_modified_time": "2022-09-09T18:08:05Z",
  "card_token": "my_card_01",
  "push_tokenize_request_data": {
    "display_name": "Mastercard Card",
    "last_digits": "6591",
    "network": "Mastercard",
    "token_service_provider": "MC",
    "extra_provision_payload": "ewogICJjYXJkSW5mbyIgOiB7CiAgICAicHVibGl....",
    "card_type": "PAYMENT"
  }
}
```

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

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

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

Use the `/digitalwallettokens` endpoint to retrieve a list of digital wallet tokens.

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

| Fields                                                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Optional                 | Number of resources to retrieve.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                          |
| start\_index<br /><br />integer<br /><br />Optional          | Sort order index of the first resource to retrieve.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                       |
| 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                                                                                                                                |
| 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’s 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 an Apple Wallet and a Google Wallet for the same digital wallet token.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                  |
| 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. This is the primary identifier for Visa.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                               |
| correlation\_id<br /><br />string<br /><br />Optional        | Unique value representing a tokenization request (Mastercard only).<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                         |
| 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                  | Optional embedded `user` object.<br /><br />**Allowable Values:**<br /><br />Existing `user` object                                                                                                                                                                                                                                                                                                                                                                                               |

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

| Fields                                                                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| start\_index<br /><br />integer<br /><br />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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| end\_index<br /><br />integer<br /><br />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`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data<br /><br />array of undefineds<br /><br />Conditionally returned                                                                 | Array of digital wallet token objects.<br /><br />**Allowable Values:**<br /><br />Valid data array of one or more digital wallet token objects.<br /><br />Objects are returned as appropriate to your query.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**encrypted\_data**<br /><br />object<br /><br />Conditionally returned                                                       | Contains encrypted data about the token service provider, device, or address verification.<br /><br />**Allowable Values:**<br /><br />`address_verification`, `device`, `token_service_provider`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].encrypted\_data.**token\_service\_provider**<br /><br />object<br /><br />Conditionally returned                              | Contains information held and provided by the token service provider (card network). This object is returned when relevant information is provided by the token service provider.<br /><br />**Allowable Values:**<br /><br />`correlation_id`, `pan_reference_id`, `token_assurance_level`, `token_eligibility_decision`, `token_pan`, `token_reference_id`, `token_requestor_id`, `token_requestor_name`, `token_score`, `token_type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].encrypted\_data.token\_service\_provider.**pan\_reference\_id**<br /><br />string<br /><br />Returned                         | Unique identifier of the digital wallet token’s PAN within the card network. This value may vary, depending on the digital wallet. For example, the `pan_reference_id` may be different in an Apple Wallet and a Google Wallet for the same digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].encrypted\_data.token\_service\_provider.**token\_reference\_id**<br /><br />string<br /><br />Conditionally returned         | Identifier that correlates the digital wallet token with the card network. This is the primary identifier for Visa. For Mastercard, this field is not populated until the token is active.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].encrypted\_data.token\_service\_provider.**correlation\_id**<br /><br />string<br /><br />Conditionally returned              | Unique value representing a tokenization request (Mastercard only).<br /><br />**Allowable Values:**<br /><br />14 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].encrypted\_data.token\_service\_provider.**token\_requestor\_id**<br /><br />string<br /><br />Returned                       | Identifier of the token requestor. This identifier differs for each card network.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].encrypted\_data.token\_service\_provider.**token\_requestor\_name**<br /><br />string<br /><br />Returned                     | Human-readable name for the token requestor. In your code, we recommend using the token requestor identifier instead, because it is immutable once it has been created.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].encrypted\_data.token\_service\_provider.**token\_type**<br /><br />string<br /><br />Returned                                | Comma-delimited list of digital wallet token types to display.<br /><br />**Allowable Values:**<br /><br />`DEVICE_CLOUD_BASED`, `DEVICE_SECURE_ELEMENT`, `ECOMMERCE_DIGITAL_WALLET`, `MERCHANT_CARD_ON_FILE`, `PSEUDO_ACCOUNT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].encrypted\_data.token\_service\_provider.**token\_assurance\_level**<br /><br />string<br /><br />Conditionally returned      | Specifies the assurance level of the token-to-PAN binding as defined by the payment network. Represents a general risk value from `00` to `99`.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].encrypted\_data.token\_service\_provider.**token\_pan**<br /><br />string<br /><br />Conditionally returned                   | Digital wallet token primary account number (PAN), also known as the Digital Account Number, Token Number, or Digital PAN (DPAN).<br /><br />Token PAN appears in masked format. To view the token PAN in clear text, use the `/showtokenpan` endpoint.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].encrypted\_data.token\_service\_provider.**token\_expiration**<br /><br />MMyy<br /><br />Conditionally returned              | Expiration of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].encrypted\_data.token\_service\_provider.**token\_score**<br /><br />string<br /><br />Conditionally returned                 | Token score assigned by the token service provider. This value is provided when it is received by the token service provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].encrypted\_data.token\_service\_provider.**token\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned | Token service provider’s recommendation as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].encrypted\_data.**device**<br /><br />object<br /><br />Conditionally returned                                                | Contains data about the provisioned device.<br /><br />**Allowable Values:**<br /><br />`device_id`, `ip_address`, `language_code`, `location`, `name`, `phone_number`, `type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].encrypted\_data.device.**type**<br /><br />string<br /><br />Returned                                                         | Specifies the type of device being provisioned. This object is returned when relevant information is provided by the token service provider, typically for device-based digital wallets such as Google Wallet and Apple Wallet only.<br /><br />**Allowable Values:**<br /><br />`APPLIANCE`, `GAMING_DEVICE`, `LAPTOP`, `MOBILE_PHONE`, `MOBILE_PHONE_OR_TABLET`, `PERSONAL_COMPUTER`, `TABLET`, `WATCH`, `VEHICLE`, `UNKNOWN`, `UNRECOGNIZED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].encrypted\_data.device.**device\_id**<br /><br />string<br /><br />Conditionally returned                                     | Identity number of the device. This value is returned if it is available for a given digital wallet token.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].encrypted\_data.device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                                  | Telephone number of the device, as returned by the digital wallet provider. This value may be the full phone number, the last four digits, or null.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].encrypted\_data.device.**name**<br /><br />string<br /><br />Conditionally returned                                           | Name of the device, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />128 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].encrypted\_data.device.**location**<br /><br />string<br /><br />Conditionally returned                                       | Geographic coordinates of the device at the time of the tokenization request, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].encrypted\_data.device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                    | IPv4 address, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].encrypted\_data.device.**language\_code**<br /><br />string<br /><br />Conditionally returned                                 | Language the device is configured to use, such as `eng` for English.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].encrypted\_data.**address\_verification**<br /><br />object<br /><br />Conditionally returned                                 | Contains the name and address of the cardholder for address verification.<br /><br />**Allowable Values:**<br /><br />`name`, `postal_code`, `street_address`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].encrypted\_data.address\_verification.**name**<br /><br />string<br /><br />Conditionally returned                            | Name of the cardholder, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].encrypted\_data.address\_verification.**street\_address**<br /><br />string<br /><br />Conditionally returned                 | Street address of the cardholder, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].encrypted\_data.address\_verification.**postal\_code**<br /><br />string<br /><br />Conditionally returned                    | Postal code of the cardholder, such as a United States ZIP code, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**card\_token**<br /><br />string<br /><br />Conditionally returned                                                           | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].**created\_time**<br /><br />datetime<br /><br />Conditionally returned                                                       | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**fulfillment\_status**<br /><br />string<br /><br />Conditionally returned                                                   | Digital wallet token’s provisioning status.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`, `PROVISIONED`, `REJECTED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].**issuer\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned                                         | Card issuer’s recommendation as to whether the digital wallet token should be provisioned. Example values: `0000` (Approved), `invalid.cid`, `avs.decline`, `token.activation`<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**last\_modified\_time**<br /><br />datetime<br /><br />Conditionally returned                                                | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**state**<br /><br />string<br /><br />Conditionally returned                                                                 | Current state of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**state\_reason**<br /><br />string<br /><br />Conditionally returned                                                         | Descriptive reason for the current state of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**token**<br /><br />string<br /><br />Conditionally returned                                                                 | Unique identifier for the digital wallet token on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**wallet\_provider\_profile**<br /><br />object<br /><br />Conditionally returned                                             | Contains information held and provided by the digital wallet provider. This object is returned when relevant information is provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`account`, `device_score`, `pan_source`, `reason_code`, `risk_assessment`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].wallet\_provider\_profile.**account**<br /><br />object<br /><br />Returned                                                   | Contains information related to the cardholder, as provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`email_address`, `id`, `score`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].wallet\_provider\_profile.account.**id**<br /><br />string<br /><br />Returned                                                | Digital wallet provider’s unique identity number for the cardholder. This identity number does not correlate with other information.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.account.**email\_address**<br /><br />string<br /><br />Conditionally returned                      | Hashed version of the email address linked to the digital wallet. The exact hashing algorithm may vary, depending on the wallet and network. You can use this field to validate that email associated with digital wallet matches what is on file for the account. Data is `hexBinary` encoded.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].wallet\_provider\_profile.account.**score**<br /><br />string<br /><br />Conditionally returned                               | Wallet provider’s account score, indicating the confidence level associated with the account. The scale ranges from 1 to 5, where 5 indicates the highest level of confidence. The value in this file may be presented with or without a leading 0.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 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, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`score`, `version`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.risk\_assessment.**score**<br /><br />string<br /><br />Conditionally returned                      | Digital wallet provider’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].wallet\_provider\_profile.risk\_assessment.**version**<br /><br />string<br /><br />Conditionally returned                    | Digital wallet provider’s risk version.<br /><br />**NOTE:** Changes in the version might indicate differences in other fields.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].wallet\_provider\_profile.**device\_score**<br /><br />string<br /><br />Conditionally returned                               | Wallet provider device score on a scale from 1 to 5, indicating the confidence level of the device, where 5 indicates the highest level of confidence.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.**pan\_source**<br /><br />string<br /><br />Returned                                               | Source from which the digital wallet provider obtained the card primary account number (PAN), as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`KEY_ENTERED`, `MOBILE_BANKING_APP`, `ON_FILE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].wallet\_provider\_profile.**reason\_code**<br /><br />string<br /><br />Conditionally returned                                | Comma-separated list of wallet provider reason codes, describing the reason for the wallet provider’s provisioning decision.<br /><br />**NOTE:** This list of reason codes is subject to change.<br /><br />Apple Wallet (Visa/Mastercard), Google Wallet/Samsung Wallet (Mastercard only)<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 - Suspected fraud.<br />- 0H - The phone number score is less than 3.<br /><br />Google Wallet/Samsung Wallet (Visa only)<br /><br />- A0 - Cardholder PAN associated with account within threshold days.<br />- A1 - Wallet account holder name on file does not match cardholder entered name.<br />- A2 - User’s account on device less than threshold days.<br />- A3 - User account was created within threshold days.<br />- A4 - Wallet account created within threshold days.<br />- A5 - Changes made to account data within threshold days.<br />- A6 - The number of provisioning attempts across all cards on this device in the last 24 hours exceeds the threshold.<br />- A7 - The wallet account into which the card is being provisioned contains distinct names greater than threshold.<br />- A8 - Device provisioning location outside of cardholder’s wallet account home country.<br />- A9 - Suspended cards in the wallet account is greater than threshold.<br />- AA - This account has not had activity within threshold period.<br />- AB - Number of days since device was last reported lost is less than threshold days.<br />- AC - Number of transactions in last 12 months less than threshold number.<br />- AD - Number of active tokens greater than threshold.<br />- AE - Number of devices with Same UserID with token is greater than threshold.<br />- AF - Number of active tokens on all devices is greater than threshold.<br />- AG - Issuer deferred ID\&V decision.<br />- AH - Issuer encrypted payment instrument data expired.<br />- AI - User/device receiving encrypted payment instrument data is different than the one that is provisioning the token.<br />- AL - Encrypted payment instrument data is pushed to a different device than the one that issuer application authenticated.<br />- AM - Encrypted payment instrument data is pushed to a different user than the cardholder.<br />- AN - Encrypted Payment Instrument Data is being pushed by the Issuer to the same device that the Issuer application authenticated, but without any upfront authentication.<br />- AO - Encrypted Payment Instrument Data is being pushed by the Issuer to the same device that the Issuer application authenticated, but with successful upfront authentication.<br /><br />**Allowable Values:**<br /><br />100 char max |

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

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

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

Use the `/digitalwallettokens/{token}` endpoint to retrieve a specific digital wallet token.

<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.<br /><br />**Allowable Values:**<br /><br />Existing digital wallet token token |

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

| Fields                                                                                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| encrypted\_data<br /><br />object<br /><br />Conditionally returned                                                           | Contains encrypted data about the token service provider, device, or address verification.<br /><br />**Allowable Values:**<br /><br />`address_verification`, `device`, `token_service_provider`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_data.**token\_service\_provider**<br /><br />object<br /><br />Conditionally returned                              | Contains information held and provided by the token service provider (card network). This object is returned when relevant information is provided by the token service provider.<br /><br />**Allowable Values:**<br /><br />`correlation_id`, `pan_reference_id`, `token_assurance_level`, `token_eligibility_decision`, `token_pan`, `token_reference_id`, `token_requestor_id`, `token_requestor_name`, `token_score`, `token_type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_data.token\_service\_provider.**pan\_reference\_id**<br /><br />string<br /><br />Returned                         | Unique identifier of the digital wallet token’s PAN within the card network. This value may vary, depending on the digital wallet. For example, the `pan_reference_id` may be different in an Apple Wallet and a Google Wallet for the same digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| encrypted\_data.token\_service\_provider.**token\_reference\_id**<br /><br />string<br /><br />Conditionally returned         | Identifier that correlates the digital wallet token with the card network. This is the primary identifier for Visa. For Mastercard, this field is not populated until the token is active.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| encrypted\_data.token\_service\_provider.**correlation\_id**<br /><br />string<br /><br />Conditionally returned              | Unique value representing a tokenization request (Mastercard only).<br /><br />**Allowable Values:**<br /><br />14 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_data.token\_service\_provider.**token\_requestor\_id**<br /><br />string<br /><br />Returned                       | Identifier of the token requestor. This identifier differs for each card network.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| encrypted\_data.token\_service\_provider.**token\_requestor\_name**<br /><br />string<br /><br />Returned                     | Human-readable name for the token requestor. In your code, we recommend using the token requestor identifier instead, because it is immutable once it has been created.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| encrypted\_data.token\_service\_provider.**token\_type**<br /><br />string<br /><br />Returned                                | Comma-delimited list of digital wallet token types to display.<br /><br />**Allowable Values:**<br /><br />`DEVICE_CLOUD_BASED`, `DEVICE_SECURE_ELEMENT`, `ECOMMERCE_DIGITAL_WALLET`, `MERCHANT_CARD_ON_FILE`, `PSEUDO_ACCOUNT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| encrypted\_data.token\_service\_provider.**token\_assurance\_level**<br /><br />string<br /><br />Conditionally returned      | Specifies the assurance level of the token-to-PAN binding as defined by the payment network. Represents a general risk value from `00` to `99`.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_data.token\_service\_provider.**token\_pan**<br /><br />string<br /><br />Conditionally returned                   | Digital wallet token primary account number (PAN), also known as the Digital Account Number, Token Number, or Digital PAN (DPAN).<br /><br />Token PAN appears in masked format. To view the token PAN in clear text, use the `/showtokenpan` endpoint.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| encrypted\_data.token\_service\_provider.**token\_expiration**<br /><br />MMyy<br /><br />Conditionally returned              | Expiration of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| encrypted\_data.token\_service\_provider.**token\_score**<br /><br />string<br /><br />Conditionally returned                 | Token score assigned by the token service provider. This value is provided when it is received by the token service provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| encrypted\_data.token\_service\_provider.**token\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned | Token service provider’s recommendation as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| encrypted\_data.**device**<br /><br />object<br /><br />Conditionally returned                                                | Contains data about the provisioned device.<br /><br />**Allowable Values:**<br /><br />`device_id`, `ip_address`, `language_code`, `location`, `name`, `phone_number`, `type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| encrypted\_data.device.**type**<br /><br />string<br /><br />Returned                                                         | Specifies the type of device being provisioned. This object is returned when relevant information is provided by the token service provider, typically for device-based digital wallets such as Google Wallet and Apple Wallet only.<br /><br />**Allowable Values:**<br /><br />`APPLIANCE`, `GAMING_DEVICE`, `LAPTOP`, `MOBILE_PHONE`, `MOBILE_PHONE_OR_TABLET`, `PERSONAL_COMPUTER`, `TABLET`, `WATCH`, `VEHICLE`, `UNKNOWN`, `UNRECOGNIZED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| encrypted\_data.device.**device\_id**<br /><br />string<br /><br />Conditionally returned                                     | Identity number of the device. This value is returned if it is available for a given digital wallet token.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| encrypted\_data.device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                                  | Telephone number of the device, as returned by the digital wallet provider. This value may be the full phone number, the last four digits, or null.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_data.device.**name**<br /><br />string<br /><br />Conditionally returned                                           | Name of the device, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />128 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| encrypted\_data.device.**location**<br /><br />string<br /><br />Conditionally returned                                       | Geographic coordinates of the device at the time of the tokenization request, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_data.device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                    | IPv4 address, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_data.device.**language\_code**<br /><br />string<br /><br />Conditionally returned                                 | Language the device is configured to use, such as `eng` for English.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| encrypted\_data.**address\_verification**<br /><br />object<br /><br />Conditionally returned                                 | Contains the name and address of the cardholder for address verification.<br /><br />**Allowable Values:**<br /><br />`name`, `postal_code`, `street_address`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| encrypted\_data.address\_verification.**name**<br /><br />string<br /><br />Conditionally returned                            | Name of the cardholder, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| encrypted\_data.address\_verification.**street\_address**<br /><br />string<br /><br />Conditionally returned                 | Street address of the cardholder, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_data.address\_verification.**postal\_code**<br /><br />string<br /><br />Conditionally returned                    | Postal code of the cardholder, such as a United States ZIP code, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| card\_token<br /><br />string<br /><br />Conditionally returned                                                               | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                                                           | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment\_status<br /><br />string<br /><br />Conditionally returned                                                       | Digital wallet token’s provisioning status.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`, `PROVISIONED`, `REJECTED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| issuer\_eligibility\_decision<br /><br />string<br /><br />Conditionally returned                                             | Card issuer’s recommendation as to whether the digital wallet token should be provisioned. Example values: `0000` (Approved), `invalid.cid`, `avs.decline`, `token.activation`<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| last\_modified\_time<br /><br />datetime<br /><br />Conditionally returned                                                    | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| state<br /><br />string<br /><br />Conditionally returned                                                                     | Current state of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| state\_reason<br /><br />string<br /><br />Conditionally returned                                                             | Descriptive reason for the current state of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| token<br /><br />string<br /><br />Conditionally returned                                                                     | Unique identifier for the digital wallet token on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| wallet\_provider\_profile<br /><br />object<br /><br />Conditionally returned                                                 | Contains information held and provided by the digital wallet provider. This object is returned when relevant information is provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`account`, `device_score`, `pan_source`, `reason_code`, `risk_assessment`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| wallet\_provider\_profile.**account**<br /><br />object<br /><br />Returned                                                   | Contains information related to the cardholder, as provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`email_address`, `id`, `score`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| wallet\_provider\_profile.account.**id**<br /><br />string<br /><br />Returned                                                | Digital wallet provider’s unique identity number for the cardholder. This identity number does not correlate with other information.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.account.**email\_address**<br /><br />string<br /><br />Conditionally returned                      | Hashed version of the email address linked to the digital wallet. The exact hashing algorithm may vary, depending on the wallet and network. You can use this field to validate that email associated with digital wallet matches what is on file for the account. Data is `hexBinary` encoded.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| wallet\_provider\_profile.account.**score**<br /><br />string<br /><br />Conditionally returned                               | Wallet provider’s account score, indicating the confidence level associated with the account. The scale ranges from 1 to 5, where 5 indicates the highest level of confidence. The value in this file may be presented with or without a leading 0.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 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, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`score`, `version`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.risk\_assessment.**score**<br /><br />string<br /><br />Conditionally returned                      | Digital wallet provider’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| wallet\_provider\_profile.risk\_assessment.**version**<br /><br />string<br /><br />Conditionally returned                    | Digital wallet provider’s risk version.<br /><br />**NOTE:** Changes in the version might indicate differences in other fields.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| wallet\_provider\_profile.**device\_score**<br /><br />string<br /><br />Conditionally returned                               | Wallet provider device score on a scale from 1 to 5, indicating the confidence level of the device, where 5 indicates the highest level of confidence.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.**pan\_source**<br /><br />string<br /><br />Returned                                               | Source from which the digital wallet provider obtained the card primary account number (PAN), as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`KEY_ENTERED`, `MOBILE_BANKING_APP`, `ON_FILE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| wallet\_provider\_profile.**reason\_code**<br /><br />string<br /><br />Conditionally returned                                | Comma-separated list of wallet provider reason codes, describing the reason for the wallet provider’s provisioning decision.<br /><br />**NOTE:** This list of reason codes is subject to change.<br /><br />Apple Wallet (Visa/Mastercard), Google Wallet/Samsung Wallet (Mastercard only)<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 - Suspected fraud.<br />- 0H - The phone number score is less than 3.<br /><br />Google Wallet/Samsung Wallet (Visa only)<br /><br />- A0 - Cardholder PAN associated with account within threshold days.<br />- A1 - Wallet account holder name on file does not match cardholder entered name.<br />- A2 - User’s account on device less than threshold days.<br />- A3 - User account was created within threshold days.<br />- A4 - Wallet account created within threshold days.<br />- A5 - Changes made to account data within threshold days.<br />- A6 - The number of provisioning attempts across all cards on this device in the last 24 hours exceeds the threshold.<br />- A7 - The wallet account into which the card is being provisioned contains distinct names greater than threshold.<br />- A8 - Device provisioning location outside of cardholder’s wallet account home country.<br />- A9 - Suspended cards in the wallet account is greater than threshold.<br />- AA - This account has not had activity within threshold period.<br />- AB - Number of days since device was last reported lost is less than threshold days.<br />- AC - Number of transactions in last 12 months less than threshold number.<br />- AD - Number of active tokens greater than threshold.<br />- AE - Number of devices with Same UserID with token is greater than threshold.<br />- AF - Number of active tokens on all devices is greater than threshold.<br />- AG - Issuer deferred ID\&V decision.<br />- AH - Issuer encrypted payment instrument data expired.<br />- AI - User/device receiving encrypted payment instrument data is different than the one that is provisioning the token.<br />- AL - Encrypted payment instrument data is pushed to a different device than the one that issuer application authenticated.<br />- AM - Encrypted payment instrument data is pushed to a different user than the cardholder.<br />- AN - Encrypted Payment Instrument Data is being pushed by the Issuer to the same device that the Issuer application authenticated, but without any upfront authentication.<br />- AO - Encrypted Payment Instrument Data is being pushed by the Issuer to the same device that the Issuer application authenticated, but with successful upfront authentication.<br /><br />**Allowable Values:**<br /><br />100 char max |

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

```json JSON expandable lines wrap theme={null}
{
  "token": "my_digital_wallet_token_01",
  "card_token": "my_card_01",
  "state": "ACTIVE",
  "state_reason": "Digital wallet token provisioned to digital wallet",
  "fulfillment_status": "PROVISIONED",
  "issuer_eligibility_decision": "0000",
  "created_time": "2022-06-16T22:24:02Z",
  "last_modified_time": "2022-09-04T20:12:10Z",
  "encrypted_data": {
    "token_service_provider": {
      "token_reference_id": "DNITHE343434343459",
      "pan_reference_id": "V-123343434343434",
      "token_requestor_id": "40010030273",
      "token_requestor_name": "APPLE_PAY",
      "token_type": "DEVICE_SECURE_ELEMENT",
      "token_pan": "4111111111111111",
      "token_expiration": "1225",
      "token_eligibility_decision": "DECISION_GREEN"
    },
    "device": {
      "type": "MOBILE_PHONE",
      "language_code": "eng",
      "device_id": "01111ABCB11100210111111111111E261D1AA1F11A1",
      "phone_number": "18000001111",
      "name": "My iPhone",
      "location": "+11.11/-11.11",
      "ip_address": "1.1.1.1"
    },
    "address_verification": {
      "street_address": "180 grand ave,",
      "zip": "94612"
    }
  },
  "wallet_provider_profile": {
    "account": {
      "id": "ABCD2345",
      "email_address": "F11AAAA1A011C11111111111A1AA111F4D3E31DB1111AE2C111211D7C11E11A",
      "score": "5"
    },
    "risk_assessment": {
      "score": "DECISION_GREEN",
      "version": "0001.00"
    },
    "device_score": "3",
    "pan_source": "ON_FILE"
  }
}
```

<h2 id="get_digital_wallet_tokens_by_card">
  List digital wallet tokens by card
</h2>

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

{/* <EndpointCard
title="List digital wallet tokens by card"
path="/digitalwallettokens/card/{card_token}"
method="get"
/> */}

Use the `digitalwallettokens/card/{card_token}` endpoint to retrieve a list of digital wallet tokens for the specified card.

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

| Fields                                            | Description                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| card\_token<br /><br />string<br /><br />Required | Token that identifies the card and correlates it with the card issuer. This token is used to minimize the need to exchange card details during subsequent API calls, and also for troubleshooting. Use a globally unique identifier (GUID) or a pseudo-unique identifier for this token.<br /><br />**Allowable Values:**<br /><br />Existing card token |

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

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                     |
| --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Optional        | Number of resources to retrieve.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                        |
| start\_index<br /><br />integer<br /><br />Optional | Sort order index of the first resource to retrieve.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                     |
| 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 Values:**`-createdTime` |

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

| Fields                                                                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| start\_index<br /><br />integer<br /><br />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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| end\_index<br /><br />integer<br /><br />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`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data<br /><br />array of undefineds<br /><br />Conditionally returned                                                                 | Array of digital wallet token objects.<br /><br />**Allowable Values:**<br /><br />Valid data array of one or more digital wallet token objects.<br /><br />Objects are returned as appropriate to your query.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**encrypted\_data**<br /><br />object<br /><br />Conditionally returned                                                       | Contains encrypted data about the token service provider, device, or address verification.<br /><br />**Allowable Values:**<br /><br />`address_verification`, `device`, `token_service_provider`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].encrypted\_data.**token\_service\_provider**<br /><br />object<br /><br />Conditionally returned                              | Contains information held and provided by the token service provider (card network). This object is returned when relevant information is provided by the token service provider.<br /><br />**Allowable Values:**<br /><br />`correlation_id`, `pan_reference_id`, `token_assurance_level`, `token_eligibility_decision`, `token_pan`, `token_reference_id`, `token_requestor_id`, `token_requestor_name`, `token_score`, `token_type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].encrypted\_data.token\_service\_provider.**pan\_reference\_id**<br /><br />string<br /><br />Returned                         | Unique identifier of the digital wallet token’s PAN within the card network. This value may vary, depending on the digital wallet. For example, the `pan_reference_id` may be different in an Apple Wallet and a Google Wallet for the same digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].encrypted\_data.token\_service\_provider.**token\_reference\_id**<br /><br />string<br /><br />Conditionally returned         | Identifier that correlates the digital wallet token with the card network. This is the primary identifier for Visa. For Mastercard, this field is not populated until the token is active.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].encrypted\_data.token\_service\_provider.**correlation\_id**<br /><br />string<br /><br />Conditionally returned              | Unique value representing a tokenization request (Mastercard only).<br /><br />**Allowable Values:**<br /><br />14 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].encrypted\_data.token\_service\_provider.**token\_requestor\_id**<br /><br />string<br /><br />Returned                       | Identifier of the token requestor. This identifier differs for each card network.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].encrypted\_data.token\_service\_provider.**token\_requestor\_name**<br /><br />string<br /><br />Returned                     | Human-readable name for the token requestor. In your code, we recommend using the token requestor identifier instead, because it is immutable once it has been created.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].encrypted\_data.token\_service\_provider.**token\_type**<br /><br />string<br /><br />Returned                                | Comma-delimited list of digital wallet token types to display.<br /><br />**Allowable Values:**<br /><br />`DEVICE_CLOUD_BASED`, `DEVICE_SECURE_ELEMENT`, `ECOMMERCE_DIGITAL_WALLET`, `MERCHANT_CARD_ON_FILE`, `PSEUDO_ACCOUNT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].encrypted\_data.token\_service\_provider.**token\_assurance\_level**<br /><br />string<br /><br />Conditionally returned      | Specifies the assurance level of the token-to-PAN binding as defined by the payment network. Represents a general risk value from `00` to `99`.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].encrypted\_data.token\_service\_provider.**token\_pan**<br /><br />string<br /><br />Conditionally returned                   | Digital wallet token primary account number (PAN), also known as the Digital Account Number, Token Number, or Digital PAN (DPAN).<br /><br />Token PAN appears in masked format. To view the token PAN in clear text, use the `/showtokenpan` endpoint.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].encrypted\_data.token\_service\_provider.**token\_expiration**<br /><br />MMyy<br /><br />Conditionally returned              | Expiration of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].encrypted\_data.token\_service\_provider.**token\_score**<br /><br />string<br /><br />Conditionally returned                 | Token score assigned by the token service provider. This value is provided when it is received by the token service provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].encrypted\_data.token\_service\_provider.**token\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned | Token service provider’s recommendation as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].encrypted\_data.**device**<br /><br />object<br /><br />Conditionally returned                                                | Contains data about the provisioned device.<br /><br />**Allowable Values:**<br /><br />`device_id`, `ip_address`, `language_code`, `location`, `name`, `phone_number`, `type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].encrypted\_data.device.**type**<br /><br />string<br /><br />Returned                                                         | Specifies the type of device being provisioned. This object is returned when relevant information is provided by the token service provider, typically for device-based digital wallets such as Google Wallet and Apple Wallet only.<br /><br />**Allowable Values:**<br /><br />`APPLIANCE`, `GAMING_DEVICE`, `LAPTOP`, `MOBILE_PHONE`, `MOBILE_PHONE_OR_TABLET`, `PERSONAL_COMPUTER`, `TABLET`, `WATCH`, `VEHICLE`, `UNKNOWN`, `UNRECOGNIZED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].encrypted\_data.device.**device\_id**<br /><br />string<br /><br />Conditionally returned                                     | Identity number of the device. This value is returned if it is available for a given digital wallet token.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].encrypted\_data.device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                                  | Telephone number of the device, as returned by the digital wallet provider. This value may be the full phone number, the last four digits, or null.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].encrypted\_data.device.**name**<br /><br />string<br /><br />Conditionally returned                                           | Name of the device, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />128 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].encrypted\_data.device.**location**<br /><br />string<br /><br />Conditionally returned                                       | Geographic coordinates of the device at the time of the tokenization request, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].encrypted\_data.device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                    | IPv4 address, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].encrypted\_data.device.**language\_code**<br /><br />string<br /><br />Conditionally returned                                 | Language the device is configured to use, such as `eng` for English.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].encrypted\_data.**address\_verification**<br /><br />object<br /><br />Conditionally returned                                 | Contains the name and address of the cardholder for address verification.<br /><br />**Allowable Values:**<br /><br />`name`, `postal_code`, `street_address`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].encrypted\_data.address\_verification.**name**<br /><br />string<br /><br />Conditionally returned                            | Name of the cardholder, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].encrypted\_data.address\_verification.**street\_address**<br /><br />string<br /><br />Conditionally returned                 | Street address of the cardholder, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].encrypted\_data.address\_verification.**postal\_code**<br /><br />string<br /><br />Conditionally returned                    | Postal code of the cardholder, such as a United States ZIP code, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].**card\_token**<br /><br />string<br /><br />Conditionally returned                                                           | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].**created\_time**<br /><br />datetime<br /><br />Conditionally returned                                                       | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**fulfillment\_status**<br /><br />string<br /><br />Conditionally returned                                                   | Digital wallet token’s provisioning status.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`, `PROVISIONED`, `REJECTED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].**issuer\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned                                         | Card issuer’s recommendation as to whether the digital wallet token should be provisioned. Example values: `0000` (Approved), `invalid.cid`, `avs.decline`, `token.activation`<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**last\_modified\_time**<br /><br />datetime<br /><br />Conditionally returned                                                | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**state**<br /><br />string<br /><br />Conditionally returned                                                                 | Current state of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**state\_reason**<br /><br />string<br /><br />Conditionally returned                                                         | Descriptive reason for the current state of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**token**<br /><br />string<br /><br />Conditionally returned                                                                 | Unique identifier for the digital wallet token on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**wallet\_provider\_profile**<br /><br />object<br /><br />Conditionally returned                                             | Contains information held and provided by the digital wallet provider. This object is returned when relevant information is provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`account`, `device_score`, `pan_source`, `reason_code`, `risk_assessment`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].wallet\_provider\_profile.**account**<br /><br />object<br /><br />Returned                                                   | Contains information related to the cardholder, as provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`email_address`, `id`, `score`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].wallet\_provider\_profile.account.**id**<br /><br />string<br /><br />Returned                                                | Digital wallet provider’s unique identity number for the cardholder. This identity number does not correlate with other information.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.account.**email\_address**<br /><br />string<br /><br />Conditionally returned                      | Hashed version of the email address linked to the digital wallet. The exact hashing algorithm may vary, depending on the wallet and network. You can use this field to validate that email associated with digital wallet matches what is on file for the account. Data is `hexBinary` encoded.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].wallet\_provider\_profile.account.**score**<br /><br />string<br /><br />Conditionally returned                               | Wallet provider’s account score, indicating the confidence level associated with the account. The scale ranges from 1 to 5, where 5 indicates the highest level of confidence. The value in this file may be presented with or without a leading 0.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 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, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`score`, `version`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.risk\_assessment.**score**<br /><br />string<br /><br />Conditionally returned                      | Digital wallet provider’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].wallet\_provider\_profile.risk\_assessment.**version**<br /><br />string<br /><br />Conditionally returned                    | Digital wallet provider’s risk version.<br /><br />**NOTE:** Changes in the version might indicate differences in other fields.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].wallet\_provider\_profile.**device\_score**<br /><br />string<br /><br />Conditionally returned                               | Wallet provider device score on a scale from 1 to 5, indicating the confidence level of the device, where 5 indicates the highest level of confidence.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].wallet\_provider\_profile.**pan\_source**<br /><br />string<br /><br />Returned                                               | Source from which the digital wallet provider obtained the card primary account number (PAN), as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`KEY_ENTERED`, `MOBILE_BANKING_APP`, `ON_FILE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].wallet\_provider\_profile.**reason\_code**<br /><br />string<br /><br />Conditionally returned                                | Comma-separated list of wallet provider reason codes, describing the reason for the wallet provider’s provisioning decision.<br /><br />**NOTE:** This list of reason codes is subject to change.<br /><br />Apple Wallet (Visa/Mastercard), Google Wallet/Samsung Wallet (Mastercard only)<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 - Suspected fraud.<br />- 0H - The phone number score is less than 3.<br /><br />Google Wallet/Samsung Wallet (Visa only)<br /><br />- A0 - Cardholder PAN associated with account within threshold days.<br />- A1 - Wallet account holder name on file does not match cardholder entered name.<br />- A2 - User’s account on device less than threshold days.<br />- A3 - User account was created within threshold days.<br />- A4 - Wallet account created within threshold days.<br />- A5 - Changes made to account data within threshold days.<br />- A6 - The number of provisioning attempts across all cards on this device in the last 24 hours exceeds the threshold.<br />- A7 - The wallet account into which the card is being provisioned contains distinct names greater than threshold.<br />- A8 - Device provisioning location outside of cardholder’s wallet account home country.<br />- A9 - Suspended cards in the wallet account is greater than threshold.<br />- AA - This account has not had activity within threshold period.<br />- AB - Number of days since device was last reported lost is less than threshold days.<br />- AC - Number of transactions in last 12 months less than threshold number.<br />- AD - Number of active tokens greater than threshold.<br />- AE - Number of devices with Same UserID with token is greater than threshold.<br />- AF - Number of active tokens on all devices is greater than threshold.<br />- AG - Issuer deferred ID\&V decision.<br />- AH - Issuer encrypted payment instrument data expired.<br />- AI - User/device receiving encrypted payment instrument data is different than the one that is provisioning the token.<br />- AL - Encrypted payment instrument data is pushed to a different device than the one that issuer application authenticated.<br />- AM - Encrypted payment instrument data is pushed to a different user than the cardholder.<br />- AN - Encrypted Payment Instrument Data is being pushed by the Issuer to the same device that the Issuer application authenticated, but without any upfront authentication.<br />- AO - Encrypted Payment Instrument Data is being pushed by the Issuer to the same device that the Issuer application authenticated, but with successful upfront authentication.<br /><br />**Allowable Values:**<br /><br />100 char max |

<h2 id="get_digital_wallet_token_with_pan_visible">
  Retrieve digital wallet token with PAN visible
</h2>

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

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

Use the `/digitalwallettokens/{token}/showtokenpan` 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}`.

<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.<br /><br />**Allowable Values:**<br /><br />Existing digital wallet token token |

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

| Fields                                                                                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| encrypted\_data<br /><br />object<br /><br />Conditionally returned                                                           | Contains encrypted data about the token service provider, device, or address verification.<br /><br />**Allowable Values:**<br /><br />`address_verification`, `device`, `token_service_provider`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_data.**token\_service\_provider**<br /><br />object<br /><br />Conditionally returned                              | Contains information held and provided by the token service provider (card network). This object is returned when relevant information is provided by the token service provider.<br /><br />**Allowable Values:**<br /><br />`correlation_id`, `pan_reference_id`, `token_assurance_level`, `token_eligibility_decision`, `token_pan`, `token_reference_id`, `token_requestor_id`, `token_requestor_name`, `token_score`, `token_type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| encrypted\_data.token\_service\_provider.**pan\_reference\_id**<br /><br />string<br /><br />Returned                         | Unique identifier of the digital wallet token’s PAN within the card network. This value may vary, depending on the digital wallet. For example, the `pan_reference_id` may be different in an Apple Wallet and a Google Wallet for the same digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| encrypted\_data.token\_service\_provider.**token\_reference\_id**<br /><br />string<br /><br />Conditionally returned         | Identifier that correlates the digital wallet token with the card network. This is the primary identifier for Visa. For Mastercard, this field is not populated until the token is active.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| encrypted\_data.token\_service\_provider.**correlation\_id**<br /><br />string<br /><br />Conditionally returned              | Unique value representing a tokenization request (Mastercard only).<br /><br />**Allowable Values:**<br /><br />14 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_data.token\_service\_provider.**token\_requestor\_id**<br /><br />string<br /><br />Returned                       | Identifier of the token requestor. This identifier differs for each card network.<br /><br />**Allowable Values:**<br /><br />1–50 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| encrypted\_data.token\_service\_provider.**token\_requestor\_name**<br /><br />string<br /><br />Returned                     | Human-readable name for the token requestor. In your code, we recommend using the token requestor identifier instead, because it is immutable once it has been created.<br /><br />**Allowable Values:**<br /><br />1–100 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| encrypted\_data.token\_service\_provider.**token\_type**<br /><br />string<br /><br />Returned                                | Comma-delimited list of digital wallet token types to display.<br /><br />**Allowable Values:**<br /><br />`DEVICE_CLOUD_BASED`, `DEVICE_SECURE_ELEMENT`, `ECOMMERCE_DIGITAL_WALLET`, `MERCHANT_CARD_ON_FILE`, `PSEUDO_ACCOUNT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| encrypted\_data.token\_service\_provider.**token\_assurance\_level**<br /><br />string<br /><br />Conditionally returned      | Specifies the assurance level of the token-to-PAN binding as defined by the payment network. Represents a general risk value from `00` to `99`.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_data.token\_service\_provider.**token\_pan**<br /><br />string<br /><br />Conditionally returned                   | Digital wallet token primary account number (PAN), also known as the Digital Account Number, Token Number, or Digital PAN (DPAN).<br /><br />Token PAN appears in masked format. To view the token PAN in clear text, use the `/showtokenpan` endpoint.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| encrypted\_data.token\_service\_provider.**token\_expiration**<br /><br />MMyy<br /><br />Conditionally returned              | Expiration of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />Format: MMyy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| encrypted\_data.token\_service\_provider.**token\_score**<br /><br />string<br /><br />Conditionally returned                 | Token score assigned by the token service provider. This value is provided when it is received by the token service provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| encrypted\_data.token\_service\_provider.**token\_eligibility\_decision**<br /><br />string<br /><br />Conditionally returned | Token service provider’s recommendation as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| encrypted\_data.**device**<br /><br />object<br /><br />Conditionally returned                                                | Contains data about the provisioned device.<br /><br />**Allowable Values:**<br /><br />`device_id`, `ip_address`, `language_code`, `location`, `name`, `phone_number`, `type`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| encrypted\_data.device.**type**<br /><br />string<br /><br />Returned                                                         | Specifies the type of device being provisioned. This object is returned when relevant information is provided by the token service provider, typically for device-based digital wallets such as Google Wallet and Apple Wallet only.<br /><br />**Allowable Values:**<br /><br />`APPLIANCE`, `GAMING_DEVICE`, `LAPTOP`, `MOBILE_PHONE`, `MOBILE_PHONE_OR_TABLET`, `PERSONAL_COMPUTER`, `TABLET`, `WATCH`, `VEHICLE`, `UNKNOWN`, `UNRECOGNIZED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| encrypted\_data.device.**device\_id**<br /><br />string<br /><br />Conditionally returned                                     | Identity number of the device. This value is returned if it is available for a given digital wallet token.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| encrypted\_data.device.**phone\_number**<br /><br />string<br /><br />Conditionally returned                                  | Telephone number of the device, as returned by the digital wallet provider. This value may be the full phone number, the last four digits, or null.<br /><br />**Allowable Values:**<br /><br />20 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| encrypted\_data.device.**name**<br /><br />string<br /><br />Conditionally returned                                           | Name of the device, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />128 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| encrypted\_data.device.**location**<br /><br />string<br /><br />Conditionally returned                                       | Geographic coordinates of the device at the time of the tokenization request, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_data.device.**ip\_address**<br /><br />string<br /><br />Conditionally returned                                    | IPv4 address, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />25 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| encrypted\_data.device.**language\_code**<br /><br />string<br /><br />Conditionally returned                                 | Language the device is configured to use, such as `eng` for English.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| encrypted\_data.**address\_verification**<br /><br />object<br /><br />Conditionally returned                                 | Contains the name and address of the cardholder for address verification.<br /><br />**Allowable Values:**<br /><br />`name`, `postal_code`, `street_address`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| encrypted\_data.address\_verification.**name**<br /><br />string<br /><br />Conditionally returned                            | Name of the cardholder, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| encrypted\_data.address\_verification.**street\_address**<br /><br />string<br /><br />Conditionally returned                 | Street address of the cardholder, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| encrypted\_data.address\_verification.**postal\_code**<br /><br />string<br /><br />Conditionally returned                    | Postal code of the cardholder, such as a United States ZIP code, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />50 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| card\_token<br /><br />string<br /><br />Conditionally returned                                                               | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                                                           | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| fulfillment\_status<br /><br />string<br /><br />Conditionally returned                                                       | Digital wallet token’s provisioning status.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`, `PROVISIONED`, `REJECTED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| issuer\_eligibility\_decision<br /><br />string<br /><br />Conditionally returned                                             | Card issuer’s recommendation as to whether the digital wallet token should be provisioned. Example values: `0000` (Approved), `invalid.cid`, `avs.decline`, `token.activation`<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| last\_modified\_time<br /><br />datetime<br /><br />Conditionally returned                                                    | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| state<br /><br />string<br /><br />Conditionally returned                                                                     | Current state of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| state\_reason<br /><br />string<br /><br />Conditionally returned                                                             | Descriptive reason for the current state of the digital wallet token.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| token<br /><br />string<br /><br />Conditionally returned                                                                     | Unique identifier for the digital wallet token on the Marqeta platform.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| wallet\_provider\_profile<br /><br />object<br /><br />Conditionally returned                                                 | Contains information held and provided by the digital wallet provider. This object is returned when relevant information is provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`account`, `device_score`, `pan_source`, `reason_code`, `risk_assessment`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| wallet\_provider\_profile.**account**<br /><br />object<br /><br />Returned                                                   | Contains information related to the cardholder, as provided by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`email_address`, `id`, `score`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| wallet\_provider\_profile.account.**id**<br /><br />string<br /><br />Returned                                                | Digital wallet provider’s unique identity number for the cardholder. This identity number does not correlate with other information.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.account.**email\_address**<br /><br />string<br /><br />Conditionally returned                      | Hashed version of the email address linked to the digital wallet. The exact hashing algorithm may vary, depending on the wallet and network. You can use this field to validate that email associated with digital wallet matches what is on file for the account. Data is `hexBinary` encoded.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| wallet\_provider\_profile.account.**score**<br /><br />string<br /><br />Conditionally returned                               | Wallet provider’s account score, indicating the confidence level associated with the account. The scale ranges from 1 to 5, where 5 indicates the highest level of confidence. The value in this file may be presented with or without a leading 0.<br /><br />**Allowable Values:**<br /><br />2 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 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, as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`score`, `version`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.risk\_assessment.**score**<br /><br />string<br /><br />Conditionally returned                      | Digital wallet provider’s decision as to whether the digital wallet token should be provisioned.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| wallet\_provider\_profile.risk\_assessment.**version**<br /><br />string<br /><br />Conditionally returned                    | Digital wallet provider’s risk version.<br /><br />**NOTE:** Changes in the version might indicate differences in other fields.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| wallet\_provider\_profile.**device\_score**<br /><br />string<br /><br />Conditionally returned                               | Wallet provider device score on a scale from 1 to 5, indicating the confidence level of the device, where 5 indicates the highest level of confidence.<br /><br />**Allowable Values:**<br /><br />Any value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| wallet\_provider\_profile.**pan\_source**<br /><br />string<br /><br />Returned                                               | Source from which the digital wallet provider obtained the card primary account number (PAN), as returned by the digital wallet provider.<br /><br />**Allowable Values:**<br /><br />`KEY_ENTERED`, `MOBILE_BANKING_APP`, `ON_FILE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| wallet\_provider\_profile.**reason\_code**<br /><br />string<br /><br />Conditionally returned                                | Comma-separated list of wallet provider reason codes, describing the reason for the wallet provider’s provisioning decision.<br /><br />**NOTE:** This list of reason codes is subject to change.<br /><br />Apple Wallet (Visa/Mastercard), Google Wallet/Samsung Wallet (Mastercard only)<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 - Suspected fraud.<br />- 0H - The phone number score is less than 3.<br /><br />Google Wallet/Samsung Wallet (Visa only)<br /><br />- A0 - Cardholder PAN associated with account within threshold days.<br />- A1 - Wallet account holder name on file does not match cardholder entered name.<br />- A2 - User’s account on device less than threshold days.<br />- A3 - User account was created within threshold days.<br />- A4 - Wallet account created within threshold days.<br />- A5 - Changes made to account data within threshold days.<br />- A6 - The number of provisioning attempts across all cards on this device in the last 24 hours exceeds the threshold.<br />- A7 - The wallet account into which the card is being provisioned contains distinct names greater than threshold.<br />- A8 - Device provisioning location outside of cardholder’s wallet account home country.<br />- A9 - Suspended cards in the wallet account is greater than threshold.<br />- AA - This account has not had activity within threshold period.<br />- AB - Number of days since device was last reported lost is less than threshold days.<br />- AC - Number of transactions in last 12 months less than threshold number.<br />- AD - Number of active tokens greater than threshold.<br />- AE - Number of devices with Same UserID with token is greater than threshold.<br />- AF - Number of active tokens on all devices is greater than threshold.<br />- AG - Issuer deferred ID\&V decision.<br />- AH - Issuer encrypted payment instrument data expired.<br />- AI - User/device receiving encrypted payment instrument data is different than the one that is provisioning the token.<br />- AL - Encrypted payment instrument data is pushed to a different device than the one that issuer application authenticated.<br />- AM - Encrypted payment instrument data is pushed to a different user than the cardholder.<br />- AN - Encrypted Payment Instrument Data is being pushed by the Issuer to the same device that the Issuer application authenticated, but without any upfront authentication.<br />- AO - Encrypted Payment Instrument Data is being pushed by the Issuer to the same device that the Issuer application authenticated, but with successful upfront authentication.<br /><br />**Allowable Values:**<br /><br />100 char max |

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

```json JSON expandable lines wrap theme={null}
{
  "token": "my_digital_wallet_token_01",
  "card_token": "my_card_01",
  "state": "ACTIVE",
  "state_reason": "Digital wallet token provisioned to digital wallet",
  "fulfillment_status": "PROVISIONED",
  "issuer_eligibility_decision": "0000",
  "created_time": "2022-06-16T22:24:02Z",
  "last_modified_time": "2022-09-04T20:12:10Z",
  "encrypted_data": {
    "token_service_provider": {
      "token_reference_id": "DNITHE343434343459",
      "pan_reference_id": "V-123343434343434",
      "token_requestor_id": "40010030273",
      "token_requestor_name": "APPLE_PAY",
      "token_type": "DEVICE_SECURE_ELEMENT",
      "token_pan": "4111111111111111",
      "token_expiration": "1225",
      "token_eligibility_decision": "DECISION_GREEN"
    },
    "device": {
      "type": "MOBILE_PHONE",
      "language_code": "eng",
      "device_id": "01111ABCB11100210111111111111E261D1AA1F11A1",
      "phone_number": "18000001111",
      "name": "My iPhone",
      "location": "+11.11/-11.11",
      "ip_address": "1.1.1.1"
    },
    "address_verification": {
      "street_address": "180 Grand Ave",
      "zip": "94612"
    }
  },
  "wallet_provider_profile": {
    "account": {
      "id": "ABCD2345",
      "email_address": "F11AAAA1A011C11111111111A1AA111F4D3E31DB1111AE2C111211D7C11E11A",
      "score": "5"
    },
    "risk_assessment": {
      "score": "DECISION_GREEN",
      "version": "0001.00"
    },
    "device_score": "3",
    "pan_source": "ON_FILE"
  }
}
```

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

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

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

Use the `/digitalwallettokentransitions` endpoint to transition a digital wallet token from one state to another.

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

| Fields                                                                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Optional                            | Unique identifier of the digital wallet token transition, and not the identifier of the digital wallet token itself. 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 |
| reason\_code<br /><br />string<br /><br />Required                     | Code describing the reason for the transition. Marqeta does not validate what is provided, although Marqeta-sourced changes use standard codes.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                                                      |
| token\_reference\_id<br /><br />string<br /><br />Optional             | Unique identifier of the digital wallet token within the card network. `token_reference_id` is unique at the card network level. This is the primary identifier for Visa.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                                                                                                                                                                                            |
| channel<br /><br />string<br /><br />Required                          | Mechanism by which the transition was initiated. `API`, for example.<br /><br />**Allowable Values:**<br /><br />`ADMIN`, `API`, `DIGITAL_WALLET`, `FRAUD`, `IVR`, `MARQETA_DASHBOARD`, `SYSTEM`, `TOKEN_SERVICE_PROVIDER`                                                                                                                                                                                                                                                   |
| state<br /><br />string<br /><br />Required                            | Specifies the state to which the digital wallet token transitions.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `REQUESTED`, `REQUEST_DECLINED`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                                                                                                                                          |
| digital\_wallet\_token<br /><br />object<br /><br />Required           | Hashed version of Marqeta’s unique identifier for the digital wallet tokens.<br /><br />**Allowable Values:**<br /><br />`token`                                                                                                                                                                                                                                                                                                                                             |
| digital\_wallet\_token.**token**<br /><br />string<br /><br />Required | Marqeta’s unique identifier for the digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                             |
| reason<br /><br />string<br /><br />Optional                           | Descriptive reason for the transition.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                              |

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

```json JSON lines wrap theme={null}
{
  "state": "ACTIVE",
  "reason_code": "01",
  "reason": "Customer Request",
  "digital_wallet_token": {
    "token": "my_digital_wallet_token_01"
  },
  "channel": "API"
}
```

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

| Fields                                                                 | Description                                                                                                                                                                                                    |
| ---------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Returned                            | Unique identifier for the digital wallet token transition.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                              |
| digital\_wallet\_token<br /><br />object<br /><br />Returned           | Hashed version of Marqeta’s unique identifier for the digital wallet tokens.<br /><br />**Allowable Values:**<br /><br />`token`                                                                               |
| digital\_wallet\_token.**token**<br /><br />string<br /><br />Returned | Marqeta’s unique identifier for the digital wallet token.<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 />`card.swap`, `state.activated`, `state.reinstated`, `state.suspended`, `state.terminated` |
| channel<br /><br />string<br /><br />Returned                          | Mechanism by which the transition was initiated.<br /><br />**Allowable Values:**<br /><br />`API`                                                                                                             |
| state<br /><br />string<br /><br />Returned                            | Specifies the state to which the digital wallet token transitions.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `SUSPENDED`, `TERMINATED`                                                             |
| fulfillment\_status<br /><br />string<br /><br />Returned              | Digital wallet token’s provisioning status.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`, `PROVISIONED`, `REJECTED`                                         |
| reason<br /><br />string<br /><br />Conditionally returned             | Descriptive reason for the transition.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                |
| reason\_code<br /><br />string<br /><br />Returned                     | Code describing the reason for the transition. Marqeta does not validate what is provided, although Marqeta-sourced changes use standard codes.<br /><br />**Allowable Values:**<br /><br />1–255 chars        |
| created\_time<br /><br />datetime<br /><br />Returned                  | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                  |

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

```json JSON lines wrap theme={null}
{
  "token": "my_dwt_transition_01",
  "digital_wallet_token": {
    "token": "my_digital_wallet_token_01"
  },
  "type": "state.activated",
  "channel": "API",
  "state": "ACTIVE",
  "fulfillment_status": "PROVISIONED",
  "reason": "Customer Request",
  "reason_code": "01",
  "created_time": "2022-09-10T06:30:20Z"
}
```

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

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

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

Use the `/digitalwallettokentransitions/digitalwallettoken/{token}` 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_4">
  URL path parameters
</h3>

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

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

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                                                          |
| --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Optional        | Number of resources to retrieve.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                             |
| start\_index<br /><br />integer<br /><br />Optional | Sort order index of the first resource to retrieve.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                          |
| 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:**`id` |
| 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_9">
  Response body
</h3>

| Fields                                                                         | Description                                                                                                                                                                                                                                                                          |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| count<br /><br />integer<br /><br />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                                                                                                               |
| start\_index<br /><br />integer<br /><br />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                                                                               |
| end\_index<br /><br />integer<br /><br />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` |
| data<br /><br />array of objects<br /><br />Conditionally returned             | Array of digital wallet token transition objects.<br /><br />Objects are returned as appropriate to your query.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more digital wallet token transition objects                                                       |
| 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\[].**digital\_wallet\_token**<br /><br />object<br /><br />Returned       | Hashed version of Marqeta’s unique identifier for the digital wallet tokens.<br /><br />**Allowable Values:**<br /><br />`token`                                                                                                                                                     |
| data\[].digital\_wallet\_token.**token**<br /><br />string<br /><br />Returned | Marqeta’s unique identifier for the digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                     |
| data\[].**card\_swap**<br /><br />object<br /><br />Conditionally returned     | Hashed version of the `card_swap` object. Specifies the old and new payment card tokens that were swapped.<br /><br />**Allowable Values:**<br /><br />`newCardToken`, `previousCardToken`                                                                                           |
| data\[].card\_swap.**previousCardToken**<br /><br />string<br /><br />Returned | Unique identifier of the old card from which the digital wallet tokens are transferred.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                       |
| data\[].card\_swap.**newCardToken**<br /><br />string<br /><br />Returned      | Unique identifier of the new card to which the digital wallet tokens are transferred.<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 />`card.swap`, `fulfillment.requested`, `state.activated`, `state.reinstated`, `state.request_declined`, `state.suspended`, `state.terminated`                    |
| data\[].**channel**<br /><br />string<br /><br />Returned                      | Mechanism by which the transition was initiated. `API`, for example.<br /><br />**Allowable Values:**<br /><br />`ADMIN`, `API`, `DIGITAL_WALLET`, `FRAUD`, `IVR`, `MARQETA_DASHBOARD`, `SYSTEM`, `TOKEN_SERVICE_PROVIDER`                                                           |
| data\[].**state**<br /><br />string<br /><br />Returned                        | Specifies the state to which to transition the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `REQUESTED`, `REQUEST_DECLINED`, `SUSPENDED`, `TERMINATED`                                                                                                |
| data\[].**fulfillment\_status**<br /><br />string<br /><br />Returned          | Digital wallet token’s provisioning status.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`, `PROVISIONED`, `REJECTED`                                                                                                               |
| data\[].**reason**<br /><br />string<br /><br />Conditionally returned         | Descriptive reason for the transition.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                      |
| data\[].**reason\_code**<br /><br />string<br /><br />Returned                 | Code describing the reason for the transition. Marqeta does not validate what is provided, although Marqeta-sourced changes use standard codes.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                                              |
| data\[].**created\_time**<br /><br />datetime<br /><br />Returned              | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                        |

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

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

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

Use the `/digitalwallettokentransitions/{token}` endpoint to retrieve a specific digital wallet transition.

<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 transition.<br /><br />**Allowable Values:**<br /><br />Existing digital wallet token transition token |

<h3 id="_url_query_parameters_4">
  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_10">
  Response body
</h3>

| Fields                                                                 | Description                                                                                                                                                                                                                                                       |
| ---------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 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                                                                                       |
| digital\_wallet\_token<br /><br />object<br /><br />Returned           | Hashed version of Marqeta’s unique identifier for the digital wallet tokens.<br /><br />**Allowable Values:**<br /><br />`token`                                                                                                                                  |
| digital\_wallet\_token.**token**<br /><br />string<br /><br />Returned | Marqeta’s unique identifier for the digital wallet token.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                  |
| card\_swap<br /><br />object<br /><br />Conditionally returned         | Hashed version of the `card_swap` object. Specifies the old and new payment card tokens that were swapped.<br /><br />**Allowable Values:**<br /><br />`newCardToken`, `previousCardToken`                                                                        |
| card\_swap.**previousCardToken**<br /><br />string<br /><br />Returned | Unique identifier of the old card from which the digital wallet tokens are transferred.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                    |
| card\_swap.**newCardToken**<br /><br />string<br /><br />Returned      | Unique identifier of the new card to which the digital wallet tokens are transferred.<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 />`card.swap`, `fulfillment.requested`, `state.activated`, `state.reinstated`, `state.request_declined`, `state.suspended`, `state.terminated` |
| channel<br /><br />string<br /><br />Returned                          | Mechanism by which the transition was initiated. `API`, for example.<br /><br />**Allowable Values:**<br /><br />`ADMIN`, `API`, `DIGITAL_WALLET`, `FRAUD`, `IVR`, `MARQETA_DASHBOARD`, `SYSTEM`, `TOKEN_SERVICE_PROVIDER`                                        |
| state<br /><br />string<br /><br />Returned                            | Specifies the state to which to transition the digital wallet token.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `REQUESTED`, `REQUEST_DECLINED`, `SUSPENDED`, `TERMINATED`                                                                             |
| fulfillment\_status<br /><br />string<br /><br />Returned              | Digital wallet token’s provisioning status.<br /><br />**Allowable Values:**<br /><br />`DECISION_GREEN`, `DECISION_RED`, `DECISION_YELLOW`, `PROVISIONED`, `REJECTED`                                                                                            |
| reason<br /><br />string<br /><br />Conditionally returned             | Descriptive reason for the transition.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                   |
| reason\_code<br /><br />string<br /><br />Returned                     | Code describing the reason for the transition. Marqeta does not validate what is provided, although Marqeta-sourced changes use standard codes.<br /><br />**Allowable Values:**<br /><br />1–255 chars                                                           |
| created\_time<br /><br />datetime<br /><br />Returned                  | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                     |

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

```json JSON lines wrap theme={null}
{
  "token": "bb50c999-9c4e-3f99-90a0-a12ab30fe81b",
  "digital_wallet_token": {
    "token": "c45c201-ad5e-3f23-76a0-a08cb36fa90a"
  },
  "type": "fulfillment.requested",
  "channel": "TOKEN_SERVICE_PROVIDER",
  "state": "REQUESTED",
  "fulfillment_status": "DECISION_GREEN",
  "reason": "Token creation",
  "reason_code": "21",
  "created_time": "2022-09-06T22:52:13Z"
}
```

```json JSON lines wrap theme={null}
{
  "token": "cb40c400-ba4f-3f97-80b0-c09ab30fe63d",
  "digital_wallet_token": {
    "token": "cb45c201-ad5e-3f23-76a0-a08cb36fa90a"
  },
  "card_swap": {
    "previousCardToken": "card-token-1",
    "newCardToken": "card-token-2"
  },
  "type": "card.swap",
  "channel": "SYSTEM",
  "state": "ACTIVE",
  "fulfillment_status": "PROVISIONED",
  "reason": "New card",
  "reason_code": "14",
  "created_time": "2022-09-10T06:29:30Z"
}
```

<h2 id="updateexpiration">
  Update expiry dates
</h2>

**Action:** `PUT`\
**Endpoint:** `/cardactions/updateexpiration`

{/* <EndpointCard
title="Update expiry dates"
path="/cardactions/updateexpiration"
method="put"
/> */}

Use the `/cardactions/updateexpiration` endpoint to update the expiry dates of a digital wallet token.

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

| Fields                                                                                   | Description                                                                                                                                                                                                        |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| encrypted\_card\_data<br /><br />object<br /><br />Required                              | Specifies details for updating digital wallet token expiration dates.<br /><br />**Allowable Values:**<br /><br />`new_card_token`, `new_pan_expiry`, `old_card_token`, `old_pan_expiry`, `primary_account_number` |
| encrypted\_card\_data.**primary\_account\_number**<br /><br />string<br /><br />Required | Account number of the card being tokenized.<br /><br />**Allowable Values:**<br /><br />12–19 chars                                                                                                                |
| encrypted\_card\_data.**old\_card\_token**<br /><br />string<br /><br />Required         | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                              |
| encrypted\_card\_data.**old\_pan\_expiry**<br /><br />object<br /><br />Required         | Specifies the expiry date for the card.<br /><br />**Allowable Values:**<br /><br />`month`, `year`                                                                                                                |
| encrypted\_card\_data.old\_pan\_expiry.**month**<br /><br />MM<br /><br />Required       | Specifies the expiry month for the card in MM format. `01`, for example.<br /><br />**Allowable Values:**<br /><br />Format: MM                                                                                    |
| encrypted\_card\_data.old\_pan\_expiry.**year**<br /><br />yyyy<br /><br />Required      | Specifies the expiry year for the card in yyyy format. `2024`, for example.<br /><br />**Allowable Values:**<br /><br />Format: yyyy                                                                               |
| encrypted\_card\_data.**new\_card\_token**<br /><br />string<br /><br />Required         | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                              |
| encrypted\_card\_data.**new\_pan\_expiry**<br /><br />object<br /><br />Required         | Specifies the expiry date for the card.<br /><br />**Allowable Values:**<br /><br />`month`, `year`                                                                                                                |
| encrypted\_card\_data.new\_pan\_expiry.**month**<br /><br />MM<br /><br />Required       | Specifies the expiry month for the card in MM format. `01`, for example.<br /><br />**Allowable Values:**<br /><br />Format: MM                                                                                    |
| encrypted\_card\_data.new\_pan\_expiry.**year**<br /><br />yyyy<br /><br />Required      | Specifies the expiry year for the card in yyyy format. `2024`, for example.<br /><br />**Allowable Values:**<br /><br />Format: yyyy                                                                               |

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

| Fields                                                       | Description                                                                                                  |
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| success<br /><br />boolean<br /><br />Conditionally returned | Indicates success if `true`, failure if `false`.<br /><br />**Allowable Values:**<br /><br />`true`, `false` |

<h2 id="cardswap">
  Transfer digital wallet tokens
</h2>

**Action:** `PUT`\
**Endpoint:** `/cardactions/cardswap`

{/* <EndpointCard
title="Transfer digital wallet tokens"
path="/cardactions/cardswap"
method="put"
/> */}

Use the `/cardactions/cardswap` endpoint to transfer digital wallet tokens to a new card with a different primary account number (PAN).

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

| Fields                                                                                        | Description                                                                                                                                                                                                                    |
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| encrypted\_card\_data<br /><br />object<br /><br />Required                                   | Contains details about the cards to be swapped.<br /><br />**Allowable Values:**<br /><br />`new_card_token`, `new_pan_expiry`, `new_primary_account_number`, `old_card_token`, `old_pan_expiry`, `old_primary_account_number` |
| encrypted\_card\_data.**old\_primary\_account\_number**<br /><br />string<br /><br />Required | Primary account number for the existing payment card from which the digital wallet tokens are transferred.<br /><br />**Allowable Values:**<br /><br />12–19 chars                                                             |
| encrypted\_card\_data.**old\_pan\_expiry**<br /><br />object<br /><br />Required              | Specifies the expiry date for the card.<br /><br />**Allowable Values:**<br /><br />`month`, `year`                                                                                                                            |
| encrypted\_card\_data.old\_pan\_expiry.**month**<br /><br />MM<br /><br />Required            | Specifies the expiry month for the card in MM format. `01`, for example.<br /><br />**Allowable Values:**<br /><br />Format: MM                                                                                                |
| encrypted\_card\_data.old\_pan\_expiry.**year**<br /><br />yyyy<br /><br />Required           | Specifies the expiry year for the card in yyyy format. `2024`, for example.<br /><br />**Allowable Values:**<br /><br />Format: yyyy                                                                                           |
| encrypted\_card\_data.**old\_card\_token**<br /><br />string<br /><br />Required              | Unique identifier of the card.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                          |
| encrypted\_card\_data.**new\_primary\_account\_number**<br /><br />string<br /><br />Required | Primary account number of the new card to which the digital wallet token are transferred.<br /><br />**Allowable Values:**<br /><br />12–19 chars                                                                              |
| encrypted\_card\_data.**new\_pan\_expiry**<br /><br />object<br /><br />Required              | Specifies the expiry date for the card.<br /><br />**Allowable Values:**<br /><br />`month`, `year`                                                                                                                            |
| encrypted\_card\_data.new\_pan\_expiry.**month**<br /><br />MM<br /><br />Required            | Specifies the expiry month for the card in MM format. `01`, for example.<br /><br />**Allowable Values:**<br /><br />Format: MM                                                                                                |
| encrypted\_card\_data.new\_pan\_expiry.**year**<br /><br />yyyy<br /><br />Required           | Specifies the expiry year for the card in yyyy format. `2024`, for example.<br /><br />**Allowable Values:**<br /><br />Format: yyyy                                                                                           |
| encrypted\_card\_data.**new\_card\_token**<br /><br />string<br /><br />Required              | Unique identifier of the new payment card token to which the digital wallet tokens are transferred.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                     |

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

| Fields                                                       | Description                                                                                                  |
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| success<br /><br />boolean<br /><br />Conditionally returned | Indicates success if `true`, failure if `false`.<br /><br />**Allowable Values:**<br /><br />`true`, `false` |

<h2 id="post_webhooks_token_eventtype_eventtoken">
  Create webhooks
</h2>

**Action:** `POST`\
**Endpoint:** `/webhooks/{event_type}`

{/* <EndpointCard
title="Create webhooks"
path="/webhooks/{event_type}"
method="post"
/> */}

Use the `/webhooks/{event_type}` endpoint to send a batch of events to a webhook.

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

| Fields                                            | Description                                                                                                                       |
| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| event\_type<br /><br />string<br /><br />Required | Digital wallet token event type.<br /><br />**Allowable Values:**<br /><br />`digitalwallettoken`, `digitalwallettokentransition` |

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

Digital Wallet Token Webhooks

```json JSON expandable lines wrap theme={null}
{
  "digitalwallettokens": [
    {
      "token": "my_webhook_event_01",
      "event_type": "digitalwallettoken.provisioningrequest",
      "webhook_details": {
        "token": "my_provisioning_request_01",
        "card_token": "my_card_01",
        "state": "REQUEST_DECLINED",
        "fulfillment_status": "REJECTED",
        "issuer_eligibility_decision": "avs.decline",
        "created_time": "2022-09-11T00:20:23Z",
        "last_modified_time": "2022-09-11T00:20:23Z",
        "encrypted_data": {
          "card_data": {
            "primary_account_number": "41111199999",
            "expiration_date": {
              "month": "01",
              "year": "2024"
            }
          },
          "token_service_provider": {
            "token_reference_id": "DNITHE343434343459",
            "pan_reference_id": "V-123343434343434",
            "token_requestor_id": "40010083275",
            "token_requestor_name": "UNKNOWN",
            "token_type": "MERCHANT_CARD_ON_FILE",
            "token_eligibility_decision": "DECISION_GREEN"
          },
          "device": {
            "language_code": "eng"
          },
          "address_verification": {
            "street_address": "180 Grand Ave",
            "zip": "94612"
          }
        },
        "wallet_provider_profile": {
          "account": {
            "id": "40010083275",
            "email_address": "A11AAAA1A011C11111111111A1AA111F...."
          },
          "risk_assessment": {},
          "pan_source": "KEY_ENTERED"
        }
      }
    }
  ]
}
```

Digital Wallet Token Transition Webhooks

```json JSON expandable lines wrap theme={null}
{
  "digitalwallettokentransitions": [
    {
      "token": "my_webhook_event_02",
      "event_type": "digitalWalletTokenTransition.requested",
      "webhook_details": {
        "token": "my_digital_wallet_token_transition_01",
        "digital_wallet_token": {
          "token": "my_digital_wallet_token_01"
        },
        "type": "fulfillment.requested",
        "channel": "TOKEN_SERVICE_PROVIDER",
        "state": "REQUESTED",
        "fulfillment_status": "DECISION_GREEN",
        "reason": "Token creation",
        "reason_code": "21",
        "created_time": "2022-09-06T22:52:13Z"
      }
    },
    {
      "token": "my_webhook_event_03",
      "event_type": "digitalWalletTokenTransition.terminated",
      "webhook_details": {
        "token": "my_digital_wallet_transition_token_02",
        "digital_wallet_token": {
          "token": "my_digital_wallet_token_02"
        },
        "type": "fulfillment.requested",
        "channel": "TOKEN_SERVICE_PROVIDER",
        "state": "REQUESTED",
        "fulfillment_status": "DECISION_GREEN",
        "reason": "Token creation",
        "reason_code": "21",
        "created_time": "2022-09-06T22:52:13Z"
      }
    }
  ]
}
```


## Related topics

- [Digital Wallets and Tokenization](/docs/developer-guides/digital-wallets-and-tokenization.md)
- [Card Products in Europe](/docs/developer-guides/mq-eu-card-products.md)
- [Tokenization in Europe](/docs/developer-guides/mq-eu-tokenization.md)
- [Managing Tokenization Risk](/docs/developer-guides/mq-eu-managing-tokenization-risk.md)
- [Accessing Tokenization Implementation Guides](/docs/developer-guides/accessing-tokenization-implementation-guides.md)
