API playground
Change a parameter. Send it. Read the response.
The playground calls the same sandbox fixtures your integrators test against, and generates the equivalent snippet in four languages as you edit.
Create a payment intent and reserve the amount.
$FLINTWAKE_TEST_KEYPress Send request to run this call against the sandbox fixtures.
curl -X POST "https://api.sandbox.flintwake.com/v2/payments/intents" \
-H "Authorization: Bearer $FLINTWAKE_TEST_KEY" \
-H "Content-Type: application/json" \
-d '{ "amount": 24900, "currency": "usd", "capture": "automatic" }'In this template the response is a fixture chosen by the selected operation. Replacing the fixture with a real fetch is a single function in components/Playground.tsx; everything else — parameter handling, snippet generation, the copy controls and the responsive layout — stays as it is.
Sandbox
Deterministic fixtures, including the failures.
Integrators cannot test their error handling against an API that always succeeds. The sandbox returns a stable response for every documented error type.
curl "https://api.sandbox.flintwake.com/v2/simulate/error?type=rate_limit_exceeded" \
-H "Authorization: Bearer $FLINTWAKE_TEST_KEY"| Type | Status | Expected recovery |
|---|---|---|
invalid_request | 400 | Fix the request shape. The param field names the offending key. |
authentication_required | 401 | Send an Authorization header with a live key. |
key_revoked | 401 | Issue a replacement key. Revocation is not reversible. |
insufficient_scope | 403 | Reissue the key with the scope named in the message. |
resource_missing | 404 | Check the identifier and the environment. Identifiers are environment-scoped. |
conflict | 409 | Re-read the resource and retry with the current version. |
unprocessable | 422 | The shape is valid but the values are not. See param. |
rate_limit_exceeded | 429 | Back off for retry_after seconds. Do not retry immediately. |
internal_error | 500 | Retry once with backoff, then report the wake_id to support. |
upstream_timeout | 504 | Your origin did not answer in time. Retry is safe for idempotent calls. |
Every snippet the playground writes also lives in the reference.
Ten documented endpoints, each with parameters, response codes and copyable examples in four languages.