POST
/
transactions
/
{id}
/
reverse
curl --request POST \
  --url https://rewardservice.withbenji.com/transactions/{id}/reverse \
  --header 'Authorization: Bearer <token>'
{
    "code": "ok",
    "data": {
        "reward_transaction_id": 1,
        "transaction_status": "REVERSED"
     
    }
}
The Bearer token to be used on this API is your partner access token
id
integer
required

The Benji Platform ID of the reward transaction

Return values

reward_transaction
object

A reward_transaction object property

{
    "code": "ok",
    "data": {
        "reward_transaction_id": 1,
        "transaction_status": "REVERSED"
     
    }
}
Note that you will only receive data that you as a loyalty patner or merchant partner are allowed to see based on the permissions in the access token you provide to the API