FAQ and troubleshooting
This page collects the situations that operators meet often in an integration. It grows with the questions that come from support traffic.
I sent the same request again. Why did the balance not change?
A request with the same Idempotency-Key and the same body returns the first response unchanged, and it applies nothing a second time. This is a replay, not an error. For position opens, we replay it with no time limit.
I get 422 idempotency_key_reused.
You sent the same key with a different body. Nothing was applied, and the first request stays valid. Generate a new Idempotency-Key for a new intent. Use a key again only when you retry the same request.
I got 409 would_overdraw. Must I retry?
No. Your wallet refused the debit of the stake for lack of funds, so nothing was opened. Send the operation again only after the stake is lowered or the balance of the user changes, with a new Idempotency-Key.
I got 404 unknown_user.
The user is not registered yet. Register the user with PUT /v1/users/{external_user_id}, then retry with the same key and the same body. We do not record this error, so the key is not spent.
I got 503 wallet_unavailable.
We could not get a clear answer from your wallet, so nothing was opened. If details.reason is not_configured, the mode has no wallet_url or wallet_secret yet: set them on the settings screen of the tenant portal, and no Retry-After comes. Otherwise your wallet timed out, answered another status than 200, failed repeatedly, or we paused wallet calls for your account. Any debit we sent is rolled back. Retry after the time in Retry-After. Operator wallet explains which answers we treat as final.
I got 409 wallet_rejected.
Your wallet refused the debit with a status other than insufficient_funds or player_suspended, for example limit_reached. details carries that status. Nothing was opened and no rollback is needed. Retry only when the cause on your side is gone, with a new Idempotency-Key.
My wallet answered late. Is the money lost?
No. If your wallet answers a debit after our timeout, we treat the debit as unknown and send a rollback with the same transaction_id. Apply it, and keep a tombstone so that the late debit cannot apply again. A credit or a rollback that gets no answer is sent again on our retry schedule until your wallet answers ok.
The same transaction_id arrived twice.
That is a retry, not a new move of money. Answer it with the exact answer you gave the first time, and move nothing. If you hold that id with a different body, answer duplicate_mismatch: we stop that call and our team looks at it.
I get 429 rate_limited.
You went over the request limit of your tenant. Wait for the time that the Retry-After header of the response gives, then retry with the same key and the same body. This retry is safe because of idempotency. If you retry at once and repeatedly, the limit stays active for longer. The tiers and limits are on the Rate limits page.
I got 503 positions_paused or another *_paused code.
We paused that path for a short time. We did not record the request. Retry later with the same key and the same body.
The webhook signature does not match.
The most common cause is that the signature was computed over JSON that was parsed and written again. Compute the signature over the raw body bytes. Then check these points:
- Does the value that you compare include the
sha256=prefix? - Do you compare the hex output in lowercase?
- Is the
webhook_secretthat you use the last value that we gave you? When the secret changes, the old secret becomes invalid at once.
I will open a support ticket for an error. What must I send?
Send the request_id and source values from the error envelope. Do not send personal data of your end users. You can open the ticket from the tenant portal, or with POST /v1/support-tickets using a key that has the write:tickets scope.