// Core Concepts

Tokens

A token is what your systems store instead of a card. Card Vault issues two different token formats for two different jobs -- knowing which is which will save you a debugging session.

Vault token

Returned when a card is vaulted (hosted form, embedded fields, card request, or the SDK vault call). It is a long, opaque string. Use it to reference the card profile: retrieving card metadata, updating the profile, managing its lifecycle. It travels in the X-Card-Token request header.

Charge token

A short token in GUID form, shown in your dashboard and returned by token listing endpoints. Use it to charge a vaulted card: it goes in the body of POST /v1/payments/charge/token.

The two formats are not interchangeable. Sending a vault token where a charge token is expected (or vice versa) does not produce a format error -- it produces a clean 404 Not Found, because the lookup simply misses. If you are staring at a 404 and the card definitely exists, check which token type you are sending.

Properties of both