Skip to main content
Open Rails normalizes provider callbacks into one merchant webhook contract. Build your fulfillment logic against these events, not against provider-specific callbacks.

Events

Headers

Every merchant webhook delivery includes signing metadata.
Verify the signature before mutating order state. Process events idempotently using the event id.

Sample payload

Generate a webhook example

Use the agent actions endpoint to generate a representative webhook payload for local testing:
Supported event values: payment.provider_pending, payment.paid, payment.failed.

Fulfillment rules

  • Only fulfill after payment.paid. Do not fulfill on payment.provider_pending.
  • Store the raw payload for replay debugging.
  • Acknowledge with HTTP 200. Open Rails retries on non-200 responses.
For the full webhook guide including signature verification, see Webhooks.