View rewards

Get the list of rewards associated with the card. These are not the rewards collected by the card holder but the rewards provided from the promocard campaign. You can see the result of this API as the digital version of a prizes catalogue.

Request


GET https://api.domec.tools/v1.0/pc/rewards?cardCode=<string>&shop=<string>&terminal=<string>


Parameters

The View rewards receive the following parameters in the input.

NameTypeData TypeMandatory
cardCodequerystring
shopquerystring
terminalquerystring

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