Developers
OpenAPI

Todas as rotas

Gerada da mesma especificação que a API valida.

Todas as rotas respondem em https://api.ingot.com.br. Esta página e o openapi.yaml saem do mesmo contrato, que também gera o SDK oficial.

Cada rota aceita até 25 requisições por segundo por empresa (5 no sandbox), contadas separadamente: o limite aparece ao lado de cada uma. Veja Limites de requisição.

Prefere chamar do seu cliente de API?

As 45 rotas de integração estão no arquivo OpenAPI 3, que Postman, Insomnia, Bruno e Hoppscotch importam direto. A chave fica em branco: preencha com a sua.

Baixar openapi.yaml

A chave decide o ambiente

Com uma chave de produção, toda chamada é de verdade: um Pix disparado do seu terminal sai de verdade. Para integrar sem dinheiro real, use uma chave ck_test_ do sandbox, no mesmo endereço. Veja Ambientes.

Só leitura, de propósito

Esta página não dispara chamadas e nunca vê a sua chave. Para testar, use o terminal ou o seu cliente de API.

Visão geral

As 45 rotas de integração, por recurso. Clique para ir ao detalhe.

RotaMétodoCaminho
Listar contasGET/accounts
Abrir uma contaPOST/accounts
Consultar uma contaGET/accounts/{id}
Consultar o saldoGET/accounts/{id}/balance
ExtratoGET/accounts/{id}/statement
Consultar os limitesGET/accounts/{id}/limits
Consultar as tarifasGET/accounts/{id}/fees
Abrir uma conta adicionalPOST/accounts/{accountId}/additional
Iniciar o onboarding da contaPOST/accounts/{accountId}/provider-opening
Acompanhar o onboarding da contaGET/accounts/{accountId}/provider-opening
Enviar um PixPOST/transactions/pix
Enviar uma TEDPOST/transactions/ted
Emitir um boletoPOST/transactions/boleto
Criar um QR CodePOST/transactions/pix-charges
Consultar um QR CodeGET/transactions/pix-charges/{id}
Listar QR CodesGET/transactions/pix-charges
Criar uma assinatura por PixPOST/transactions/pix-subscriptions
Consultar uma assinaturaGET/transactions/pix-subscriptions/{id}
Listar assinaturasGET/transactions/pix-subscriptions
Cancelar uma assinaturaPOST/transactions/pix-subscriptions/{id}/cancel
Enviar uma TEFPOST/transactions/internal
Listar transaçõesGET/transactions
Consultar uma transaçãoGET/transactions/{id}
Histórico de estadosGET/transactions/{id}/history
Cadastrar um endpointPOST/webhooks/endpoints
Listar endpointsGET/webhooks/endpoints
Desativar um endpointDELETE/webhooks/endpoints/{id}
Listar entregasGET/webhooks/deliveries
Reenviar uma entregaPOST/webhooks/deliveries/{id}/resend
Reenviar as que falharamPOST/webhooks/endpoints/{id}/resend-failed
Cadastrar uma empresaPOST/onboarding/companies
Enviar um documentoPOST/onboarding/companies/{customerId}/documents
Acompanhar uma empresaGET/onboarding/companies/{customerId}
Listar as empresasGET/onboarding/companies
Abrir uma conta adicional da empresaPOST/onboarding/companies/{customerId}/accounts
Listar as contas da empresaGET/onboarding/companies/{customerId}/accounts
Identificar a chaveGET/auth/me
Simular um Pix recebidoPOST/sandbox/pix/inbound
Simular o pagamento de um QR CodePOST/sandbox/pix/charges/{providerRef}/pay
Simular o pagamento dos splitsPOST/sandbox/pix/charges/{providerRef}/pay-splits
Simular o pagamento de um boletoPOST/sandbox/boleto/{providerRef}/pay
Simular a autorização de uma assinaturaPOST/sandbox/pix/subscriptions/{providerRef}/authorize
Simular a cobrança de um períodoPOST/sandbox/pix/subscriptions/{providerRef}/charge
Simular o fim de uma assinaturaPOST/sandbox/pix/subscriptions/{providerRef}/end
Verificar a saúdeGET/health

Contas

A conta de pagamento, o saldo derivado do ledger, o extrato e os limites.

Listar contas

GET/accountsscopeaccounts:readlimite25/s

Lista as contas da empresa.

Parâmetros de consulta

customer_idstring · uuid

Resposta

200 — um objeto PaymentAccountList. Erros: 401 403 429, no formato padrão.

Campos da resposta
dataPaymentAccount[]obrigatório
Campos de data
idstring · uuidobrigatório
customer_idstring · uuidobrigatório
branchstringobrigatório
numberstringobrigatório
check_digitstringobrigatório
displaystringobrigatório
Por exemplo, 0001/00100001-7.
kindstringobrigatório
Um de: payment.
main_account_idstring · uuid · nullobrigatório
Set on an ADDITIONAL account: the holder's main account it was opened from (the same holder, the same CNPJ). Null on the main account.
labelstring · nullobrigatório
The name the holder gave the account. Always set on an additional one.
statusstringobrigatório
Um de: pending_kyc, active, blocked, closed.
status_reasonstring · nullobrigatório
opened_atstring · date-timeobrigatório
activated_atstring · date-time · nullobrigatório
blocked_atstring · date-time · nullobrigatório
closed_atstring · date-time · nullobrigatório
totalintegerobrigatório

Exemplo

Terminal
curl "https://api.ingot.com.br/accounts?customer_id=$CUSTOMER_ID" \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "branch": "string",
      "number": "string",
      "check_digit": "string",
      "display": "string",
      "kind": "payment",
      "main_account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "label": "Projeto Centro",
      "status": "pending_kyc",
      "status_reason": "string",
      "opened_at": "2026-11-19T18:00:00.000Z",
      "activated_at": "2026-11-19T18:00:00.000Z",
      "blocked_at": "2026-11-19T18:00:00.000Z",
      "closed_at": "2026-11-19T18:00:00.000Z"
    }
  ],
  "total": 1
}

Abrir uma conta

POST/accountsscopeaccounts:writelimite25/s

Abre uma conta de pagamento para o cliente. Ela nasce pending_kyc e só movimenta depois de active.

Corpo da requisição

customer_idstring · uuidobrigatório

Resposta

201 — um objeto PaymentAccount. Erros: 401 403 404 409 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
customer_idstring · uuidobrigatório
branchstringobrigatório
numberstringobrigatório
check_digitstringobrigatório
displaystringobrigatório
Por exemplo, 0001/00100001-7.
kindstringobrigatório
Um de: payment.
main_account_idstring · uuid · nullobrigatório
Set on an ADDITIONAL account: the holder's main account it was opened from (the same holder, the same CNPJ). Null on the main account.
labelstring · nullobrigatório
The name the holder gave the account. Always set on an additional one.
statusstringobrigatório
Um de: pending_kyc, active, blocked, closed.
status_reasonstring · nullobrigatório
opened_atstring · date-timeobrigatório
activated_atstring · date-time · nullobrigatório
blocked_atstring · date-time · nullobrigatório
closed_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/accounts \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f"
  }'
Resposta 201
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "branch": "string",
  "number": "string",
  "check_digit": "string",
  "display": "string",
  "kind": "payment",
  "main_account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "label": "Projeto Centro",
  "status": "pending_kyc",
  "status_reason": "string",
  "opened_at": "2026-11-19T18:00:00.000Z",
  "activated_at": "2026-11-19T18:00:00.000Z",
  "blocked_at": "2026-11-19T18:00:00.000Z",
  "closed_at": "2026-11-19T18:00:00.000Z"
}

Consultar uma conta

GET/accounts/{id}scopeaccounts:readlimite25/s

Lê uma conta de pagamento.

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

200 — um objeto PaymentAccount. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
customer_idstring · uuidobrigatório
branchstringobrigatório
numberstringobrigatório
check_digitstringobrigatório
displaystringobrigatório
Por exemplo, 0001/00100001-7.
kindstringobrigatório
Um de: payment.
main_account_idstring · uuid · nullobrigatório
Set on an ADDITIONAL account: the holder's main account it was opened from (the same holder, the same CNPJ). Null on the main account.
labelstring · nullobrigatório
The name the holder gave the account. Always set on an additional one.
statusstringobrigatório
Um de: pending_kyc, active, blocked, closed.
status_reasonstring · nullobrigatório
opened_atstring · date-timeobrigatório
activated_atstring · date-time · nullobrigatório
blocked_atstring · date-time · nullobrigatório
closed_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/accounts/$ID \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "branch": "string",
  "number": "string",
  "check_digit": "string",
  "display": "string",
  "kind": "payment",
  "main_account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "label": "Projeto Centro",
  "status": "pending_kyc",
  "status_reason": "string",
  "opened_at": "2026-11-19T18:00:00.000Z",
  "activated_at": "2026-11-19T18:00:00.000Z",
  "blocked_at": "2026-11-19T18:00:00.000Z",
  "closed_at": "2026-11-19T18:00:00.000Z"
}

Consultar o saldo

GET/accounts/{id}/balancescopeaccounts:readlimite25/s

Saldo disponível, bloqueado e total, derivado dos lançamentos do ledger.

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

200 — um objeto AccountBalance. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
account_idstring · uuidobrigatório
available_centsstringobrigatório
Valor em centavos.
held_centsstringobrigatório
Valor em centavos.
total_centsstringobrigatório
Disponível mais bloqueado.
currencystringobrigatório
Um de: BRL.
as_ofstring · date-timeobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/accounts/$ID/balance \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "available_cents": "15990",
  "held_cents": "15990",
  "total_cents": "15990",
  "currency": "BRL",
  "as_of": "2026-11-19T18:00:00.000Z"
}

Extrato

GET/accounts/{id}/statementscopeaccounts:readlimite25/s

Extrato paginado por cursor. O ledger é a única fonte, sem saldo em cache.

Parâmetros de caminho

idstring · uuidobrigatório

Parâmetros de consulta

fromstring · date-time
tostring · date-time
bucketstring
Um de: available, held.
directionstring
Um de: in, out.
kindstring
limitinteger
De 1 a 200.
cursorstring

Resposta

200 — um objeto StatementPage. Erros: 401 403 404 422 429, no formato padrão.

Campos da resposta
dataStatementLine[]obrigatório
Campos de data
posting_idstringobrigatório
entry_idstring · uuidobrigatório
kindstringobrigatório
descriptionstringobrigatório
reference_typestring · nullobrigatório
reference_idstring · uuid · nullobrigatório
reversal_ofstring · uuid · nullobrigatório
bucketstringobrigatório
Um de: available, held.
directionstringobrigatório
Um de: in, out.
amount_centsstringobrigatório
Valor em centavos.
signed_centsstringobrigatório
Positivo entra, negativo sai.
balance_after_centsstringobrigatório
Valor em centavos.
created_atstring · date-timeobrigatório
effective_atstring · date-timeobrigatório
next_cursorstring · nullobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/accounts/$ID/statement \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "posting_id": "string",
      "entry_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "kind": "string",
      "description": "string",
      "reference_type": "string",
      "reference_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "reversal_of": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "bucket": "available",
      "direction": "in",
      "amount_cents": "15990",
      "signed_cents": "15990",
      "balance_after_cents": "15990",
      "created_at": "2026-11-19T18:00:00.000Z",
      "effective_at": "2026-11-19T18:00:00.000Z"
    }
  ],
  "next_cursor": "string"
}

Consultar os limites

GET/accounts/{id}/limitsscopeaccounts:readlimite25/s

Limites diurno e noturno por transação e limite diário, com quanto já foi usado e quanto resta hoje. Pix, TED e TEF numa chamada só, em by_type.

Parâmetros de caminho

idstring · uuidobrigatório

Parâmetros de consulta

transaction_typestring
O tipo que effective mostra; Pix quando omitido. by_type traz Pix, TED e TEF de todo jeito. Um de: pix, ted, boleto, internal, any.
channelstring
O canal por onde a transferência passa; api quando omitido, o canal de um envio com chave de API.

Resposta

