cURL
curl --request POST \ --url https://api.hel.io/v1/webhook/paylink/transaction \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "events": "CREATED", "paylinkId": "<string>", "targetUrl": "<string>" } '
{ "id": "6812aec64b14347beb071599", "creator": "undefined", "paylink": "67e548619967b38ac797d6ce", "company": "667c1f9352919e407156128c", "targetUrl": "https://webhook.site/68644b4f-f63c-4815-9b25-51487efbf13a", "events": [ "CREATED" ], "sharedToken": "vF5C1KZKiGE44mJ2NOYPPeGewkNfWE3JWSaa1EYAsh1tltpPE9BUtg+0GG8YMzLw3GTLIwsOWMajaHUO7bfLQ/hP9lg4q9Zo6Lv4zDqN8eUH5bBil2O6KFv6bdW+dXFv" }
Create a webhook to listen for transaction events on a specific pay link.
Authentication using JWT token
Your API key can be generated on the Helio Dashboard’s settings page.
The type of event that triggers the webhook. Use 'CREATED'.
CREATED
The ID of the pay link the webhook is associated with.
The URL that will receive the webhook payload when the event occurs.
Webhook created successfully.