apis.directory

by BlockSiteDocsPricing

Afterpay Online API

Merchant API that adds Afterpay pay-in-4 buy now, pay later to an online checkout outside the United States: create checkouts, capture, refund and read payments

Paid fromNot published
JSON
{
  "id": "afterpay-online-api",
  "name": "Afterpay Online API",
  "vendor": "Block",
  "whatItIs": "Merchant API that adds Afterpay pay-in-4 buy now, pay later to an online checkout outside the United States: create checkouts, capture, refund and read payments",
  "interfaces": [
    "http",
    "sdk"
  ],
  "priceSource": "https://www.afterpay.com/en-US/for-retailers",
  "priceChecked": "2026-11-15",
  "things": [
    "CheckoutSession",
    "Payment",
    "Refund"
  ],
  "jobs": [
    "CheckoutSession.create",
    "Payment.cancel",
    "Payment.capture",
    "Payment.get",
    "Refund.create"
  ]
}

Facts

Made by
Block
Paid from
Not published
Access
HTTP, SDK
Sold
Mostly on its own
Agents
Not friendly
API QA score
[SCORE]

What it does

Each thing it works on, and what it does to it.

Payment
cancelcaptureget
Refund
create

Prices

No price is published.

Jobs it does

Open a job to see every API that does it, side by side.

Alternatives

View all

APIs that do the same jobs, the ones sharing the most jobs first.

Your API hereSponsoredSee sponsor options

Head to head

For agents

An agent cannot both sign up and pay for this by itself.

Buying and paying8 of 11 stated
  • Agent gets a key aloneNokey or token is created by a signed-in person
  • First call without a keyNoevery call needs a key or OAuth token
  • Agent can payNomerchant account approved by a person; no agent payment protocol
  • Payment railsotherfees deducted from settlement; not stated on pages read
  • Payment protocolsnoneno x402, MPP, ACP or AP2 on pages read
  • Subscription requiredNofee per transaction (rate not published)
  • Price published as dataNoprices only in the HTML page
  • Test purchasesYessandbox
  • Not stated yetSmallest purchase (USD), Receipt or usage record, Pay per call
Reading and signing up7 of 10 stated
  • Public pricesNoretailer page says 'Simple, transparent pricing' with no figure
  • Self-serve sign-upAccess after an application is reviewedmerchant account through sign-up and approval; 'Free sign-up'
  • Free useFree sandbox onlysandbox environment for integration
  • Docs without loginYesAPI reference public on ReadMe
  • llms.txtYesdevelopers.afterpay.com/llms.txt (ReadMe)
  • Docs as MarkdownYesReadMe: '.md for the markdown version of any page'
  • Agent instructionsYesdocs carry ReadMe's 'For AI agents: a documentation index is available at /llms.txt' line
  • Not stated yetOpenAPI, OpenAPI version, Signed agents
MCP0 of 4 stated

YesNoStated otherwiseNot stated

Serves use case1

For API makers

Is your API missing?

Send one link and we add it to the graph: what it works on, what it costs and what it connects to.

Free, or $100 one time for review in 1 to 2 days.