Skip to main content
Safefy sends webhooks to your callbackUrl whenever a transaction status changes. Main events:
  • payment.completed
  • payment.expired
  • payment.failed
  • payment.cancelled
  • payment.refunded
  • payment.partially_refunded
Main headers:
  • X-Safefy-Timestamp
  • X-Safefy-Signature-V2 (signed with your account secret; see Webhooks → Signature)
  • X-Safefy-Signature (legacy, no longer sent from 2026-10-29)
  • X-Safefy-Event
  • X-Safefy-Delivery
  • X-Safefy-Attempt
Delivery uses up to 3 retry attempts. Return 2xx to confirm receipt.

International sales

For international sales, the webhook also includes the data.international block, with the buyer’s currency, country and method. For other transactions the field is null.
See the full flow in International sales.