Table of contents

Delayed capture

GOV.UK Pay supports the delayed capture of payments.

To use this feature, include "delayed_capture": true in the body of a create new payment request (link opens in new window).

The user experience matches the current payment flow. Once the user selects Confirm on the Confirm your details page, your service can call the POST /v1/payments/{paymentId}/capture endpoint to send a delayed capture request.

There are 4 possible responses:

 
Response Code Meaning
204 Capture request accepted
404 paymentId does not exist
409 Capture request rejected
500 Downstream error
 

Your service must send the delayed capture request within 90 minutes of the payment creation, regardless of how long the user takes to complete the payment flow. Otherwise, it will expire.

If your service has enabled payment receipt emails, GOV.UK Pay will send a payment receipt email to the user once your service’s capture request is received and accepted.