200 — um objeto AccountLimits. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
effectiveEffectiveAccountLimitobrigatório
O limite que vale para este tipo de transferência e canal, como está agora. O contador guarda o que cada transferência tirou do limite: o valor e, na TED, também a tarifa da instituição.
Campos de effective
transaction_typestringobrigatório
Um de: pix, ted, boleto, internal, any.
channelstringobrigatório
per_transaction_centsstringobrigatório
Por transação, de dia (fora do horário noturno), em centavos.
daily_centsstringobrigatório
Por dia, somando as transferências deste tipo no dia, em centavos.
night_per_transaction_centsstringobrigatório
Por transação, dentro do horário noturno, em centavos.
night_windowstringobrigatório
Por exemplo, 20h-6h.
night_start_hourintegerobrigatório
O horário noturno começa nesta hora (inclusive), em timezone. De 0 a 23.
night_end_hourintegerobrigatório
O horário noturno termina nesta hora (exclusive), em timezone. Igual ao início: não há horário noturno. De 0 a 23.
timezonestringobrigatório
O fuso da instituição, onde o horário noturno e o dia são contados. Por exemplo, America/Sao_Paulo.
night_activebooleanobrigatório
Se é horário noturno AGORA, no fuso da instituição.
per_transaction_now_centsstringobrigatório
O limite por transação que vale agora: o noturno dentro do horário noturno, o diurno fora dele.
used_today_centsstringobrigatório
Quanto da cota de hoje já foi usado, no fuso da instituição. É o mesmo contador que a autorização consulta.
available_today_centsstringobrigatório
O que resta do limite diário hoje: daily_cents menos used_today_cents, nunca abaixo de zero.
sourcestringobrigatório
default arrives already reduced by the holder risk profile. Um de: account, default.
by_typeEffectiveAccountLimit[]obrigatório
Cada tipo de transferência em que o limite é conferido, no mesmo canal, nesta ordem: Pix, TED e TEF (internal).
Campos de by_type
transaction_typestringobrigatório
Um de: pix, ted, boleto, internal, any.
channelstringobrigatório
per_transaction_centsstringobrigatório
Por transação, de dia (fora do horário noturno), em centavos.
daily_centsstringobrigatório
Por dia, somando as transferências deste tipo no dia, em centavos.
night_per_transaction_centsstringobrigatório
Por transação, dentro do horário noturno, em centavos.
night_windowstringobrigatório
Por exemplo, 20h-6h.
night_start_hourintegerobrigatório
O horário noturno começa nesta hora (inclusive), em timezone. De 0 a 23.
night_end_hourintegerobrigatório
O horário noturno termina nesta hora (exclusive), em timezone. Igual ao início: não há horário noturno. De 0 a 23.
timezonestringobrigatório
O fuso da instituição, onde o horário noturno e o dia são contados. Por exemplo, America/Sao_Paulo.
night_activebooleanobrigatório
Se é horário noturno AGORA, no fuso da instituição.
per_transaction_now_centsstringobrigatório
O limite por transação que vale agora: o noturno dentro do horário noturno, o diurno fora dele.
used_today_centsstringobrigatório
Quanto da cota de hoje já foi usado, no fuso da instituição. É o mesmo contador que a autorização consulta.
available_today_centsstringobrigatório
O que resta do limite diário hoje: daily_cents menos used_today_cents, nunca abaixo de zero.
sourcestringobrigatório
default arrives already reduced by the holder risk profile. Um de: account, default.
configuredAccountLimit[]obrigatório
Campos de configured
transaction_typestringobrigatório
Um de: pix, ted, boleto, internal, any.
channelstringobrigatório
per_transaction_centsstringobrigatório
Por transação, de dia (fora do horário noturno), em centavos.
daily_centsstringobrigatório
Por dia, somando as transferências deste tipo no dia, em centavos.
night_per_transaction_centsstringobrigatório
Por transação, dentro do horário noturno, em centavos.
night_windowstringobrigatório
Por exemplo, 20h-6h.

Exemplo

Terminal
curl https://api.ingot.com.br/accounts/$ID/limits \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "effective": {
    "transaction_type": "pix",
    "channel": "string",
    "per_transaction_cents": "15990",
    "daily_cents": "15990",
    "night_per_transaction_cents": "15990",
    "night_window": "string",
    "night_start_hour": 1,
    "night_end_hour": 1,
    "timezone": "string",
    "night_active": false,
    "per_transaction_now_cents": "15990",
    "used_today_cents": "15990",
    "available_today_cents": "15990",
    "source": "account"
  },
  "by_type": [
    {
      "transaction_type": "pix",
      "channel": "string",
      "per_transaction_cents": "15990",
      "daily_cents": "15990",
      "night_per_transaction_cents": "15990",
      "night_window": "string",
      "night_start_hour": 1,
      "night_end_hour": 1,
      "timezone": "string",
      "night_active": false,
      "per_transaction_now_cents": "15990",
      "used_today_cents": "15990",
      "available_today_cents": "15990",
      "source": "account"
    }
  ],
  "configured": [
    {
      "transaction_type": "pix",
      "channel": "string",
      "per_transaction_cents": "15990",
      "daily_cents": "15990",
      "night_per_transaction_cents": "15990",
      "night_window": "string"
    }
  ]
}

Consultar as tarifas

GET/accounts/{id}/feesscopeaccounts:readlimite25/s

Quanto a conta paga por operação (Pix, TED, TEF, QR Code, boleto e assinatura por Pix), enviada ou recebida, e quem cobra cada parte, com o mesmo kind da linha do extrato.

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

200 — um objeto AccountFees. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
account_idstring · uuidobrigatório
dataAccountFee[]obrigatório
Campos de data
operationstringobrigatório
pix_out Pix enviado; ted_out TED enviada; internal_out TEF enviada para outra conta da instituição; pix_in Pix recebido por chave ou por dados bancários; pix_charge_in QR Code pago; boleto_in boleto emitido pela conta e pago; pix_subscription_in período de uma assinatura por Pix pago (só onde o provedor da instituição faz assinatura por Pix). Um de: pix_out, ted_out, internal_out, pix_in, pix_charge_in, boleto_in, pix_subscription_in.
directionstringobrigatório
Um de: in, out.
chargedstringobrigatório
Um de: on_top, deducted.
fee_centsstringobrigatório
O total, em centavos: a soma de parts.
partsAccountFeePart[]obrigatório
Campos de parts
kindstringobrigatório
Um de: fee, platform_fee, provider_cost, pix_subscription_fee_reserve.
fee_centsstringobrigatório
Valor em centavos.

Exemplo

Terminal
curl https://api.ingot.com.br/accounts/$ID/fees \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "data": [
    {
      "operation": "pix_out",
      "direction": "in",
      "charged": "on_top",
      "fee_cents": "15990",
      "parts": [
        {
          "kind": null,
          "fee_cents": null
        }
      ]
    }
  ]
}

Abrir uma conta adicional

POST/accounts/{accountId}/additionalscopeaccounts:writelimite25/s

Abre mais uma conta para a mesma empresa (o mesmo CNPJ), separada da principal, com saldo e extrato próprios: para separar o dinheiro por projeto, loja ou finalidade. Chame com o id da conta principal e a chave da empresa; a mesma chave opera a conta nova. Repetir com o mesmo nome devolve 200 com a mesma conta.

Parâmetros de caminho

accountIdstring · uuidobrigatório

Corpo da requisição

labelstringobrigatório
O nome da conta adicional ("Projeto Centro"), que não pode se repetir entre as contas abertas da empresa. De 2 a 60 caracteres.

Resposta

200 — um objeto HolderAccount. Erros: 400 401 403 404 409 422 429, no formato padrão.

Campos da resposta
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
main_account_idstring · uuid · nullobrigatório
labelstring · nullobrigatório
branchstringobrigatório
numberstringobrigatório
check_digitstringobrigatório
displaystringobrigatório
statusstringobrigatório
Um de: pending_kyc, active, blocked, closed.
provider_statusstringobrigatório
Um de: linked, not_needed, not_requested, requested, waiting_kyc, waiting_holder_data, in_progress, submitted, completed, failed.
provider_failure_reasonstring · nullobrigatório
available_centsstring · nullobrigatório
Only on the dashboard list of the institution.
opened_atstring · date-timeobrigatório
activated_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/accounts/$ACCOUNTID/additional \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Projeto Centro"
  }'
Resposta 200
{
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "main_account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "label": "Projeto Centro",
  "branch": "string",
  "number": "string",
  "check_digit": "string",
  "display": "string",
  "status": "pending_kyc",
  "provider_status": "linked",
  "provider_failure_reason": "string",
  "available_cents": "15990",
  "opened_at": "2026-11-19T18:00:00.000Z",
  "activated_at": "2026-11-19T18:00:00.000Z"
}

Iniciar o onboarding da conta

POST/accounts/{accountId}/provider-openingscopeaccounts:writelimite25/s

Para uma conta que ainda não tem agência e número no provedor: registra que o titular aceitou os termos do provedor e envia a conta para o onboarding (análise e, quando pedida, prova de vida). A conta só movimenta depois que o onboarding termina; acompanhe pela rota abaixo ou pelo webhook account.activated.

Parâmetros de caminho

accountIdstring · uuidobrigatório

Corpo da requisição

terms_acceptedbooleanobrigatório
Um de: true.
deviceobject
average_ticket_centsinteger
De 1 a 100000000000.

Resposta

202 — um objeto ProviderOpening. Erros: 400 401 403 404 409 429, no formato padrão.

Campos da resposta
account_idstring · uuidobrigatório
statusstringobrigatório
Um de: not_requested, requested, waiting_kyc, waiting_holder_data, in_progress, submitted, completed, failed.
missingstring[]obrigatório
failure_reasonstring · nullobrigatório
action_urlstring · nullobrigatório
terms_accepted_atstring · date-time · nullobrigatório
created_atstring · date-time · nullobrigatório
completed_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/accounts/$ACCOUNTID/provider-opening \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "terms_accepted": true,
    "device": {},
    "average_ticket_cents": 15990
  }'
Resposta 202
{
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "status": "not_requested",
  "missing": [
    "string"
  ],
  "failure_reason": "string",
  "action_url": "string",
  "terms_accepted_at": "2026-11-19T18:00:00.000Z",
  "created_at": "2026-11-19T18:00:00.000Z",
  "completed_at": "2026-11-19T18:00:00.000Z"
}

Acompanhar o onboarding da conta

GET/accounts/{accountId}/provider-openingscopeaccounts:readlimite25/s

Em que etapa está o onboarding da conta no provedor, de requested a completed (ou failed, com o motivo). 404 quando o provedor da instituição não faz onboarding de cada titular.

Parâmetros de caminho

accountIdstring · uuidobrigatório

Resposta

200 — um objeto ProviderOpening. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
account_idstring · uuidobrigatório
statusstringobrigatório
Um de: not_requested, requested, waiting_kyc, waiting_holder_data, in_progress, submitted, completed, failed.
missingstring[]obrigatório
failure_reasonstring · nullobrigatório
action_urlstring · nullobrigatório
terms_accepted_atstring · date-time · nullobrigatório
created_atstring · date-time · nullobrigatório
completed_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/accounts/$ACCOUNTID/provider-opening \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "status": "not_requested",
  "missing": [
    "string"
  ],
  "failure_reason": "string",
  "action_url": "string",
  "terms_accepted_at": "2026-11-19T18:00:00.000Z",
  "created_at": "2026-11-19T18:00:00.000Z",
  "completed_at": "2026-11-19T18:00:00.000Z"
}

Transações

Pix, TED, TEF (entre contas da instituição), boleto, QR Code Pix e assinatura por Pix. Toda rota que cria uma transação, uma cobrança ou uma assinatura exige Idempotency-Key.

Enviar um Pix

POST/transactions/pixscopetransactions:writelimite25/s

Envia um Pix. Repetir com a mesma Idempotency-Key devolve a transação original.

Headers

idempotency-keystringobrigatório
Chave de idempotência, obrigatória. De 8 a 128 caracteres.

Corpo da requisição

account_idstring · uuidobrigatório
amount_centsintegerobrigatório
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.
counterpartyobjectobrigatório
Campos de counterparty
key_typestring
Um de: cpf, cnpj, email, phone, random.
keystringobrigatório
namestring
documentstring
bank_ispbstring
branchstring
account_numberstring
descriptionstring
channelstring

Resposta

200 — um objeto Transaction. Erros: 401 403 409 422 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
typestringobrigatório
Um de: pix, ted, boleto, internal.
directionstringobrigatório
Um de: inbound, outbound.
statusstringobrigatório
pending_provider is neither success nor failure: the transaction is settling at the provider. Um de: created, pending_provider, settled, failed, returned.
channelstringobrigatório
amount_centsstringobrigatório
Valor em centavos.
fee_centsstringobrigatório
Valor em centavos.
descriptionstring · nullobrigatório
counterpartyCounterpartyobrigatório
A contraparte da transação. Chave e documento SEMPRE chegam mascarados.
Campos de counterparty
keystring · nullobrigatório
Chave mascarada, por exemplo jo***@example.com.
key_typestring · nullobrigatório
namestring · nullobrigatório
documentstring · nullobrigatório
Documento mascarado, por exemplo ***.456.789-**.
bank_ispbstring · nullobrigatório
account_idstring · uuid · nullobrigatório
Preenchido numa transferência interna.
provider_refstring · nullobrigatório
end_to_end_idstring · nullobrigatório
funds_heldbooleanobrigatório
Valor em bloqueio cautelar, aguardando decisão da instituição.
held_centsstringobrigatório
Valor em centavos.
failure_reasonstring · nullobrigatório
compliance_decisionstring · nullobrigatório
metadataobjectobrigatório
requested_atstring · date-timeobrigatório
settled_atstring · date-time · nullobrigatório
failed_atstring · date-time · nullobrigatório
returned_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/transactions/pix \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Idempotency-Key: pedido-48213" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "amount_cents": 15990,
    "counterparty": {
      "key_type": "cpf",
      "key": "string",
      "name": "string",
      "document": "string",
      "bank_ispb": "string",
      "branch": "string",
      "account_number": "string"
    },
    "description": "string",
    "channel": "string"
  }'
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "type": "pix",
  "direction": "inbound",
  "status": "created",
  "channel": "string",
  "amount_cents": "15990",
  "fee_cents": "15990",
  "description": "string",
  "counterparty": {
    "key": "string",
    "key_type": "string",
    "name": "string",
    "document": "string",
    "bank_ispb": "string",
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f"
  },
  "provider_ref": "string",
  "end_to_end_id": "string",
  "funds_held": false,
  "held_cents": "15990",
  "failure_reason": "string",
  "compliance_decision": "string",
  "metadata": {},
  "requested_at": "2026-11-19T18:00:00.000Z",
  "settled_at": "2026-11-19T18:00:00.000Z",
  "failed_at": "2026-11-19T18:00:00.000Z",
  "returned_at": "2026-11-19T18:00:00.000Z"
}

