---
title: "Charge card"
method: POST
path: "/api/v1/card/charge"
tags: ["Card API"]
---

# Charge card

`POST /api/v1/card/charge`

## Request

- Base URL: `https://sandbox.przelewy24.pl`
- URL: `https://sandbox.przelewy24.pl/api/v1/card/charge`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/docs/api/v1/card/charge/post.ts> (a function with typed inputs; its response is checked against the schema)

The method allows a card to be charged using the reference number.

## Request body

- CardChargeRequestBody
  - `token` string: Token registered using the <a href="#tag/Transaction-service-API/operation/registerTransaction"><b>transaction/register</b></a> method. The card reference number must be provided during registration in the <b>methodRefId</b> parameter.

## Response `200`

OK - the card charge command has been accepted. A notification will be sent after the operation is completed successfully.

- ChargeCardSuccessResponse
  - `data` object
    - `orderId` integer: Registered transaction ID
  - `responseCode` number

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

## Changes

- **2026-09-03** `5861a691aa36`: 4 breaking, 1 info
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - …1 more

[Operation history](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/changes/api/v1/card/charge/post.md)

---

[API](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation.md) - [All operations](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/revisions/5861a691aa36?raw)
