The Bridge Overview

Asynchronous event handling for your backend.

The Bridge is SamaPay's outgoing webhook engine. It notifies your server immediately when events occur (like successful payments or refunds).

Why use Webhooks?

Instead of polling our API to see if a payment was successful, we "push" the data to you. This is essential for:

  • 📦 Automating product fulfillment
  • 📧 Sending custom email receipts
  • 📊 Updating your internal database

Verification

Every webhook is signed using HMAC SHA-256. You should always verify the signature to ensure the request came from SamaPay.

GH
TechHive SamaPay Docs
Last updated Mar 2026