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

Request body

Sample request body

JSON

Response body

Sample response body

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 PCI compliance overhead. create digital wallet provisioning request for Google Wallet.

Request body

Sample request body

JSON

Response body

Sample 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 PCI compliance overhead.

Request body

Sample request body

JSON

Response body

Sample response body

JSON

List digital wallet tokens

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

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.

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.

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

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.

Request body

Sample request body

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.

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.

URL path parameters

URL query parameters

Response body

Sample response body

JSON
JSON

Update expiry dates

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

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

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.

URL path parameters

Sample request body

Digital Wallet Token Webhooks
JSON
Digital Wallet Token Transition Webhooks
JSON