---
title: "Charge a card"
method: POST
path: "/payment-intents/{paymentIntentId}/charge"
tags: ["Payment intents"]
---

# Charge a card

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

## Request

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

Allows you to charge a card later. This is available for merchant-initiated transactions only.

## Path parameters

- `paymentIntentId` string, nullable, required

## Headers

- `version` string, date, required

## Response `200`

OK

- ChargeResponse: The charge response object.
  - `paymentIntentId` string, nullable: The unique identifier of the payment intent.
  - `status` 'Created' | 'Successful' | 'Declined' | 'Failed': Current capture status.
  - `message` string, nullable: The description of the operation.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Not found

---

[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)
