Payments
klarna.com
Test against the Klarna Payments API
A hosted, stateful simulation shaped like the Klarna Payments API. Writes persist, data moves on a schedule and every change can fire a signed webhook. Unofficial: not affiliated with klarna.com.
- Operations
- 6
example request
curl https://<your-klarna-payments>.slurry.io/payments/v1/sessions/123 \
-H "Authorization: Bearer slurry_sim_live_..."Your simulation gets its own hostname, key and IP allow-list. Spec snapshot: version 1.0.0.
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 6.
- DELETE/payments/v1/authorizations/{authorizationToken}
- POST/payments/v1/authorizations/{authorizationToken}/customer-token
- POST/payments/v1/authorizations/{authorizationToken}/order
- POST/payments/v1/sessions
- GET/payments/v1/sessions/{session_id}
- POST/payments/v1/sessions/{session_id}
Does this simulation differ from the real Klarna Payments 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.