---
title: "Pays a card charge whose card was declined with another card: the same charge, never charged twice."
method: POST
path: "/api/credito/asaas/{id}/cartao"
---

# Pays a card charge whose card was declined with another card: the same charge, never charged twice.

`POST /api/credito/asaas/{id}/cartao`

## Request

- Base URL: `https://okfindex.com`
- URL: `https://okfindex.com/api/credito/asaas/{id}/cartao`
- Auth: none declared

JSON with the `cartao` (the same fields as `POST /api/credito/asaas`) and, without an account, the `navegador_id` that created the charge. Only a card charge waiting for payment, by whoever created it, and up to five attempts per charge.
Returns: { estado, estado_em }

## Path parameters

- `id` string, required

## Response `200`

{ estado, estado_em }

- object
  - `estado` string, required: `pago`, or `pendente` with `conferir` while the issuer reviews it.
  - `estado_em` string, required: Where to follow the payment.

## Other responses

- `400`: Invalid card data (`cartao_dados`, with the `campo`).
- `404`: Unknown charge, someone else's charge, or not a card charge.
- `409`: The charge expired or was closed; start the payment again.
- `422`: Card declined (`cartao_recusado`).
- `429`: Used up the card attempts for this charge or for today.

---

[API](https://skmtc.dev/okfindex/apis/okf-index.md) · [All operations](https://skmtc.dev/okfindex/apis/okf-index/llms.txt) · [OpenAPI document](https://skmtc.dev/okfindex/apis/okf-index/revisions/4b13ca3c739f?raw)
