SwiftDime Webhooks

SwiftDime sends a signed HTTPS POST to your server when something happens to a payment, refund, payout, settlement or subscription. This page describes exactly what is sent, how to verify it, and how delivery and retries work.

How webhooks work

One HTTPS POST per event, to your webhook URL, signed with your signing secret.

  • Every event is POSTed as JSON to your account's webhook URL. Live and sandbox events go to the same URL and are signed with the same secret.
  • Every request carries a Swiftdime-Signature header β€” an HMAC-SHA256 of the raw body made with your webhook signing secret. Verify it before trusting anything in the body.
  • Any 2xx response within 30 seconds marks the event delivered. Anything else is retried, up to 5 attempts in total over roughly 10Β½ hours, after which the event is marked failed and you can resend it.
  • The same event can arrive more than once, and events can arrive out of order. De-duplicate on X-Webhook-Event-ID and act on the status in the body, never on arrival order.

Quick start

  1. Set your webhook URL and get your signing secret in the SwiftDime dashboard.
  2. Verify every request against the raw body β€” see Signatures.
  3. Reply 2xx fast, then process. Record X-Webhook-Event-ID under a unique constraint, queue the work, and act on the event's status.
  4. Reconcile with GET /api/v1/merchants/webhook-deliveries after any outage and resend what you missed β€” see Delivery history.

Webhooks tell you something happened; they are not the only source of truth. Before releasing goods for a payment, you can always confirm with GET /api/v1/payments/verify/{reference}.

Full endpoint reference

Request and response schemas for every webhook endpoint are in the API reference.

Open the API reference

🚧 Development Notice

This payment gateway is currently under development and not authorized for commercial use. We are actively working on:

  • Regulatory compliance and licensing
  • Payment gateway aggregator registration
  • Security audits and certifications
  • Production infrastructure setup
Sandbox Mode Available: Test our payment system without real transactions