Skip to main content
POST
Criar assinatura de webhook

Authorizations

API-Key
string
header
required

Chave de API obtida através do endpoint /api/credentials. Também aceita formato Bearer Token: Authorization: Bearer <api_key>

Body

application/json
url
string<uri>
required
events
enum<string>[]
required
Available options:
transaction.created,
transaction.updated,
transaction.completed,
transaction.failed,
payment_link.created,
payment_link.updated,
balance.updated
isActive
boolean
default:true

Response

Assinatura criada com sucesso

message
string
subscription
object