---
title: "Charge Payment Method"
method: POST
path: "/billing/payment-terminal/charge-card/{payment_method_id}"
tags: ["provider", "billing"]
---

# Charge Payment Method

`POST /billing/payment-terminal/charge-card/{payment_method_id}`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/billing/payment-terminal/charge-card/{payment_method_id}`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/billing/payment-terminal/charge-card/:payment_method_id/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `payment_method_id` string, required

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Request body

- ChargePaymentMethod
  - `payinConfigId` string, required: From POST /billing/payment-terminal/payin-config (not the Decoda charge id).

## Response `200`

Successful Response

- ChargePaymentMethodResponse
  - `payinId` string, required
  - `amount` integer, required
  - `status` string, required
  - `authCode` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
