> ## 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.

# Stored Value API for Managing Gift Cards

> Use our Stored Value API to manage gift cards and other stored-value cards.

Here we describe how you can manage both online and point-of-sale gift cards and other stored-value cards with our JSON-only Stored Value API. This API lets you do the following transactions:

* [Issue](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/issue): issue a new gift card or other stored value card.
* [Change status](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/change-status): activate or deactivate a card.
* [Load](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/load): add funds to the balance of the card.
* [Check balance](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/check-balance): query the remaining balance of the card.
* [Merge balance](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/merge-balance): transfer all funds from a card to another one from the same provider.
* [Void transaction](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/void): undo a Stored Value API transaction from the last 24 hours.

With a point-of-sale integration, you may prefer to do the above transactions (except issuing) using our [Terminal API](https://adyen-preview.mintlify.site/point-of-sale/alternative-payment-methods/gift-cards-terminal-api) because you already use that to make in-person gift card payments.

## Not for payments

The Stored Value API doesn't let you make, cancel, or refund payments. For these transactions, refer to the following table:

| Transaction | Integration type | |
| - | - | - |
| Make a gift card payment | [Online](https://adyen-preview.mintlify.site/payment-methods/gift-cards) | [In-person payments](https://adyen-preview.mintlify.site/point-of-sale/alternative-payment-methods/gift-cards-terminal-api/payment.md) |
| Cancel a gift card payment | [Online](https://adyen-preview.mintlify.site/online-payments/cancel.md) | [In-person payments](https://adyen-preview.mintlify.site/point-of-sale/basic-tapi-integration/cancel-a-transaction.md) |
| Make a refund to a gift card | [Online](https://adyen-preview.mintlify.site/online-payments/refund.md) | [In-person payments](https://adyen-preview.mintlify.site/point-of-sale/alternative-payment-methods/gift-cards-terminal-api/refund-gift-cards.md) |

## Supported cards

The Stored Value API currently supports:

* Gift cards provided by [Intersolve](https://intersolve.nl/en/) (see [our overview page](https://adyen-preview.mintlify.site/payment-methods/gift-cards#supported-gift-cards) for a selection of the gift cards that can go over this connection)
* Gift cards provided by [SVS](https://www.storedvalue.com)
* Gift cards provided by [Fiserv](https://merchants.fiserv.com/en-us/products/merchants/gift-and-payroll-card-solutions/gift-card-solutions/) (formerly ValueLink)

## Transactions per provider and channel

Whether a Stored Value API transaction is allowed, depends on the provider and the channel. Here is an overview:

#### Online

| Transaction | Givex | SVS | Fiserv (formerly ValueLink) | Intersolve |
| - | - | - | - | - |
| Issue new [See note](#issuing-svs) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) |
| Activate | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) |
| Activate and load amount | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) |
| Deactivate (without amount) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) |
| Load amount | ![-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 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) |
| Merge balance | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) |
| Void (undo) other transaction | ![-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 |
| - | - | - | - | - |
| Issue new | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) |
| Activate | ![-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) |
| Activate and load amount | ![-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) |
| Deactivate (without amount) | ![-white\_check\_mark-](https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) |
| Load amount | ![-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 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) |
| Merge balance | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) | ![-x-](https://docs.adyen.com/user/data/smileys/emoji/x.png) |
| Void (undo) other transaction | ![-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) |

[]()**Issuing SVS gift cards**\
If you are *building a new* Stored Value API integration, issuing SVS gift cards is not supported.

If you have an *existing* Stored Value API integration and have issued SVS gift cards, you can continue doing so.

## Endpoints

| | |
| - | - |
| Test | https\://pal-**test**.adyen.com/pal/servlet/StoredValue/v46**/method** |
| Live | https\://pal-**live**.adyen.com/pal/servlet/StoredValue/v46**/method** |

The **`/method`** can be:

* [`/issue`](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/issue)
* [`/changeStatus`](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/change-status)
* [`/load`](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/load)
* [`/checkBalance`](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/check-balance)
* [`/mergeBalance`](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/merge-balance)
* [`/voidTransaction`](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/void)

## Result codes

These are the result codes you can receive from the Stored Value API.

* **Success**: The operation has been completed successfully.
* **Refused**: The operation was refused. The reason is given in the `refusalReason` field.
* **Error**: There was an error when the operation was processed. The reason is given in the `refusalReason` field.
* **NotEnoughBalance**: The amount on the gift card or other stored-value card is lower than the amount given in the request.

## Testing and going live

1. Before going live, use the following data to test Stored Value API transactions using the **Adyen simulator**:

   | Type | Number | Security code | Expiry month and yearOptional |
   | - | - | - | - |
   | Givex gift card | 603628672882001915092 | 5754 | 12 2020 |
   | SVS gift card | 6006491286999921374 | 1111 | 12 2020 |
   | Fiserv (formerly ValueLink) gift card | 7777182708544835 | 2329 | 12 2049 |

   Enter any value when the simulator asks for a Fiserv (formerly ValueLink) promo code.

2. Apart from testing with our simulator, you should do **end-to-end testing**. Ask the provider of the gift card or other stored-value card for the test data you can use.

3. When you are ready to move to live, switch from test to [live endpoints](#sv-api-endpoints).

## Next steps

> [card] [Issue](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/issue)
>
> Issue a new gift card.

> [card] [Change status](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/change-status)
>
> Activate or deactivate a gift card.

> [card] [Load](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/load)
>
> Add funds to a gift card.

## See also

* [Check the value stored on a gift card](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/check-balance)
* [Transfer the value of one gift card to another one of the same type](https://adyen-preview.mintlify.site/payment-methods/gift-cards/stored-value-api/merge-balance)
* [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)


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