Enviar uma TED

POST/transactions/tedscopetransactions:writelimite25/s

Envia uma TED.

Headers

idempotency-keystringobrigatório
Chave de idempotência, obrigatória. De 8 a 128 caracteres.

Corpo da requisição

account_idstring · uuidobrigatório
amount_centsintegerobrigatório
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.
counterpartyobjectobrigatório
Campos de counterparty
key_typestring
Um de: cpf, cnpj, email, phone, random.
keystringobrigatório
namestring
documentstring
bank_ispbstringobrigatório
branchstringobrigatório
account_numberstringobrigatório
descriptionstring
channelstring

Resposta

200 — um objeto Transaction. Erros: 401 403 409 422 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
typestringobrigatório
Um de: pix, ted, boleto, internal.
directionstringobrigatório
Um de: inbound, outbound.
statusstringobrigatório
pending_provider is neither success nor failure: the transaction is settling at the provider. Um de: created, pending_provider, settled, failed, returned.
channelstringobrigatório
amount_centsstringobrigatório
Valor em centavos.
fee_centsstringobrigatório
Valor em centavos.
descriptionstring · nullobrigatório
counterpartyCounterpartyobrigatório
A contraparte da transação. Chave e documento SEMPRE chegam mascarados.
Campos de counterparty
keystring · nullobrigatório
Chave mascarada, por exemplo jo***@example.com.
key_typestring · nullobrigatório
namestring · nullobrigatório
documentstring · nullobrigatório
Documento mascarado, por exemplo ***.456.789-**.
bank_ispbstring · nullobrigatório
account_idstring · uuid · nullobrigatório
Preenchido numa transferência interna.
provider_refstring · nullobrigatório
end_to_end_idstring · nullobrigatório
funds_heldbooleanobrigatório
Valor em bloqueio cautelar, aguardando decisão da instituição.
held_centsstringobrigatório
Valor em centavos.
failure_reasonstring · nullobrigatório
compliance_decisionstring · nullobrigatório
metadataobjectobrigatório
requested_atstring · date-timeobrigatório
settled_atstring · date-time · nullobrigatório
failed_atstring · date-time · nullobrigatório
returned_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/transactions/ted \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Idempotency-Key: pedido-48213" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "amount_cents": 15990,
    "counterparty": {
      "key_type": "cpf",
      "key": "string",
      "name": "string",
      "document": "string",
      "bank_ispb": "string",
      "branch": "string",
      "account_number": "string"
    },
    "description": "string",
    "channel": "string"
  }'
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "type": "pix",
  "direction": "inbound",
  "status": "created",
  "channel": "string",
  "amount_cents": "15990",
  "fee_cents": "15990",
  "description": "string",
  "counterparty": {
    "key": "string",
    "key_type": "string",
    "name": "string",
    "document": "string",
    "bank_ispb": "string",
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f"
  },
  "provider_ref": "string",
  "end_to_end_id": "string",
  "funds_held": false,
  "held_cents": "15990",
  "failure_reason": "string",
  "compliance_decision": "string",
  "metadata": {},
  "requested_at": "2026-11-19T18:00:00.000Z",
  "settled_at": "2026-11-19T18:00:00.000Z",
  "failed_at": "2026-11-19T18:00:00.000Z",
  "returned_at": "2026-11-19T18:00:00.000Z"
}

Emitir um boleto

POST/transactions/boletoscopetransactions:writelimite25/s

Emite um boleto para receber.

Headers

idempotency-keystringobrigatório
Chave de idempotência, obrigatória. De 8 a 128 caracteres.

Corpo da requisição

account_idstring · uuidobrigatório
amount_centsintegerobrigatório
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.
due_datestring · dateobrigatório
payer_namestringobrigatório
payer_documentstringobrigatório
payer_addressobject
Endereço do pagador. Obrigatório quando o provedor da instituição registra o boleto com ele; caso contrário, ignorado. Vai para o provedor e não é guardado.
Campos de payer_address
streetstringobrigatório
Rua, número e complemento. De 1 a 255 caracteres.
districtstringobrigatório
De 1 a 255 caracteres.
citystringobrigatório
De 1 a 255 caracteres.
statestringobrigatório
postal_codestringobrigatório
descriptionstring

Resposta

200 — um objeto IssuedBoleto. Erros: 401 403 409 422 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
typestringobrigatório
Um de: pix, ted, boleto, internal.
directionstringobrigatório
Um de: inbound, outbound.
statusstringobrigatório
pending_provider is neither success nor failure: the transaction is settling at the provider. Um de: created, pending_provider, settled, failed, returned.
channelstringobrigatório
amount_centsstringobrigatório
Valor em centavos.
fee_centsstringobrigatório
Valor em centavos.
descriptionstring · nullobrigatório
counterpartyCounterpartyobrigatório
A contraparte da transação. Chave e documento SEMPRE chegam mascarados.
Campos de counterparty
keystring · nullobrigatório
Chave mascarada, por exemplo jo***@example.com.
key_typestring · nullobrigatório
namestring · nullobrigatório
documentstring · nullobrigatório
Documento mascarado, por exemplo ***.456.789-**.
bank_ispbstring · nullobrigatório
account_idstring · uuid · nullobrigatório
Preenchido numa transferência interna.
provider_refstring · nullobrigatório
end_to_end_idstring · nullobrigatório
funds_heldbooleanobrigatório
Valor em bloqueio cautelar, aguardando decisão da instituição.
held_centsstringobrigatório
Valor em centavos.
failure_reasonstring · nullobrigatório
compliance_decisionstring · nullobrigatório
metadataobjectobrigatório
requested_atstring · date-timeobrigatório
settled_atstring · date-time · nullobrigatório
failed_atstring · date-time · nullobrigatório
returned_atstring · date-time · nullobrigatório
barcodestring · nullobrigatório
digitable_linestring · nullobrigatório
due_datestring · date · nullobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/transactions/boleto \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Idempotency-Key: pedido-48213" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "amount_cents": 15990,
    "due_date": "2026-11-19",
    "payer_name": "string",
    "payer_document": "string",
    "payer_address": {
      "street": "string",
      "district": "string",
      "city": "string",
      "state": "string",
      "postal_code": "string"
    },
    "description": "string"
  }'
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "type": "pix",
  "direction": "inbound",
  "status": "created",
  "channel": "string",
  "amount_cents": "15990",
  "fee_cents": "15990",
  "description": "string",
  "counterparty": {
    "key": "string",
    "key_type": "string",
    "name": "string",
    "document": "string",
    "bank_ispb": "string",
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f"
  },
  "provider_ref": "string",
  "end_to_end_id": "string",
  "funds_held": false,
  "held_cents": "15990",
  "failure_reason": "string",
  "compliance_decision": "string",
  "metadata": {},
  "requested_at": "2026-11-19T18:00:00.000Z",
  "settled_at": "2026-11-19T18:00:00.000Z",
  "failed_at": "2026-11-19T18:00:00.000Z",
  "returned_at": "2026-11-19T18:00:00.000Z",
  "barcode": "string",
  "digitable_line": "string",
  "due_date": "2026-11-19"
}

Criar um QR Code

POST/transactions/pix-chargesscopetransactions:writelimite25/s

Cria uma cobrança Pix de valor fixo, paga uma vez, até vencer. A resposta traz o BR Code (Pix copia e cola). Nada se move até alguém pagar.

Headers

idempotency-keystringobrigatório
Chave de idempotência, obrigatória. De 8 a 128 caracteres.

Corpo da requisição

account_idstring · uuidobrigatório
amount_centsintegerobrigatório
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.
descriptionstring
What the payer sees in their bank app.
expires_in_secondsinteger
How long the code can be paid: 5 minutes to 7 days. Default 24 hours. De 300 a 604800.
splitsobject[]
Who else gets part of the payment: up to 10, one per Pix key.
Campos de splits
keystringobrigatório
The recipient's Pix key: CPF, CNPJ, e-mail, phone with area code or random key. De 1 a 77 caracteres.
amount_centsintegerobrigatório
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.

Resposta

200 — um objeto PixCharge. Erros: 401 403 404 409 422 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
statusstringobrigatório
active: payable. paid: a Pix paid it. expired: past expires_at unpaid. failed: the provider refused it or did not answer, so no code was handed out (failure_reason). creating: the provider is being asked. Um de: creating, active, paid, expired, failed.
amount_centsstringobrigatório
Valor em centavos.
fee_centsstringobrigatório
The Plataforma's fee the provider takes out of the payment as it arrives: the payer pays amount_cents, the account receives amount_cents - fee_cents. Set when the code was created; "0" when there is none.
descriptionstring · nullobrigatório
emvstring · nullobrigatório
The BR Code ("Pix copia e cola"). Null unless the provider created it.
expires_atstring · date-timeobrigatório
provider_refstring · nullobrigatório
failure_reasonstring · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_amount_centsstring · nullobrigatório
Valor em centavos.
paid_atstring · date-time · nullobrigatório
created_atstring · date-timeobrigatório
splitsPixChargeSplit[]obrigatório
Who else gets part of the payment, in the order asked; empty for a charge without splits. The provider pays each split out of the account after the payment, on its own.
Campos de splits
idstring · uuidobrigatório
The split. Webhooks pix_charge.split_* name it as splitId.
charge_idstring · uuidobrigatório
positionintegerobrigatório
Its place in the order asked, from 1. De 1 a 10.
account_idstring · uuidobrigatório
key_maskstringobrigatório
key_typestringobrigatório
Um de: cpf, cnpj, email, phone, random.
amount_centsstringobrigatório
Valor em centavos.
recipient_namestring · nullobrigatório
The key's holder, as the provider named them.
recipient_document_maskstring · nullobrigatório
statusstringobrigatório
awaiting_payment: the charge was not paid yet. reserved: it was, and the split is kept from the available balance until the provider pays it out. not_reserved: what arrived did not cover the splits, so nothing was kept. released: the provider did not pay it for three days and the institution handed the reserve back to the account. paid: the provider paid it (paid_transaction_id), also after a release. Um de: awaiting_payment, reserved, not_reserved, released, paid.
due_sincestring · date-time · nullobrigatório
When the charge was paid: owed from then on.
overdue_flagged_atstring · date-time · nullobrigatório
When it was flagged as still unpaid by the provider three days after the payment.
released_atstring · date-time · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/transactions/pix-charges \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Idempotency-Key: pedido-48213" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "amount_cents": 15990,
    "description": "string",
    "expires_in_seconds": 1,
    "splits": [
      {
        "key": "string",
        "amount_cents": 15990
      }
    ]
  }'
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "status": "creating",
  "amount_cents": "15990",
  "fee_cents": "15990",
  "description": "string",
  "emv": "string",
  "expires_at": "2026-11-19T18:00:00.000Z",
  "provider_ref": "string",
  "failure_reason": "string",
  "paid_transaction_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "paid_amount_cents": "15990",
  "paid_at": "2026-11-19T18:00:00.000Z",
  "created_at": "2026-11-19T18:00:00.000Z",
  "splits": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "charge_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "position": 1,
      "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "key_mask": "string",
      "key_type": "cpf",
      "amount_cents": "15990",
      "recipient_name": "string",
      "recipient_document_mask": "string",
      "status": "awaiting_payment",
      "due_since": "2026-11-19T18:00:00.000Z",
      "overdue_flagged_at": "2026-11-19T18:00:00.000Z",
      "released_at": "2026-11-19T18:00:00.000Z",
      "paid_transaction_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "paid_at": "2026-11-19T18:00:00.000Z"
    }
  ]
}

Consultar um QR Code

GET/transactions/pix-charges/{id}scopetransactions:readlimite25/s

Lê uma cobrança: ativa, paga, vencida ou recusada pelo provedor, e o Pix que a pagou.

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

