Bynet
  1. Transactions
Bynet
  • 🚀 Introdução à API
  • 📦 Criar Pedido
  • My company
    • Get all data
      GET
    • Update
      PUT
    • Update documents
      PUT
    • Get by ID
      GET
    • Update other info
      PUT
  • Products
    • Create
      POST
    • Find All
      GET
    • Find by ID
      GET
    • Update
      PUT
    • Delete
      DELETE
    • Update Status
      PUT
  • Bank
    • Create
      POST
    • Find all
      GET
    • Find by ID
      GET
    • Find pre bank
      GET
  • Transactions
    • Find All
      GET
    • Create
      POST
    • Find by ID
      GET
    • Update delivery status
      PUT
    • Export Excel
      POST
    • Summary all
      GET
    • Fee
      POST
    • Summary by ID
      GET
  • Checkout
    • Layouts
      • Create Layout
      • Find
      • Update settings
      • Update status
      • Find by ID
    • Find info
    • Create Order
    • Find info order
    • Find payment methods by ID
    • Create payment
    • Find payment methods
  • Transfers
    • Create
    • Update
    • Find all
    • Find by ID
    • summary
  • Cashout
    • Create
    • Find all
    • Find by ID
  • Customers
    • Find all
    • Find by ID
  • Balance
    • Find
    • Summary
    • Find finalcial reserve
  • Webhook
    • ⚙️ Webhook: Formato de Postback
    • Create
    • Find all
    • Find by ID
    • Update
    • Delete
  1. Transactions

Summary by ID

GET
/api/user/transactions/{id}/summary
Este endpoint retorna um resumo consolidado de uma transação específica, identificado pelo seu id. Ideal para exibir informações simplificadas de status, valores e principais dados do pagamento.

✅ Requisitos da Requisição#

Método HTTP: GET
Endpoint: /api/user/transactions/{id}/summary
Content-Type: application/json
Autenticação: api_token

🧠 Header da requisição#

CampoTipoObrigatórioDescrição
x-api-keystringSimToken de autenticação API Key
User-AgentAtivoB2B/1.0Sim

📥 Parâmetros obrigatórios#

Na URL (path param):
id — Identificador único da transação

Request

Path Params

Header Params

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/user/transactions/4dfg2gasio6peu54m6wyugv6ter343/summary' \
--header 'x-api-key: {Token}' \
--header 'User-Agent: AtivoB2B/1.0'
Response Response Example
200 - Success
{
  "status": 200,
  "message": "Transação encontrada com sucesso.",
  "data": {
    "id": "XX",
    "amount": 10,
    "status": "REFUSED",
    "createdAt": "2025-03-28T21:30:42.929Z",
    "updatedAt": "2025-03-28T21:30:42.974Z",
    "paidAt": "XX",
    "externalRef": "XX",
    "customer": {
      "name": "XX",
      "email": "XX",
      "phone": "XX",
      "document": {
        "type": "CNPJ",
        "number": "00"
      },
      "address": {
        "id": "XX",
        "street": "XX",
        "streetNumber": "00",
        "complement": "XX",
        "zipCode": "00",
        "neighborhood": "XX",
        "city": "XX",
        "state": "XX",
        "country": "XX"
      }
    },
    "paymentMethod": "PIX",
    "installments": "XX",
    "card": "XX",
    "pix": "XX",
    "boleto": "XX",
    "delivery": "XX",
    "items": [
      {
        "id": "XX",
        "externalRef": "XX",
        "title": "XX",
        "unitPrice": 0,
        "quantity": 0,
        "tangible": false,
        "transactionId": "XX"
      }
    ],
    "fee": {
      "id": "XX",
      "fixedAmount": 199,
      "spreadPercentage": 3.49,
      "estimatedFee": 199.349,
      "netAmount": -190,
      "transactionId": "XX",
      "gatewayId": "XX"
    },
    "metadata": "{\"linkId\":\"XX\",\"sellerId\":\"XX\",\"orderId\":\"XX\",\"gatewayId\":\"XX\"}",
    "provider": "XX",
    "refusedReason": "{\"code\":\"XX\"}",
    "qrCode": "XX",
    "barcode": "XX",
    "payUrl": "XX",
    "webUrl": "XX",
    "appUrl": "XX"
  },
  "error": "XX"
}
Modified at 2025-07-23 19:02:40
Previous
Fee
Next
Create Layout
Built with