# How to refund a payment
It's possible to refund the payment, but you have to take additional actions described below.
# Prerequisites
In order to refund a payment, it has to be captured first.
Additionally, you need a PayPal access token. If you don't have it yet, follow the instructions in the Get PayPal access token document.
# Refund payment
# Get Refund URL
- Sign in to the commercetools' merchant center and find order you want to refund.
- Go to the
Paymentstab. Move down to thecommercetools Paypal integration payment custom typepanel. - Copy the value of the
Refund URLfield.
# Send a request using Postman
Create a new request in Postman:
- Set the method to
POST - Set the URL to the
Refund URLvalue from the previous step. - Open the
Headerstab add two entries with:- key:
Content-Typeand valueapplication/json, - key:
Authorizationand value:Bearer <TOKEN_FROM_THE_FIRST_STEP>.
- key:
- Click the
Sendbutton.
If you correctly configured the Webhooks, they will add a new transaction to the commercetools:
