Pular para o conteúdo principal
GET
/
v1
/
boleto-payments
/
{id}
Ver boleto pago
curl --request GET \
  --url https://conta-public-api.kiwify.com/v1/boleto-payments/{id} \
  --header 'X-PoP-Challenge: <api-key>' \
  --header 'X-PoP-Format: <api-key>' \
  --header 'X-PoP-Signature: <api-key>' \
  --header 'x-access-id: <api-key>'
{
  "barcode_line": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "id": 123,
  "status": "awaiting_approval",
  "tax_id": "<string>",
  "amount_in_cents": 123,
  "description": "<string>",
  "external_reference_id": "<string>",
  "scheduled_date": "2023-12-25"
}

Autorizações

x-access-id
string
header
obrigatório

UUID of the service account (e.g., 550e8400-e29b-41d4-a716-446655440000)

X-PoP-Challenge
string
header
obrigatório

Unix timestamp in milliseconds (e.g., 1704636800000). Must be within 5 minutes of server time.

X-PoP-Format
string
header
obrigatório

Must be 'service-account' for service account authentication

X-PoP-Signature
string
header
obrigatório

EdDSA signature of the request in base64 format. Signs: uri:method:body:timestamp

Parâmetros de caminho

id
integer<int64>
obrigatório

Boleto payment identifier

Resposta

Boleto payment retrieved successfully

barcode_line
string
obrigatório
created_at
string<date-time>
obrigatório
id
integer<int64>
obrigatório
status
enum<string>
obrigatório
Opções disponíveis:
awaiting_approval,
pending,
processing,
success,
cancelled,
failed
tax_id
string
obrigatório
amount_in_cents
integer<int64> | null
description
string | null
external_reference_id
string | null
scheduled_date
string<date> | null