API Reference

Consultar Histórico de Vendas Detalhadas Ancorada

Esta API permite que a ancorada consulte os detalhes dos splits já realizados. Essa funcionalidade garante visibilidade sobre as operações de divisão pós-fixada de forma detalhada.

Exemplo de retorno desta requisição:

{
  "data": [
    {
      "nsu": "1047250508xxxxxx",
      "txid": "",
      "data_venda": "2025-05-08T11:51:08Z",
      "captura": "SAFELINK",
      "natureza": "VENDA A CREDITO",
      "valor_total": 5.01,
      "detalhes": "[{\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE\", \"cpf_cnpj\" : \"000000000\", \"porcentagem\" : 20.00, \"is_porcentagem\" : true, \"valor_bruto\" : 1.002, \"valor_liquido\" : 0.9499962}, {\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE 2\", \"cpf_cnpj\" : \"88888888\", \"porcentagem\" : 10.00, \"is_porcentagem\" : true, \"valor_bruto\" : 0.501, \"valor_liquido\" : 0.4749981}, {\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE 3\", \"cpf_cnpj\" : \"1111111111\", \"porcentagem\" : 30.00, \"is_porcentagem\" : true, \"valor_bruto\" : 1.503, \"valor_liquido\" : 1.4430303}, {\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE 4\", \"cpf_cnpj\" : \"222222222222\", \"porcentagem\" : 40.00, \"is_porcentagem\" : true, \"valor_bruto\" : 2.004, \"valor_liquido\" : 1.8839604}]"
    },
    {
      "nsu": "104925XXXXXXXXXX",
      "txid": "",
      "data_venda": "2025-05-08T09:18:45Z",
      "captura": "LINK WALLET",
      "natureza": "VENDA A CREDITO",
      "valor_total": 1.99,
      "detalhes": "[{\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE\", \"cpf_cnpj\" : \"000000000\", \"porcentagem\" : 20.00, \"is_porcentagem\" : true, \"valor_bruto\" : 1.002, \"valor_liquido\" : 0.9499962}, {\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE 2\", \"cpf_cnpj\" : \"88888888\", \"porcentagem\" : 10.00, \"is_porcentagem\" : true, \"valor_bruto\" : 0.501, \"valor_liquido\" : 0.4749981}, {\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE 3\", \"cpf_cnpj\" : \"1111111111\", \"porcentagem\" : 30.00, \"is_porcentagem\" : true, \"valor_bruto\" : 1.503, \"valor_liquido\" : 1.4430303}, {\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE 4\", \"cpf_cnpj\" : \"222222222222\", \"porcentagem\" : 40.00, \"is_porcentagem\" : true, \"valor_bruto\" : 2.004, \"valor_liquido\" : 1.8839604}]"
    },
    {
      "nsu": "104925XXXXXXXXXX",
      "txid": "",
      "data_venda": "2025-05-08T09:18:48Z",
      "captura": "LINK WALLET",
      "natureza": "VENDA A CREDITO",
      "valor_total": 1.99,
      "detalhes":  "[{\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE\", \"cpf_cnpj\" : \"000000000\", \"porcentagem\" : 20.00, \"is_porcentagem\" : true, \"valor_bruto\" : 1.002, \"valor_liquido\" : 0.9499962}, {\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE 2\", \"cpf_cnpj\" : \"88888888\", \"porcentagem\" : 10.00, \"is_porcentagem\" : true, \"valor_bruto\" : 0.501, \"valor_liquido\" : 0.4749981}, {\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE 3\", \"cpf_cnpj\" : \"1111111111\", \"porcentagem\" : 30.00, \"is_porcentagem\" : true, \"valor_bruto\" : 1.503, \"valor_liquido\" : 1.4430303}, {\"nome_estabelecimento\" : \"ESTABELECIMENTO TESTE 4\", \"cpf_cnpj\" : \"222222222222\", \"porcentagem\" : 40.00, \"is_porcentagem\" : true, \"valor_bruto\" : 2.004, \"valor_liquido\" : 1.8839604}]"
    }
  ]
}
Language
Click Try It! to start a request and see the response here!