v1

latestOpenAPI 3.1.02026-07-242325051.4 MB
Voucher

Voucher:info

This endpoint retrieves information about a voucher (gift card). <br /><br /> Use this API when you want to validate a voucher and check the amount, expiry date and brand information of the voucher.

post/v1/vouchers/info

Request body

serviceIdstring nullable

Unique service location (SL-code) required when authenticating with Merchant API Tokens (AT-code + Token)

Example request

{
  "serviceId": "SL-####-####"
}

Response

Retrieved card details for a voucher

Example response

{
  "voucher": {
    "amount": {
      "value": 1,
      "currency": "EUR"
    }
  }
}