Shift4 Payments API vs Afterpay Online API
Shift4 Payments APIby Shift4Paid fromUnreadableAccessHTTP, SDKAgentsNot agent-friendlyAPI QA score[SCORE]View API
Afterpay Online APIby BlockPaid fromNot publishedAccessHTTP, SDKAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
9 different4 stated by only one6 the same on both
The basics
What it isShift4 Payments API: REST API and Shift4.js for charges, customers, cards, refunds, subscriptions and disputes, with separate test and live keysAfterpay 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
AccessShift4 Payments API: HTTP, SDKAfterpay Online API: HTTP, SDK
Still on saleShift4 Payments API: YesAfterpay Online API: Yes
What they work on
Only one of themShift4 Payments API: CustomerDisputePayment methodSubscriptionGift cardAccess tokenInvoiceAfterpay Online API: Checkout session
Price
Paid fromShift4 Payments API: UnreadableAfterpay Online API: Not published
Buying and paying
Agent gets a key aloneShift4 Payments API: Nokey or token is created by a signed-in personAfterpay Online API: Nokey or token is created by a signed-in person
First call without a keyShift4 Payments API: Noevery call needs a key or OAuth tokenAfterpay Online API: Noevery call needs a key or OAuth token
Agent can payShift4 Payments API: Nobought by card or contract by a person; no agent payment protocolAfterpay Online API: Nomerchant account approved by a person; no agent payment protocol
Payment railsShift4 Payments API: Not statedAfterpay Online API: otherfees deducted from settlement; not stated on pages read
Payment protocolsShift4 Payments API: noneno x402, MPP, ACP or AP2 on pages readAfterpay Online API: noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredShift4 Payments API: Not statedAfterpay Online API: Nofee per transaction (rate not published)
Price published as dataShift4 Payments API: Noprices only in the HTML pageAfterpay Online API: Noprices only in the HTML page
Test purchasesShift4 Payments API: Yestest mode with separate API keysAfterpay Online API: Yessandbox
Reading and signing up
Public pricesShift4 Payments API: Not statedAfterpay Online API: Noretailer page says 'Simple, transparent pricing' with no figure
Self-serve sign-upShift4 Payments API: Yes'Sign up' on dev.shift4.com; test keys sk_test_Afterpay Online API: Access after an application is reviewedmerchant account through sign-up and approval; 'Free sign-up'
Free useShift4 Payments API: Free sandbox only'test mode transactions are completely isolated from production'Afterpay Online API: Free sandbox onlysandbox environment for integration
Docs without loginShift4 Payments API: YesAPI reference readable without an accountAfterpay Online API: YesAPI reference public on ReadMe
llms.txtShift4 Payments API: Yesdev.shift4.com/llms.txtAfterpay Online API: Yesdevelopers.afterpay.com/llms.txt (ReadMe)
Docs as MarkdownShift4 Payments API: Not statedAfterpay Online API: YesReadMe: '.md for the markdown version of any page'
Jobs both do
Open a job to see every API that does it.

