Void reward

Void a reward by a provided rewardId and for a provided card

Request


DELETE https://api.domec.tools/v2.0/card:strings/{card:string}/rewards


Request Body


{
  "Id": 0,
  "Receipt": {
    "IssuerData": {},
    "IssueDate": "",
    "Products": [
      {}
    ],
    "Payments": [
      {}
    ],
    "Total": 0.0,
    "SenderData": {},
    "UserData": ""
  },
  "Notes": ""
}

Parameters

The Void reward receive the following parameters in the input.

NameTypeData TypeMandatory
cardpathstring
modelbodyIdentificationInput

Responses

The following HTTP status codes may be returned, optionally with a response resource

Status codeDescriptionResponse body
200OK
Success
View body
400BadRequest
The input request contains errors which prevents executing the request
View body
404NotFound
Endpoint not found
View body