v1

latestOpenAPI 3.0.32026-07-24153644.3 KB
RewardsService

Cancel a operation of a specified order id.

This endpoint is designed to cancel a reward generated or refund a transaction.

The response includes pertinent information about the operation cancellation.

post/api/v1alpha1/rewards:cancel

Headers

Brandstring required

The brand label provided by us.

Request body

customerIdstring required

The customer identifier must be the same as that sent to Dito.

orderIdstring required

The ID of customer order.

Example request

{
  "orderId": "ORDER123121"
}

Response

A successful response.

messagestring

The customer identifier must be the same as that sent to Dito.

Example response

{
  "message": "The cancel was processed successfully"
}