---
title: "Captures a payment"
method: POST
path: "/payment-intents/{paymentIntentId}/captures"
tags: ["Captures"]
---

# Captures a payment

`POST /payment-intents/{paymentIntentId}/captures`

## Request

- Base URL: `https://api.dojo.tech`
- URL: `https://api.dojo.tech/payment-intents/{paymentIntentId}/captures`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/dojo/apis/dojo-api/docs/payment-intents/:paymentIntentId/captures/post.ts> (a function with typed inputs; its response is checked against the schema)

Captures a payment intent that has previously been created but not yet refunded or reversed. You can capture the full amount or a partial amount.

## Path parameters

- `paymentIntentId` string, nullable, required

## Headers

- `version` string, date, required

## Request body

- CreateCaptureRequest: The capture request object.
  - `amount` integer, required: The capture amount. You can capture a full or partial amount. Multiple partial captures can be made on the same total.
  - `tipsAmount` integer, nullable: The tip amount.

## Response `200`

OK

- Capture: The capture response object.
  - `message` string, nullable: The description of the operation.
  - `captureId` string, nullable: The unique identifier for the capture.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `409`: Conflict

---

[API](https://skmtc.dev/dojo/apis/dojo-api.md) - [All operations](https://skmtc.dev/dojo/apis/dojo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dojo/apis/dojo-api/revisions/29fc8900ba37?raw)
