POST
/
simulate
/
loyalty

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
user_id
string
required

Specified user must have a opted-in to loyalty

deposit_count
integer
required

The number of sportsbetting deposits for the user

deposit_volume
integer
required

The sum of sportsbetting deposits for the user in cents

withdrawal_count
integer
required

The number of sportsbetting withdrawals for the user

withdrawal_volume
integer
required

The sum of sportsbetting withdrawals for the user in cents

currency
enum<string>
required

Currency associated with the amount

Available options:
USD
earliest_transaction_date
string
required

The date of the earliest transaction from which we aggregated deposits and withdrawals

date
string
required

The aggregation date