API referenceEndpointsRaffles
A buyer's tickets and odds
GET
One of your buyers' position in a raffle, for your own UI. Counts confirmed
purchases made through your platform only; odds_pct is measured against
total tickets sold across all platforms.
An unknown ref returns zeros rather than a 404 — you cannot probe another platform's buyers with it.
PartnerApiKeyheader
AuthorizationBearer <token>Authorization: Bearer <your_api_key>
Keep this credential on your server, never in browser or mobile app code.
A missing, invalid or disabled key returns 401 PLATFORM_KEY_INVALID.
Ask Verity to replace a lost or exposed key.
raffleId*integerRange
1 <= valueexternalUserRef*stringThe buyer's external_user_ref.
OK
application/json- response
success*booleandata*curl -X GET 'https://api-staging.theverity.xyz/api/v1/platform/raffles/77/users/usr_8812' \ -H 'Authorization: Bearer <your_partner_api_key>'Example Response
{ "success": true, "data": { "tickets": 0, "odds_pct": 0.1 }}