rewards
Redeem a reward promo code for a customer.
post/v1/rewards.redeem
Headers
x-api-versionstring required
Request body
Example request
{
"code": "REWARD10",
"customer_id": "cus_456"
}Response
OK
Example response
{
"reward_id": "reward_789",
"entitlements_granted": [
{
"feature_id": "messages",
"balance": 100
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.