200 — um objeto PixCharge. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
statusstringobrigatório
active: payable. paid: a Pix paid it. expired: past expires_at unpaid. failed: the provider refused it or did not answer, so no code was handed out (failure_reason). creating: the provider is being asked. Um de: creating, active, paid, expired, failed.
amount_centsstringobrigatório
Valor em centavos.
fee_centsstringobrigatório
The Plataforma's fee the provider takes out of the payment as it arrives: the payer pays amount_cents, the account receives amount_cents - fee_cents. Set when the code was created; "0" when there is none.
descriptionstring · nullobrigatório
emvstring · nullobrigatório
The BR Code ("Pix copia e cola"). Null unless the provider created it.
expires_atstring · date-timeobrigatório
provider_refstring · nullobrigatório
failure_reasonstring · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_amount_centsstring · nullobrigatório
Valor em centavos.
paid_atstring · date-time · nullobrigatório
created_atstring · date-timeobrigatório
splitsPixChargeSplit[]obrigatório
Who else gets part of the payment, in the order asked; empty for a charge without splits. The provider pays each split out of the account after the payment, on its own.
Campos de splits
idstring · uuidobrigatório
The split. Webhooks pix_charge.split_* name it as splitId.
charge_idstring · uuidobrigatório
positionintegerobrigatório
Its place in the order asked, from 1. De 1 a 10.
account_idstring · uuidobrigatório
key_maskstringobrigatório
key_typestringobrigatório
Um de: cpf, cnpj, email, phone, random.
amount_centsstringobrigatório
Valor em centavos.
recipient_namestring · nullobrigatório
The key's holder, as the provider named them.
recipient_document_maskstring · nullobrigatório
statusstringobrigatório
awaiting_payment: the charge was not paid yet. reserved: it was, and the split is kept from the available balance until the provider pays it out. not_reserved: what arrived did not cover the splits, so nothing was kept. released: the provider did not pay it for three days and the institution handed the reserve back to the account. paid: the provider paid it (paid_transaction_id), also after a release. Um de: awaiting_payment, reserved, not_reserved, released, paid.
due_sincestring · date-time · nullobrigatório
When the charge was paid: owed from then on.
overdue_flagged_atstring · date-time · nullobrigatório
When it was flagged as still unpaid by the provider three days after the payment.
released_atstring · date-time · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/transactions/pix-charges/$ID \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "status": "creating",
  "amount_cents": "15990",
  "fee_cents": "15990",
  "description": "string",
  "emv": "string",
  "expires_at": "2026-11-19T18:00:00.000Z",
  "provider_ref": "string",
  "failure_reason": "string",
  "paid_transaction_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "paid_amount_cents": "15990",
  "paid_at": "2026-11-19T18:00:00.000Z",
  "created_at": "2026-11-19T18:00:00.000Z",
  "splits": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "charge_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "position": 1,
      "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "key_mask": "string",
      "key_type": "cpf",
      "amount_cents": "15990",
      "recipient_name": "string",
      "recipient_document_mask": "string",
      "status": "awaiting_payment",
      "due_since": "2026-11-19T18:00:00.000Z",
      "overdue_flagged_at": "2026-11-19T18:00:00.000Z",
      "released_at": "2026-11-19T18:00:00.000Z",
      "paid_transaction_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "paid_at": "2026-11-19T18:00:00.000Z"
    }
  ]
}

Listar QR Codes

GET/transactions/pix-chargesscopetransactions:readlimite25/s

As cobranças de uma conta, das mais novas para as mais antigas, paginadas por before.

Parâmetros de consulta

account_idstring · uuid
statusstring
Um de: creating, active, paid, expired, failed.
limitinteger
De 1 a 200.
beforestring · uuid

Resposta

200 — um objeto PixChargeList. Erros: 401 403 404 422 429, no formato padrão.

Campos da resposta
dataPixCharge[]obrigatório
Campos de data
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
statusstringobrigatório
active: payable. paid: a Pix paid it. expired: past expires_at unpaid. failed: the provider refused it or did not answer, so no code was handed out (failure_reason). creating: the provider is being asked. Um de: creating, active, paid, expired, failed.
amount_centsstringobrigatório
Valor em centavos.
fee_centsstringobrigatório
The Plataforma's fee the provider takes out of the payment as it arrives: the payer pays amount_cents, the account receives amount_cents - fee_cents. Set when the code was created; "0" when there is none.
descriptionstring · nullobrigatório
emvstring · nullobrigatório
The BR Code ("Pix copia e cola"). Null unless the provider created it.
expires_atstring · date-timeobrigatório
provider_refstring · nullobrigatório
failure_reasonstring · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_amount_centsstring · nullobrigatório
Valor em centavos.
paid_atstring · date-time · nullobrigatório
created_atstring · date-timeobrigatório
splitsPixChargeSplit[]obrigatório
Who else gets part of the payment, in the order asked; empty for a charge without splits. The provider pays each split out of the account after the payment, on its own.
Campos de splits
idstring · uuidobrigatório
The split. Webhooks pix_charge.split_* name it as splitId.
charge_idstring · uuidobrigatório
positionintegerobrigatório
Its place in the order asked, from 1. De 1 a 10.
account_idstring · uuidobrigatório
key_maskstringobrigatório
key_typestringobrigatório
Um de: cpf, cnpj, email, phone, random.
amount_centsstringobrigatório
Valor em centavos.
recipient_namestring · nullobrigatório
The key's holder, as the provider named them.
recipient_document_maskstring · nullobrigatório
statusstringobrigatório
awaiting_payment: the charge was not paid yet. reserved: it was, and the split is kept from the available balance until the provider pays it out. not_reserved: what arrived did not cover the splits, so nothing was kept. released: the provider did not pay it for three days and the institution handed the reserve back to the account. paid: the provider paid it (paid_transaction_id), also after a release. Um de: awaiting_payment, reserved, not_reserved, released, paid.
due_sincestring · date-time · nullobrigatório
When the charge was paid: owed from then on.
overdue_flagged_atstring · date-time · nullobrigatório
When it was flagged as still unpaid by the provider three days after the payment.
released_atstring · date-time · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl "https://api.ingot.com.br/transactions/pix-charges?account_id=$ACCOUNT_ID" \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "status": "creating",
      "amount_cents": "15990",
      "fee_cents": "15990",
      "description": "string",
      "emv": "string",
      "expires_at": "2026-11-19T18:00:00.000Z",
      "provider_ref": "string",
      "failure_reason": "string",
      "paid_transaction_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "paid_amount_cents": "15990",
      "paid_at": "2026-11-19T18:00:00.000Z",
      "created_at": "2026-11-19T18:00:00.000Z",
      "splits": [
        {
          "id": null,
          "charge_id": null,
          "position": null,
          "account_id": null,
          "key_mask": null,
          "key_type": null,
          "amount_cents": null,
          "recipient_name": null,
          "recipient_document_mask": null,
          "status": null,
          "due_since": null,
          "overdue_flagged_at": null,
          "released_at": null,
          "paid_transaction_id": null,
          "paid_at": null
        }
      ]
    }
  ]
}

Criar uma assinatura por Pix

POST/transactions/pix-subscriptionsscopetransactions:writelimite25/s

Pix Automático: o pagador autoriza uma vez pelo BR Code e o banco dele paga cada período sozinho. Nada se move ao criar.

Headers

idempotency-keystringobrigatório
Chave de idempotência, obrigatória. De 8 a 128 caracteres.

Corpo da requisição

account_idstring · uuidobrigatório
payerobjectobrigatório
Campos de payer
documentstringobrigatório
CPF or CNPJ, with or without punctuation. De 11 a 18 caracteres.
namestringobrigatório
De 1 a 140 caracteres.
descriptionstringobrigatório
What the payer's bank shows. De 1 a 35 caracteres.
contract_numberstring
Your reference, shown beside it in the payer's bank. Default: the subscription's id. De 1 a 35 caracteres.
periodicitystringobrigatório
Um de: weekly, monthly, quarterly, semiannual, yearly.
amount_centsintegerobrigatório
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.
first_payment_centsinteger
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.
start_datestringobrigatório
YYYY-MM-DD: the first period charged, 3 to 366 days from today.
end_datestring
YYYY-MM-DD: the last day a period can be charged. Absent: until cancelled.
retryboolean
Whether the provider tries a period again when the payer's bank does not pay it.
authorization_expires_in_secondsinteger
How long the code can be scanned: 5 minutes to 7 days. Default 24 hours. De 300 a 604800.

Resposta

200 — um objeto PixSubscription. Erros: 401 403 404 409 422 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
statusstringobrigatório
awaiting_authorization: the payer has not scanned the code yet. active: authorized; the payer's bank pays each period. rejected: the payer refused it. expired: the payer did not authorize it before authorization_expires_at. cancelled: it ended (ended_by). failed: the provider refused it or did not answer, so no code was handed out (failure_reason). creating: the provider is being asked. Um de: creating, awaiting_authorization, active, rejected, expired, cancelled, failed.
payerobjectobrigatório
Campos de payer
namestringobrigatório
document_maskstringobrigatório
descriptionstringobrigatório
What the payer's bank shows.
contract_numberstringobrigatório
periodicitystringobrigatório
Um de: weekly, monthly, quarterly, semiannual, yearly.
amount_centsstringobrigatório
Valor em centavos.
first_payment_centsstring · nullobrigatório
Paid with the authorization itself; null when none.
start_datestring · dateobrigatório
The first period charged.
end_datestring · date · nullobrigatório
The last day a period can be charged; null: until cancelled.
retrybooleanobrigatório
Whether the provider tries a period again when the payer cannot pay.
fee_centsstringobrigatório
The Plataforma's fee per period paid, set when the subscription was created (the price then), "0" when none. The provider takes no fee on a recurrence, so the core keeps it from the account as each period is credited and sends what it kept to the Plataforma's account once a month: the account gets amount_cents - fee_cents per period (and pays the provider its own cost per Pix received, as on any Pix).
emvstring · nullobrigatório
The BR Code the payer scans to authorize ("Pix copia e cola"). Null unless the provider created it.
authorization_expires_atstring · date-timeobrigatório
provider_refstring · nullobrigatório
failure_reasonstring · nullobrigatório
authorized_atstring · date-time · nullobrigatório
ended_atstring · date-time · nullobrigatório
ended_byanyobrigatório
Who ended it: receiver the account's side, payer their bank, provider the provider on its own.
end_reasonstring · nullobrigatório
cancel_requested_atstring · date-time · nullobrigatório
A cancellation the provider has not confirmed yet; the status changes when it does.
created_atstring · date-timeobrigatório
installmentsPixSubscriptionInstallment[]obrigatório
Its periods, oldest first. Only when reading one subscription; empty in lists.
Campos de installments
idstring · uuidobrigatório
subscription_idstring · uuidobrigatório
kindstringobrigatório
Um de: first_payment, charge.
due_datestring · date · nullobrigatório
The day the payer is charged; null until the provider says.
amount_centsstringobrigatório
Valor em centavos.
statusstringobrigatório
scheduled: not paid yet. paid: the Pix arrived and was credited. failed: the payer's bank did not pay it and the provider gave up (failure_reason). cancelled: it will not be charged (the subscription ended, or the period was cancelled). Um de: scheduled, paid, failed, cancelled.
attemptsintegerobrigatório
How many times the provider tried to charge it. Mínimo 0.
failure_reasonstring · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_amount_centsstring · nullobrigatório
Valor em centavos.
paid_atstring · date-time · nullobrigatório
fee_centsstringobrigatório
The Plataforma's fee kept from this period's payment when it was paid; "0" before then, when the subscription has none, or when what arrived did not cover it.
created_atstring · date-timeobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/transactions/pix-subscriptions \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Idempotency-Key: pedido-48213" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "payer": {
      "document": "string",
      "name": "string"
    },
    "description": "string",
    "contract_number": "string",
    "periodicity": "weekly",
    "amount_cents": 15990,
    "first_payment_cents": 15990,
    "start_date": "string",
    "end_date": "string",
    "retry": false,
    "authorization_expires_in_seconds": 1
  }'
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "status": "creating",
  "payer": {
    "name": "string",
    "document_mask": "string"
  },
  "description": "string",
  "contract_number": "string",
  "periodicity": "weekly",
  "amount_cents": "15990",
  "first_payment_cents": "15990",
  "start_date": "2026-11-19",
  "end_date": "2026-11-19",
  "retry": false,
  "fee_cents": "15990",
  "emv": "string",
  "authorization_expires_at": "2026-11-19T18:00:00.000Z",
  "provider_ref": "string",
  "failure_reason": "string",
  "authorized_at": "2026-11-19T18:00:00.000Z",
  "ended_at": "2026-11-19T18:00:00.000Z",
  "ended_by": "string",
  "end_reason": "string",
  "cancel_requested_at": "2026-11-19T18:00:00.000Z",
  "created_at": "2026-11-19T18:00:00.000Z",
  "installments": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "subscription_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "kind": "first_payment",
      "due_date": "2026-11-19",
      "amount_cents": "15990",
      "status": "scheduled",
      "attempts": 1,
      "failure_reason": "string",
      "paid_transaction_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "paid_amount_cents": "15990",
      "paid_at": "2026-11-19T18:00:00.000Z",
      "fee_cents": "15990",
      "created_at": "2026-11-19T18:00:00.000Z"
    }
  ]
}

