Fetch Gift Card Balance​

​

Returns the available balance of a gift card. This is typically used when a customer wants to verify their gift card balance before making a purchase or to check the remaining balance after a transaction.

Headers

  • A custom HTTP header that accepts a free-form string value. It is used to identify the application making the API request. For example, if Punchh invokes the API, the value could be "punchh".

  • The unique location identifier for the store or business location processing the transaction.

  • The media type of the request body. Must be set to application/json.

  • Bearer token for API authorization. Send in the format: Bearer ACCESS_TOKEN_GOES_HERE.

Body·

application/json

Request details to check the gift card balance.

  • The card number for which the balance inquiry is being made.

  • A unique reference number for the transaction.

  • The transaction date and time in UTC format.

  • values
    NonePOSKiosk
  • The passcode associated with the Gift Card.

  • values
    ScanToPayOnlineNone
  • The transaction date and time in local format.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/giftcard/v1/balanceInquiry
curl https://SERVER_NAME_GOES_HERE.partech.com/giftcard/v1/balanceInquiry \
  --request POST \
  --header 'x-applicationSource: ' \
  --header 'X-LocationId: ' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN_GOES_HERE' \
  --data '{
  "cardNumber": "GIFT_CARD_NUMBER_GOES_HERE",
  "giftCardPassCode": "GIFT_CARD_PASSCODE_GOES_HERE",
  "referenceNumber": "258",
  "transactionDateTimeUTC": "2026-03-06T11:28:29.7304242Z",
  "transactionDateTimeLocal": "2026-03-06T11:28:29.73",
  "paymentSource": "ScanToPay",
  "channel": null
}'
{
  "parPayTransactionId": "TRANSACTION_ID_GOES_HERE",
  "statusMessage": "Approval",
  "balanceAmount": "750",
  "status": "Success"
}