Webhooks configuration
  • 26 Jul 2024
  • 1 Minute to read

Webhooks configuration


Article summary

What is a webhook? 

A webhook is an automated message sent to an external application when an event occurs. Technically, a webhook is an HTTP callback or an HTTP POST request generated by the notification of an event.

Configuring the webhook in the merchant portal

To set up a webhook, first, create an endpoint where notifications will be sent. This endpoint should be a URL that accepts HTTP POST requests.

Go to the Developers menu in the portal, select the Webhooks tab, and then click on Add Endpoint.

OrkestaPay (8)(1)

Follow these steps:

  1. Add your endpoint URL and optionally a description.

  2. Select the event to notify the endpoint in the Subscribe to events option. You must choose at least one event to notify.

OrkestaPay (9)(2)

Once registered, you can test the webhook in the Testing tab with available events, which will send a notification with test data.

OrkestaPay (10)(2)

To verify the messages that OrkestaPay sends to the specified webhook, you must use the Webhook Signing Secret that we provide and follow our Message verification guide.

Logs

In the Logs section, the notifications sent to the configured webhook are listed, detailing the message, notification attempts, and responses.

OrkestaPay (6)(6)


Each notification displays the message details, the notification's attempts, and the details of the responses for each notification.

OrkestaPay (7)(4)

Tests

The configured webhook URL must be exposed to the internet to receive messages. We recommend using ngrok for local testing.



Was this article helpful?