Consultar uma assinatura

GET/transactions/pix-subscriptions/{id}scopetransactions:readlimite25/s

Lê uma assinatura e os períodos dela: agendados, pagos, com falha ou cancelados, e o Pix que pagou cada um.

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

200 — um objeto PixSubscription. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
statusstringobrigatório
awaiting_authorization: the payer has not scanned the code yet. active: authorized; the payer's bank pays each period. rejected: the payer refused it. expired: the payer did not authorize it before authorization_expires_at. cancelled: it ended (ended_by). failed: the provider refused it or did not answer, so no code was handed out (failure_reason). creating: the provider is being asked. Um de: creating, awaiting_authorization, active, rejected, expired, cancelled, failed.
payerobjectobrigatório
Campos de payer
namestringobrigatório
document_maskstringobrigatório
descriptionstringobrigatório
What the payer's bank shows.
contract_numberstringobrigatório
periodicitystringobrigatório
Um de: weekly, monthly, quarterly, semiannual, yearly.
amount_centsstringobrigatório
Valor em centavos.
first_payment_centsstring · nullobrigatório
Paid with the authorization itself; null when none.
start_datestring · dateobrigatório
The first period charged.
end_datestring · date · nullobrigatório
The last day a period can be charged; null: until cancelled.
retrybooleanobrigatório
Whether the provider tries a period again when the payer cannot pay.
fee_centsstringobrigatório
The Plataforma's fee per period paid, set when the subscription was created (the price then), "0" when none. The provider takes no fee on a recurrence, so the core keeps it from the account as each period is credited and sends what it kept to the Plataforma's account once a month: the account gets amount_cents - fee_cents per period (and pays the provider its own cost per Pix received, as on any Pix).
emvstring · nullobrigatório
The BR Code the payer scans to authorize ("Pix copia e cola"). Null unless the provider created it.
authorization_expires_atstring · date-timeobrigatório
provider_refstring · nullobrigatório
failure_reasonstring · nullobrigatório
authorized_atstring · date-time · nullobrigatório
ended_atstring · date-time · nullobrigatório
ended_byanyobrigatório
Who ended it: receiver the account's side, payer their bank, provider the provider on its own.
end_reasonstring · nullobrigatório
cancel_requested_atstring · date-time · nullobrigatório
A cancellation the provider has not confirmed yet; the status changes when it does.
created_atstring · date-timeobrigatório
installmentsPixSubscriptionInstallment[]obrigatório
Its periods, oldest first. Only when reading one subscription; empty in lists.
Campos de installments
idstring · uuidobrigatório
subscription_idstring · uuidobrigatório
kindstringobrigatório
Um de: first_payment, charge.
due_datestring · date · nullobrigatório
The day the payer is charged; null until the provider says.
amount_centsstringobrigatório
Valor em centavos.
statusstringobrigatório
scheduled: not paid yet. paid: the Pix arrived and was credited. failed: the payer's bank did not pay it and the provider gave up (failure_reason). cancelled: it will not be charged (the subscription ended, or the period was cancelled). Um de: scheduled, paid, failed, cancelled.
attemptsintegerobrigatório
How many times the provider tried to charge it. Mínimo 0.
failure_reasonstring · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_amount_centsstring · nullobrigatório
Valor em centavos.
paid_atstring · date-time · nullobrigatório
fee_centsstringobrigatório
The Plataforma's fee kept from this period's payment when it was paid; "0" before then, when the subscription has none, or when what arrived did not cover it.
created_atstring · date-timeobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/transactions/pix-subscriptions/$ID \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "status": "creating",
  "payer": {
    "name": "string",
    "document_mask": "string"
  },
  "description": "string",
  "contract_number": "string",
  "periodicity": "weekly",
  "amount_cents": "15990",
  "first_payment_cents": "15990",
  "start_date": "2026-11-19",
  "end_date": "2026-11-19",
  "retry": false,
  "fee_cents": "15990",
  "emv": "string",
  "authorization_expires_at": "2026-11-19T18:00:00.000Z",
  "provider_ref": "string",
  "failure_reason": "string",
  "authorized_at": "2026-11-19T18:00:00.000Z",
  "ended_at": "2026-11-19T18:00:00.000Z",
  "ended_by": "string",
  "end_reason": "string",
  "cancel_requested_at": "2026-11-19T18:00:00.000Z",
  "created_at": "2026-11-19T18:00:00.000Z",
  "installments": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "subscription_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "kind": "first_payment",
      "due_date": "2026-11-19",
      "amount_cents": "15990",
      "status": "scheduled",
      "attempts": 1,
      "failure_reason": "string",
      "paid_transaction_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "paid_amount_cents": "15990",
      "paid_at": "2026-11-19T18:00:00.000Z",
      "fee_cents": "15990",
      "created_at": "2026-11-19T18:00:00.000Z"
    }
  ]
}

Listar assinaturas

GET/transactions/pix-subscriptionsscopetransactions:readlimite25/s

As assinaturas de uma conta, das mais novas para as mais antigas, por status ou pelo CPF/CNPJ do pagador, paginadas por before.

Parâmetros de consulta

account_idstring · uuid
statusstring
Um de: creating, awaiting_authorization, active, rejected, expired, cancelled, failed.
payer_documentstring
De 11 a 18 caracteres.
limitinteger
De 1 a 200.
beforestring · uuid

Resposta

200 — um objeto PixSubscriptionList. Erros: 401 403 404 422 429, no formato padrão.

Campos da resposta
dataPixSubscription[]obrigatório
Campos de data
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
statusstringobrigatório
awaiting_authorization: the payer has not scanned the code yet. active: authorized; the payer's bank pays each period. rejected: the payer refused it. expired: the payer did not authorize it before authorization_expires_at. cancelled: it ended (ended_by). failed: the provider refused it or did not answer, so no code was handed out (failure_reason). creating: the provider is being asked. Um de: creating, awaiting_authorization, active, rejected, expired, cancelled, failed.
payerobjectobrigatório
Campos de payer
namestringobrigatório
document_maskstringobrigatório
descriptionstringobrigatório
What the payer's bank shows.
contract_numberstringobrigatório
periodicitystringobrigatório
Um de: weekly, monthly, quarterly, semiannual, yearly.
amount_centsstringobrigatório
Valor em centavos.
first_payment_centsstring · nullobrigatório
Paid with the authorization itself; null when none.
start_datestring · dateobrigatório
The first period charged.
end_datestring · date · nullobrigatório
The last day a period can be charged; null: until cancelled.
retrybooleanobrigatório
Whether the provider tries a period again when the payer cannot pay.
fee_centsstringobrigatório
The Plataforma's fee per period paid, set when the subscription was created (the price then), "0" when none. The provider takes no fee on a recurrence, so the core keeps it from the account as each period is credited and sends what it kept to the Plataforma's account once a month: the account gets amount_cents - fee_cents per period (and pays the provider its own cost per Pix received, as on any Pix).
emvstring · nullobrigatório
The BR Code the payer scans to authorize ("Pix copia e cola"). Null unless the provider created it.
authorization_expires_atstring · date-timeobrigatório
provider_refstring · nullobrigatório
failure_reasonstring · nullobrigatório
authorized_atstring · date-time · nullobrigatório
ended_atstring · date-time · nullobrigatório
ended_byanyobrigatório
Who ended it: receiver the account's side, payer their bank, provider the provider on its own.
end_reasonstring · nullobrigatório
cancel_requested_atstring · date-time · nullobrigatório
A cancellation the provider has not confirmed yet; the status changes when it does.
created_atstring · date-timeobrigatório
installmentsPixSubscriptionInstallment[]obrigatório
Its periods, oldest first. Only when reading one subscription; empty in lists.
Campos de installments
idstring · uuidobrigatório
subscription_idstring · uuidobrigatório
kindstringobrigatório
Um de: first_payment, charge.
due_datestring · date · nullobrigatório
The day the payer is charged; null until the provider says.
amount_centsstringobrigatório
Valor em centavos.
statusstringobrigatório
scheduled: not paid yet. paid: the Pix arrived and was credited. failed: the payer's bank did not pay it and the provider gave up (failure_reason). cancelled: it will not be charged (the subscription ended, or the period was cancelled). Um de: scheduled, paid, failed, cancelled.
attemptsintegerobrigatório
How many times the provider tried to charge it. Mínimo 0.
failure_reasonstring · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_amount_centsstring · nullobrigatório
Valor em centavos.
paid_atstring · date-time · nullobrigatório
fee_centsstringobrigatório
The Plataforma's fee kept from this period's payment when it was paid; "0" before then, when the subscription has none, or when what arrived did not cover it.
created_atstring · date-timeobrigatório

Exemplo

Terminal
curl "https://api.ingot.com.br/transactions/pix-subscriptions?account_id=$ACCOUNT_ID" \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "status": "creating",
      "payer": {
        "name": "string",
        "document_mask": "string"
      },
      "description": "string",
      "contract_number": "string",
      "periodicity": "weekly",
      "amount_cents": "15990",
      "first_payment_cents": "15990",
      "start_date": "2026-11-19",
      "end_date": "2026-11-19",
      "retry": false,
      "fee_cents": "15990",
      "emv": "string",
      "authorization_expires_at": "2026-11-19T18:00:00.000Z",
      "provider_ref": "string",
      "failure_reason": "string",
      "authorized_at": "2026-11-19T18:00:00.000Z",
      "ended_at": "2026-11-19T18:00:00.000Z",
      "ended_by": "string",
      "end_reason": "string",
      "cancel_requested_at": "2026-11-19T18:00:00.000Z",
      "created_at": "2026-11-19T18:00:00.000Z",
      "installments": [
        {
          "id": null,
          "subscription_id": null,
          "kind": null,
          "due_date": null,
          "amount_cents": null,
          "status": null,
          "attempts": null,
          "failure_reason": null,
          "paid_transaction_id": null,
          "paid_amount_cents": null,
          "paid_at": null,
          "fee_cents": null,
          "created_at": null
        }
      ]
    }
  ]
}

Cancelar uma assinatura

POST/transactions/pix-subscriptions/{id}/cancelscopetransactions:writelimite25/s

Cancela no provedor e aqui; os períodos agendados são cancelados. Cancelar de novo devolve a mesma assinatura.

Parâmetros de caminho

idstring · uuidobrigatório

Headers

idempotency-keystringobrigatório
Chave de idempotência, obrigatória. De 8 a 128 caracteres.

Corpo da requisição

reasonstring

Resposta

200 — um objeto PixSubscription. Erros: 401 403 404 409 422 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
statusstringobrigatório
awaiting_authorization: the payer has not scanned the code yet. active: authorized; the payer's bank pays each period. rejected: the payer refused it. expired: the payer did not authorize it before authorization_expires_at. cancelled: it ended (ended_by). failed: the provider refused it or did not answer, so no code was handed out (failure_reason). creating: the provider is being asked. Um de: creating, awaiting_authorization, active, rejected, expired, cancelled, failed.
payerobjectobrigatório
Campos de payer
namestringobrigatório
document_maskstringobrigatório
descriptionstringobrigatório
What the payer's bank shows.
contract_numberstringobrigatório
periodicitystringobrigatório
Um de: weekly, monthly, quarterly, semiannual, yearly.
amount_centsstringobrigatório
Valor em centavos.
first_payment_centsstring · nullobrigatório
Paid with the authorization itself; null when none.
start_datestring · dateobrigatório
The first period charged.
end_datestring · date · nullobrigatório
The last day a period can be charged; null: until cancelled.
retrybooleanobrigatório
Whether the provider tries a period again when the payer cannot pay.
fee_centsstringobrigatório
The Plataforma's fee per period paid, set when the subscription was created (the price then), "0" when none. The provider takes no fee on a recurrence, so the core keeps it from the account as each period is credited and sends what it kept to the Plataforma's account once a month: the account gets amount_cents - fee_cents per period (and pays the provider its own cost per Pix received, as on any Pix).
emvstring · nullobrigatório
The BR Code the payer scans to authorize ("Pix copia e cola"). Null unless the provider created it.
authorization_expires_atstring · date-timeobrigatório
provider_refstring · nullobrigatório
failure_reasonstring · nullobrigatório
authorized_atstring · date-time · nullobrigatório
ended_atstring · date-time · nullobrigatório
ended_byanyobrigatório
Who ended it: receiver the account's side, payer their bank, provider the provider on its own.
end_reasonstring · nullobrigatório
cancel_requested_atstring · date-time · nullobrigatório
A cancellation the provider has not confirmed yet; the status changes when it does.
created_atstring · date-timeobrigatório
installmentsPixSubscriptionInstallment[]obrigatório
Its periods, oldest first. Only when reading one subscription; empty in lists.
Campos de installments
idstring · uuidobrigatório
subscription_idstring · uuidobrigatório
kindstringobrigatório
Um de: first_payment, charge.
due_datestring · date · nullobrigatório
The day the payer is charged; null until the provider says.
amount_centsstringobrigatório
Valor em centavos.
statusstringobrigatório
scheduled: not paid yet. paid: the Pix arrived and was credited. failed: the payer's bank did not pay it and the provider gave up (failure_reason). cancelled: it will not be charged (the subscription ended, or the period was cancelled). Um de: scheduled, paid, failed, cancelled.
attemptsintegerobrigatório
How many times the provider tried to charge it. Mínimo 0.
failure_reasonstring · nullobrigatório
paid_transaction_idstring · uuid · nullobrigatório
paid_amount_centsstring · nullobrigatório
Valor em centavos.
paid_atstring · date-time · nullobrigatório
fee_centsstringobrigatório
The Plataforma's fee kept from this period's payment when it was paid; "0" before then, when the subscription has none, or when what arrived did not cover it.
created_atstring · date-timeobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/transactions/pix-subscriptions/$ID/cancel \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Idempotency-Key: pedido-48213" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "string"
  }'
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "status": "creating",
  "payer": {
    "name": "string",
    "document_mask": "string"
  },
  "description": "string",
  "contract_number": "string",
  "periodicity": "weekly",
  "amount_cents": "15990",
  "first_payment_cents": "15990",
  "start_date": "2026-11-19",
  "end_date": "2026-11-19",
  "retry": false,
  "fee_cents": "15990",
  "emv": "string",
  "authorization_expires_at": "2026-11-19T18:00:00.000Z",
  "provider_ref": "string",
  "failure_reason": "string",
  "authorized_at": "2026-11-19T18:00:00.000Z",
  "ended_at": "2026-11-19T18:00:00.000Z",
  "ended_by": "string",
  "end_reason": "string",
  "cancel_requested_at": "2026-11-19T18:00:00.000Z",
  "created_at": "2026-11-19T18:00:00.000Z",
  "installments": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "subscription_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "kind": "first_payment",
      "due_date": "2026-11-19",
      "amount_cents": "15990",
      "status": "scheduled",
      "attempts": 1,
      "failure_reason": "string",
      "paid_transaction_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "paid_amount_cents": "15990",
      "paid_at": "2026-11-19T18:00:00.000Z",
      "fee_cents": "15990",
      "created_at": "2026-11-19T18:00:00.000Z"
    }
  ]
}

