---
title: "Refunds and cancellations"
canonical_url: https://docs.connect.worldline-solutions.com/accepting-payments/payment-scenarios/refunds-and-cancellations
---

1. [Home](https://docs.connect.worldline-solutions.com/)
2. [Accepting payments](https://docs.connect.worldline-solutions.com/accepting-payments.md)
3. [Payment scenarios](https://docs.connect.worldline-solutions.com/accepting-payments/payment-scenarios.md)
4. Refunds and cancellations

Page topics  

# Refunds and cancellations

To start a refund process, you should use the API call [POST /{paymentId}/refund](https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/java/payments/refund.html?paymentPlatform=ALL). This action is only applicable if the payment status is PAID. If you wish to refund the full order amount, you can do so by sending a request using the same API call, but with an empty body.

A basic refund payload only requires the amountOfMoney object specifying the amount and currencyCode:  
GET PAYMENT RESPONSECopy code

```hljs javascript language-javascript

    {
    "amountOfMoney": {
        "amount": 50,
        "currencyCode": "EUR"
    }
}
```

* You have the option to refund a part of the funds as well. For this, it's necessary to include a payload with the amountOfMoney object, where you specify the amount and the currencyCode.
* To view the details of your refund, you can use the API call [GET /refunds/{refundId}](https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/java/refunds/get.html?paymentPlatform=ALL).

### Cancel a payment

To cancel a payment, you need to send cancellation with [POST /{paymentId}/cancel](https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/java/payments/cancel.html?paymentPlatform=ALL) API call. The request doesn't have a body. The cancellation can only be performed when the status is **PENDING_APPROVAL** and statusOutput.isCancellable is **true**.
