v1
latestOpenAPI 3.0.32026-07-24153644.3 KBRewardsService
Revert the utilization of one or more rewards for a specified customer.
This endpoint is intended to invalidate the use of the cashback that was previously locked. Upon rollback, the cashback becomes available for use in the next lock and is no longer accessible for commits.
To employ this endpoint, you need to provide the lock_token generated during the locking process.
Certain restrictions apply to performing the rollback. For instance, the lock must not have been generated more than 24 hours ago, among other specified conditions.
post/api/v1alpha1/rewards:rollback
Headers
Brandstring required
The brand label provided by us.
Request body
Example request
{
"lockToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjYXNoYmFja192YWx1ZV9pbl9jZW50cyI6MTAwLCJjdXN0b21lcl9pZCI6ImN1c3RvbWVySWQiLCJleHAiOjE3MDU0MjQ5MTEsImxvY2tfaWQiOiIxMjMiLCJvcmRlcl92YWx1ZV9pbl9jZW50cyI6NTAwMDAwfQ.aNRtKU5S0FR2_JhZzDvc4DdqWKND5wriRTNX_aC9xzs"
}Response
A successful response.
object required