POST
/
api
/
webhooks
/
bspay
curl --request POST \
  --url https://seu-dominio.com/api/webhooks/bspay \
  --header 'Content-Type: application/json' \
  --data '
{
  "transactionType": "RECEIVEPIX",
  "transactionId": "tx-demo-001",
  "external_id": "pedido-demo",
  "amount": 15,
  "paymentType": "PIX",
  "status": "PAID"
}
'
{
  "message": "OK"
}

Query Parameters

token
string

Opcional — token de query configurado no painel / .env.example

Body

application/json
transactionType
string
Example:

"RECEIVEPIX"

transactionId
string
external_id
string
amount
number
paymentType
string
Example:

"PIX"

status
string
Example:

"PAID"

Response

200 - application/json

Processado

message
string
Example:

"OK"