Enviar uma TEF

POST/transactions/internalscopetransactions:writelimite25/s

TEF: transferência entre duas contas da mesma instituição, liquidada na hora direto no ledger, sem passar pelo provedor.

Headers

idempotency-keystringobrigatório
Chave de idempotência, obrigatória. De 8 a 128 caracteres.

Corpo da requisição

account_idstring · uuidobrigatório
destination_account_idstring · uuidobrigatório
amount_centsintegerobrigatório
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.
descriptionstring

Resposta

200 — um objeto Transaction. Erros: 401 403 409 422 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
typestringobrigatório
Um de: pix, ted, boleto, internal.
directionstringobrigatório
Um de: inbound, outbound.
statusstringobrigatório
pending_provider is neither success nor failure: the transaction is settling at the provider. Um de: created, pending_provider, settled, failed, returned.
channelstringobrigatório
amount_centsstringobrigatório
Valor em centavos.
fee_centsstringobrigatório
Valor em centavos.
descriptionstring · nullobrigatório
counterpartyCounterpartyobrigatório
A contraparte da transação. Chave e documento SEMPRE chegam mascarados.
Campos de counterparty
keystring · nullobrigatório
Chave mascarada, por exemplo jo***@example.com.
key_typestring · nullobrigatório
namestring · nullobrigatório
documentstring · nullobrigatório
Documento mascarado, por exemplo ***.456.789-**.
bank_ispbstring · nullobrigatório
account_idstring · uuid · nullobrigatório
Preenchido numa transferência interna.
provider_refstring · nullobrigatório
end_to_end_idstring · nullobrigatório
funds_heldbooleanobrigatório
Valor em bloqueio cautelar, aguardando decisão da instituição.
held_centsstringobrigatório
Valor em centavos.
failure_reasonstring · nullobrigatório
compliance_decisionstring · nullobrigatório
metadataobjectobrigatório
requested_atstring · date-timeobrigatório
settled_atstring · date-time · nullobrigatório
failed_atstring · date-time · nullobrigatório
returned_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/transactions/internal \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Idempotency-Key: pedido-48213" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "destination_account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "amount_cents": 15990,
    "description": "string"
  }'
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "type": "pix",
  "direction": "inbound",
  "status": "created",
  "channel": "string",
  "amount_cents": "15990",
  "fee_cents": "15990",
  "description": "string",
  "counterparty": {
    "key": "string",
    "key_type": "string",
    "name": "string",
    "document": "string",
    "bank_ispb": "string",
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f"
  },
  "provider_ref": "string",
  "end_to_end_id": "string",
  "funds_held": false,
  "held_cents": "15990",
  "failure_reason": "string",
  "compliance_decision": "string",
  "metadata": {},
  "requested_at": "2026-11-19T18:00:00.000Z",
  "settled_at": "2026-11-19T18:00:00.000Z",
  "failed_at": "2026-11-19T18:00:00.000Z",
  "returned_at": "2026-11-19T18:00:00.000Z"
}

Listar transações

GET/transactionsscopetransactions:readlimite25/s

Lista as transações de uma conta.

Parâmetros de consulta

account_idstring · uuid
customer_idstring · uuid
statusstring
Um de: created, pending_provider, settled, failed, returned.
typestring
Um de: pix, ted, boleto, internal.
directionstring
Um de: inbound, outbound.
funds_heldboolean
Só transações com bloqueio cautelar ativo.
fromstring · date-time
tostring · date-time
limitinteger
De 1 a 200.
offsetinteger
Mínimo 0.

Resposta

200 — um objeto TransactionList. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
dataTransaction[]obrigatório
Campos de data
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
typestringobrigatório
Um de: pix, ted, boleto, internal.
directionstringobrigatório
Um de: inbound, outbound.
statusstringobrigatório
pending_provider is neither success nor failure: the transaction is settling at the provider. Um de: created, pending_provider, settled, failed, returned.
channelstringobrigatório
amount_centsstringobrigatório
Valor em centavos.
fee_centsstringobrigatório
Valor em centavos.
descriptionstring · nullobrigatório
counterpartyCounterpartyobrigatório
A contraparte da transação. Chave e documento SEMPRE chegam mascarados.
Campos de counterparty
keystring · nullobrigatório
Chave mascarada, por exemplo jo***@example.com.
key_typestring · nullobrigatório
namestring · nullobrigatório
documentstring · nullobrigatório
Documento mascarado, por exemplo ***.456.789-**.
bank_ispbstring · nullobrigatório
account_idstring · uuid · nullobrigatório
Preenchido numa transferência interna.
provider_refstring · nullobrigatório
end_to_end_idstring · nullobrigatório
funds_heldbooleanobrigatório
Valor em bloqueio cautelar, aguardando decisão da instituição.
held_centsstringobrigatório
Valor em centavos.
failure_reasonstring · nullobrigatório
compliance_decisionstring · nullobrigatório
metadataobjectobrigatório
requested_atstring · date-timeobrigatório
settled_atstring · date-time · nullobrigatório
failed_atstring · date-time · nullobrigatório
returned_atstring · date-time · nullobrigatório
totalintegerobrigatório

Exemplo

Terminal
curl "https://api.ingot.com.br/transactions?account_id=$ACCOUNT_ID" \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "type": "pix",
      "direction": "inbound",
      "status": "created",
      "channel": "string",
      "amount_cents": "15990",
      "fee_cents": "15990",
      "description": "string",
      "counterparty": {
        "key": "string",
        "key_type": "string",
        "name": "string",
        "document": "string",
        "bank_ispb": "string",
        "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f"
      },
      "provider_ref": "string",
      "end_to_end_id": "string",
      "funds_held": false,
      "held_cents": "15990",
      "failure_reason": "string",
      "compliance_decision": "string",
      "metadata": {},
      "requested_at": "2026-11-19T18:00:00.000Z",
      "settled_at": "2026-11-19T18:00:00.000Z",
      "failed_at": "2026-11-19T18:00:00.000Z",
      "returned_at": "2026-11-19T18:00:00.000Z"
    }
  ],
  "total": 1
}

Consultar uma transação

GET/transactions/{id}scopetransactions:readlimite25/s

Lê uma transação.

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

200 — um objeto Transaction. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
typestringobrigatório
Um de: pix, ted, boleto, internal.
directionstringobrigatório
Um de: inbound, outbound.
statusstringobrigatório
pending_provider is neither success nor failure: the transaction is settling at the provider. Um de: created, pending_provider, settled, failed, returned.
channelstringobrigatório
amount_centsstringobrigatório
Valor em centavos.
fee_centsstringobrigatório
Valor em centavos.
descriptionstring · nullobrigatório
counterpartyCounterpartyobrigatório
A contraparte da transação. Chave e documento SEMPRE chegam mascarados.
Campos de counterparty
keystring · nullobrigatório
Chave mascarada, por exemplo jo***@example.com.
key_typestring · nullobrigatório
namestring · nullobrigatório
documentstring · nullobrigatório
Documento mascarado, por exemplo ***.456.789-**.
bank_ispbstring · nullobrigatório
account_idstring · uuid · nullobrigatório
Preenchido numa transferência interna.
provider_refstring · nullobrigatório
end_to_end_idstring · nullobrigatório
funds_heldbooleanobrigatório
Valor em bloqueio cautelar, aguardando decisão da instituição.
held_centsstringobrigatório
Valor em centavos.
failure_reasonstring · nullobrigatório
compliance_decisionstring · nullobrigatório
metadataobjectobrigatório
requested_atstring · date-timeobrigatório
settled_atstring · date-time · nullobrigatório
failed_atstring · date-time · nullobrigatório
returned_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/transactions/$ID \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "type": "pix",
  "direction": "inbound",
  "status": "created",
  "channel": "string",
  "amount_cents": "15990",
  "fee_cents": "15990",
  "description": "string",
  "counterparty": {
    "key": "string",
    "key_type": "string",
    "name": "string",
    "document": "string",
    "bank_ispb": "string",
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f"
  },
  "provider_ref": "string",
  "end_to_end_id": "string",
  "funds_held": false,
  "held_cents": "15990",
  "failure_reason": "string",
  "compliance_decision": "string",
  "metadata": {},
  "requested_at": "2026-11-19T18:00:00.000Z",
  "settled_at": "2026-11-19T18:00:00.000Z",
  "failed_at": "2026-11-19T18:00:00.000Z",
  "returned_at": "2026-11-19T18:00:00.000Z"
}

Histórico de estados

GET/transactions/{id}/historyscopetransactions:readlimite25/s

Cada mudança de estado da transação, em ordem.

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

200 — um objeto TransactionHistory. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
dataTransactionStatusChange[]obrigatório
Campos de data
from_statusanyobrigatório
to_statusstringobrigatório
Um de: created, pending_provider, settled, failed, returned.
reasonstring · nullobrigatório
actor_kindstringobrigatório
actor_idstringobrigatório
created_atstring · date-timeobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/transactions/$ID/history \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "from_status": "string",
      "to_status": "created",
      "reason": "string",
      "actor_kind": "string",
      "actor_id": "string",
      "created_at": "2026-11-19T18:00:00.000Z"
    }
  ]
}

Webhooks

Os endpoints que recebem os eventos da sua conta, assinados com HMAC-SHA256.

Cadastrar um endpoint

POST/webhooks/endpointsscopewebhooks:managelimite25/s

Cadastra um endpoint HTTPS. O secret volta uma única vez. Com a chave da instituição, sem customer_id, o endpoint é da instituição e só assina os eventos de onboarding.

Corpo da requisição

customer_idstring · uuid
urlstringobrigatório
eventsstring[]obrigatório
descriptionstring

Resposta

201 — um objeto CreatedWebhookEndpoint. Erros: 401 403 422 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
customer_idstring · uuid · nullobrigatório
Null for an endpoint of the institution itself.
urlstringobrigatório
eventsstring[]obrigatório
statusstringobrigatório
Um de: active, disabled.
created_atstring · date-timeobrigatório
secretstringobrigatório
Mostrado uma única vez.
noticestringobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/webhooks/endpoints \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "url": "https://sua-empresa.com.br/webhooks/core",
    "events": [
      "string"
    ],
    "description": "string"
  }'
Resposta 201
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "url": "https://sua-empresa.com.br/webhooks/core",
  "events": [
    "string"
  ],
  "status": "active",
  "created_at": "2026-11-19T18:00:00.000Z",
  "secret": "string",
  "notice": "string"
}

Listar endpoints

GET/webhooks/endpointsscopewebhooks:managelimite25/s

Lista os endpoints da empresa, ou os da instituição quando chamado sem customer_id com a chave da instituição.

Parâmetros de consulta

customer_idstring · uuid
ownerstring
Um de: all.

