Payments
payments.service.gov.uk
Test against the GOV.UK Pay API
A hosted, stateful simulation shaped like the GOV.UK Pay API. Writes persist, data moves on a schedule and every change can fire a signed webhook. Unofficial: not affiliated with payments.service.gov.uk.
- Operations
- 10
example request
curl https://<your-payments-service-gov-uk-payments>.slurry.io/v1/refunds \
-H "Authorization: Bearer slurry_sim_live_..."Your simulation gets its own hostname, key and IP allow-list. Spec snapshot: version 1.0.3.
What gets simulated
Collections, relationships and state machines are worked out from the spec when you start the simulation.
- State. Creates, updates and deletes persist and show up in later reads.
- Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
- Webhooks. Every change emits a signed, retried event.
- Failure. Per-endpoint errors, latency and chaos rules, on demand.
Operations
All 10.
- GET/v1/payments
- POST/v1/payments
- GET/v1/payments/{paymentId}
- POST/v1/payments/{paymentId}/cancel
- POST/v1/payments/{paymentId}/capture
- GET/v1/payments/{paymentId}/events
- GET/v1/payments/{paymentId}/refunds
- POST/v1/payments/{paymentId}/refunds
- GET/v1/payments/{paymentId}/refunds/{refundId}
- GET/v1/refunds
Does this simulation differ from the real GOV.UK Pay API?
Tell us about wrong response shapes, status codes, missing endpoints or unrealistic data. If you have a simulation of it, report from its Issues tab so we can see the exact call.