Shift4 Transactions API

The Transactions API from Shift4 — 8 operation(s) for transactions.

GitHub OpenAPI
Business capability
Consumer Payment Options AE-140.30

Operations 9

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 /transactions/authorization Authorize a card payment before capturing · Authorization #
Ask an LLM
“How do I get processor approval for a card authorization on a specific invoice?”
“Does authorizing a new amount on an existing invoice compare to the one already approved?”
Tell an agent
Authorize a payment for invoice {invoice}.
Request a {amount} card authorization on invoice {invoice}.
POST /transactions/capture Capture an existing authorization · Capture #
Ask an LLM
“How do I close out an authorization so the funds move into the merchant's account?”
“What happens to the amount being captured vs the approved amount on file?”
Tell an agent
Capture the authorization for invoice {invoice}.
Close out the {amount} authorization on invoice {invoice} for batch settlement.
POST /transactions/sale Authorize and capture in one step · Sale/Purchase #
Ask an LLM
“Can I approve a card payment and capture the funds in a single request?”
“Is there a one-step sale request for an invoice that already has an authorization?”
Tell an agent
Make a sale of {amount} for invoice {invoice}.
Authorize and capture invoice {invoice} in one step.
POST /transactions/refund Refund a transaction · Refund #
Ask an LLM
“How do I refund a customer's card transaction?”
“Can I issue a partial refund instead of the full amount?”
Tell an agent
Refund transaction {transaction} in full.
Refund {amount} of transaction {transaction}.
GET /transactions/invoice Check a transaction's status · Invoice Information #
Ask an LLM
“Has a transaction been approved or declined?”
“Can I look up a transaction by its invoice number?”
Tell an agent
Get the status of transaction {invoice}.
Check whether invoice {invoice} was approved.
DELETE /transactions/invoice Void a transaction · Void #
Ask an LLM
“How do I reverse a transaction before it settles?”
“Can I void a transaction and mark it voided?”
Tell an agent destructive · confirm first
Void transaction {invoice}.
Reverse invoice {invoice} with reason {reason}.
POST /transactions/manualauthorization Authorize a card payment without processor approval · Manual Authorization #
Ask an LLM
“How do I authorize a card payment when I don't have processor approval, like during an outage?”
“Can I send an authorization code for an amount over the current approved amount?”
Tell an agent
Manual authorize a payment for invoice {invoice}.
Authorize {amount} on invoice {invoice} offline.
POST /transactions/manualsale Authorize and capture a sale without processor approval · Manual Sale #
Ask an LLM
“Can I authorize and capture a sale without processor approval?”
“Is there a manual sale request for an invoice that already has an authorization?”
Tell an agent
Manual sale of {amount} for invoice {invoice}.
Authorize and capture invoice {invoice} offline.
POST /transactions/signature Upload a signature to a transaction · Upload Signature #
Ask an LLM
“How do I upload a signature captured on a receipt to a transaction?”
“Can I attach a signature to an existing transaction?”
Tell an agent
Upload signature {signature} to transaction {transaction}.
Attach signature {signature} to {transaction} captured at {date}.

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