> This page is for version v2 (default).
> For other versions, use one of these documentation indexes:
> - v2 (default): https://developers.clearpay.co.uk/v-2/llms.txt
> - v1: https://developers.clearpay.co.uk/v-1/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.clearpay.co.uk/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.clearpay.co.uk/_mcp/server.

# Immediate Capture

> Capture the full payment amount immediately after checkout completion

Immediate capture provides a simplified and efficient payment process. It's ideal for merchants who want to finalize and settle payments immediately upon order confirmation, or who want to minimize complexity. It combines the following actions into a single API call:

* Completing payment approval.
* Starting the customer's payment plan.
* Settling the full order value into the merchant's bank account.

| **Action**                                                           | **Endpoint**           | **Purpose**                                  |
| -------------------------------------------------------------------- | ---------------------- | -------------------------------------------- |
| [Capture Full Payment](/immediate-payment-flow/capture-full-payment) | `/v2/payments/capture` | Capture order payment and confirm the order. |

## Implement immediate capture

1. [Create a checkout](/1-create-a-checkout). If the customer confirms their order with Clearpay, they're returned to your website with an order token and the `SUCCESS` status.
2. Use the order token to call the [Capture Full Payment](/immediate-payment-flow/capture-full-payment) endpoint. Once the capture completes, you'll receive a Payment object with a status of `APPROVED` or `DECLINED`.
   * If Clearpay approves the payment, present the customer with an order confirmation page. The full payment is captured.
   * If Clearpay declines the payment (for example, if the customer's credit card details are incorrect), present the customer with suggested corrections or alternative payment methods at checkout.

```mermaid
%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#FFF',
      'primaryTextColor': '#000',
      'primaryBorderColor': '#000',
      'lineColor': '#000',
      'secondaryColor': '#fff',
      'tertiaryColor': '#fff',
      'noteBkgColor': '#fff',
      'noteBorderColor': '#000'
    }  
  }
}%%
sequenceDiagram
    Merchant ->> Clearpay: Create Order
    Clearpay -->> Merchant: Token
    Note over Merchant, Clearpay: Clearpay checkout flow
    Merchant ->> Clearpay: Capture
    Clearpay -->> Merchant: Success
```

### Considerations

* Immediate capture is supported by all platforms.
* You must call the Capture Full Payment endpoint within 180 minutes of receiving the token from the Create Checkout call.
* The Capture Full Payment call is idempotent. It's safe to retry requests within 24 hours using the same unique requestId.
* Express checkout requires additional data. See [Express Checkout Integration](/expresscheckout-1) to learn more.