Documentation Index
Fetch the complete documentation index at: https://docs.winampay.de/llms.txt
Use this file to discover all available pages before exploring further.
The reference field
The reference field is your idempotency key. It must be unique per logical transaction — winam-payments uses it to deduplicate requests.
If you call POST /deposits or POST /withdrawals twice with the same reference, winam-payments returns the existing transaction without creating a duplicate.
When to use
Use case: Your backend callsPOST /deposits and the network times out before you receive the response. You don’t know if winam-payments created the transaction. Retrying with the same reference is safe — you’ll get the existing transaction back.
Constraints
- Max length: 128 characters
- Must be unique per logical transaction — use a different
referencefor each distinct payment - Scope: scoped to the
player_id+directionpair — the samereferencecan be reused for a deposit and a withdrawal