Criando um Webhook

Body Params
url
string
REQUIRED
URL para onde o webhook será enviado
description
string
Descrição do webhook
events
array
REQUIRED
Tipos de eventos que deseja receber. ["PAYMENT.*","TRANSFER.*"]
token
string
Token que será enviado no header do webhook
status
string
REQUIRED
Status do Webhook. Valores possíveis: active, paused
Header Params
Authorization
string
REQUIRED
ApiKey [api_key da conta ou do gestor da plataforma]
Content-Type
string
REQUIRED
application/json

Request
{
  "url":"https://testes.free.beeceptor.com",
  "events":["PAYMENT.*","TRANSFER.*"],
  "token": "uuid-xyz",
  "status": "active"
}
Response
{
    "id": 150,
    "created_at": "2023-10-27T17:39:14.690124",
    "description": null,
    "events": [
        "PAYMENT.*",
        "TRANSFER.*"
    ],
    "status": "active",
    "token": "uuid-xyz",
    "url": "https://testes.free.beeceptor.com",
    "resource_uri": "/api/v1/webhooks/150/"
}