Redeem reward

Reedem a reward by a provided id and for a provided card

Request


PUT https://api.domec.tools/v2.0/card:strings/{card:string}/rewards/{rewardId:integer}


Request Body


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

Parameters

The Redeem reward receive the following parameters in the input.

NameTypeData TypeMandatory
cardpathstring
rewardIdpathinteger
modelbodyBaseInput

Responses

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

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