Webhooks

Send a test event

Fire a synthetic event of the given type. It is delivered to every active webhook currently subscribed to that event type — not just one — the same way a real event would be, including retries on failure. Useful for verifying a receiving endpoint without a real purchase.

Authorization

Public key Secret key
x-fngs-public-key<token>

In: header

x-fngs-secret-key<token>

In: header

Request Body

application/json

POST /v0/webhooks/sendTestEvent Request body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

POST
/v0/webhooks/sendTestEvent
curl -X POST "https://example.com/v0/webhooks/sendTestEvent" \  -H "Content-Type: application/json" \  -d '{    "eventType": "payment_success"  }'
{  "status": "success",  "data": {    "success": true  }}