Check Availability

Check if a giftcard is available.

Using the Check Availability Endpoint

Before processing any gift card transaction, use the Check Availability endpoint to verify that gift cards are in stock.

Endpoint Details

POST /api/partners/v1/giftcard-trade/buy/check-availability

Request Parameters

  • giftCardSKU (required): The SKU for the gift card you want to buy
  • price (required): The amount on the individual gift card
  • quantity (required): The number of units to order

Example Request

{
  "giftCardSKU": 922,
  "price": 100,
  "quantity": 1
}

Example Response

{
  "isAvailable": true
}

Understanding the Response

The response indicates whether the requested gift card is available for purchase based on the SKU, price, and quantity specified in your request.


What’s Next

Next... Let's look at how to manage payment methods.

Did this page help you?