---
title: "Automatic Pix: whether it is available in this app, the packs in reais and the balance the product sells."
method: GET
path: "/api/credito/asaas"
---

# Automatic Pix: whether it is available in this app, the packs in reais and the balance the product sells.

`GET /api/credito/asaas`

## Request

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

Returns: { disponivel, pacotes, exatos, saldo, precisa_documento }

## Response `200`

{ disponivel, pacotes, exatos, saldo, precisa_documento }

- object
  - `disponivel` object, required: `false` when the app has no Asaas configured (use the Pix with receipt).
  - `pacotes` object[], required: The credit packs (3, 5, 10 or 25 dollars), with `brl_centavos`.
  - `exatos` object[], required: Prices declared by the app, with `usd` and `brl_centavos`. Amounts start at R$ 5.00 and cannot exceed R$ 10,000.
  - `saldo` object, required: When the product sells a balance in reais: the range and whether the account can buy.
  - `precisa_documento` object, required: Whether the payer's CPF or CNPJ is still required.

---

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