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

  • Base URL
    https://connect.pay.nl
  • URL
    https://connect.pay.nl/v1/vouchers/info
  • Auth
    • HTTP basic
    • or HTTP bearer

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"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.