simulate
Simulate loyalty
Simulate a loyalty opt-in event in our sandbox and receive the user.loyalty.processed
webhook with your submitted test data
POST
/
simulate
/
loyalty
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
user_id
string
requiredSpecified user must have a opted-in to loyalty
deposit_count
integer
requiredThe number of sportsbetting deposits for the user
deposit_volume
integer
requiredThe sum of sportsbetting deposits for the user in cents
withdrawal_count
integer
requiredThe number of sportsbetting withdrawals for the user
withdrawal_volume
integer
requiredThe sum of sportsbetting withdrawals for the user in cents
currency
enum<string>
requiredCurrency associated with the amount
Available options:
USD
earliest_transaction_date
string
requiredThe date of the earliest transaction from which we aggregated deposits and withdrawals
date
string
requiredThe aggregation date