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

Update delivery status

PUT
/api/user/transactions/{id}/delivery
Este endpoint permite atualizar o status de entrega de uma transação específica, identificada por seu id. Também é possível registrar um código de rastreamento, se aplicável..

✅ Requisitos da Requisição#

Método HTTP: PUT
Endpoint: /api/user/transactions/{id}/delivery
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
No corpo da requisição (JSON):
CampoTipoObrigatórioDescrição
statusstringSimNovo status da entrega
trackingCodestringNãoCódigo de rastreamento do pedido

Request

Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/user/transactions//delivery' \
--header 'x-api-key: {Token}' \
--header 'User-Agent: AtivoB2B/1.0' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "WAITING",
    "trackingCode": "AB123456789BR"
}'
Response Response Example
200 - Success
{
  "status": 200,
  "message": "Status de entrega atualizado com sucesso.",
  "data": {
    "id": "000",
    "amount": 10,
    "paymentMethod": "PIX",
    "refundedAmount": 0,
    "installments": null,
    "status": "REFUSED",
    "postbackUrl": null,
    "metadata": "{\"linkId\":\"000\",\"sellerId\":\"000\",\"orderId\":\"000\",\"gatewayId\":\"000\"}",
    "traceable": false,
    "secureId": null,
    "secureUrl": null,
    "paidAt": null,
    "ip": "::ffff:127.0.0.1",
    "externalRef": "undefined",
    "endToEndId": null,
    "externalNsu": null,
    "releaseDate": null,
    "refusedReason": "Cannot read properties of undefined (reading 'data')",
    "provider": "Voluti",
    "createdAt": "2025-03-28T03:11:56.446Z",
    "updatedAt": "2025-03-28T03:11:56.782Z",
    "gatewayId": "000",
    "companyId": "000",
    "customerId": "000",
    "cardId": null,
    "gatewayProviderId": "000",
    "affiliatesId": null,
    "anticipationId": null,
    "gatewayDynamicPaymentMethodId": null,
    "dynamicFields": null,
    "returnUrl": null,
    "currency": "BRL",
    "qrCode": null,
    "barcode": null,
    "payUrl": null,
    "webUrl": null,
    "appUrl": null,
    "delivery": {
      "id": "000",
      "status": "WAITING",
      "trackingCode": "XXXX",
      "createdAt": "2024-12-11T11:27:43.113Z",
      "updatedAt": "2025-04-16T14:59:01.128Z",
      "transactionId": "000"
    },
    "boleto": null,
    "pix": null,
    "card": null,
    "company": {
      "id": "000",
      "sellerDocument": "00000000000000",
      "fancyName": "XXXX",
      "sellerName": "XXXX",
      "sacPhone": "00000000000",
      "contactPhone": "00000000000",
      "contactEmail": "xxxx@xxxx.com",
      "invoiceName": "XXXX",
      "averageMonthlyTurnover": 0,
      "averageTicket": 0,
      "typeProduct": "DIGITAL",
      "soldProducts": "XXXX",
      "website": "https://xxxx.com/",
      "zipCode": "00000-000",
      "street": "XXXX",
      "streetNumber": "000",
      "neighborhood": "XXXX",
      "addressComplement": null,
      "city": "XXXX",
      "state": "XX",
      "legalRepresentativeName": "XXXX",
      "legalRepresentativeDocument": "000.000.000-00",
      "legalRepresentativeBornDate": "1992-03-26T21:58:50.968Z",
      "legalRepresentativePhone": "00000000000",
      "legalRepresentativeMothersName": "XXXX",
      "docSocialContractUrl": "https://photo.jpg",
      "docSocialContractName": "XXXX.jpg",
      "docSocialContractKey": "XXXX.jpg",
      "documentCardUrl": "https://photo.jpg",
      "documentCardName": "XXXX.jpg",
      "documentCardKey": "XXXX.jpg",
      "frontDocumentResponsibleUrl": "https://photo.jpg",
      "frontDocumentResponsibleName": "XXXX.jpg",
      "frontDocumentResponsibleKey": "XXXX.jpg",
      "backDocumentResponsibleUrl": "https://photo.jpg",
      "backDocumentResponsibleName": "XXXX.jpg",
      "backDocumentResponsibleKey": "XXXX.jpg",
      "photoWithDocumentUrl": "https://photo.jpg",
      "photoWithDocumentName": "XXXX.jpg",
      "photoWithDocumentKey": "XXXX.jpg",
      "lastSixMonthsRevenueUrl": null,
      "lastSixMonthsRevenueName": null,
      "lastSixMonthsRevenueKey": null,
      "addressProofUrl": null,
      "addressProofName": null,
      "addressProofKey": null,
      "rejectionReason": null,
      "termsAndConditionsAccepetedAt": "2025-03-26T21:51:27.950Z",
      "termsAndConditionsIpAddress": "::ffff:127.0.0.1",
      "status": "REVIEWING",
      "gatewayId": "000",
      "userId": "000",
      "createdAt": "2025-03-26T21:51:27.952Z",
      "updatedAt": "2025-04-14T17:07:41.001Z"
    },
    "fee": {
      "id": "000",
      "fixedAmount": 199,
      "spreadPercentage": 3.49,
      "estimatedFee": 199.349,
      "netAmount": -190,
      "transactionId": "000",
      "gatewayId": "000"
    },
    "shipping": {
      "id": "000",
      "fee": 0,
      "addressId": "000",
      "transactionId": "000"
    }
  },
  "error": null
}
Modified at 2025-07-23 19:02:40
Previous
Find by ID
Next
Export Excel
Built with