# How to capture a payment
The integration supports "Authorize and Capture Payments", which reserves funds on the user's account. However, to capture them, you have to take additional actions.
# Prerequisites
To capture a payment, you need a PayPal access token. If you don't have it yet, follow the instructions in the Get PayPal access token document.
# Capture payment
# Get Capture URL
- Sign in to the commercetools Merchant Center and find the order you want to capture.
- Go to the
Paymentstab and scroll down to thecommercetools Paypal integration payment custom typepanel. - Copy the value of the
Capture URLfield.
# Send a request using Postman
Create a new request in Postman:
- Set the method to
POST. - Set the URL to the
Capture 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 and fill the
Refund URLfield in the commercetools:
- update the order status to
Paid: