Capture the pre-authorization
Capture the pre-authorization
An AI skill is available for this guide, get it on the Skills Marketplace (GitHub).
If your merchant doesn’t capture a pre-authorization, it expires and the issuing bank releases the hold on the customer’s card.
To capture the pre-authorization, you must use our API.
Before you begin
Authenticate your requests before making API calls. If your request fails, see Errors.
Send a POST request to capture the pre-authorization
To capture the pre-authorization, you need the UNIQUEREF that we returned to the merchant’s receipt page. Send the UNIQUEREF in the paymentId path parameter in a POST request to our Payments endpoint.
Depending on the amount you want to capture:
- Capture the full amount of the pre-authorization - Don’t send a value for the amount parameter in your request.
- Capture less than the amount of the pre-authorization - Send a value for the amount parameter in your request.
- Capture more than the amount of the pre-authorization - Adjust the pre-authorization before you capture it. For more information about adjusting a pre-authorization, go to Adjust Payment.
Request parameters
To create the body of your request, use the following parameters:
Request
Example request
Response fields
If your request is successful, we capture the pre-authorization and return a response. The response contains the following fields: