Validate top-up
Does not move money. No Idempotency-Key. Check userRef, amount, currency, and partner prepaid float. Does not return player balance.
Body
200: payable: true, echo of userRef/amount/currency, countryId, partnerPrepaidRemaining (informational).
Business errors: user-not-found, user-not-linked, amount-out-of-range, insufficient-partner-float, currency-mismatch.
Authentication (AND, not OR)
Required together on this request:
X-Lucky-Tom-Partner-Id={{partnerId}}Authorization: Bearer {{clientSecret}}(staticclient_secret, not OAuth)X-Lucky-Tom-TimestampandX-Lucky-Tom-Signature— visible as placeholders; the collection Pre-request Script overwrites them on Send usinghmacSecretKey
Canonical string: {METHOD}\n{pathAndQuery}\n{timestamp}\n{sha256HexOfRawBody}. Empty body hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855. Skew ±5 minutes.
See the Authentication folder for the worked HMAC example.
Headers
Public partner id. Required (AND). Not a secret.
Unix time in milliseconds. Required (AND). Collection Pre-request Script overwrites this on Send.
HMAC-SHA256 hex of METHOD + pathAndQuery + timestamp + sha256(body). Required (AND). Overwritten on Send.
