Reward Balance
Authorize your requests using a tenant's API Key. Use this method of security only in server-to-server interactions.
Tenant being referenced. E.g. "aboih12h16t" or "test_abo912126tastastt"
The ID of the account to look up.
Filters rewards by user.id.
Filters rewards by type.
A list of reward balances
Details of the balance of several individual rewards.
The type of reward.
CREDITPossible values: An identifier for the unit of the reward. E.g. "CENTS", "freemb", "freemonth". For PCT_DISCOUNT this is "%".`
CENTS"The number of rewards earned. Usually is equal to the number of successful referrals made. E.g. An account has $80 of credit due to the referral program. $60 from making referrals, $20 from being referred. The count would be 4 rewards, each worth $20. Only works for CREDIT"
The total assignedCredit for all reward credits of the same unit type. Only works with types: CREDIT
4000The total redeemedCredit for all reward credits of the same unit type. Only works with types: CREDIT
1490The total credit that is pending and not yet available. Only works with types: CREDIT
0The total credit that has expired. Only works with types: CREDIT
0The total credit that has been cancelled. Only works with types: CREDIT
0The total discountPercent from all rewards. Only works with types: PCT_DISCOUNT
The total discountPercent from rewards with rewardSource = REFERRED Only works with types: PCT_DISCOUNT
The total discountPercent from rewards with rewardSource = FRIEND_SIGNUP Only works with types: PCT_DISCOUNT
The number of earned fueltank rewards. Only works with type: FUELTANK
Unexpected Error
Authorize your requests using a tenant's API Key. Use this method of security only in server-to-server interactions.
Tenant being referenced. E.g. "aboih12h16t" or "test_abo912126tastastt"
A request to debit a Reward Balance
The ID of the account to be debitted.
abc123The type of credit to be debitted. E.g. "free-months" or "cents"
centsThe amount of credit to be debitted.
200Balance debitted
Details about a successful Reward Balance Debit transaction.
The amount of credit that was just debitted.
200The remaining credit in this account of the same unit type.
0The type of credit that was just debitted.
centsUnexpected Error
Last updated
