---
title: "POST /payments/capture-payment"
method: POST
path: "/payments/capture-payment"
---

# POST /payments/capture-payment

`POST /payments/capture-payment`

## Request

- Base URL: `https://api.xpaycheckout.com`
- URL: `https://api.xpaycheckout.com/payments/capture-payment`
- Auth: HTTP basic

Captures a payment that was previously authorized by creating an intent with `manualCapture` set to `true`.

## Headers

- `Idempotency-Key` string

## Request body

- CapturePaymentRequest
  - `intentId` string, required: Unique identifier of the previously authorized payment intent

## Response `200`

Capture Payment response

- CapturePaymentResponse
  - `status` string: Current status of the payment intent. Refer to [payment statuses](/products/one-time-payments/payment-statuses).
  - `errorCode` string, nullable: Machine-readable error code when the capture is unsuccessful. Refer to [error codes](/products/one-time-payments/error-codes).
  - `errorMessage` string, nullable: Human-readable error message when the capture is unsuccessful.

## Other responses

- `400`: Invalid request

## Changes

- **2026-11-03** `52c5fafd7d8a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/xpaycheckout/apis/xpay-api-store/changes/payments/capture-payment/post.md)

---

[API](https://skmtc.dev/xpaycheckout/apis/xpay-api-store.md) - [All operations](https://skmtc.dev/xpaycheckout/apis/xpay-api-store/llms.txt) - [OpenAPI document](https://skmtc.dev/xpaycheckout/apis/xpay-api-store/revisions/52c5fafd7d8a?raw)
