Discover a Giftcard
Discover a Gift Card
GET
https://api.pos.zmyle.de/service/v1.1/gift_cards/find
Use this endpoint to discover/find giftcards in our API.
Query Parameters
You can use this endpoint to find a giftcard when scanning the QR Code of a gift card. Just use the entire content from the QR Code as the value for the query
parameter.
Make sure to URL-encode the value that you use with the query
parameter. Our QR Codes often contain URLs; if you simply use this URL without URL-encoding it, your request won't be a valid request.
Example Request using a short ID:
Example Request using contents from a QR Code:
This example demonstrates how to use the scanned contents of a QR Code to find a giftcard. In this scenario, you have a QR Code scanner that scans the code on a zmyle gift card. The scanned contents of the QR Code are passed into the query parameter (URL encoded).
In this example, the QR Code contains the URL:
https://www.zmyle.de/g/18jja4mf08fn08f7gp9l/redeem?rt=o19y18jja4mf3kd8m3zkn4
And the resulting query parameter is:
https%3A%2F%2Fwww.zmyle.de%2Fg%2F18jja4mf08fn08f7gp9l%2Fredeem%3Frt%3Do19y18jja4mf3kd8m3zkn4
Response Error Codes
Last updated