Affirm · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Affirm Checkout Checkouts API
6 actions
6 updates
phrasing
extends
openapi/affirm-checkouts-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 6
$.info
$.paths['/checkouts'].post
$.paths['/checkouts/direct'].post
$.paths['/checkouts/{token}'].get
$.paths['/checkouts/{token}'].post
$.paths['/checkouts/{token}/resend'].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 Checkout Checkouts API
version: 1.0.0
extends: openapi/affirm-checkouts-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: 5
- target: $.paths['/checkouts'].post
update:
x-apievangelist-phrasing:
intent: Store a checkout for the browser checkout flow
effect: write
questions:
- How do I create a checkout token for the browser-based Affirm checkout?
- Can I store a checkout with shipping and billing details before the customer opens the checkout UI?
instructions:
- text: Store a checkout for items {items} totaling {total} {currency} with merchant {merchant}.
slots:
items: requestBody.items
total: requestBody.total
currency: requestBody.currency
merchant: requestBody.merchant
- text: Create a browser checkout for order {order_id} with shipping {shipping}.
slots:
order_id: requestBody.order_id
shipping: requestBody.shipping
method: generated
generated: '2026-11-19'
- target: $.paths['/checkouts/direct'].post
update:
x-apievangelist-phrasing:
intent: Create and authorize a checkout in one call
effect: write
questions:
- Can I create a checkout and authorize the transaction in a single server call?
- What's the server-side direct checkout flow for Affirm financing?
instructions:
- text: Create and authorize a direct checkout for items {items} totaling {total} {currency} with merchant {merchant}.
slots:
items: requestBody.items
total: requestBody.total
currency: requestBody.currency
merchant: requestBody.merchant
- text: Open a direct checkout for order {order_id} with financing program {financing_program}.
slots:
order_id: requestBody.order_id
financing_program: requestBody.financing_program
method: generated
generated: '2026-11-19'
- target: $.paths['/checkouts/{token}'].get
update:
x-apievangelist-phrasing:
intent: Get a checkout's details by token
effect: read
questions:
- What are the totals and status of a checkout I already created?
- Can I look up a checkout by its token before the customer completes it?
instructions:
- text: Show checkout {token}.
slots:
token: path.token
- text: Get the order totals and status of checkout {token}.
slots:
token: path.token
method: generated
generated: '2026-11-19'
- target: $.paths['/checkouts/{token}'].post
update:
x-apievangelist-phrasing:
intent: Update an existing checkout
effect: write
questions:
- Can I change the shipping amount on a checkout after it's created?
- What happens to fields I leave out when updating a checkout?
instructions:
- text: Update checkout {token} with items {items} totaling {total} {currency} and merchant {merchant}.
slots:
token: path.token
items: requestBody.items
total: requestBody.total
currency: requestBody.currency
merchant: requestBody.merchant
- text: Change the shipping amount on checkout {token} to {shipping_amount}.
slots:
token: path.token
shipping_amount: requestBody.shipping_amount
method: generated
generated: '2026-11-19'
- target: $.paths['/checkouts/{token}/resend'].post
update:
x-apievangelist-phrasing:
intent: Resend the checkout link to the customer
effect: write
questions:
- How do I send the customer a new checkout link by email?
- Can I resend the checkout link by SMS to a phone number?
instructions:
- text: Resend checkout {token} to email {email}.
slots:
token: path.token
email: requestBody.email
- text: Send the checkout link for {token} to phone {phone_number}.
slots:
token: path.token
phone_number: requestBody.phone_number
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-checkouts-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.