{"title":"cancel_or_refund_on_terminal_request","category":"default","creationDate":1776961627,"content":"<p>The <code>cancel_or_refund_on_terminal_request<\/code> contains the following data elements:<\/p>\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Type<\/th>\n<th>Required<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>ped<\/code><\/td>\n<td>void<\/td>\n<td><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td>if not specified the PED object will be automatically populated.<\/td>\n<\/tr>\n<tr>\n<td><code>merchant_account<\/code><\/td>\n<td>char<\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>The merchant account processing this transaction.\u00a0Transactions can be performed with any of the merchant accounts that were returned when registering the POS.<\/td>\n<\/tr>\n<tr>\n<td><code>tender_reference<\/code><\/td>\n<td>char<\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>A reference to the tender provided by the PED.<\/td>\n<\/tr>\n<tr>\n<td><code>terminal_id<\/code><\/td>\n<td>char<\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>The\u00a0<code>terminal_id<\/code>\u00a0of the PED.<\/td>\n<\/tr>\n<tr>\n<td><code>handle_receipt<\/code><\/td>\n<td>boolean<\/td>\n<td><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td>Specifies that the POS handles and prints receipts. If omitted, it is required that the PED prints the receipt. If there is no printer unit, the transaction will fail.<\/td>\n<\/tr>\n<tr>\n<td><code>additional_data_obj<\/code><\/td>\n<td>additional_data_struct<\/td>\n<td><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td>\n<td>Contains key\/value pairs that can be used by the merchant to return specific additional data, in particular in the final transaction result.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/cancel_or_refund_on_terminal_request","articleFields":{"id":"39944654","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/cancel_or_refund_on_terminal_request","title":"cancel_or_refund_on_terminal_request","content":"The cancel_or_refund_on_terminal_request contains the following data elements:\n\n\n\nField\nType\nRequired\nDescription\n\n\n\n\nped\nvoid\n\nif not specified the PED object will be automatically populated.\n\n\nmerchant_account\nchar\n\nThe merchant account processing this transaction.\u00a0Transactions can be performed with any of the merchant accounts that were returned when registering the POS.\n\n\ntender_reference\nchar\n\nA reference to the tender provided by the PED.\n\n\nterminal_id\nchar\n\nThe\u00a0terminal_id\u00a0of the PED.\n\n\nhandle_receipt\nboolean\n\nSpecifies that the POS handles and prints receipts. If omitted, it is required that the PED prints the receipt. If there is no printer unit, the transaction will fail.\n\n\nadditional_data_obj\nadditional_data_struct\n\nContains key\/value pairs that can be used by the merchant to return specific additional data, in particular in the final transaction result.\n\n\n","type":"page","locale":"pt","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"C library integration","lvl5":"Structs","lvl6":"cancel_or_refund_on_terminal_request"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs","lvl6":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/cancel_or_refund_on_terminal_request"},"levels":7,"category":"In-person payments","category_color":"green","tags":["cancel_or_refund_on_terminal_request"]}}
