Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url http://localhost:3001/api/v1/webhook-endpoints \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "url": "https://example.com/hooks/axra", "events": [ "payment.completed", "payment.failed" ], "description": "<string>", "apiVersion": "<string>" } '
{ "success": true, "data": { "endpoint": { "id": "<string>", "url": "<string>", "events": [ "<string>" ], "status": "<string>", "signingSecretHint": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "businessId": {}, "partnerId": {}, "description": {}, "apiVersion": {} }, "signingSecret": "<string>" } }
"https://example.com/hooks/axra"
Event types to receive, or ["*"] for all supported events.
["payment.completed", "payment.failed"]
Optional API version pin for this endpoint
Webhook endpoint created
true
Show child attributes