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

# Capture

> Capture the amount of an authorized payment.

`POST /v1/payments/capture`

Captures the amount of an original authorized payment, transferring funds from the user account to the merchant account. Supports full capture or multiple partial captures.

## Request Parameters

<ParamField body="captureRequestId" type="string" required>
  Merchant-generated unique ID for this capture.

  **Max length**: 64 characters
</ParamField>

<ParamField body="paymentId" type="string" required>
  Payment ID of the original authorization to be captured.

  **Max length**: 64 characters
</ParamField>

<ParamField body="captureAmount" type="object">
  Amount to capture. Omit for full capture. See [Amount](/openapis/v1/data-dictionary#amount).
</ParamField>

<ParamField body="isLastCapture" type="boolean">
  Indicates this is the final capture. Defaults to `false` — set to `true` to close the order after this capture.
</ParamField>

<ParamField body="extendInfo" type="string">
  Extension information.

  **Max length**: 4096 characters
</ParamField>

## Response Parameters

<ResponseField name="result" type="object" required>
  Standard result object with `resultCode`, `resultStatus`, `resultMessage`
</ResponseField>

<ResponseField name="captureId" type="string">
  Wallet-generated unique capture ID.

  **Max length**: 64 characters
</ResponseField>

<ResponseField name="captureTime" type="string">
  Capture processing time in ISO 8601 format.
</ResponseField>

## Result Codes

| resultStatus | resultCode                       | Description                                    |
| ------------ | -------------------------------- | ---------------------------------------------- |
| `S`          | `SUCCESS`                        | Capture successful                             |
| `F`          | `PARAM_ILLEGAL`                  | Missing or invalid required parameter          |
| `F`          | `ORDER_UNSUPPORTED_OPERATION`    | Order does not support capture                 |
| `F`          | `REPEAT_REQ_INCONSISTENT`        | Duplicate request with inconsistent data       |
| `F`          | `ORDER_STATUS_INVALID`           | Order status does not allow capture            |
| `F`          | `RISK_REJECT`                    | Transaction rejected by risk engine            |
| `F`          | `CAPTURE_AMOUNT_EXCEED_LIMIT`    | Capture amount exceeds the authorization limit |
| `F`          | `MULTIPLE_CAPTURE_NOT_SUPPORTED` | Multiple captures not supported for this order |
| `U`          | `UNKNOWN_EXCEPTION`              | Unknown error occurred                         |
