Other
whapi.com:accounts
Accounts sandbox and mock API
The Accounts API is a collection of methods used to query a customer account. It allows the developer to retrieve account-related data such as the user account balance. It should be noted that regional variations may exist - so some fields may not be returned for certain territories. Writes persist, data moves on a schedule and every change can fire a signed webhook.
- Operations
- 9
- Collections
- -
- Event types
- -
example request
curl https://your-whapi-accounts.slurry.io/v2/accounts/account \
-H "Authorization: Bearer slurry_sim_..."Your simulation gets its own hostname, key and IP allow-list. Built from API version 2.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 9.
- GET/account
- GET/account/balance
- POST/account/flags
- GET/account/payments
- GET/account/plusCard
- POST/account/plusCard/lostStolen
- POST/account/plusCard/phone/{oldPhoneNumber}
- POST/account/plusCard/pin
- PUT/account/plusCard/pin