NewsOperate As is live. Send your first client one link

Integration

Afterpay

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

About Afterpay

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

Afterpay · Payments

API key

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.

Open the Afterpay docs

Tools

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.

    servicestringrequired
    This service: afterpay
    methodstringrequired
    GET, POST, PUT, PATCH or DELETE
    pathstringrequired
    The path under https://global-api.afterpay.com/v2
    queryobjectoptional
    Query parameters
    bodyobjectoptional
    A JSON body

Over MCP every tool also takes client_id, from list_clients. Over HTTPS send it as clientId to https://api.operate.as/v1.

What the client approves

  • Use the Afterpay key you paste, with only the access you gave that key

Get started

Send your next client one link

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.