Shift4 Cards API

The Cards API from Shift4 — 2 operation(s) for cards.

GitHub OpenAPI
Business capability
Card Transaction Processing Management BC-1340.70

Operations 2

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 /cards/verify Verify card details with the processor · Verify Card with Processor #
Ask an LLM
“Can I check that a card is valid by going online to the processor?”
“Does card verification also validate AVS and security code data if I send them?”
Tell an agent
Verify a card with the processor using access token {access_token}.
Run an online card validation as {interface_name} from {company_name}.
POST /cards/identify Identify a card's type · Identify Card Type #
Ask an LLM
“How can I find out what type of card a customer is using?”
“Can I get the card type back without verifying it with the processor?”
Tell an agent
Identify the card type using access token {access_token}.
Look up the card type as {interface_name} from {company_name}.

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-cards-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-cards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.7.57
  title: Shift4 Payment Cards 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 (93 KB total) ---
# Full source: https://artifacts.apis.io/shift4/openapi/shift4-cards-api-openapi.yml