> For the complete documentation index, see [llms.txt](https://docs.verygoodsecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verygoodsecurity.com/cmp/payment-credentials/google-pay/create-card-using-dpan-and-pan.md).

# Create Card - Using DPAN and PAN

### Overview

The CMP Create Card API supports storing Google Pay Device PANs (DPANs) and Funding PANs (FPANs), alongside traditional physical cards (PANs).

Cards classified as `dpan` from Google Pay do not trigger downstream services such as Account Updater, Network Token provisioning, or 3DS, even if the service is configured for [onCreate enrollment](https://docs.verygoodsecurity.com/cmp/platform/cmp-account#on-create-enrollment). These cards are stored like traditional cards but are identified using Google Pay wallet metadata.

To store an already decrypted Google Pay DPAN, include the wallet token in the `pan` field of the Create Card request and specify:

* `wallet_type`: `google_pay`
* `token_type`: `dpan`

To store a funding PAN associated with Google Pay, use:

* `wallet_type`: `google_pay`
* `token_type`: `pan`

Merchants must pass these values in **lowercase only**, as incorrect formatting results in validation errors.

**Note:**

* Google Pay DPAN cards do not automatically trigger Account Updater, Network Token provisioning, or 3DS, even if these services are configured for `onCreate` enrollment.
* Google Pay wallet cards are retrievable using [GET /cards/{id}](https://docs.verygoodsecurity.com/cmp/developer-resources/api/cards#get-cards-card_id).
* Wallet card details are not included in notifications for this direct-storage flow.

#### Validation Rules When Creating a Google Pay Card

* When creating a Google Pay DPAN, `wallet_type` is required. Omitting it returns **422 Unprocessable Entity**.
* For regular PANs, `wallet_type` and `token_type` are optional. The response identifies the card using `token_type: pan`.
* Merchants can explicitly provide `wallet_type: google_pay` and `token_type: pan` to identify a funding PAN associated with Google Pay.
* Both fields must be lowercase. Invalid values such as `Google Pay`, `google_Pay`, or `DPAN` result in **400 Bad Request**.

For sample requests and responses, refer to **VGS Card Management API —** [**Create a Card**](https://docs.verygoodsecurity.com/cmp/developer-resources/api/cards).

#### Retrieve Card (GET /cards/{id})

When retrieving a Google Pay DPAN, the response includes:

* `wallet_type: google_pay`
* `token_type: dpan`

For a funding PAN submitted using `token_type: pan`, the same value is returned.

These fields identify the card type and wallet source.

For a sample response, refer to **VGS Card Management API —** [**Get a Card**](https://docs.verygoodsecurity.com/cmp/developer-resources/api/cards#get-cards-card_id).

#### Onboarding Requirements

No additional onboarding is required to store an already decrypted Google Pay credential. Customers already using CMP for card creation can store these cards using the existing Create Card API.

To have CMP decrypt an encrypted Google Pay payment token, customers must have **Google Pay Wallet Decryption** enabled on their account.

For more information, refer to [**Create Card - Google Pay Wallet Decryption**](https://docs.verygoodsecurity.com/cmp/payment-credentials/google-pay/create-card-google-pay-wallet-decryption).&#x20;

#### Card Attributes

[Card Attributes](https://docs.verygoodsecurity.com/cmp/products-and-services/card-attributes) are available for Google Pay DPANs.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.verygoodsecurity.com/cmp/payment-credentials/google-pay/create-card-using-dpan-and-pan.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
