curl --request GET \
--url https://hml.4seletpay.com.br/api/v1/charge/{code} \
--header 'Authorization: Bearer <token>' \
--header 'account: <account>'{
"mensagem": "Charge found",
"erro": false,
"mensagenserro": [],
"codigoretorno": 200,
"id": "00000000-0000-0000-0000-000000000000",
"data": {
"charge_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"charge_created_at": "11/03/2026 10:00:00",
"account_id": 1,
"code": "pur_abc123xyz",
"value": 199.8,
"charge_value": 199.8,
"type": "PurchaseOrder",
"cycle_type": "Only",
"cycle": 1,
"coin": "BRL",
"status": "Approved",
"client": {
"code": "cli_abc123",
"name": "João Silva",
"email": "joao@exemplo.com.br",
"documents": [
{
"type": "CPF",
"number": "123.456.789-09",
"default": true
}
],
"phone": [
{
"ddi": "55",
"ddd": "11",
"number": "999999999",
"default": true
}
],
"addresss": [
{
"zipcode": "01310-100",
"street": "Avenida Paulista",
"number": "1000",
"neighborhood": "Bela Vista",
"city": "São Paulo",
"state": "SP"
}
]
},
"orders": [
{
"code": "ord_abc123xyz",
"status": "Approved",
"value": 199.8,
"error_message": null,
"items": [
{
"code": "produto_001",
"name": "Camiseta Premium",
"unitary_value": 99.9,
"quantity": 2
}
],
"charges": [
{
"code": "chg_abc123",
"status": "Approved",
"value": 199.8,
"canceled_amount": 0,
"nsu": "123456789",
"installments": 1,
"attempts": 1,
"payment": {
"code": null,
"copy_paste": null,
"expiration": null,
"payment_type": "CreditCard",
"installments": 1
},
"last_transaction": {
"transaction_id": "txn_abc123",
"type": "Authorization",
"status_code": "00",
"nsu": "123456789",
"event_date": "2026-03-11T10:00:00.000000Z",
"message_acquisition": "Transação autorizada"
},
"historics": [],
"card": {
"id": "card_abc123",
"name": "JOAO SILVA",
"type": "credit",
"number": "411111****1111",
"flag": "visa"
}
}
],
"confirmation_codes": []
}
]
}
}Retorna os detalhes completos de uma cobrança específica pelo seu código. Os dados são cacheados para melhor performance.
curl --request GET \
--url https://hml.4seletpay.com.br/api/v1/charge/{code} \
--header 'Authorization: Bearer <token>' \
--header 'account: <account>'{
"mensagem": "Charge found",
"erro": false,
"mensagenserro": [],
"codigoretorno": 200,
"id": "00000000-0000-0000-0000-000000000000",
"data": {
"charge_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"charge_created_at": "11/03/2026 10:00:00",
"account_id": 1,
"code": "pur_abc123xyz",
"value": 199.8,
"charge_value": 199.8,
"type": "PurchaseOrder",
"cycle_type": "Only",
"cycle": 1,
"coin": "BRL",
"status": "Approved",
"client": {
"code": "cli_abc123",
"name": "João Silva",
"email": "joao@exemplo.com.br",
"documents": [
{
"type": "CPF",
"number": "123.456.789-09",
"default": true
}
],
"phone": [
{
"ddi": "55",
"ddd": "11",
"number": "999999999",
"default": true
}
],
"addresss": [
{
"zipcode": "01310-100",
"street": "Avenida Paulista",
"number": "1000",
"neighborhood": "Bela Vista",
"city": "São Paulo",
"state": "SP"
}
]
},
"orders": [
{
"code": "ord_abc123xyz",
"status": "Approved",
"value": 199.8,
"error_message": null,
"items": [
{
"code": "produto_001",
"name": "Camiseta Premium",
"unitary_value": 99.9,
"quantity": 2
}
],
"charges": [
{
"code": "chg_abc123",
"status": "Approved",
"value": 199.8,
"canceled_amount": 0,
"nsu": "123456789",
"installments": 1,
"attempts": 1,
"payment": {
"code": null,
"copy_paste": null,
"expiration": null,
"payment_type": "CreditCard",
"installments": 1
},
"last_transaction": {
"transaction_id": "txn_abc123",
"type": "Authorization",
"status_code": "00",
"nsu": "123456789",
"event_date": "2026-03-11T10:00:00.000000Z",
"message_acquisition": "Transação autorizada"
},
"historics": [],
"card": {
"id": "card_abc123",
"name": "JOAO SILVA",
"type": "credit",
"number": "411111****1111",
"flag": "visa"
}
}
],
"confirmation_codes": []
}
]
}
}account com o código da conta.Token JWT obtido via POST /v1/login. Envie no header Authorization: Bearer <token>.
Código da conta à qual a operação se aplica
"acc_abc123xyz"
Código único da cobrança
"chg_abc123"
Dados da cobrança retornados com sucesso
Resposta da consulta de cobrança (envelope APIReturnUtil + dados ConsultCharge)