Shift4 Tokens API

The Tokens API from Shift4 — 5 operation(s) for tokens.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /tokens/add Add a card to the token vault · TokenStore Add #
Ask an LLM
“How do I store a card in the Global Token Vault for future payments?”
“Can I tokenize a card for EMV processing?”
Tell an agent
Add a card to the token vault using interface {InterfaceName} (company {CompanyName}, version {InterfaceVersion}).
Tokenize a card through {InterfaceName} for {CompanyName} with token {AccessToken}.
POST /tokens/duplicate Duplicate a card token · TokenStore Duplicate #
Ask an LLM
“Can I generate a new token from an existing card token?”
“Is there a way to renew a card token that is about to expire?”
Tell an agent
Duplicate card token {card} and return a new token.
Create a fresh token for card {card} at {dateTime}.
POST /tokens/delete Delete a card token from the vault · TokenStore Delete #
Ask an LLM
“Can I permanently remove a card token from the vault?”
“Is deleting a card token reversible?”
Tell an agent destructive · confirm first
Delete card token {card} from the vault.
Permanently remove the stored token for {card}.
GET /tokens/universaltoken Get the universal token for a card · Universal Token #
Ask an LLM
“What universal token is already stored for a card?”
“Can I look up a card's universal token by its number?”
Tell an agent
Get the universal token for card {CardNumber}.
Look up the universal token for {CardNumber} using token {Token}.
POST /tokens/4words Generate four words for a card · Get Four Words #
Ask an LLM
“Can I get a four-word reference for cardholder data?”
“Is the four-words card lookup supported for GTV tokens?”
Tell an agent
Generate four words for card {card}.
Create a word reference for {card} at {dateTime}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shift4:shift4-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shift4-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.7.57
  title: Shift4 Payment Tokens API
  contact:
    url: https://www.shift4.com/contact-us/
servers:
- url: https://api.shift4test.com/api/rest/v1
  description: Host Direct Test URL
- url: https://api.shift4api.net/api/rest/v1
  description: Host Direct Production URL
tags:


# --- truncated at 32 KB (75 KB total) ---
# Full source: https://artifacts.apis.io/shift4/openapi/shift4-tokens-api-openapi.yml