Capture in Customer Area
You can also capture payments in your Customer Area. For more information, refer to Manage payments. For some payment methods, the payment is completed in two steps:- Authorisation – The payment details of the shopper are verified, and the funds are reserved.
- Capture – The reserved funds are transferred from the shopper to your account.
- Automatic capture – payments are captured automatically after authorisation. This is the default setting. You can optionally specify a delay between authorisation and automatic capture.
- Manual capture – capture each payment by making a request to the /capture endpoint, or by specifying
captureDelayHoursin your payment request.
Automatic capture
With automatic capture, payments are captured automatically, using the capture delay that you specify.Capture delay
Capture delay is the time between payment authorisation and capture. By default, payments are captured immediately after authorisation. Setting up a delay between authorisation and capture allows you to cancel the authorisation, for example when it turns out that an item is out of stock. To be able to change the capture settings, you need to have the Merchant admin role. To change the capture delay:Account structure
Capture delay is configured at the merchant account level. For more information, refer to Company and merchant accounts.- Log in to your Customer Area.
- Switch to your merchant account.
- Go to Settings > Account settings.
-
In the Capture Delay drop-down menu, select the capture delay that you want to use. Possible values:
- immediate – Capture is performed immediately after authorisation.
- [N] days – Capture is performed N (between 1 and 7) days after authorisation.
- Select Submit.
Manual capture
With manual capture, you need to explicitly request a capture for each payment. To be able to change the capture settings, you need to have the Merchant admin role. To enable manual capture:- Log in to your Customer Area.
- Switch your merchant account.
- Go to Settings > Account settings.
- In the Capture Delay drop-down menu, select manual.
- Click Submit.
/capture request.
Alternatively, you can include in your payment request captureDelayHours, specifying a number of hours after which the payment will be captured.
For example, to have the payment captured two hours after authorisation, include in your payment request:
captureDelayHours does not trigger a separate CAPTURE webhook. You can optionally receive CAPTURE webhook events. To enable this functionality, contact our Support Team.
Capture a payment
Make a POST request to the /capture endpoint, specifying:-
merchantAccount: The name of your merchant account that is used to process the payment. -
modificationAmount: This must be the same as or, in case of a partial capture, less than the authorised amount. -
originalReference: The originalpspReferenceof the payment that you want to capture. This reference is returned in the response to your payment request, and in the AUTHORISATION webhook event. -
reference: Optional Specifies a unique identifier for payment modification. Thereferencefield is useful to tag a partial capture for future reconciliation.
/capture response containing:
pspReference: The PSP reference associated with this/capturerequest. Note that this is different from the PSP reference associated with the original payment request.
CAPTURE webhook
When we have processed your capture request, we send you a webhook event with:-
eventCode: CAPTURE. -
originalReference: The PSP reference of the authorization. -
pspReference: The PSP reference associated with the capture request. -
success: Indicates whether the capture request was successful. Possible values:- true: The capture request is valid (for example, the authorization has not expired, and the balance is available) and has been submitted to the bank/third-party processor. In most cases, this means that the funds will be transferred to your account. In rare cases the card scheme can still reject the capture, and you will receive a CAPTURE_FAILED webhook.
- false: The capture request failed. The webhook event includes a
reasonfield with a short description of the problem. Review the reason, fix the issue if possible, and resubmit the capture request.
- success: true
- success: false