Skip to main content
POST
Criar webhook

Authorizations

Authorization
string
header
required

Token JWT no cabeçalho Authorization

Body

application/json
url
string<uri>
required

URL que receberá as notificações

Example:

"https://exemplo.com.br/webhook"

events
enum<string>[]
required

Lista de eventos para notificar

Available options:
transaction_created,
transaction_paid,
transaction_refunded,
infraction,
transfer_created,
transfer_updated,
transfer_completed,
transfer_canceled
Example:

Response

Webhook criado com sucesso

id
string

ID único do webhook

Example:

"webhook_abc123xyz"

url
string<uri>

URL do webhook

Example:

"https://exemplo.com.br/webhook"

events
string[]

Eventos configurados

Example:
active
boolean

Se o webhook está ativo

Example:

true

createdAt
string<date-time>

Data de criação

Example:

"2024-12-31T12:00:00Z"