Skip to main content
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.
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.

Create digital wallet provisioning request for Apple Wallet

Action: POST Endpoint: /digitalwalletprovisionrequests/applepay 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 Payment Card Industry (PCI) compliance overhead.

Header parameter

Request body

Sample request body

Sample Apple Pay request
JSON

Response body

Sample response body

Sample Apple Pay response
JSON

Create digital wallet provisioning request for Google Wallet

Action: POST Endpoint: /digitalwalletprovisionrequests/googlepay 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 Payment Card Industry (PCI) compliance overhead.

Header parameter

Request body

Sample request body

Sample Google Pay request
JSON

Response body

Sample response body

Sample Google Pay response
JSON

Create a digital wallet provisioning request for Google Wallet (UPP)

Action: POST Endpoint: /digitalwalletprovisionrequests/v2/googlepay Use the /digitalwalletprovisionrequests/v2/googlepay endpoint to retrieve the card data needed to provision a digital wallet token into Google Wallet via the UPP (User-Presented Provisioning) flow. The returned card data is encrypted using the digital wallet provider’s encryption key, thereby reducing your Payment Card Industry (PCI) compliance overhead.

Header parameter

Request body

Sample request body

Sample Google Pay UPP request
JSON

Response body

Sample response body

Sample Google Pay UPP response
JSON

Error responses

Sample error response body

JSON

Create digital wallet provisioning request for Samsung Wallet

Action: POST Endpoint: /digitalwalletprovisionrequests/samsungpay 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 Payment Card Industry (PCI) compliance overhead.

Header parameter

Request body

Sample request body

Sample Samsung Pay request
JSON

Response body

Sample response body

Sample Samsung Pay response
JSON

List digital wallet tokens

Action: GET Endpoint: /digitalwallettokens Use the /digitalwallettokens endpoint to retrieve a list of digital wallet tokens.

Header parameter

URL query parameters

Response body

Retrieve digital wallet token

Action: GET Endpoint: /digitalwallettokens/{token} Use the /digitalwallettokens/{token} endpoint to retrieve a specific digital wallet token.

Header parameter

URL path parameters

Response body

Sample response body

JSON

List digital wallet tokens by card

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

Header parameter

URL path parameters

URL query parameters

Response body

Retrieve digital wallet token with PAN visible

Action: GET Endpoint: /digitalwallettokens/{token}/showtokenpan 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}.

Header parameter

URL path parameters

Response body

Sample response body

JSON

Create digital wallet token transition

Action: POST Endpoint: /digitalwallettokentransitions Use the /digitalwallettokentransitions endpoint to transition a digital wallet token from one state to another.

Header parameter

Request body

Sample request body

Activate token request
JSON

Response body

Sample response body

JSON

List digital wallet token transitions

Action: GET Endpoint: /digitalwallettokentransitions/digitalwallettoken/{token} Use the /digitalwallettokentransitions/digitalwallettoken/{token} endpoint to return an array of all transitions for a particular digital wallet token. This endpoint supports field filtering, pagination, and sorting.

Header parameter

URL path parameters

URL query parameters

Response body

Retrieve digital wallet token transition

Action: GET Endpoint: /digitalwallettokentransitions/{token} Use the /digitalwallettokentransitions/{token} endpoint to retrieve a specific digital wallet transition.

Header parameter

URL path parameters

URL query parameters

Response body

Sample response body

Token in requested state
JSON
Card swap transition
JSON

Update expiry dates

Action: PUT Endpoint: /cardactions/updateexpiration Use the /cardactions/updateexpiration endpoint to update the expiry dates of a digital wallet token.

Header parameter

Request body

Response body

Transfer digital wallet tokens

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

Header parameter

Request body

Response body

Create webhooks

Action: POST Endpoint: /webhooks/{event_type} Use the /webhooks/{event_type} endpoint to send a batch of events to a webhook.

Header parameter

URL path parameters

Sample request body

Digital Wallet Token Webhooks
JSON
Digital Wallet Token Transition Webhooks
JSON