S_purchaseGiftCards

You can generate gift cards using this guide.

Supported arguments

The following arguments are supported by S_purchaseGiftCards mutation:

FieldTypeDescription
inputS_API_PurchaseGiftCardsInput!Gift cards purchase details

Return type

The mutation returns the S_API_PurchaseGiftCardsResponse type.

Example usage

Request:

mutation {
  S_purchaseGiftCards(
    input: {
        denomination: 100
        quantity: 3
        currency: "EUR"
    }
  )
  {
    actionId
    batchId
  }
}

Response

{
  "data": {
    "S_purchaseGiftCards": {
      "actionId": "a602e73a-28f5-11ed-96c3-065b8b9f71c6",
      "batchId": "a602db96-28f5-11ed-a40c-065b8b9f71c6"
    }
  }
}
Copyright 2024 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania