This page is part of the REST API Guides. Using the JavaScript library instead? See Payments Library Guides.
Not all payment gateways support tokenization. For a complete list of integrations that support gateway tokenization, see Gateway Token Integrations. You can also check your gateway’s capabilities programmatically using the List Gateways endpoint.
When to Use Gateway Tokens
| Use Case | Solution |
|---|---|
| Recurring subscriptions | Gateway tokenization |
| Stored cards for returning customers | Gateway tokenization |
| Temporary storage during checkout | String Tokenization |
| PCI scope reduction (any data) | String Tokenization |
Create a Gateway Token
Endpoint:POST /PaymentGateway/tokenize
Tokenize API Reference
Complete parameter reference for tokenization requests
Response
gatewayToken value is the processor-specific token you’ll use for future charges.
Using Gateway Tokens
Once you have a gateway token, use it with theuserToken parameter in charge or authorize requests:
Gateway Token vs String Token
| Feature | Gateway Token | String Token |
|---|---|---|
| Storage location | Payment processor | Orchestra vault |
| Use case | Recurring billing | PCI scope reduction |
| Portability | Tied to one gateway | Works across gateways |
| Data type | Card details only | Any string (up to 16KB) |