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.
Overview
When a transaction reaches a terminal state (succeeded or failed), winam-payments sends a POST JSON request to your callback_url.
Webhooks are the recommended way to receive payment outcomes — faster and more reliable than polling. Always provide a
callback_url in your deposit and withdrawal requests.Webhook payload
| Field | Possible values |
|---|---|
event | payment.succeeded or payment.failed |
direction | deposit or withdrawal |
provider_tx_id | Provider-side reference (null if not available) |
ts | ISO 8601 UTC timestamp of the event |
Signature verification
Each webhook includes anX-Winam-Signature header containing a JWT RS256 token signed with Winam’s private key. Always verify this signature before processing the webhook.
Retry policy
winam-payments retries 3 times with exponential backoff (1 s → 2 s → 4 s) if your endpoint responds with a status ≥ 400 or does not respond within 5 seconds. Your endpoint must:- Respond
2XXwithin 5 seconds - Be idempotent — the same
winam_tx_idmay be delivered more than once - Return
200even if the event was already processed