> ## Documentation Index
> Fetch the complete documentation index at: https://adyen-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Check the Balance of a Gift Card

> View the value of a gift card or other stored-value card.

The `/checkBalance` endpoint of our [Stored Value API](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api) lets you view the remaining balance on a gift card or other type of stored-value card.

## Transaction per provider and channel

#### Online

| Transaction | Givex | SVS | Fiserv (formerly ValueLink) | Intersolve |
| - | - | - | - | - |
| Check balance | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) |

#### In-person payments

| Transaction | Givex | SVS | Fiserv (formerly ValueLink) | Intersolve |
| - | - | - | - | - |
| Check balance | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) |

## Check the balance

When you view the balance remaining on a gift card or other stored-value card, the way to specify the card details depends on whether you [tokenized](https://adyen-preview.mintlify.site/online-payments/tokenization) a payment that the shopper made with this card.

> [tab] Without token
>
> To see the value of a gift card or other stored-value card that has not been tokenized:
>
> * Make a POST request to the [`/checkBalance` endpoint](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api#sv-api-endpoints), specifying:
>
>   * `merchantAccount`: ID of the merchant account that you want to process the transaction with.
>
>   * `store`:
>
>     Optional
>
>     For transactions flagged as in-store, the ID of the physical store that you want to process the transaction for. Maximum length: 16 characters.
>
>   * `paymentMethod` object with:
>
>     * `type`: Name or brand of the card. Accepted values: **givex** (only for in-person payments), **svs**, **valuelink**, **[any Intersolve-supported card type](https://adyen-preview.mintlify.site/payment-methods/gift-cards#supported-gift-cards)**.
>
>     * `number`: Card number that identifies the card.
>
>     * `securityCode`: If the card has a PIN code or other type of security code, obtain it from the shopper and provide it here.
>
>     * `expiryMonth`:
>
>       Optional
>
>       Expiry month of the card.
>
>     * `expiryYear`:
>
>       Optional
>
>       Expiry year of the card.
>
>     * `holderName`:
>
>       Optional
>
>       Name of the shopper that the card belongs to.
>
>   * `reference`: Your reference to uniquely identify the transaction. To provide multiple references for a transaction, separate them with hyphens ("-"). Maximum length: 80 characters.
>
>   This request checks the balance on an SVS gift card:
>
>   ```json theme={null}
>   {
>       "merchantAccount": "ADYEN_MERCHANT_ACCOUNT",
>       "store":"YOUR_STORE_ID",
>       "paymentMethod": {
>           "type": "svs",
>           "number": "603628672882001915092",
>           "securityCode": "5754"
>       },
>       "reference": "YOUR_REFERENCE"
>   }
>   ```
>
> #### Response
>
> You receive a response containing:
>
> * `currentBalance`: The `currency` and total `value` in minor units of the funds stored on the card.
> * `pspReference`: Adyen's 16-character unique reference associated with the request.
> * `resultCode`: Indicates the state of the request. Refer to [Result codes](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api#result-codes) for the values that you can receive.
>
> Sample response:
>
> ```json theme={null}
> {
>     "currentBalance": {
>         "currency": "EUR",
>         "value": 5600
>     },
>     "pspReference": "881564657480267D",
>     "resultCode": "Success"
> }
> ```

> [tab] With token
>
> To see the value of a gift card or other stored-value card that has been tokenized:
>
> * Make a POST request to the [`checkBalance` endpoint](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api#sv-api-endpoints), specifying:
>
>   * `merchantAccount`: ID of the merchant account that you want to process the transaction with.
>   * `store`:
>
>     Optional
>
>     For transactions flagged as in-store, the ID of the physical store that you want to process the transaction for. Maximum length: 16 characters.
>   * `paymentMethod.type`: Name or brand of the card. Accepted values: **givex** (only for in-person payments), **svs**, **valuelink**, **[any Intersolve-supported card type](https://adyen-preview.mintlify.site/payment-methods/gift-cards#supported-gift-cards)**.
>   * `recurringDetailReference`: The token that identifies the card. This was returned in the response when you tokenized the card.
>   * `shopperReference`: Your unique ID for this shopper. This is the `shopperReference` that you used when you created the token.
>   * `shopperInteraction`: Specifies the sales channel through which the shopper provided their details. Accepted values: **Ecommerce** (default for online transactions), **ContAuth** (online, using previously stored details), **Moto** (via email or telephone) or **POS** (using an in-store terminal).
>   * `reference`: Your reference to uniquely identify the transaction. To provide multiple references for a transaction, separate them with hyphens ("-"). Maximum length: 80 characters.
>
>   This request checks the balance on a tokenized Fiserv (formerly ValueLink) gift card:
>
>   ```json theme={null}
>   {
>       "merchantAccount": "ADYEN_MERCHANT_ACCOUNT",
>       "paymentMethod": {
>           "type": "valuelink"
>       },
>       "recurringDetailReference": "7219687191761347",
>       "shopperReference": "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
>       "shopperInteraction": "Ecommerce",
>       "reference": "YOUR_REFERENCE"
>   }
>   ```
>
> #### Response
>
> You receive a response containing:
>
> * `currentBalance`: The `currency` and total `value` in minor units of the funds stored on the card.
> * `pspReference`: Adyen's 16-character unique reference associated with the request.
> * `resultCode`: Indicates the state of the request. Refer to [Result codes](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api#result-codes) for the values that you can receive.
>
> Sample response:
>
> ```json theme={null}
> {
>     "currentBalance": {
>         "currency": "EUR",
>         "value": 5600
>     },
>     "pspReference": "881564657480267D",
>     "resultCode": "Success"
> }
> ```
>
> ## Next steps
>
> > [card] [Load](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/load)
> >
> > Add funds to a gift card.
>
> > [card] [Merge balance](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/merge-balance)
> >
> > Transfer the value from one gift card to another.
>
> > [card] [Issue](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/issue)
> >
> > Issue a new gift card.
>
> ## See also
>
> * [Activate or deactivate a gift card](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/change-status)
> * [Undo a previous Stored Value API transaction from the last 24 hours](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/void)
> * [Stored Value API](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.