{"title":"Undo a load transaction to a gift card","category":"default","creationDate":1779533779,"content":"<p>With an undo request, you can reverse a gift card transaction that <a href=\"\/point-of-sale\/gift-cards-terminal-api\/load-a-balance\">loaded funds<\/a> to a gift card. The amount loaded is taken off the gift card balance. However, you can only undo the most recent load transaction and this transaction must be from the past 24 hours.<\/p>\n<p>You identify the transaction you want to undo by its <a href=\"\/point-of-sale\/design-your-integration\/terminal-api#transaction-identifier\">transaction identifier<\/a>.<\/p>\n<div class=\"sc-notice note\"><div>\n<p>You cannot use an undo request to cancel a gift card payment or to make a refund to a gift card.<br \/>\nSee <a href=\"\/point-of-sale\/basic-tapi-integration\/cancel-a-transaction\">Cancel a payment<\/a> and <a href=\"\/point-of-sale\/gift-cards-terminal-api\/refund-gift-cards\">Make a refund to a gift card<\/a>.<\/p>\n<\/div><\/div>\n<h2>Requirements<\/h2>\n<p>Before you begin, take into account the following requirements, limitations, and preparations.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Requirement<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Integration type<\/strong><\/td>\n<td style=\"text-align: left;\">A <a href=\"\/point-of-sale\/design-your-integration\/terminal-api\">Terminal API<\/a> integration with payment terminals.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Setup steps<\/strong><\/td>\n<td style=\"text-align: left;\">Before you begin: <ul><li markdown=\"1\"><a href=\"\/point-of-sale\/what-we-support\/payment-methods#add-payment-methods-to-your-account\">Add the payment method to your Adyen account<\/a>.<\/li><li markdown=\"1\">Complete the onboarding process with the gift card provider.<\/li><\/ul><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Undo a transaction<\/h2>\n<p>To undo the most recent load transaction made in the past 24 hours on a gift card:<\/p>\n<ol>\n<li>\n<p>Get the <code>POITransactionID.TimeStamp<\/code> and <code>POITransactionID.TransactionID<\/code> of the original<br \/>\ntransaction.<\/p>\n<\/li>\n<li>\n<p>Make a <a href=\"\/point-of-sale\/design-your-integration\/terminal-api\">Terminal API<\/a> stored value request, specifying:<\/p>\n<ul>\n<li>\n<p>The standard <a href=\"\/point-of-sale\/design-your-integration\/terminal-api#request-message-header\">\n  <code>SaleToPOIRequest.MessageHeader<\/code>\n<\/a> object, with <code>MessageClass<\/code> set to <span translate=\"no\"><strong>Service<\/strong><\/span> and <code>MessageCategory<\/code> set to <span translate=\"no\"><strong>StoredValue<\/strong><\/span>.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Parameter<\/th>\n<th style=\"text-align: center;\">Required<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>ProtocolVersion<\/code><\/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: left;\"><strong>3.0<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>MessageClass<\/code><\/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: left;\"><span translate=\"no\"><strong>Service<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>MessageCategory<\/code><\/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: left;\"><span translate=\"no\"><strong>StoredValue<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>MessageType<\/code><\/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: left;\"><span translate=\"no\"><strong>Request<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>ServiceID<\/code><\/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: left;\">Your unique ID for this request, consisting of 1-10 alphanumeric characters. Must be unique within the last 48 hours for the terminal (<code>POIID<\/code>) being used.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>SaleID<\/code><\/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: left;\">Your unique ID for the POS system component to send this request from.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>POIID<\/code><\/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: left;\">The unique ID of the terminal to send this request to. Format: <em>[device model]-[serial number]<\/em>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>The  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/storedvalue#request-SaleData\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">StoredValueRequest.SaleData<\/a> object with:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Parameter<\/th>\n<th style=\"text-align: center;\">Required<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>SaleTransactionID.TransactionID<\/code><\/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: left;\">Your reference to identify this undo request. We recommend using a unique value.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>SaleTransactionID.TimeStamp<\/code><\/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: left;\">Date and time of the request, in <a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_8601#Coordinated_Universal_Time_(UTC)\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">UTC format<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p>The  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/storedvalue#request-StoredValueData\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">StoredValueRequest.StoredValueData<\/a> object with:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Parameter<\/th>\n<th style=\"text-align: center;\">Required<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>StoredValueTransactionType<\/code><\/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: left;\"><span translate=\"no\"><strong>Reverse<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>OriginalPOITransaction<\/code><\/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: left;\">The details of the transaction that you want to undo: <br> <ul> <li markdown=\"1\"><code>POITransactionID.TimeStamp<\/code>: date and time of the original transaction.<\/li> <li markdown=\"1\"><code>POITransactionID.TransactionID<\/code>: transaction identifier of the original transaction, in one of the formats from the table below.<\/li> <\/ul><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Format<\/th>\n<th style=\"text-align: left;\">Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>tenderReference.pspReference<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>A7sM001574852436000.NC6HT9CRT65ZGN82<\/strong><\/span> <p><div data-component-wrapper=\"tag\">\n    <tag :variant=&quot;success&quot;>\n        Recommended format\n    <\/tag>\n<\/div>\n<p><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>pspReference<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>.NC6HT9CRT65ZGN82<\/strong><\/span> <p>Do not forget the leading dot (.).<\/p><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>tenderReference<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>A7sM001574852436000<\/strong><\/span> <p>Only when using the same terminal as for the original transaction.<\/p><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ul>\n<div data-component-wrapper=\"code-sample\">\n<code-sample :title=\"''\" :id=\"'void'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"JSON\",\"content\":\"{\\n  \\\"SaleToPOIRequest\\\":{\\n    \\\"MessageHeader\\\":{\\n      \\\"MessageType\\\":\\\"Request\\\",\\n      \\\"MessageClass\\\":\\\"Service\\\",\\n      \\\"MessageCategory\\\":\\\"StoredValue\\\",\\n      \\\"SaleID\\\":\\\"POSSystemID12345\\\",\\n      \\\"POIID\\\":\\\"V400m-324688179\\\",\\n      \\\"ProtocolVersion\\\":\\\"3.0\\\",\\n      \\\"ServiceID\\\":\\\"9265\\\"\\n      },\\n    \\\"StoredValueRequest\\\":{\\n      \\\"SaleData\\\":{\\n        \\\"SaleTransactionID\\\":{\\n          \\\"TransactionID\\\":\\\"44739\\\",\\n          \\\"TimeStamp\\\":\\\"2019-12-22T10:10:34+00:00\\\"\\n          }\\n      },\\n      \\\"StoredValueData\\\": [\\n        {\\n          \\\"StoredValueTransactionType\\\": \\\"Reverse\\\",\\n          \\\"OriginalPOITransaction\\\": {\\n            \\\"POITransactionID\\\": {\\n              \\\"TransactionID\\\": \\\"A7sM001574852436000.NC6HT9CRT65ZGN82\\\",\\n              \\\"TimeStamp\\\": \\\"2019-12-22T09:01:15+00:00\\\"\\n            }\\n          }\\n        }\\n      ]\\n    }\\n  }\\n}\"},{\"language\":\"java\",\"tabTitle\":\"Java\",\"content\":\"String serviceID = \\\"YOUR_UNIQUE_ATTEMPT_ID\\\";\\nString saleID = \\\"YOUR_CASH_REGISTER_ID\\\";\\nString POIID = \\\"YOUR_TERMINAL_ID\\\";\\n\\nSaleToPOIRequest saleToPOIRequest = new SaleToPOIRequest();\\nMessageHeader messageHeader = new MessageHeader();\\nmessageHeader.setProtocolVersion(\\\"3.0\\\");\\nmessageHeader.setMessageClass( MessageClassType.SERVICE );\\nmessageHeader.setMessageCategory( MessageCategoryType.STORED_VALUE );\\nmessageHeader.setMessageType( MessageType.REQUEST );\\nmessageHeader.setServiceID(serviceID);\\nmessageHeader.setSaleID(saleID);\\nmessageHeader.setPOIID(POIID);\\nsaleToPOIRequest.setMessageHeader(messageHeader);\\n\\nStoredValueRequest storedValueRequest = new StoredValueRequest();\\nSaleData saleData = new SaleData();\\nTransactionIdentification saleTransactionID = new TransactionIdentification();\\nsaleTransactionID.setTransactionID(transactionID);\\nsaleTransactionID.setTimeStamp(DatatypeFactory.newInstance().newXMLGregorianCalendar(new GregorianCalendar()));\\nsaleData.setSaleTransactionID(saleTransactionID);\\nstoredValueRequest.setSaleData(saleData);\\n\\nStoredValueData storedValueData = new StoredValueData();\\nstoredValueData.setStoredValueTransactionType( StoredValueTransactionType.REVERSE );\\nOriginalPOITransaction originalPOITransaction = new OriginalPOITransaction();\\nTransactionIdentification pOITransactionID = new TransactionIdentification();\\npOITransactionID.setTransactionID(transactionID);\\npOITransactionID.setTimeStamp(DatatypeFactory.newInstance().newXMLGregorianCalendar(new GregorianCalendar()));\\noriginalPOITransaction.setPOITransactionID(pOITransactionID);\\nstoredValueData.setOriginalPOITransaction(originalPOITransaction);\\nstoredValueRequest.setStoredValueData(storedValueData);\\nsaleToPOIRequest.setStoredValueRequest(storedValueRequest);\\nterminalAPIRequest.setSaleToPOIRequest(saleToPOIRequest);\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<\/li>\n<li>\n<p>In the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/storedvalue#responses-200-Response\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">StoredValueResponse<\/a>, check the following:<\/p>\n<ul>\n<li>\n<p><code>StoredValueTransactionType<\/code>: <span translate=\"no\"><strong>Reverse<\/strong><\/span> and <code>Response.Result<\/code>: <span translate=\"no\"><strong>Success<\/strong><\/span> indicate the loaded funds were reversed.<\/p>\n<\/li>\n<li>\n<p>In the <code>StoredValueResult<\/code> object, <code>StoredValueAccountStatus<\/code> indicates the <code>CurrentBalance<\/code> remaining on the card after undoing a load request.<\/p>\n<\/li>\n<li>\n<p><code>POIData.POITransactionID.TransactionID<\/code>: This is <a href=\"\/point-of-sale\/design-your-integration\/terminal-api#transaction-identifier\">Transaction identifier<\/a> for the undo request.<\/p>\n    <!-- list separator -->\n<\/li>\n<li>\n<p><code>Response.AdditionalResponse<\/code>: additional transaction data. Depending on the format you used in the request, you receive either a string of form-encoded key-value pairs or a Base64 string that you need to decode to get a JSON object.<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"language-json\">{\n  \"SaleToPOIResponse\":{\n    \"StoredValueResponse\":{\n      \"POIData\":{\n        \"POITransactionID\":{\n          \"TimeStamp\":\"2019-03-26T09:31:29.000Z\",\n          \"TransactionID\":\"pZjO001522056689002.NC6HT9CRT65ZGN82\"\n        }\n      }\n      ...,\n      \"StoredValueResult\":[\n        {\n          \"StoredValueTransactionType\":\"Reverse\",\n          \"StoredValueAccountStatus\": {\n            \"CurrentBalance\":265.79\n          }\n        }\n      ],\n      \"Response\":{\n        \"Result\":\"Success\",\n        \"AdditionalResponse\":\"tid=46742566&amp;transactionType=REFUND&amp;backendGiftcardIndicator=false&amp;posAmountGratuityValue=0&amp;giftcardIndicator=true&amp;pspReference=NC6HT9CRT65ZGN82&amp;storedValueApi=true&amp;currentBalanceCurrency=USD&amp;txtime=10%3a27%3a20&amp;iso8601TxDate=2019-12-31T09%3a27%3a20.0000000%2b0000&amp;posOriginalAmountValue=0&amp;txdate=31-12-2019&amp;merchantReference=17322&amp;transactionReferenceNumber=NC6HT9CRT65ZGN82&amp;posadditionalamounts.originalAmountCurrency=EUR&amp;posAuthAmountCurrency=EUR&amp;posAmountCashbackValue=0&amp;posAuthAmountValue=0&amp;currentBalanceValue=26579\"\n      }\n    },\n    \"MessageHeader\":{\n      \"ProtocolVersion\":\"3.0\",\n      \"SaleID\":\"POSSystemID12345\",\n      \"MessageClass\":\"Service\",\n      \"MessageCategory\":\"StoredValue\",\n      \"ServiceID\":\"9264\",\n      \"POIID\":\"V400m-324688179\",\n      \"MessageType\":\"Response\"\n    }\n  }\n}<\/code><\/pre>\n<\/li>\n<\/ol>\n<h2 id=\"see-also\">See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/point-of-sale\/gift-cards-terminal-api\/load-a-balance\"\n                        target=\"_self\"\n                        >\n                    Load funds to a gift card\n                <\/a><\/li><li><a href=\"\/point-of-sale\/gift-cards-terminal-api\/refund-gift-cards\"\n                        target=\"_self\"\n                        >\n                    Make a refund to a gift card\n                <\/a><\/li><li><a href=\"\/point-of-sale\/basic-tapi-integration\/cancel-a-transaction\/\"\n                        target=\"_self\"\n                        >\n                    Cancel a payment\n                <\/a><\/li><li><a href=\"\/point-of-sale\/gift-cards-terminal-api\/deactivate\"\n                        target=\"_self\"\n                        >\n                    Deactivate a gift card\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/point-of-sale\/alternative-payment-methods\/gift-cards-terminal-api\/void","articleFields":{"description":"Reverse a transaction that loaded funds to a gift card.","id":"36196904","type":"page","_expandable":{"operations":""},"last_edit_on":"07-01-2020 16:48"},"algolia":{"url":"https:\/\/docs.adyen.com\/point-of-sale\/alternative-payment-methods\/gift-cards-terminal-api\/void","title":"Undo a load transaction to a gift card","content":"With an undo request, you can reverse a gift card transaction that loaded funds to a gift card. The amount loaded is taken off the gift card balance. However, you can only undo the most recent load transaction and this transaction must be from the past 24 hours.\nYou identify the transaction you want to undo by its transaction identifier.\n\nYou cannot use an undo request to cancel a gift card payment or to make a refund to a gift card.\nSee Cancel a payment and Make a refund to a gift card.\n\nRequirements\nBefore you begin, take into account the following requirements, limitations, and preparations.\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nA Terminal API integration with payment terminals.\n\n\nSetup steps\nBefore you begin: Add the payment method to your Adyen account.Complete the onboarding process with the gift card provider.\n\n\n\nUndo a transaction\nTo undo the most recent load transaction made in the past 24 hours on a gift card:\n\n\nGet the POITransactionID.TimeStamp and POITransactionID.TransactionID of the original\ntransaction.\n\n\nMake a Terminal API stored value request, specifying:\n\n\nThe standard \n  SaleToPOIRequest.MessageHeader\n object, with MessageClass set to Service and MessageCategory set to StoredValue.\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\nProtocolVersion\n\n3.0\n\n\nMessageClass\n\nService\n\n\nMessageCategory\n\nStoredValue\n\n\nMessageType\n\nRequest\n\n\nServiceID\n\nYour unique ID for this request, consisting of 1-10 alphanumeric characters. Must be unique within the last 48 hours for the terminal (POIID) being used.\n\n\nSaleID\n\nYour unique ID for the POS system component to send this request from.\n\n\nPOIID\n\nThe unique ID of the terminal to send this request to. Format: [device model]-[serial number].\n\n\n\n\n\n\n\nThe  StoredValueRequest.SaleData object with:\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\nSaleTransactionID.TransactionID\n\nYour reference to identify this undo request. We recommend using a unique value.\n\n\nSaleTransactionID.TimeStamp\n\nDate and time of the request, in UTC format.\n\n\n\n\n\nThe  StoredValueRequest.StoredValueData object with:\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\nStoredValueTransactionType\n\nReverse\n\n\nOriginalPOITransaction\n\nThe details of the transaction that you want to undo:   POITransactionID.TimeStamp: date and time of the original transaction. POITransactionID.TransactionID: transaction identifier of the original transaction, in one of the formats from the table below. \n\n\n\n\n\n\nFormat\nExample\n\n\n\n\ntenderReference.pspReference\nA7sM001574852436000.NC6HT9CRT65ZGN82 \n    \n        Recommended format\n    \n\n\n\n\npspReference\n.NC6HT9CRT65ZGN82 Do not forget the leading dot (.).\n\n\ntenderReference\nA7sM001574852436000 Only when using the same terminal as for the original transaction.\n\n\n\n\n\n\n\n\n\n\nIn the  StoredValueResponse, check the following:\n\n\nStoredValueTransactionType: Reverse and Response.Result: Success indicate the loaded funds were reversed.\n\n\nIn the StoredValueResult object, StoredValueAccountStatus indicates the CurrentBalance remaining on the card after undoing a load request.\n\n\nPOIData.POITransactionID.TransactionID: This is Transaction identifier for the undo request.\n    \n\n\nResponse.AdditionalResponse: additional transaction data. Depending on the format you used in the request, you receive either a string of form-encoded key-value pairs or a Base64 string that you need to decode to get a JSON object.\n\n\n{\n  \"SaleToPOIResponse\":{\n    \"StoredValueResponse\":{\n      \"POIData\":{\n        \"POITransactionID\":{\n          \"TimeStamp\":\"2019-03-26T09:31:29.000Z\",\n          \"TransactionID\":\"pZjO001522056689002.NC6HT9CRT65ZGN82\"\n        }\n      }\n      ...,\n      \"StoredValueResult\":[\n        {\n          \"StoredValueTransactionType\":\"Reverse\",\n          \"StoredValueAccountStatus\": {\n            \"CurrentBalance\":265.79\n          }\n        }\n      ],\n      \"Response\":{\n        \"Result\":\"Success\",\n        \"AdditionalResponse\":\"tid=46742566&amp;transactionType=REFUND&amp;backendGiftcardIndicator=false&amp;posAmountGratuityValue=0&amp;giftcardIndicator=true&amp;pspReference=NC6HT9CRT65ZGN82&amp;storedValueApi=true&amp;currentBalanceCurrency=USD&amp;txtime=10%3a27%3a20&amp;iso8601TxDate=2019-12-31T09%3a27%3a20.0000000%2b0000&amp;posOriginalAmountValue=0&amp;txdate=31-12-2019&amp;merchantReference=17322&amp;transactionReferenceNumber=NC6HT9CRT65ZGN82&amp;posadditionalamounts.originalAmountCurrency=EUR&amp;posAuthAmountCurrency=EUR&amp;posAmountCashbackValue=0&amp;posAuthAmountValue=0&amp;currentBalanceValue=26579\"\n      }\n    },\n    \"MessageHeader\":{\n      \"ProtocolVersion\":\"3.0\",\n      \"SaleID\":\"POSSystemID12345\",\n      \"MessageClass\":\"Service\",\n      \"MessageCategory\":\"StoredValue\",\n      \"ServiceID\":\"9264\",\n      \"POIID\":\"V400m-324688179\",\n      \"MessageType\":\"Response\"\n    }\n  }\n}\n\n\nSee also\n\n\n                    Load funds to a gift card\n                \n                    Make a refund to a gift card\n                \n                    Cancel a payment\n                \n                    Deactivate a gift card\n                \n","type":"page","locale":"en","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"In-person payments","lvl2":"Alternative payment methods","lvl3":"Gift cards and other stored value cards","lvl4":"Undo a load transaction to a gift card"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/","lvl1":"https:\/\/docs.adyen.com\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/point-of-sale\/alternative-payment-methods","lvl3":"https:\/\/docs.adyen.com\/point-of-sale\/alternative-payment-methods\/gift-cards-terminal-api","lvl4":"\/point-of-sale\/alternative-payment-methods\/gift-cards-terminal-api\/void"},"levels":5,"category":"In-person payments","category_color":"green","tags":["transaction"]},"articleFiles":{"void.json":"<p alt=\"\">void.json<\/p>"}}
