Setting up Webhooks for Order Notifications

As eSIM orders are not delivered instantly, you can set up an webhook callback to be notified of when your eSIM has been prepared and is ready for download.
webhook
How to set up callback notification.

In this video, we set up your Webhook . If you didn’t get your eSIM API set up yet, you can go watch that step now.

Perquisites

Before you get started, make sure you have a free Postman account, eSIM Access account and have funded your account with enough for a purchase.

Follow these steps to add a Webhook URL

Set up an endpoint on your server or application that will receive the webhook notifications. This endpoint should be a publicly accessible URL that can handle incoming HTTP requests. Implement logic on your server to handle incoming webhook requests. This includes parsing the incoming payload, validating the request, and processing the data based on the event received.

It’s important to secure your webhook endpoint to ensure that only legitimate requests are accepted. Use authentication mechanisms like API keys, signatures, or tokens to verify the authenticity of incoming webhook requests.

Then provide the URL of your webhook endpoint in the web console and which will receive all events for which you want to receive notifications.

Validate the setup by triggering a purchase event or simulation. This helps verify that the webhook is properly configured, and you can check if the data is being received and processed correctly.

When your endpoint receives a webhook request, it’s a good practice to send a response back to the webhook provider. This acknowledges the receipt of the webhook and may be required by the provider.

Discover more from eSIM Access

Subscribe now to keep reading and get access to the full archive.

Continue reading