View as Markdown

llms.txt

No such decision guide

This instance publishes nothing at that address. The catalog lists every decision guide it does publish.

Back to the decision guides

Decision guides Cancel or refund a payment

Refund it

The money already moved, so the undo is a credit: a new transaction that sends the amount back.

Your answers so far

How did the customer pay?
By card. Change
Has the payment settled?
Yes. Its batch closed and the funds moved. Change

Choose one

    What to build

    Send a Refund on the operations endpoint, for the full amount or for part of it. The response carries a second transaction id, for the Return transaction the refund creates. Read that transaction to learn whether the credit was approved, and watch its settlement to learn when the money left.

    What this means for PCI

    This is guidance rather than a compliance determination. Which questionnaire you are eligible for depends on your full environment, so confirm it with your QSA or your acquirer before you rely on it.

    Worth knowing

    • A refund isn't instant and can be declined. Treating the operation response as proof the customer has their money back is the most common reconciliation bug on this path.
    • Send an explicit amount on every refund after the first. An omitted amount asks for the original total, not what's left of it, and is refused.
    • An empty allowed-actions list on a settled payment usually means the merchant has refunds turned off, not that the payment is in the wrong state.
    • Send an idempotency key, so a refund retried after a timeout returns the first refund rather than issuing a second.

    Reconnecting to the server

    Could not reconnect

    This session has ended

    Attempt 1

    Your work on this page is still here. Retrying keeps it; reloading starts the page again.

    The server no longer holds this page's state, so it has to be loaded again.