Bynet
  1. Webhook
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
      POST
    • Find all
      GET
    • Find by ID
      GET
    • Update
      PUT
    • Delete
      DELETE
  1. Webhook

⚙️ Webhook: Formato de Postback

A Bynet permite configurar Webhooks para receber notificações automáticas sempre que houver alterações no status de uma transação ou reembolso.
Essas notificações são enviadas como POST com o corpo em application/json para a URL definida previamente. Abaixo, detalhamos o formato da estrutura enviada.

📋 Exemplo de Payload#

{
  "objectId": "txn_1234567890",
  "data": {
    "status": "paid",
    "endToEndId": "E2E123456789BR123456789XYZ",
    "paidAt": "2025-05-06T15:30:00.000Z",
    "type": "transaction",
    "refunds": [
      {
        "amount": 1500,
        "createdAt": "2025-05-07T10:00:00.000Z",
        "preChargeback": false
      }
    ],
    "rejectionReason": null,
    "error": null
  }
}
Modified at 2025-08-14 17:49:09
Previous
Find finalcial reserve
Next
Create
Built with