---
title: "Capture a payment"
slug: "capture-a-payment-1"
updated: 2025-02-20T14:55:14Z
published: 2025-02-20T14:55:14Z
canonical: "docs.apcopay.com/capture-a-payment-1"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apcopay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Capture a Payment

**Capture** refers to the stage where an authorised transaction is **finalised**, and funds are officially transferred from the cardholder's account to you as the merchant. This process ensures the completion of a successful transaction, marking the official moment when the agreed-upon amount is secured by the merchant.

The **capture** call can be used:

1. If you conducted a card payment of transaction type <span style="background-color: lightgrey">"auth"</span> using our [hosted payment page](/v1/docs/create-a-hosted-payment-page-session).

2. If you initiated a payment of transaction type <span style="background-color: lightgrey">"auth"</span> using our [Payments Operations API](/v1/docs/authorise-a-payment).

:::(Info) (Avoiding the capture call)
You can eliminate the need for a separate capture call by utilising the "[purchase](/v1/docs/authorise-a-payment​)" transaction type.
:::

:::(Info) (Multiple partial captures)
The capture API facilitates multiple partial captures, allowing you to manage concurrent capture requests, particularly beneficial for split shipments. This feature is accessible whether an authorization was initiated through our hosted payment page or card payment API.
:::

:::(Warning) (Authorisation expiry)
An authorisation has a predefined expiration period, which is determined by the card issuer. The duration can typically remain active up to 30 days. Following this period, the funds are released back on the customer's card.
:::

### Fully capture a payment ###

#### Endpoint ####

<div style="display: flex; justify-content: space-between; align-items: center; border: 1px solid #e0e0e0; padding: 10px; background-color: #f5f5f5;">
    <strong style="background-color: #1F5CA6; color: #fff; padding: 5px; border-radius: 3px;">PUT</strong>
    <strong style="margin-left: 10px; flex: 1;">/api/directconnect/execute</strong>
    <a href="https://apcopay.redoc.ly/#operation/PaymentOperationAUTHPURC" target="_blank" style="margin-left: 10px;">Try it here</a>
    <br>
    <br>
</div>

#### Request Example ####
```
{
  "TransactionType": "CAPT",
  "Amount": "1.00",
  "Currency": "EUR",
  "CallBackURL": "https://yourURLhere.com/Listener",
  "IsTest": false,
  "PspId": "750762"
}
``` 

### Partially capture a payment ###
Update the amount to the amount you wish to capture, the remaining balance will remain authorised until finally expired.

#### Endpoint ####

<div style="display: flex; justify-content: space-between; align-items: center; border: 1px solid #e0e0e0; padding: 10px; background-color: #f5f5f5;">
    <strong style="background-color: #1F5CA6; color: #fff; padding: 5px; border-radius: 3px;">PUT</strong>
    <strong style="margin-left: 10px; flex: 1;">/api/directconnect/execute</strong>
    <a href="https://apcopay.redoc.ly/#operation/PaymentOperationAUTHPURC" target="_blank" style="margin-left: 10px;">Try it here</a>
    <br>
    <br>
</div>

### Manually capture a payment using our Portal ###

Link to portal guide [here](/v1/docs/capturing-a-transaction)
