Skip to main content
POST
/
webhooks
/
events
Exemplo de payload de webhook
curl --request POST \
  --url https://api.conta.paybeehive.com.br/v1/webhooks/events \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "event": "transaction.paid",
  "createdAt": "2026-01-04T12:00:00Z",
  "data": {
    "id": 12345,
    "status": "paid",
    "amount": 500
  }
}
'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Basic Authorization usando SECRET_KEY como usuário e "x" como senha.

Body

application/json
event
string
Example:

"transaction.paid"

createdAt
string
Example:

"2026-01-04T12:00:00Z"

data
object
Example:
{
"id": 12345,
"status": "paid",
"amount": 500
}

Response

200 - application/json

OK

ok
boolean
Example:

true