Affirm · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Affirm Transactions API
8 actions
8 updates
phrasing
extends
openapi/affirm-transactions-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Affirm's API. It is a proposal applied on top of the contract, not a document Affirm publishes.
What the actions change
x-apievangelist-phrasing
Targets 8
$.info
$.paths['/transactions/{id}/capture'].post
$.paths['/transactions/{id}/void'].post
$.paths['/transactions/{id}/refund'].post
$.paths['/transactions'].get
$.paths['/transactions'].post
$.paths['/transactions/{id}'].get
$.paths['/transactions/{id}'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Affirm Transactions API
version: 1.0.0
extends: openapi/affirm-transactions-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 7
- target: $.paths['/transactions/{id}/capture'].post
update:
x-apievangelist-phrasing:
intent: Capture an authorized transaction
effect: write
questions:
- How do I capture a customer's authorized Affirm transaction?
- Can I capture only part of an authorized amount?
instructions:
- text: Capture transaction {id}.
slots:
id: path.id
- text: Capture {amount} of transaction {id}.
slots:
id: path.id
amount: requestBody.amount
method: generated
generated: '2026-11-19'
- target: $.paths['/transactions/{id}/void'].post
update:
x-apievangelist-phrasing:
intent: Void an authorized transaction
effect: destructive
questions:
- How do I release the hold on a customer's credit for a cancelled order?
- Can I void a transaction that hasn't been captured yet?
instructions:
- text: Void transaction {id}.
slots:
id: path.id
- text: Release the hold on transaction {id} by voiding it.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/transactions/{id}/refund'].post
update:
x-apievangelist-phrasing:
intent: Refund a captured transaction
effect: write
questions:
- How do I refund a customer's captured transaction?
- Can I issue several partial refunds on one transaction?
instructions:
- text: Refund transaction {id}.
slots:
id: path.id
- text: Refund {amount} from transaction {id}.
slots:
id: path.id
amount: requestBody.amount
method: generated
generated: '2026-11-19'
- target: $.paths['/transactions'].get
update:
x-apievangelist-phrasing:
intent: List a merchant's transactions
effect: read
questions:
- Which transactions does Affirm have for my merchant?
- Can I page through all my transactions?
instructions:
- text: List my transactions.
- text: Show {limit} transactions starting at cursor {cursor}.
slots:
limit: query.limit
cursor: query.cursor
method: generated
generated: '2026-11-19'
- target: $.paths['/transactions'].post
update:
x-apievangelist-phrasing:
intent: Authorize a transaction from a checkout token
effect: write
questions:
- How do I turn a customer's checkout token into an authorized transaction?
- What happens to the customer's credit when I authorize a transaction?
instructions:
- text: Authorize a transaction with checkout token {checkout_token}.
slots:
checkout_token: requestBody.checkout_token
- text: Authorize checkout token {checkout_token} for order {order_id}.
slots:
checkout_token: requestBody.checkout_token
order_id: requestBody.order_id
method: generated
generated: '2026-11-19'
- target: $.paths['/transactions/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a transaction's details
effect: read
questions:
- What is the current status and amounts of a transaction?
- When does an authorized transaction expire?
instructions:
- text: Show transaction {id}.
slots:
id: path.id
- text: Get the details of transaction {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/transactions/{id}'].post
update:
x-apievangelist-phrasing:
intent: Update a transaction's order ID
effect: write
questions:
- How do I change the merchant order ID on an existing transaction?
- Can I update other fields on a transaction besides the order ID?
instructions:
- text: Update transaction {id} with order ID {order_id}.
slots:
id: path.id
order_id: requestBody.order_id
- text: Set the merchant order ID on transaction {id} to {order_id}.
slots:
id: path.id
order_id: requestBody.order_id
method: generated
generated: '2026-11-19'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/affirm-transactions-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.