v1
latestOpenAPI 3.0.22026-07-24800528.1 KBRewards
Create a reward
Creates a new reward for a given target.
post/v2/rewards
Request body
Example request
{
"amount": 666,
"currency": "USD",
"description": "$30 earned for every transaction made by each customer",
"target": {
"key": "cust_1234567",
"type": "transaction"
}
}Response
Creates a new reward for a given target.
Example response
{
"data": {
"created_at": 1574181282399,
"key": "co_a80cb515fe",
"updated_at": 1574181282399,
"amount": 666,
"currency": "USD",
"description": "$30 earned for every transaction made by each customer",
"target": {
"key": "cust_1234567",
"type": "transaction"
}
}
}