Skip to main content
POST
/
v1
/
webhooks
/
test
curl -X POST "https://olp-api.nipuntheekshana.com/v1/webhooks/test" \
  -H "Authorization: Bearer <your_jwt_token>"
{
  "success": true,
  "statusCode": 200,
  "responseTime": 142,
  "deliveryId": "del_test_abc123"
}

Authentication

This endpoint requires a Bearer token in the Authorization header.
Authorization: Bearer <your_jwt_token>

Description

Sends a simulated payment.completed event to your currently configured webhook URL. The test payload mirrors a real webhook delivery, including a valid ED25519 signature, so you can validate your verification logic end-to-end.
You must have a webhook URL configured before calling this endpoint. Use Configure Webhook to set one up.

Response

success
boolean
Whether the test webhook was delivered successfully (received a 2xx response from your endpoint).
statusCode
integer
The HTTP status code returned by your webhook endpoint.
responseTime
integer
The response time in milliseconds from your webhook endpoint.
deliveryId
string
The unique identifier for this delivery attempt. You can look it up in List Deliveries.
curl -X POST "https://olp-api.nipuntheekshana.com/v1/webhooks/test" \
  -H "Authorization: Bearer <your_jwt_token>"
{
  "success": true,
  "statusCode": 200,
  "responseTime": 142,
  "deliveryId": "del_test_abc123"
}