Skip to main content
POST
/
billing
/
payment-terminal
/
charge-card
/
{payment_method_id}
Charge Payment Method
curl --request POST \
  --url https://api.decodahealth.com/billing/payment-terminal/charge-card/{payment_method_id} \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "payinConfigId": "<string>"
}
'
{
  "payinId": "<string>",
  "amount": 123,
  "status": "<string>",
  "authCode": "<string>"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

payment_method_id
string
required

Body

application/json
payinConfigId
string | null

Response

Successful Response

payinId
string
required
amount
integer
required
status
string
required
authCode
string | null