---
title: "State of an automatic Pix charge: `pendente`, `pago`, `vencido`, `estornado` or `falhou`."
method: GET
path: "/api/credito/asaas/{id}"
---

# State of an automatic Pix charge: \`pendente\`, \`pago\`, \`vencido\`, \`estornado\` or \`falhou\`.

`GET /api/credito/asaas/{id}`

## Request

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

Returns: { estado, pago_em }

## Path parameters

- `id` string, required

## Response `200`

{ estado, pago_em }

- object
  - `estado` string, required: `pago` releases the pack token or the balance; a Pix paid after the due date counts.
  - `pago_em` string, required: When the payment was confirmed, or `null`.

## Other responses

- `404`: Unknown charge.

---

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