Skip to main content

Webhooks

Our webhooks are notifications about events happening on Smart Glocal's side. Smart Glocal sends webhooks to inform you of the results of your operations, ask for confirmation, or alert you about actions you need to take.

How to get webhooks

You can decide whether you want to receive webhooks or not.

In case you decide to work without our webhooks, you will need to use the session/status method to understand your next step and the operation results.

To activate the webhooks:

  1. In your system, create an address at which you want to receive the webhooks.
  2. Inform your Account Manager of this address.

To stop using the webhooks, inform your Account Manager of your decision.

What to send in response

You are expected to send the 200 HTTP code in response to any webhook.

If Smart Glocal receives a 4** or 5** code or no response, Smart Glocal will resend the webhook as follows:

  • the webhook will be resent repeatedly at intervals of increasing length (up to 15 minutes)
  • after 30 minutes Smart Glocal will stop resending the webhook
info

The webhook response may include additional fields, depending on the payment methods used. Your system must be able to process such fields without errors.

Available webhooks