{"title":"Activate or deactivate a gift card","category":"default","creationDate":1776961628,"content":"<p>The <code>\/changeStatus<\/code> endpoint of our <a href=\"\/pt\/payment-methods\/gift-cards\/stored-value-api\">Stored Value API<\/a> lets you activate or deactivate a gift card or other stored-value card and optionally load funds to it while activating.<\/p>\n<h3>Activate<\/h3>\n<p>Changing the status to <span translate=\"no\"><strong>active<\/strong><\/span> makes the funds stored on the card available to the shopper.<br \/>\nThere's no need to activate virtual cards: they are activated automatically when you issue them.<br \/>\nYou can activate plastic cards with or without specifying an amount that you want to load to the card. If you do not add an amount now, you can do so later with a <a href=\"\/pt\/payment-methods\/gift-cards\/stored-value-api\/load\">\n  <code>\/load<\/code>\n<\/a> request. Some providers load funds to the card when it is issued. When you activate such a preloaded card, you either do not specify an amount, or exactly specify the preloaded amount.<\/p>\n<h3>Deactivate<\/h3>\n<p>Changing the status to <span translate=\"no\"><strong>inactive<\/strong><\/span> is something you'd do when you suspect fraud, for example when the gift card is lost or stolen. This is an end state, a deactivated card cannot be used again. Any value remaining on the card is no longer available to the shopper.<\/p>\n<h3>Transactions per provider and channel<\/h3>\n<div class=\"sc-columns\" style=\"columns:2 auto;-moz-columns:2 auto;column-gap:normal;-moz-column-gap:normal;\">\n<h4>Online<\/h4>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Transaction<\/th>\n<th style=\"text-align: center;\">Givex<\/th>\n<th style=\"text-align: center;\">SVS<\/th>\n<th style=\"text-align: center;\">Fiserv (formerly ValueLink)<\/th>\n<th style=\"text-align: center;\">Intersolve<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">Activate<\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Activate and load amount<\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Deactivate (without amount)<\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>In-person payments<\/h4>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Transaction<\/th>\n<th style=\"text-align: center;\">Givex<\/th>\n<th style=\"text-align: center;\">SVS<\/th>\n<th style=\"text-align: center;\">Fiserv (formerly ValueLink)<\/th>\n<th style=\"text-align: center;\">Intersolve<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">Activate<\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Activate and load amount<\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Deactivate (without amount)<\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td style=\"text-align: center;\"><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2 id=\"change-status-active\">Activate a card<\/h2>\n<p>To activate a gift card or other stored-value card:<\/p>\n<ul>\n<li>\n<p>Make a POST request to the <a href=\"\/pt\/payment-methods\/gift-cards\/stored-value-api#sv-api-endpoints\"><code>\/changeStatus<\/code> endpoint<\/a> endpoint, specifying:<\/p>\n<ul>\n<li>\n<p><code>status<\/code>: <span translate=\"no\"><strong>active<\/strong><\/span><\/p>\n<\/li>\n<li>\n<p><code>amount<\/code>: <div data-component-wrapper=\"tag\">\n    <tag :variant=&quot;success&quot;>\n        Optional\n    <\/tag>\n<\/div>\n The <code>currency<\/code> and <code>value<\/code> of the funds you want to load to the card. The supported currencies differ per provider.<br \/>\nWhen activating a preloaded card, do not specify an amount or exactly specify the preloaded amount.<\/p>\n<\/li>\n<li>\n<p><code>merchantAccount<\/code>: Name of the merchant account that you want to process the transaction with.<\/p>\n<\/li>\n<li>\n<p><code>store<\/code>: <div data-component-wrapper=\"tag\">\n    <tag :variant=&quot;success&quot;>\n        Optional\n    <\/tag>\n<\/div>\n Only applicable to in-person payments. For transactions flagged as in-store, the ID of the physical store that you want to process the transaction for. Maximum length: 16 characters.<\/p>\n<\/li>\n<li>\n<p><code>paymentMethod<\/code> object with:<\/p>\n<ul>\n<li><code>type<\/code>: Name or brand of the card. Accepted values: <span translate=\"no\"><strong>givex<\/strong><\/span>, <span translate=\"no\"><strong>svs<\/strong><\/span>, <span translate=\"no\"><strong>valuelink<\/strong><\/span>, <strong><a href=\"\/pt\/payment-methods\/gift-cards#supported-gift-cards\">any Intersolve-supported card type<\/a><\/strong>.<\/li>\n<li><code>number<\/code>: Card number that identifies the card that you want to activate.<\/li>\n<li><code>securityCode<\/code>: If the card has a PIN code or other type of security code, obtain it from the shopper and provide it here.<\/li>\n<li><code>expiryMonth<\/code>: <div data-component-wrapper=\"tag\">\n    <tag :variant=&quot;success&quot;>\n        Optional\n    <\/tag>\n<\/div>\n Expiry month of the card.<\/li>\n<li><code>expiryYear<\/code>: <div data-component-wrapper=\"tag\">\n    <tag :variant=&quot;success&quot;>\n        Optional\n    <\/tag>\n<\/div>\n Expiry year of the card.<\/li>\n<li>\n<p><code>holderName<\/code>: <div data-component-wrapper=\"tag\">\n    <tag :variant=&quot;success&quot;>\n        Optional\n    <\/tag>\n<\/div>\n Name of the shopper that the card belongs to.<\/p>\n<!-- list separator -->\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>reference<\/code>: Your reference to uniquely identify the transaction. To provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.<\/p>\n<\/li>\n<\/ul>\n<p>This request activates an SVS gift card and loads USD&nbsp;10 to the card:<\/p>\n<pre><code class=\"language-json\">{\n    \"status\": \"active\",\n    \"amount\": {\n        \"currency\": \"USD\",\n        \"value\": 1000\n    },\n    \"merchantAccount\": \"ADYEN_MERCHANT_ACCOUNT\",\n    \"store\":\"YOUR_STORE_ID\",\n    \"paymentMethod\": {\n        \"type\": \"svs\",\n        \"number\": \"6006491286999921374\",\n        \"securityCode\": \"1111\"\n    },\n    \"reference\": \"YOUR_REFERENCE\"\n}<\/code><\/pre>\n<\/li>\n<\/ul>\n<h4 id=\"response\">Response<\/h4>\n<p>You receive a response containing:<\/p>\n<ul>\n<li><code>currentBalance<\/code>: The <code>currency<\/code> and total <code>value<\/code> of the funds stored on the card.<\/li>\n<li><code>pspReference<\/code>: Adyen's 16-character unique reference associated with the request.<\/li>\n<li><code>resultCode<\/code>: Indicates the state of the request. <span translate=\"no\"><strong>Success<\/strong><\/span> means the status change has been carried out. Refer to <a href=\"\/pt\/payment-methods\/gift-cards\/stored-value-api#result-codes\">Result codes<\/a> for other values that you can receive.<\/li>\n<\/ul>\n<p>The response may include additional fields, depending on the additional data settings for your merchant account. In your <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a>, you'll find these settings under <strong>Developers<\/strong> &gt; <strong>Additional data<\/strong>.<\/p>\n<p>Sample response:<\/p>\n<pre><code class=\"language-json\">{\n    \"currentBalance\": {\n        \"currency\": \"USD\",\n        \"value\": 1000\n    },\n    \"pspReference\": \"851564652149588K\",\n    \"resultCode\": \"Success\"\n}<\/code><\/pre>\n<h2 id=\"change-status-inactive\">Deactivate a card<\/h2>\n<p>When you deactivate a gift card or other stored-value card, the way to specify the card details depends on whether you <a href=\"\/pt\/online-payments\/tokenization\">tokenized<\/a> a payment that the shopper made with this card.<\/p>\n\n<div id=\"tabKY5R2\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;Without token&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To deactivate a gift card or other stored-value card that has not been tokenized:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;\\n&lt;p&gt;Make a POST request to the &lt;a href=\\&quot;\\\/pt\\\/payment-methods\\\/gift-cards\\\/stored-value-api#sv-api-endpoints\\&quot;&gt;&lt;code&gt;changeStatus&lt;\\\/code&gt; endpoint&lt;\\\/a&gt; endpoint, specifying:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;\\n&lt;p&gt;&lt;code&gt;status&lt;\\\/code&gt;: &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;inactive&lt;\\\/strong&gt;&lt;\\\/span&gt;&lt;\\\/p&gt;\\n&lt;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;&lt;code&gt;merchantAccount&lt;\\\/code&gt;: Name of the merchant account that you want to process the transaction with.&lt;\\\/p&gt;\\n&lt;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;&lt;code&gt;store&lt;\\\/code&gt;: &lt;div data-component-wrapper=\\&quot;tag\\&quot;&gt;\\n    &lt;tag :variant=&amp;quot;success&amp;quot;&gt;\\n        Optional\\n    &lt;\\\/tag&gt;\\n&lt;\\\/div&gt;\\n For transactions flagged as in-store, the ID of the physical store that you want to process the transaction for. Maximum length: 16 characters.&lt;\\\/p&gt;\\n&lt;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;&lt;code&gt;paymentMethod&lt;\\\/code&gt; object with:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;&lt;code&gt;type&lt;\\\/code&gt;: Name or brand of the card. Accepted values: &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;givex&lt;\\\/strong&gt;&lt;\\\/span&gt;, &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;svs&lt;\\\/strong&gt;&lt;\\\/span&gt;, &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;valuelink&lt;\\\/strong&gt;&lt;\\\/span&gt;.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;number&lt;\\\/code&gt;: Card number that identifies the card.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;securityCode&lt;\\\/code&gt;: If the card has a PIN code or other type of security code, obtain it from the shopper and provide it here.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;expiryMonth&lt;\\\/code&gt;: &lt;div data-component-wrapper=\\&quot;tag\\&quot;&gt;\\n    &lt;tag :variant=&amp;quot;success&amp;quot;&gt;\\n        Optional\\n    &lt;\\\/tag&gt;\\n&lt;\\\/div&gt;\\n Expiry month of the card.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;expiryYear&lt;\\\/code&gt;: &lt;div data-component-wrapper=\\&quot;tag\\&quot;&gt;\\n    &lt;tag :variant=&amp;quot;success&amp;quot;&gt;\\n        Optional\\n    &lt;\\\/tag&gt;\\n&lt;\\\/div&gt;\\n Expiry year of the card.&lt;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;&lt;code&gt;holderName&lt;\\\/code&gt;: &lt;div data-component-wrapper=\\&quot;tag\\&quot;&gt;\\n    &lt;tag :variant=&amp;quot;success&amp;quot;&gt;\\n        Optional\\n    &lt;\\\/tag&gt;\\n&lt;\\\/div&gt;\\n Name of the shopper that the card belongs to.&lt;\\\/p&gt;\\n&lt;!-- list separator --&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;&lt;code&gt;reference&lt;\\\/code&gt;: Your reference to uniquely identify the transaction. To provide multiple references for a transaction, separate them with hyphens (\\&quot;-\\&quot;). Maximum length: 80 characters.&lt;\\\/p&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;p&gt;This request deactivates a Givex gift card using the card number and no PIN:&lt;\\\/p&gt;\\n&lt;pre&gt;&lt;code class=\\&quot;language-json\\&quot;&gt;{\\n    \\&quot;status\\&quot;: \\&quot;inactive\\&quot;,\\n    \\&quot;merchantAccount\\&quot;: \\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n    \\&quot;store\\&quot;:\\&quot;YOUR_STORE_ID\\&quot;,\\n    \\&quot;paymentMethod\\&quot;: {\\n        \\&quot;type\\&quot;: \\&quot;givex\\&quot;,\\n        \\&quot;number\\&quot;: \\&quot;6036280000000000000\\&quot;\\n    },\\n    \\&quot;shopperInteraction\\&quot;: \\&quot;Ecommerce\\&quot;,\\n    \\&quot;reference\\&quot;: \\&quot;YOUR_REFERENCE\\&quot;\\n}&lt;\\\/code&gt;&lt;\\\/pre&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;h4 id=\\&quot;response\\&quot;&gt;Response&lt;\\\/h4&gt;\\n&lt;p&gt;You receive a response containing:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;&lt;code&gt;currentBalance&lt;\\\/code&gt;: The &lt;code&gt;currency&lt;\\\/code&gt; and total &lt;code&gt;value&lt;\\\/code&gt; of the funds stored on the card. Any value remaining on the card is no longer available to the shopper.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;pspReference&lt;\\\/code&gt;: Adyen&#039;s 16-character unique reference associated with the request.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;resultCode&lt;\\\/code&gt;: Indicates the state of the request. &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;Success&lt;\\\/strong&gt;&lt;\\\/span&gt; means the status change has been carried out. Refer to &lt;a href=\\&quot;\\\/pt\\\/payment-methods\\\/gift-cards\\\/stored-value-api#result-codes\\&quot;&gt;Result codes&lt;\\\/a&gt; for other values that you can receive.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;p&gt;The response may include additional fields, depending on the additional data settings for your merchant account. In your &lt;a href=\\&quot;https:\\\/\\\/ca-test.adyen.com\\\/\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;Customer Area&lt;\\\/a&gt;, you&#039;ll find these settings under &lt;strong&gt;Developers&lt;\\\/strong&gt; &amp;gt; &lt;strong&gt;Additional data&lt;\\\/strong&gt;.&lt;\\\/p&gt;\\n&quot;,&quot;altTitle&quot;:null,&quot;oldTabId&quot;:&quot;without_token_0_1&quot;,&quot;relation&quot;:&quot;&quot;},{&quot;title&quot;:&quot;With token&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To deactivate a gift card or other stored-value card that has been tokenized:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;\\n&lt;p&gt;Make a POST request to the &lt;a href=\\&quot;\\\/pt\\\/payment-methods\\\/gift-cards\\\/stored-value-api#sv-api-endpoints\\&quot;&gt;&lt;code&gt;changeStatus&lt;\\\/code&gt; endpoint&lt;\\\/a&gt;, specifying:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;&lt;code&gt;status&lt;\\\/code&gt;: &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;inactive&lt;\\\/strong&gt;&lt;\\\/span&gt;&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;merchantAccount&lt;\\\/code&gt;: Name of the merchant account that you want to process the transaction with.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;store&lt;\\\/code&gt;: &lt;div data-component-wrapper=\\&quot;tag\\&quot;&gt;\\n    &lt;tag :variant=&amp;quot;success&amp;quot;&gt;\\n        Optional\\n    &lt;\\\/tag&gt;\\n&lt;\\\/div&gt;\\n For transactions flagged as in-store, the ID of the physical store that you want to process the transaction for. Maximum length: 16 characters.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;paymentMethod.type&lt;\\\/code&gt;: Name or brand of the card. Accepted values: &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;givex&lt;\\\/strong&gt;&lt;\\\/span&gt;, &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;svs&lt;\\\/strong&gt;&lt;\\\/span&gt;, &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;valuelink&lt;\\\/strong&gt;&lt;\\\/span&gt;.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;recurringDetailReference&lt;\\\/code&gt;: The token that identifies the card. This was returned in the response when you tokenized the card.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;shopperReference&lt;\\\/code&gt;: Your unique ID for this shopper. This is the &lt;code&gt;shopperReference&lt;\\\/code&gt; that you used when you created the token.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;shopperInteraction&lt;\\\/code&gt;: Specifies the sales channel through which the shopper provided their details. Accepted values: &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;Ecommerce&lt;\\\/strong&gt;&lt;\\\/span&gt; (default for online transactions), &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;ContAuth&lt;\\\/strong&gt;&lt;\\\/span&gt; (online, using previously stored details), &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;Moto&lt;\\\/strong&gt;&lt;\\\/span&gt; (via email or telephone) or &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;POS&lt;\\\/strong&gt;&lt;\\\/span&gt; (using an in-store terminal).&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;reference&lt;\\\/code&gt;: Your reference to uniquely identify the transaction. To provide multiple references for a transaction, separate them with hyphens (\\&quot;-\\&quot;). Maximum length: 80 characters.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;p&gt;This request deactivates a tokenized Givex gift card:&lt;\\\/p&gt;\\n&lt;pre&gt;&lt;code class=\\&quot;language-json\\&quot;&gt;{\\n    \\&quot;status\\&quot;: \\&quot;inactive\\&quot;,\\n    \\&quot;merchantAccount\\&quot;: \\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n    \\&quot;store\\&quot;:\\&quot;YOUR_STORE_ID\\&quot;,\\n    \\&quot;paymentMethod\\&quot;: {\\n        \\&quot;type\\&quot;: \\&quot;givex\\&quot;\\n    },\\n    \\&quot;recurringDetailReference\\&quot;: \\&quot;7219627091701347\\&quot;,\\n    \\&quot;shopperReference\\&quot;: \\&quot;YOUR_UNIQUE_SHOPPER_ID_P3fW3k9D2tvXFu6l\\&quot;,\\n    \\&quot;shopperInteraction\\&quot;: \\&quot;Ecommerce\\&quot;,\\n    \\&quot;reference\\&quot;: \\&quot;YOUR_REFERENCE\\&quot;\\n}&lt;\\\/code&gt;&lt;\\\/pre&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;h4 id=\\&quot;response\\&quot;&gt;Response&lt;\\\/h4&gt;\\n&lt;p&gt;You receive a response containing:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;&lt;code&gt;currentBalance&lt;\\\/code&gt;: The &lt;code&gt;currency&lt;\\\/code&gt; and total &lt;code&gt;value&lt;\\\/code&gt; of the funds stored on the card. Any value remaining on the card is no longer available to the shopper.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;pspReference&lt;\\\/code&gt;: Adyen&#039;s 16-character unique reference associated with the request.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;resultCode&lt;\\\/code&gt;: Indicates the state of the request. &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;Success&lt;\\\/strong&gt;&lt;\\\/span&gt; means the status change has been carried out. Refer to &lt;a href=\\&quot;\\\/pt\\\/payment-methods\\\/gift-cards\\\/stored-value-api#result-codes\\&quot;&gt;Result codes&lt;\\\/a&gt; for other values that you can receive.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;p&gt;The response may include additional fields, depending on the additional data settings for your merchant account. In your &lt;a href=\\&quot;https:\\\/\\\/ca-test.adyen.com\\\/\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;Customer Area&lt;\\\/a&gt;, you&#039;ll find these settings under &lt;strong&gt;Developers&lt;\\\/strong&gt; &amp;gt; &lt;strong&gt;Additional data&lt;\\\/strong&gt;.&lt;\\\/p&gt;\\n&quot;,&quot;altTitle&quot;:null,&quot;oldTabId&quot;:&quot;with_token_1_2&quot;,&quot;relation&quot;:&quot;&quot;}]\"\n            :should-update-when-url-changes='false'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<h2>Next steps<\/h2>\n<div class=\"next-steps\" id=\"next-steps\" >\n<a href=\"\/payment-methods\/gift-cards\/stored-value-api\/load\" class=\"next-steps__step\" style=\"width:45%;\" target=\"_self\"><p class=\"next-steps__body\"><div style=\"text-align: center;\"><h6 class=\"next-steps__title\">Load<\/h6><p>Add funds to a gift card.<\/p><\/div><\/p><\/a><a href=\"\/payment-methods\/gift-cards\/stored-value-api\/check-balance\" class=\"next-steps__step\" style=\"width:45%;\" target=\"_self\"><p class=\"next-steps__body\"><div style=\"text-align: center;\"><h6 class=\"next-steps__title\">Check balance<\/h6><p>Check the value stored on a gift card.<\/p><\/div><\/p><\/a><\/div>\n\n<h2 id=\"see-also\">See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/payment-methods\/gift-cards\/stored-value-api\/issue\"\n                        target=\"_self\"\n                        >\n                    Issue a new gift card\n                <\/a><\/li><li><a href=\"\/payment-methods\/gift-cards\/stored-value-api\/merge-balance\"\n                        target=\"_self\"\n                        >\n                    Transfer the value from one gift card to another\n                <\/a><\/li><li><a href=\"\/payment-methods\/gift-cards\/stored-value-api\/void\"\n                        target=\"_self\"\n                        >\n                    Undo a previous Stored Value API transaction from the last 24 hours\n                <\/a><\/li><li><a href=\"\/payment-methods\/gift-cards\/stored-value-api\"\n                        target=\"_self\"\n                        >\n                    Stored Value API\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/gift-cards\/stored-value-api\/change-status","articleFields":{"description":"Change the status of a gift card or other stored-value card.","last_edit_on":"17-11-2020 14:40","page_id":"60ad7045-ceca-4aa8-bb47-dc31d9d50487","feedback_component":true,"filters_component":false,"decision_tree":"[]"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/gift-cards\/stored-value-api\/change-status","title":"Activate or deactivate a gift card","content":"The \/changeStatus endpoint of our Stored Value API lets you activate or deactivate a gift card or other stored-value card and optionally load funds to it while activating.\nActivate\nChanging the status to active makes the funds stored on the card available to the shopper.\nThere's no need to activate virtual cards: they are activated automatically when you issue them.\nYou can activate plastic cards with or without specifying an amount that you want to load to the card. If you do not add an amount now, you can do so later with a \n  \/load\n request. Some providers load funds to the card when it is issued. When you activate such a preloaded card, you either do not specify an amount, or exactly specify the preloaded amount.\nDeactivate\nChanging the status to inactive is something you'd do when you suspect fraud, for example when the gift card is lost or stolen. This is an end state, a deactivated card cannot be used again. Any value remaining on the card is no longer available to the shopper.\nTransactions per provider and channel\n\nOnline\n\n\n\nTransaction\nGivex\nSVS\nFiserv (formerly ValueLink)\nIntersolve\n\n\n\n\nActivate\n\n\n\n\n\n\nActivate and load amount\n\n\n\n\n\n\nDeactivate (without amount)\n\n\n\n\n\n\n\nIn-person payments\n\n\n\nTransaction\nGivex\nSVS\nFiserv (formerly ValueLink)\nIntersolve\n\n\n\n\nActivate\n\n\n\n\n\n\nActivate and load amount\n\n\n\n\n\n\nDeactivate (without amount)\n\n\n\n\n\n\n\n\nActivate a card\nTo activate a gift card or other stored-value card:\n\n\nMake a POST request to the \/changeStatus endpoint endpoint, specifying:\n\n\nstatus: active\n\n\namount: \n    \n        Optional\n    \n\n The currency and value of the funds you want to load to the card. The supported currencies differ per provider.\nWhen activating a preloaded card, do not specify an amount or exactly specify the preloaded amount.\n\n\nmerchantAccount: Name of the merchant account that you want to process the transaction with.\n\n\nstore: \n    \n        Optional\n    \n\n Only applicable to in-person payments. For transactions flagged as in-store, the ID of the physical store that you want to process the transaction for. Maximum length: 16 characters.\n\n\npaymentMethod object with:\n\ntype: Name or brand of the card. Accepted values: givex, svs, valuelink, any Intersolve-supported card type.\nnumber: Card number that identifies the card that you want to activate.\nsecurityCode: If the card has a PIN code or other type of security code, obtain it from the shopper and provide it here.\nexpiryMonth: \n    \n        Optional\n    \n\n Expiry month of the card.\nexpiryYear: \n    \n        Optional\n    \n\n Expiry year of the card.\n\nholderName: \n    \n        Optional\n    \n\n Name of the shopper that the card belongs to.\n\n\n\n\n\nreference: Your reference to uniquely identify the transaction. To provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.\n\n\nThis request activates an SVS gift card and loads USD&nbsp;10 to the card:\n{\n    \"status\": \"active\",\n    \"amount\": {\n        \"currency\": \"USD\",\n        \"value\": 1000\n    },\n    \"merchantAccount\": \"ADYEN_MERCHANT_ACCOUNT\",\n    \"store\":\"YOUR_STORE_ID\",\n    \"paymentMethod\": {\n        \"type\": \"svs\",\n        \"number\": \"6006491286999921374\",\n        \"securityCode\": \"1111\"\n    },\n    \"reference\": \"YOUR_REFERENCE\"\n}\n\n\nResponse\nYou receive a response containing:\n\ncurrentBalance: The currency and total value of the funds stored on the card.\npspReference: Adyen's 16-character unique reference associated with the request.\nresultCode: Indicates the state of the request. Success means the status change has been carried out. Refer to Result codes for other values that you can receive.\n\nThe response may include additional fields, depending on the additional data settings for your merchant account. In your Customer Area, you'll find these settings under Developers &gt; Additional data.\nSample response:\n{\n    \"currentBalance\": {\n        \"currency\": \"USD\",\n        \"value\": 1000\n    },\n    \"pspReference\": \"851564652149588K\",\n    \"resultCode\": \"Success\"\n}\nDeactivate a card\nWhen you deactivate a gift card or other stored-value card, the way to specify the card details depends on whether you tokenized a payment that the shopper made with this card.\n\n\n    \n        \n        \n    \n\n\nNext steps\n\nLoadAdd funds to a gift card.Check balanceCheck the value stored on a gift card.\n\nSee also\n\n\n                    Issue a new gift card\n                \n                    Transfer the value from one gift card to another\n                \n                    Undo a previous Stored Value API transaction from the last 24 hours\n                \n                    Stored Value API\n                \n","type":"page","locale":"pt","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"Gift cards","lvl3":"Stored Value API for managing gift cards","lvl4":"Activate or deactivate a gift card"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/payment-methods","lvl2":"https:\/\/docs.adyen.com\/pt\/payment-methods\/gift-cards","lvl3":"https:\/\/docs.adyen.com\/pt\/payment-methods\/gift-cards\/stored-value-api","lvl4":"\/pt\/payment-methods\/gift-cards\/stored-value-api\/change-status"},"levels":5,"category":"Payment method","category_color":"green","tags":["Activate","deactivate"]}}
