Fat Zebra Purchases API

The Purchases API from Fat Zebra — 11 operation(s) for purchases.

GitHub OpenAPI
Business capability
Consumer Payment Options AE-140.30

Operations 14

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 /purchases Charge a card with fraud screening · Create a purchase with fraud screening #
Ask an LLM
“How do I charge a card and run fraud screening on the purchase?”
“Can I pass the customer's IP address when charging a card?”
Tell an agent
Charge {amount} {currency} to card {card_number} for {card_holder} at IP {customer_ip}, reference {reference}.
Charge {amount} {currency} to card {card_number} for {card_holder} at IP {customer_ip}, reference {reference}, with fraud screening set to {fraud}.
GET /purchases List card purchases · List purchases #
Ask an LLM
“What card purchases have been made in a given time range?”
“Can I page through my purchases?”
Tell an agent
List my purchases between {from} and {to}.
Show {limit} purchases starting at offset {offset}.
POST /purchases/ Charge a card via a wallet · Create a purchase using a wallet #
Ask an LLM
“How do I charge a card using Apple Pay or Google Pay?”
“Can I pass wallet credentials when charging a card?”
Tell an agent
Charge {amount} {currency} to wallet {wallet} for {card_holder} at IP {customer_ip}, reference {reference}.
Charge {amount} {currency} to wallet {wallet} for {card_holder} at IP {customer_ip}, reference {reference}, with test set to {test}.
POST /purchases/ ​ Charge a card using a network token · Create a purchase using a network token passthrough #
Ask an LLM
“How do I charge a card with a network token passthrough?”
“Can I pass a cryptogram when charging a card with a token?”
Tell an agent
Charge {amount} {currency} to network token {card_number} for {card_holder} at IP {customer_ip}, reference {reference}.
Charge {amount} {currency} to network token {card_number} for {card_holder} at IP {customer_ip}, reference {reference}, with cryptogram {cryptogram}.
POST /purchases/ ​​ Charge a card decrypted from a wallet · Create a purchase using a wallet passthrough #
Ask an LLM
“How do I charge a card whose details were decrypted from a wallet?”
“Can I pass wallet details including the cryptogram when charging a card?”
Tell an agent
Charge {amount} {currency} to wallet-decrypted card {card_number} for {card_holder} at IP {customer_ip}, reference {reference}.
Charge {amount} {currency} to wallet-decrypted card {card_number} for {card_holder} at IP {customer_ip}, reference {reference}, with wallet details {wallet}.
POST /purchases/ ​​​ Charge a card token · Create a purchase with a token #
Ask an LLM
“Can I charge a card by its token?”
“Is a card token, not the full card number, enough to complete a transaction?”
Tell an agent
Charge {amount} {currency} on card token {card_token} for reference {reference} from IP {customer_ip}.
Create a test purchase of {amount} {currency} for {reference} using token {card_token}.
POST /purchases/ ​​​​ Charge a card with CVV and fraud screening · Create a purchase, with fraud screening #
Ask an LLM
“Can I submit the cardholder name and CVV to screen a charge?”
“Does the fraud-screened purchase endpoint let me submit wallet data from a digital wallet?”
Tell an agent
Charge {amount} {currency} on card {card_holder} with CVV {cvv} for reference {reference} from IP {customer_ip}.
Process wallet {wallet} for {amount} {currency}, reference {reference}, IP {customer_ip}, keeping the cardholder {card_holder} and CVV {cvv}.
POST /purchases/ ​​​​​ Authorize a card charge · Create an authorization #
Ask an LLM
“How do I authorize a card charge without capturing it?”
“Can I capture an authorized amount later?”
Tell an agent
Authorize {amount} {currency} to card {card_number} for {card_holder} at IP {customer_ip}, reference {reference}.
Authorize {amount} {currency} to card {card_number} for {card_holder} at IP {customer_ip}, reference {reference}, with capture set to {capture}.
PUT /purchases/{id} Extend or increase an authorization · Update an authorization #
Ask an LLM
“How do I extend the expiry of an authorization?”
“Can I increase the amount of an existing authorization?”
Tell an agent
Extend authorization {id} by {extend}.
Increase the amount of authorization {id} to {amount}.
DELETE /purchases/{id} Void an authorization · Release an authorization #
Ask an LLM
“How do I void an authorization?”
“Can I partially release an authorized amount?”
Tell an agent destructive · confirm first
Release authorization {id}.
Void {amount} of authorization {id}.
GET /purchases/{id} Get a purchase · Fetch a purchase #
Ask an LLM
“What is the status of a specific purchase?”
“Can I look up a purchase by its ID?”
Tell an agent
Show purchase {id}.
Get the details of purchase {id}.
POST /purchases/{id}/capture Capture an authorized amount · Capture an authorization #
Ask an LLM
“How do I capture the amount of an authorization?”
“What happens if the capture fails?”
Tell an agent
Capture {amount} from authorization {id}.
Capture {amount} from authorization {id} with metadata {metadata}.
POST /purchases/void Void a completed purchase · Void a purchase #
Ask an LLM
“How do I reverse a completed purchase?”
“Can I void a purchase by its ID?”
Tell an agent destructive · confirm first
Void purchase {id}.
Reverse the completed purchase {id}.
GET /purchases/settlement List purchases settled between dates · List purchases by settlement #
Ask an LLM
“Which purchases settled between two dates?”
“Can I list purchases by settlement date range?”
Tell an agent
List purchases settled from {from} to {to}.
Show settlement batch {from} through {to}.

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/fat-zebra:fat-zebra-purchases-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

fat-zebra-purchases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: gateway Purchases API
  version: '1.0'
servers:
- url: https://gateway.pmnts-sandbox.io/v1.0
security:
- sec0: []
tags:


# --- truncated at 32 KB (163 KB total) ---
# Full source: https://artifacts.apis.io/fat-zebra/openapi/fat-zebra-purchases-api-openapi.yml