# Has the payment settled?

[Cancel or refund a payment](https://devportal.qa.winkpg.io/docs/decide/cancel-or-refund-a-payment.md): Whether undoing a payment is a void, a reversal, or a refund, and what each one does to the money and to your records.

Before settlement, the undo is a cancel and the money never moves. After it, the undo is a credit that sends the money back.

**Your answers so far**

- How did the customer pay? By card.

**Choose one**

- [No. It's authorized or captured, and its batch hasn't closed.](https://devportal.qa.winkpg.io/docs/decide/cancel-or-refund-a-payment/how-much-you-are-canceling.md): The customer sees a pending charge, not a posted one.
- [Yes. Its batch closed and the funds moved.](https://devportal.qa.winkpg.io/docs/decide/cancel-or-refund-a-payment/refund-it.md): The settlement status reads SettlementSucceeded.
- [I don't know, and my code shouldn't have to.](https://devportal.qa.winkpg.io/docs/decide/cancel-or-refund-a-payment/let-the-transaction-tell-you.md): You undo payments from a support screen or an automated process.

- [Start over](https://devportal.qa.winkpg.io/docs/decide/cancel-or-refund-a-payment.md): go back to the first question.

## See also

- [All documentation](https://devportal.qa.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
