> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.americanexpress.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.americanexpress.ferndocs.com/_mcp/server.

# Getting Tokens & Updated Metadata

## Getting Started

### Getting Tokens for Cards on File

To request a token for a given Card, simply provide the Card details (Card Number, expiry date, etc.) through the `/provisionings` endpoint. If the Card Issuer approves the request, AETS will respond with a 15-digit token, the token expiry date, and a token reference ID. You may store this token information for future use.

### Getting Tokens During Transactions

In a transaction context, use the `/purchasetokens` to request a DCSC to use during an authorization. Provide the token reference ID. AETS will respond with a four-digit DCSC.

### Meta-data

For the Merchant's convenience and the Card Member's visual reference, AETS will include the Card Account's meta-data (last four digits, expiry date, Card image, and Card description) on the tokenization responses. We encourage all Merchants to display this meta-data in the user interface.