Resposta

200 — um objeto WebhookEndpointList. Erros: 401 403 429, no formato padrão.

Campos da resposta
dataWebhookEndpoint[]obrigatório
Campos de data
idstring · uuidobrigatório
customer_idstring · uuid · nullobrigatório
The company it belongs to; null for the institution itself.
owner_namestring · nullobrigatório
The company's name, for the backoffice; null for the institution.
urlstringobrigatório
eventsstring[]obrigatório
statusstringobrigatório
Um de: active, disabled.
descriptionstring · nullobrigatório
created_atstring · date-timeobrigatório

Exemplo

Terminal
curl "https://api.ingot.com.br/webhooks/endpoints?customer_id=$CUSTOMER_ID" \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "owner_name": "string",
      "url": "https://sua-empresa.com.br/webhooks/core",
      "events": [
        "string"
      ],
      "status": "active",
      "description": "string",
      "created_at": "2026-11-19T18:00:00.000Z"
    }
  ]
}

Desativar um endpoint

DELETE/webhooks/endpoints/{id}scopewebhooks:managelimite25/s

Desativa um endpoint. O que ainda estava na fila para ele é cancelado e não pode ser reenviado.

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

204 — sem corpo. Erros: 401 403 404 429, no formato padrão.

Exemplo

Terminal
curl -X DELETE https://api.ingot.com.br/webhooks/endpoints/$ID \
  -H "Authorization: ApiKey $CORE_API_KEY"

Listar entregas

GET/webhooks/deliveriesscopewebhooks:managelimite25/s

As entregas dos seus endpoints, das mais novas para as mais antigas: o que foi enviado, a tentativa, a última resposta e o erro. Filtre por status (dead, retrying, delivered, pending), endpoint_id, event_type ou event_id (as entregas de um evento), e pagine por cursor. O duration_ms diz quanto o seu endpoint levou para responder na última tentativa.

Parâmetros de consulta

endpoint_idstring · uuid
statusstring
Um de: pending, retrying, delivered, dead.
event_typestring
De 1 a 80 caracteres.
event_idstring · uuid
One event's deliveries: the event_id of the body.
limitinteger
De 1 a 100.
cursorstring

Resposta

200 — um objeto WebhookDeliveryPage. Erros: 401 403 404 422 429, no formato padrão.

Campos da resposta
dataWebhookDelivery[]obrigatório
Campos de data
idstring · uuidobrigatório
endpoint_idstring · uuidobrigatório
endpoint_urlstringobrigatório
endpoint_statusstringobrigatório
Um de: active, disabled.
customer_idstring · uuid · nullobrigatório
The company that owns the endpoint; null for the institution.
owner_namestring · nullobrigatório
The company's name; null for the institution.
event_idstring · uuidobrigatório
The same on every attempt and every resend: discard duplicates by it.
event_typestringobrigatório
statusstringobrigatório
Um de: pending, delivered, failed, dead.
attemptsintegerobrigatório
Attempts in the current round; a resend starts a new one.
max_attemptsintegerobrigatório
Attempts a round gets before the delivery is dead.
response_statusinteger · nullobrigatório
HTTP status of the last attempt; null when nobody answered (timeout, connection refused).
last_errorstring · nullobrigatório
created_atstring · date-timeobrigatório
last_attempt_atstring · date-time · nullobrigatório
next_attempt_atstring · date-time · nullobrigatório
When it goes out next; null unless pending.
delivered_atstring · date-time · nullobrigatório
resend_countintegerobrigatório
How many times it was sent again by hand.
last_resent_atstring · date-time · nullobrigatório
duration_msinteger · nullobrigatório
How long the endpoint took on the last attempt (a timeout reads about 10000); null before the first.
payloadobjectobrigatório
The data of the body sent: already masked, no personal data in the clear.
next_cursorstring · nullobrigatório
Pass as cursor for the next page; null at the end.
attentionWebhookDeliveryAttentionobrigatório
Over every endpoint listed, not only this page. Capped at 1000.
Campos de attention
deadintegerobrigatório
Ran out of attempts.
retryingintegerobrigatório
Pending after at least one failed attempt.

Exemplo

Terminal
curl https://api.ingot.com.br/webhooks/deliveries \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "endpoint_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "endpoint_url": "string",
      "endpoint_status": "active",
      "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "owner_name": "string",
      "event_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "event_type": "string",
      "status": "pending",
      "attempts": 1,
      "max_attempts": 1,
      "response_status": 1,
      "last_error": "string",
      "created_at": "2026-11-19T18:00:00.000Z",
      "last_attempt_at": "2026-11-19T18:00:00.000Z",
      "next_attempt_at": "2026-11-19T18:00:00.000Z",
      "delivered_at": "2026-11-19T18:00:00.000Z",
      "resend_count": 1,
      "last_resent_at": "2026-11-19T18:00:00.000Z",
      "duration_ms": 1,
      "payload": {}
    }
  ],
  "next_cursor": "string",
  "attention": {
    "dead": 1,
    "retrying": 1
  }
}

Reenviar uma entrega

POST/webhooks/deliveries/{id}/resendscopewebhooks:managelimite25/s

Põe a entrega na fila de novo, com o mesmo event_id e o mesmo corpo, e as tentativas recomeçam. Se ela já estava para sair, nada muda (queued: false).

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

202 — um objeto WebhookDeliveryResent. Erros: 401 403 404 409 429, no formato padrão.

Campos da resposta
queuedbooleanobrigatório
False when it was already due: nothing was queued twice.
deliveryWebhookDeliveryobrigatório
One event for one endpoint. pending is queued (with attempts above 0, retrying), delivered got a 2xx, dead ran out of attempts or its endpoint was deactivated (last_error says which). failed is not used any more and only appears on old rows.
Campos de delivery
idstring · uuidobrigatório
endpoint_idstring · uuidobrigatório
endpoint_urlstringobrigatório
endpoint_statusstringobrigatório
Um de: active, disabled.
customer_idstring · uuid · nullobrigatório
The company that owns the endpoint; null for the institution.
owner_namestring · nullobrigatório
The company's name; null for the institution.
event_idstring · uuidobrigatório
The same on every attempt and every resend: discard duplicates by it.
event_typestringobrigatório
statusstringobrigatório
Um de: pending, delivered, failed, dead.
attemptsintegerobrigatório
Attempts in the current round; a resend starts a new one.
max_attemptsintegerobrigatório
Attempts a round gets before the delivery is dead.
response_statusinteger · nullobrigatório
HTTP status of the last attempt; null when nobody answered (timeout, connection refused).
last_errorstring · nullobrigatório
created_atstring · date-timeobrigatório
last_attempt_atstring · date-time · nullobrigatório
next_attempt_atstring · date-time · nullobrigatório
When it goes out next; null unless pending.
delivered_atstring · date-time · nullobrigatório
resend_countintegerobrigatório
How many times it was sent again by hand.
last_resent_atstring · date-time · nullobrigatório
duration_msinteger · nullobrigatório
How long the endpoint took on the last attempt (a timeout reads about 10000); null before the first.
payloadobjectobrigatório
The data of the body sent: already masked, no personal data in the clear.

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/webhooks/deliveries/$ID/resend \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 202
{
  "queued": false,
  "delivery": {
    "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "endpoint_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "endpoint_url": "string",
    "endpoint_status": "active",
    "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "owner_name": "string",
    "event_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "event_type": "string",
    "status": "pending",
    "attempts": 1,
    "max_attempts": 1,
    "response_status": 1,
    "last_error": "string",
    "created_at": "2026-11-19T18:00:00.000Z",
    "last_attempt_at": "2026-11-19T18:00:00.000Z",
    "next_attempt_at": "2026-11-19T18:00:00.000Z",
    "delivered_at": "2026-11-19T18:00:00.000Z",
    "resend_count": 1,
    "last_resent_at": "2026-11-19T18:00:00.000Z",
    "duration_ms": 1,
    "payload": {}
  }
}

Reenviar as que falharam

POST/webhooks/endpoints/{id}/resend-failedscopewebhooks:managelimite25/s

Reenvia de uma vez as entregas de um endpoint que esgotaram as tentativas, das mais antigas para as mais novas, até 500 por chamada (more: true quando sobram).

Parâmetros de caminho

idstring · uuidobrigatório

Resposta

202 — um objeto WebhookDeliveriesResent. Erros: 401 403 404 409 429, no formato padrão.

Campos da resposta
queuedintegerobrigatório
Deliveries put back in the queue by this call.
morebooleanobrigatório
Others are still dead: call again.

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/webhooks/endpoints/$ID/resend-failed \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 202
{
  "queued": 1,
  "more": false
}

Onboarding de empresas

Para a instituição parceira que tem sistema próprio: cadastra as empresas dos clientes, envia os documentos e acompanha o onboarding de cada uma no provedor, até a conta abrir. Só com a chave da instituição.

Cadastrar uma empresa

POST/onboarding/companiesscopeonboarding:writelimite25/s

Cadastra a empresa e o representante, abre a conta de pagamento e registra o aceite dos termos do provedor. Nada vai ao provedor antes do KYC aprovar a empresa. Repetir com o mesmo CNPJ e o mesmo representante devolve 200 com a situação atual.

Corpo da requisição

documentstringobrigatório
CNPJ. De 14 a 18 caracteres.
legal_namestringobrigatório
De 3 a 160 caracteres.
trade_namestring
founded_onstring · date
monthly_revenue_centsintegerobrigatório
The company's monthly revenue, in cents. Mínimo 1.
average_ticket_centsintegerobrigatório
The company's average ticket, in cents. De 1 a 100000000000.
representativeobjectobrigatório
Campos de representative
documentstringobrigatório
CPF. De 11 a 14 caracteres.
namestringobrigatório
De 3 a 160 caracteres.
emailstring · emailobrigatório
phonestringobrigatório
De 10 a 20 caracteres.
birth_datestring · date
pepbooleanobrigatório
Whether the person is politically exposed.
rolestringobrigatório
Um de: partner, representative.
consentobjectobrigatório
Campos de consent
terms_acceptedbooleanobrigatório
Um de: true.
ip_addressstringobrigatório
De 3 a 45 caracteres.

Resposta

200 — um objeto CompanyOnboarding. Erros: 401 403 404 409 422 429, no formato padrão.

Campos da resposta
customer_idstring · uuidobrigatório
account_idstring · uuid · nullobrigatório
legal_namestringobrigatório
trade_namestring · nullobrigatório
documentstringobrigatório
Masked.
kyc_statusstringobrigatório
Um de: pending, under_review, approved, rejected.
statusstringobrigatório
Um de: active, inactive, blocked, closed.
account_statusstring · nullobrigatório
pending_kyc, active, blocked or closed.
representativeanyobrigatório
openinganyobrigatório
documentsCompanyOnboardingDocument[]obrigatório
Campos de documents
idstring · uuidobrigatório
ownerstringobrigatório
Um de: company, representative.
kindstringobrigatório
filenamestringobrigatório
content_typestringobrigatório
size_bytesintegerobrigatório
uploaded_atstring · date-timeobrigatório
created_atstring · date-timeobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/onboarding/companies \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "document": "string",
    "legal_name": "string",
    "trade_name": "string",
    "founded_on": "2026-11-19",
    "monthly_revenue_cents": 15990,
    "average_ticket_cents": 15990,
    "representative": {
      "document": "string",
      "name": "string",
      "email": "financeiro@sua-empresa.com.br",
      "phone": "string",
      "birth_date": "2026-11-19",
      "pep": false,
      "role": "partner"
    },
    "consent": {
      "terms_accepted": true,
      "ip_address": "string"
    }
  }'
Resposta 200
{
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "legal_name": "string",
  "trade_name": "string",
  "document": "string",
  "kyc_status": "pending",
  "status": "active",
  "account_status": "string",
  "representative": "string",
  "opening": "string",
  "documents": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "owner": "company",
      "kind": "string",
      "filename": "string",
      "content_type": "string",
      "size_bytes": 1,
      "uploaded_at": "2026-11-19T18:00:00.000Z"
    }
  ],
  "created_at": "2026-11-19T18:00:00.000Z"
}

Enviar um documento

POST/onboarding/companies/{customerId}/documentsscopeonboarding:writelimite25/s

Envia um documento da empresa ou do representante, em base64 (em PDF), até 2 MB.

Parâmetros de caminho

customerIdstring · uuidobrigatório

Corpo da requisição

ownerstringobrigatório
Um de: company, representative.
kindstringobrigatório
Um de: articles_of_incorporation, income_statement, power_of_attorney, proof_of_address, other, identity_front, identity_back, selfie.
filenamestringobrigatório
De 1 a 200 caracteres.
content_typestringobrigatório
De 3 a 100 caracteres.
content_base64stringobrigatório

Resposta

201 — um objeto CompanyOnboardingDocument. Erros: 401 403 404 409 422 429, no formato padrão.

