Regoria API docs

Test mode and the sandbox

The sandbox at https://api.sandbox.staging.regoria.com is a separate environment with its own data: its own products, customers, orders and webhook endpoints. Nothing you do there moves money or reaches a card network. mor_test_ keys work only there.

What is the same

What differs

A flow worth scripting

  1. Create a product and price, open a checkout session, pay it with a test card on the hosted page.
  2. Receive order.paid; fulfil the order with POST /v1/orders/{order}/fulfil.
  3. Refund part of it with POST /v1/refunds; receive refund.issued.
  4. Replay a delivery from the dashboard or POST /v1/webhook-endpoints/{endpoint}/deliveries/{delivery}/replay and check your handler ignores the duplicate (same X-Webhook-Delivery).

Going live