Bynet
  1. Layouts
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
    • Create
    • Find by ID
    • Update delivery status
    • Export Excel
    • Summary all
    • Fee
    • Summary by ID
  • Checkout
    • Layouts
      • Create Layout
        POST
      • Find
        GET
      • Update settings
        PUT
      • Update status
        PUT
      • Find by ID
        GET
    • Find info
      GET
    • Create Order
      POST
    • Find info order
      GET
    • Find payment methods by ID
      GET
    • Create payment
      POST
    • Find payment methods
      GET
  • 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. Layouts

Find by ID

GET
/api/user/checkout/layout/get-by-id
Este endpoint permite buscar um layout de checkout específico pelo seu ID. A requisição deve ser feita utilizando o método GET, com o parâmetro enviado via query string.

✅ Requisitos da Requisição#

Método HTTP: GET
Endpoint: /api/user/checkout/layout/get-by-id
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 de Query#

ParâmetroTipoObrigatórioDescriçãoExemplo
idstringSimO ID do layout a ser buscadoe653ca6c-479c-4aab-8935-6f542e97ead0

Request

Query 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/checkout/layout/get-by-id?id=XXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX' \
--header 'x-api-key: {Token}' \
--header 'User-Agent: AtivoB2B/1.0'
Response Response Example
200 - Success
{
  "data": {
    "id": "0",
    "primaryColor": "#009FE3",
    "typography": "INTER",
    "logo": null,
    "type": "CUSTOM",
    "status": "ACTIVE",
    "createdAt": "2025-04-03T18:29:06.329Z",
    "updatedAt": "2025-04-03T18:29:06.329Z",
    "deletedAt": null,
    "sellerId": "0"
  },
  "message": "O layout foi encontrado com sucesso",
  "status": 200,
  "error": null
}
Modified at 2025-07-23 19:02:40
Previous
Update status
Next
Find info
Built with