Documentation
Feedback
Guides
API Reference

API Reference
Filter By
Post
Get
Put
Delete
Patch

Card Token Vault API

The Card Token Vault API allows VTEX merchants to manage card tokens, including creation, updates, retrieval, deletion, and bulk imports. Card tokens are unique identifiers that represent securely stored credit card data.

This feature is in closed beta, meaning only specific customers can access it now. If you want to implement it in the future, please contact our Support.

The endpoints of this API can be used for personal cards (cards associated with a single buyer) and shared cards (cards used by more than one person and associated with a specific contract). However, in a scenario of operations with personal cards, the shopperId must be additionally sent on the Created card token or Updated card token endpoints.

Endpoints

Card token

SummaryMethodPath
Create card tokenPOST/api/card-token-vault/tokens
Update card tokenPUT/api/card-token-vault/tokens/{id}
Get card token by IDGET/api/payments/pvt/accounts/{id}
Delete card tokenDELETE/api/payments/pvt/accounts/{id}

Card token import

SummaryMethodPath
Import card tokensPOST/api/card-token-vault/tokens/import
Get card token import statusGET/api/card-token-vault/tokens/import/{importId}
Get card token import reportGET/api/card-token-vault/tokens/import/{importId}/report

Loading API specification...