Integration GuideAPI Reference
Integration Guide

Webhooks: Overview

Overview

  • Webhooks are a core mechanism used by the platform to notify clients about important events in real time.
  • Instead of repeatedly polling our API, clients can receive asynchronous updates whenever a relevant event occurs.
  • Delivery uses the webhook URL for the transaction or the default URL on its settlement account.

Webhooks are delivered as standard HTTPS POST requests containing structured JSON payloads. Any system capable of receiving HTTP requests can process these callbacks.

You can enable signing for a settlement account through Support. Signed requests include the HTTP headers webhook-id and webhook-signature. Verify them using the raw body before processing the notification. Verify webhook signatures.


How Webhooks Work

1. Client Defines the Webhook URL

8B uses the transaction's webhookUrl when one is provided. Otherwise, it uses the settlement account's default webhook URL. If neither is configured, no webhook is sent. A refund has its own URL selection, independent of the original payment. Check the relevant payment method guide for required request fields.

2. Event Occurs

When the system registers a transaction status update or 3DSv2 challenge event, it generates a webhook payload.

3. Webhook Send Attempt

The platform attempts to POST the webhook to the client’s URL.

4. Success or Retry Logic

If the client acknowledges the webhook with an HTTP 2xx response, the delivery is considered successful.

If not, retries are performed according to the schedule below.


Webhook Delivery and Repeat Sending (Retry Mechanism)

  • To ensure reliable delivery, the platform implements multiple attempts if the client cannot accept the webhook immediately.
  • We follow a deterministic retry schedule and do not retry indefinitely.

Retry Schedule

The system will attempt to deliver each webhook up to 10 times, according to the following timeline:

AttemptDelay Before Attempt
1stImmediate
2nd1 minute
3rd5 minutes
4th15 minutes
5th1 hour
6th3 hours
7th6 hours
8th12 hours
9th24 hours
10th48 hours

Automatic delivery stops after the 10th attempt. A signed notification keeps its webhook-id across automatic retries. You can ask Support to send a new notification for the current status of a payment, refund or disbursement. When signing is active, this notification receives a new ID. A manual resend cannot recreate an earlier status or the original 3-D Secure challenge.


Delivery Conditions

CaseConditionsNext Actions
Success ConditionsThe client returns an HTTP 2xx status code
  • No further attempts are made.
  • The webhook is marked as completed.
Failure Conditions
  • Non-2xx HTTP status (4xx, 5xx)
  • Network error
    (DNS failure, TLS error, connection refused, etc.)
  • Timeout
    (no response within the configured timeout window)
  • The retry process continues according to the schedule listed above.

Webhook example

📓

For a webhook example, please visit the dedicated page


Did this page help you?