Integration
Buy now, pay later: checkouts, payments and refunds. Your client pastes their Afterpay key once, and your agent or your code works with their access.
Payments
Afterpay is a buy now, pay later service, now part of Block.
Once your client connects Afterpay, your agent or code can work with checkouts, payments and refunds.
Afterpay · Payments
Buy now, pay later: checkouts, payments and refunds
The client pastes their merchant ID from Afterpay's settings. We store it encrypted.
Tested against Afterpay's live API.
Building with Afterpay? The docs have setup steps and code for every tool.
Your agent calls any endpoint of Afterpay's API with the request tool, with the client's access attached.
Base URL for request
https://global-api.afterpay.com/v2
request
HTTPS ANY /v1/clients/{clientId}/afterpay/{path}
Any endpoint of Afterpay's own API, with the client's access attached.
Over MCP every tool also takes client_id, from list_clients. Over HTTPS send it as clientId to https://api.operate.as/v1.
Related
Get started
Add a client, select the services, copy the link. You'll get an email the moment their access is ready. Start free, no card required. Paid plans are one flat monthly price, and a busy month never takes your agents offline.