G_voidGiftCardsPurchase

You can void gift cards purchase using this guide.

Supported arguments

The following arguments are supported by G_voidGiftCardsPurchase mutation:

FieldTypeDescription
inputG_API_VoidGiftCardsPurchaseInput

Return type

The mutation returns the G_API_VoidGiftCardsPurchaseResponse type.

Example usage

Request:

mutation {
  G_voidGiftCardsPurchase(
    input: {
        batchId: "b602db96-28f5-11ed-a40c-065b8b9f71c6"
    }
  )
  {
    actionId
    success
  }
}

or

mutation {
  G_voidGiftCardsPurchase(
    input: {
        transactionId: "c602db96-28f5-11ed-a40c-065b8b9f71c6"
    }
  )
  {
    actionId
    success
  }
}

Response

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