Webhooks
Webhooks notify merchants about Veilpay events.
Test webhook
POST /api/v1/webhook/test
Sends or validates a merchant webhook configuration.
Verify webhook signature
POST /api/v1/webhook/verify
Verifies a webhook payload and signature.
Failed webhooks
GET /api/v1/webhook/failed
Lists failed deliveries for authenticated merchants.
Retry webhook
POST /api/v1/webhook/{id}/retry
Retries a failed webhook delivery.
Merchant verification checklist
Every merchant webhook handler should:
- Read the raw request body.
- Verify the Veilpay signature.
- Check the timestamp window.
- Reject replayed event IDs.
- Process events idempotently.
- Return a 2xx only after durable local handling.