Payments

Stripe Movement Fee Webhook

Receive Stripe checkout and payment events, verify Stripe-Signature with webhook secret, and persist payment state.

Returned objects

Call the surface and inspect returned state.

Receive Stripe checkout and payment events, verify Stripe-Signature with webhook secret, and persist payment state.

Webhook secret

Webhook secret

Requires STRIPE_WEBHOOK_SECRET and raw request body for signature verification.

Events

Events

checkout.session.completed, payment_intent.succeeded, and related payment events can be stored.

Pass marker

Pass marker

webhook_state verified_recorded and payment event persisted.

Example

POST body

{
  "mode": "record_stripe_webhook",
  "rail_key": "packetops",
  "movement_amount_units": 1000,
  "movement_type": "transaction"
}