Skip to main content
POST
Criar webhook

Authorizations

x-api-key
string
header
required

Chave de API gerada no painel Valora. Envie em todas as requisições.

Body

application/json
url
string<uri>
required

URL HTTPS que receberá os eventos via POST

Example:

"https://meusite.com.br/webhooks/valora"

events
enum<string>[]
required

Lista de eventos a monitorar

Eventos disponíveis para assinatura

Available options:
payment.created,
payment.confirmed,
payment.expired,
payment.failed
Example:

Response

Webhook criado

webhook_id
string
Example:

"wh_a1b2c3d4"

business_id
string
url
string<uri>
events
enum<string>[]

Eventos disponíveis para assinatura

Available options:
payment.created,
payment.confirmed,
payment.expired,
payment.failed
status
enum<string>
Available options:
active,
inactive
created_at
string<date-time>
updated_at
string<date-time>