Campos da resposta
idstring · uuidobrigatório
ownerstringobrigatório
Um de: company, representative.
kindstringobrigatório
filenamestringobrigatório
content_typestringobrigatório
size_bytesintegerobrigatório
uploaded_atstring · date-timeobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/onboarding/companies/$CUSTOMERID/documents \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "owner": "company",
    "kind": "articles_of_incorporation",
    "filename": "string",
    "content_type": "string",
    "content_base64": "string"
  }'
Resposta 201
{
  "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "owner": "company",
  "kind": "string",
  "filename": "string",
  "content_type": "string",
  "size_bytes": 1,
  "uploaded_at": "2026-11-19T18:00:00.000Z"
}

Acompanhar uma empresa

GET/onboarding/companies/{customerId}scopeonboarding:readlimite25/s

KYC da empresa e do representante, conta, documentos e a etapa do onboarding no provedor, com o link da prova de vida enquanto ele estiver aberto.

Parâmetros de caminho

customerIdstring · uuidobrigatório

Resposta

200 — um objeto CompanyOnboarding. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
customer_idstring · uuidobrigatório
account_idstring · uuid · nullobrigatório
legal_namestringobrigatório
trade_namestring · nullobrigatório
documentstringobrigatório
Masked.
kyc_statusstringobrigatório
Um de: pending, under_review, approved, rejected.
statusstringobrigatório
Um de: active, inactive, blocked, closed.
account_statusstring · nullobrigatório
pending_kyc, active, blocked or closed.
representativeanyobrigatório
openinganyobrigatório
documentsCompanyOnboardingDocument[]obrigatório
Campos de documents
idstring · uuidobrigatório
ownerstringobrigatório
Um de: company, representative.
kindstringobrigatório
filenamestringobrigatório
content_typestringobrigatório
size_bytesintegerobrigatório
uploaded_atstring · date-timeobrigatório
created_atstring · date-timeobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/onboarding/companies/$CUSTOMERID \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "legal_name": "string",
  "trade_name": "string",
  "document": "string",
  "kyc_status": "pending",
  "status": "active",
  "account_status": "string",
  "representative": "string",
  "opening": "string",
  "documents": [
    {
      "id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "owner": "company",
      "kind": "string",
      "filename": "string",
      "content_type": "string",
      "size_bytes": 1,
      "uploaded_at": "2026-11-19T18:00:00.000Z"
    }
  ],
  "created_at": "2026-11-19T18:00:00.000Z"
}

Listar as empresas

GET/onboarding/companiesscopeonboarding:readlimite25/s

As empresas da instituição, com a etapa do onboarding de cada uma. Paginado por limit e offset.

Parâmetros de consulta

kyc_statusstring
Um de: pending, under_review, approved, rejected.
limitinteger
De 1 a 100.
offsetinteger
Mínimo 0.

Resposta

200 — um objeto CompanyOnboardingList. Erros: 401 403 429, no formato padrão.

Campos da resposta
dataCompanyOnboardingSummary[]obrigatório
Campos de data
customer_idstring · uuidobrigatório
account_idstring · uuid · nullobrigatório
legal_namestringobrigatório
documentstringobrigatório
Masked.
kyc_statusstringobrigatório
Um de: pending, under_review, approved, rejected.
account_statusstring · nullobrigatório
pending_kyc, active, blocked or closed.
opening_statusstring · nullobrigatório
The status of the opening at the provider, if any.
created_atstring · date-timeobrigatório
totalintegerobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/onboarding/companies \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "legal_name": "string",
      "document": "string",
      "kyc_status": "pending",
      "account_status": "string",
      "opening_status": "string",
      "created_at": "2026-11-19T18:00:00.000Z"
    }
  ],
  "total": 1
}

Abrir uma conta adicional da empresa

POST/onboarding/companies/{customerId}/accountsscopeonboarding:writelimite25/s

Abre mais uma conta para a mesma empresa (o mesmo CNPJ), separada da principal, com saldo e extrato próprios. A empresa precisa estar aprovada, com a conta principal ativa. A conta nova movimenta quando provider_status chega a linked, em poucos segundos. Repetir com o mesmo nome devolve 200 com a mesma conta. Até 10 contas adicionais por empresa.

Parâmetros de caminho

customerIdstring · uuidobrigatório

Corpo da requisição

labelstringobrigatório
O nome da conta adicional ("Projeto Centro"), que não pode se repetir entre as contas abertas da empresa. De 2 a 60 caracteres.

Resposta

200 — um objeto HolderAccount. Erros: 400 401 403 404 409 422 429, no formato padrão.

Campos da resposta
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
main_account_idstring · uuid · nullobrigatório
labelstring · nullobrigatório
branchstringobrigatório
numberstringobrigatório
check_digitstringobrigatório
displaystringobrigatório
statusstringobrigatório
Um de: pending_kyc, active, blocked, closed.
provider_statusstringobrigatório
Um de: linked, not_needed, not_requested, requested, waiting_kyc, waiting_holder_data, in_progress, submitted, completed, failed.
provider_failure_reasonstring · nullobrigatório
available_centsstring · nullobrigatório
Only on the dashboard list of the institution.
opened_atstring · date-timeobrigatório
activated_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/onboarding/companies/$CUSTOMERID/accounts \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Projeto Centro"
  }'
Resposta 200
{
  "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "main_account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
  "label": "Projeto Centro",
  "branch": "string",
  "number": "string",
  "check_digit": "string",
  "display": "string",
  "status": "pending_kyc",
  "provider_status": "linked",
  "provider_failure_reason": "string",
  "available_cents": "15990",
  "opened_at": "2026-11-19T18:00:00.000Z",
  "activated_at": "2026-11-19T18:00:00.000Z"
}

Listar as contas da empresa

GET/onboarding/companies/{customerId}/accountsscopeonboarding:readlimite25/s

A conta principal e as adicionais da empresa, com o provider_status de cada uma.

Parâmetros de caminho

customerIdstring · uuidobrigatório

Resposta

200 — um objeto HolderAccountList. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
dataHolderAccount[]obrigatório
Campos de data
account_idstring · uuidobrigatório
customer_idstring · uuidobrigatório
main_account_idstring · uuid · nullobrigatório
labelstring · nullobrigatório
branchstringobrigatório
numberstringobrigatório
check_digitstringobrigatório
displaystringobrigatório
statusstringobrigatório
Um de: pending_kyc, active, blocked, closed.
provider_statusstringobrigatório
Um de: linked, not_needed, not_requested, requested, waiting_kyc, waiting_holder_data, in_progress, submitted, completed, failed.
provider_failure_reasonstring · nullobrigatório
available_centsstring · nullobrigatório
Only on the dashboard list of the institution.
opened_atstring · date-timeobrigatório
activated_atstring · date-time · nullobrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/onboarding/companies/$CUSTOMERID/accounts \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "data": [
    {
      "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "customer_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "main_account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
      "label": "Projeto Centro",
      "branch": "string",
      "number": "string",
      "check_digit": "string",
      "display": "string",
      "status": "pending_kyc",
      "provider_status": "linked",
      "provider_failure_reason": "string",
      "available_cents": "15990",
      "opened_at": "2026-11-19T18:00:00.000Z",
      "activated_at": "2026-11-19T18:00:00.000Z"
    }
  ]
}

Chave

Para conferir qual chave está em uso e quais escopos ela tem.

Identificar a chave

GET/auth/melimite25/s

Devolve o tipo, o id, o nome e os escopos de quem está autenticado. Útil para validar a chave na subida da integração.

Resposta

200 — um objeto Principal. Erros: 401 429, no formato padrão.

Campos da resposta
kindstringobrigatório
Um de: customer, backoffice, api_key, system, provider.
idstringobrigatório
labelstringobrigatório
permissionsstring[]obrigatório
mfa_verifiedbooleanobrigatório
available_rolesstring[]obrigatório

Exemplo

Terminal
curl https://api.ingot.com.br/auth/me \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "kind": "customer",
  "id": "string",
  "label": "Projeto Centro",
  "permissions": [
    "string"
  ],
  "mfa_verified": false,
  "available_roles": [
    "string"
  ]
}

Sandbox

Só com uma chave ck_test_, no sandbox: o lado de fora de um pagamento, que em produção é o pagador ou o provedor. Com uma chave de produção, 404.

Simular um Pix recebido

POST/sandbox/pix/inboundscopetransactions:writelimite5/s

Alguém manda um Pix para uma conta da sua empresa. O webhook sai antes da resposta.

Corpo da requisição

account_idstring · uuidobrigatório
amount_centsintegerobrigatório
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.
counterparty_keystringobrigatório
counterparty_namestring
counterparty_documentstring

Resposta

202 — um objeto SandboxInboundPix. Erros: 401 403 404 422 429, no formato padrão.

Campos da resposta
provider_refstringobrigatório
end_to_end_idstringobrigatório
delivered_webhooksintegerobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/sandbox/pix/inbound \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "7f0c1d2e-5b8a-4c3d-9e1f-2a3b4c5d6e7f",
    "amount_cents": 15990,
    "counterparty_key": "string",
    "counterparty_name": "string",
    "counterparty_document": "string"
  }'
Resposta 202
{
  "provider_ref": "string",
  "end_to_end_id": "string",
  "delivered_webhooks": 1
}

Simular o pagamento de um QR Code

POST/sandbox/pix/charges/{providerRef}/payscopetransactions:writelimite5/s

O pagador paga o QR Code. Sem corpo, paga o valor do código.

Parâmetros de caminho

providerRefstringobrigatório

Corpo da requisição

amount_centsinteger
Valor em centavos, inteiro, sem casas decimais. Mínimo 1.

Resposta

202 — um objeto SandboxInboundPix. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
provider_refstringobrigatório
end_to_end_idstringobrigatório
delivered_webhooksintegerobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/sandbox/pix/charges/$PROVIDERREF/pay \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "amount_cents": 15990
  }'
Resposta 202
{
  "provider_ref": "string",
  "end_to_end_id": "string",
  "delivered_webhooks": 1
}

Simular o pagamento dos splits

POST/sandbox/pix/charges/{providerRef}/pay-splitsscopetransactions:writelimite5/s

O provedor paga os splits de um QR Code já pago, como faz à meia-noite.

Parâmetros de caminho

providerRefstringobrigatório

Resposta

200 — object. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
paidintegerobrigatório
bookedintegerobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/sandbox/pix/charges/$PROVIDERREF/pay-splits \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 200
{
  "paid": 1,
  "booked": 1
}

Simular o pagamento de um boleto

POST/sandbox/boleto/{providerRef}/payscopetransactions:writelimite5/s

O pagador paga um boleto emitido.

Parâmetros de caminho

providerRefstringobrigatório

Resposta

202 — um objeto SandboxAck. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
delivered_webhooksintegerobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/sandbox/boleto/$PROVIDERREF/pay \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 202
{
  "delivered_webhooks": 1
}

Simular a autorização de uma assinatura

POST/sandbox/pix/subscriptions/{providerRef}/authorizescopetransactions:writelimite5/s

O pagador autoriza a assinatura Pix (e paga a primeira cobrança, quando houver).

Parâmetros de caminho

providerRefstringobrigatório

Resposta

202 — um objeto SandboxAck. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
delivered_webhooksintegerobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/sandbox/pix/subscriptions/$PROVIDERREF/authorize \
  -H "Authorization: ApiKey $CORE_API_KEY"
Resposta 202
{
  "delivered_webhooks": 1
}

Simular a cobrança de um período

POST/sandbox/pix/subscriptions/{providerRef}/chargescopetransactions:writelimite5/s

O provedor cobra um período da assinatura: paid ou failed.

Parâmetros de caminho

providerRefstringobrigatório

Corpo da requisição

outcomestring
Um de: paid, failed.

Resposta

202 — um objeto SandboxAck. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
delivered_webhooksintegerobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/sandbox/pix/subscriptions/$PROVIDERREF/charge \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "outcome": "paid"
  }'
Resposta 202
{
  "delivered_webhooks": 1
}

Simular o fim de uma assinatura

POST/sandbox/pix/subscriptions/{providerRef}/endscopetransactions:writelimite5/s

A assinatura termina pelo lado do pagador ou do provedor.

Parâmetros de caminho

providerRefstringobrigatório

Corpo da requisição

statusstringobrigatório
Um de: cancelled, rejected, expired.

Resposta

202 — um objeto SandboxAck. Erros: 401 403 404 429, no formato padrão.

Campos da resposta
delivered_webhooksintegerobrigatório

Exemplo

Terminal
curl -X POST https://api.ingot.com.br/sandbox/pix/subscriptions/$PROVIDERREF/end \
  -H "Authorization: ApiKey $CORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "cancelled"
  }'
Resposta 202
{
  "delivered_webhooks": 1
}

Saúde

Para o seu monitoramento saber se a API está no ar.

Verificar a saúde

GET/health

Responde enquanto o processo está de pé. Não exige chave.

Resposta

200 — sem corpo.

Exemplo

Terminal
curl https://api.ingot.com.br/health
Gerado de openapi.yaml v1.0.0. Se esta página e o contrato divergirem, o contrato vale.