Activate your webhook endpoint
After you write and test your webhook endpoint and deploy that code to production, register the endpoint with Fintoc. Fintoc then sends notifications about new events to that endpoint.
Register your webhook endpoint
You can register a webhook endpoint through the API or through the Fintoc Dashboard. Webhook endpoints must point to a URL protected with an SSL certificate.
Retrieving your webhook secretRegistering an endpoint generates a
secretused to validate webhook signatures. The API returns it only once in the create response. Later API requests returnsecretasnull. If you did not save it, you can still view it in the Fintoc Dashboard under the webhook endpoint settings.
Add an endpoint through the API
To add an endpoint using the API, use the Create Webhook Endpoint endpoint.
Add an endpoint through the Dashboard
Go to the Webhooks section of the Dashboard and click the button to subscribe a webhook. The Dashboard opens a modal. Enter the URL of your webhook endpoint and select which events Fintoc sends to that URL. Make sure you are in live mode.
Manage your webhook endpoints
You can also disable, update, or delete a webhook endpoint that already exists in your organization. From the Dashboard, you can disable or delete webhook endpoints.