Skip to main content
Register your merchant endpoint in the dashboard, then verify every signature before you update local state.
Why this page matters Webhooks are the main signal that keeps your app in sync with RampHub. If you get this right, the rest of the trade lifecycle is much easier to trust.

Headers

Signing secret

When you register a webhook endpoint in the business dashboard, RampHub generates a signing secret for that endpoint. Treat that secret as a server-side credential for the system that receives the webhook.
  • Store the secret in the receiver’s environment or secret manager.
  • Never put it in a browser bundle or public config file.
  • Copy it when the dashboard reveals it and keep it on the receiving server only.
  • Verify x-ramphub-signature against the raw request body before you trust the payload.
  • Keep using monitor-status as the fallback path when a webhook is delayed or missing.
  • If you rotate the endpoint secret, update the receiving server immediately.

Events

Common stage labels

These are the most common labels you will see in the dashboard when a delivery arrives as transaction.updated:
  • Order placed
  • Awaiting settlement
  • Forwarded to provider
  • Awaiting provider funding confirmation
  • Awaiting customer payment
  • Invoice created
  • Settling with provider
  • Ready for settlement
  • Awaiting user payout
  • Marked completed
  • Marked failed

Sample payload

Signature verification

Rule

Keep the receiver idempotent and persist the delivery id from the headers.