Layerbeat

Receive a signed Doit payment notification

POST
/v1/webhooks/doit

Receives Doit payment updates and schedules payment verification.

Access: Valid Doit webhook signature.

Header Parameters

PayBridge-Signature*string

HMAC signature using the separate Doit application signing secret.

Request Body

application/json
  1. body
id*string
type*string
data*
[key: string]?any

Response Body

Signed event saved; authenticated payment verification scheduled.

application/json
  1. response
received*boolean
curl -X POST 'https://layerbeat.com/v1/webhooks/doit' \  -H 'PayBridge-Signature: t=1791460800,v1=0000000000000000000000000000000000000000000000000000000000000000' \  -H 'Content-Type: application/json' \  -d '{  "id": "evt_example",  "type": "payment.paid",  "data": {    "id": "pay_provider_example",    "reference": "pay_aaaaaaaaaaaaaaaaaaaaaaaaaa",    "amount": 400000,    "status": "paid"  }}'
{  "received": true}