{"title":"load_request","category":"default","creationDate":1776961627,"content":"<h2 id=\"parameters\">Parameters<\/h2>\n<table><thead><tr class=\"header\"><th>Name<\/th><th>Type<\/th><th>Required<\/th><th>Definition<\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>ped<\/code><\/p>\n<\/td><td>\n<p>void<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>If not specified the PED object will be automatically populated<\/p>\n<\/td><\/tr><tr><td>\n<p><code>merchant_account<\/code><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>\u00a0The merchant account processing this transaction.\u00a0Transactions can be performed with any of the merchant accounts that were returned when registering the POS. Use a merchant account that you provided during <a href=\"\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/key-steps-com-extension\/register-the-application-with-adyen-com-extension\">app registration<\/a> .\u00a0<\/p>\n<\/td><\/tr><tr><td>\n<p><code>terminal_id<\/code><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>The\u00a0<code>terminal_id<\/code>\u00a0of the PED.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>card_type<\/code>\u00a0<\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>The type of gift card.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>load_type<\/code>\u00a0<\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>Gift Card Providers allow for many types of loads to cards. For example, merchandising return loads are used to credit returns to a card. Pass the default value: <span translate=\"no\"><strong>load<\/strong><\/span>. For Givex cards pass either <span translate=\"no\"><strong>load<\/strong><\/span> for balance load, or <span translate=\"no\"><strong>merchandise_return<\/strong><\/span> for refunds. <code>load_type<\/code> can take the following values:<span translate=\"no\"><strong>activate<\/strong><\/span> - Activates a gift card.<span translate=\"no\"><strong><strong>load<\/strong><\/strong><\/span> - Loads a balance to a gift card<strong><strong>.<\/strong><\/strong><span translate=\"no\"><strong><strong><strong>merchandise_return<\/strong><\/strong><\/strong><\/span> - Load a refund balance back on to a gift card. This uses the same functionally as a load but is separated for accounting purposes.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>reference<\/code><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>A reference for this request.\u00a0Allows the merchant to identify the transaction.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>card_number<\/code><\/p>\n<\/td><td>\n<p>String<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>The gift card number.<div class=\"sc-notice note\"><div><\/p>\n<p>Use of this parameter depends on selection of the <a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library\/start-gift-card-transactions-c-library\/manual-keyed-entry-and-passing-of-card-details-c-library\">Manual Keyed Entry<\/a>\u00a0option.<\/p>\n<\/div><\/div>\n<\/td><\/tr><tr><td>\n<p><code>expiry_month<\/code><\/p>\n<\/td><td>\n<p>Long<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Month of expiration.<div class=\"sc-notice note\"><div><\/p>\n<p>Use of this parameter depends on selection of the <a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library\/start-gift-card-transactions-c-library\/manual-keyed-entry-and-passing-of-card-details-c-library\">Manual Keyed Entry<\/a>\u00a0option.<\/p>\n<\/div><\/div>\n<\/td><\/tr><tr><td>\n<p><code>expiry_year<\/code><\/p>\n<\/td><td>\n<p>Long<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Year of expiration.<div class=\"sc-notice note\"><div><\/p>\n<p>Use of this parameter depends on selection of the <a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library\/start-gift-card-transactions-c-library\/manual-keyed-entry-and-passing-of-card-details-c-library\">Manual Keyed Entry<\/a>\u00a0option.<\/p>\n<\/div><\/div>\n<\/td><\/tr><tr><td>\n<p><code>card_mask<\/code><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>A mask to validate the correct number of digits to enter.<div class=\"sc-notice note\"><div><\/p>\n<p>Use of this parameter depends on selection of the <a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library\/start-gift-card-transactions-c-library\/manual-keyed-entry-and-passing-of-card-details-c-library\">Manual Keyed Entry<\/a>\u00a0option.<\/p>\n<\/div><\/div>\n<\/td><\/tr><tr><td>\n<p><code>card_mask_min<\/code><\/p>\n<\/td><td>\n<p>int<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Minimum number of characters in the card mask.<div class=\"sc-notice note\"><div><\/p>\n<p>Use of this parameter depends on selection of the <a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library\/start-gift-card-transactions-c-library\/manual-keyed-entry-and-passing-of-card-details-c-library\">Manual Keyed Entry<\/a>\u00a0option.<\/p>\n<\/div><\/div>\n<\/td><\/tr><tr><td>\n<p><code>card_mask_max<\/code><\/p>\n<\/td><td>\n<p>int<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Maximum number of characters in the card mask.<div class=\"sc-notice note\"><div><\/p>\n<p>Use of this parameter depends on selection of the <a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library\/start-gift-card-transactions-c-library\/manual-keyed-entry-and-passing-of-card-details-c-library\">Manual Keyed Entry<\/a>\u00a0option.<\/p>\n<\/div><\/div>\n<\/td><\/tr><tr><td>\n<p><code>amount_currency<\/code><\/p>\n<\/td><td>\n<p>char<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>The currency of the balance.\u00a0<\/p>\n<\/td><\/tr><tr><td>\n<p><code>amount_value<\/code><\/p>\n<\/td><td>\n<p>long<\/p>\n<\/td><td>\n<p><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/p>\n<\/td><td>\n<p>The value of the balance.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>tender_options_obj<\/code><\/p>\n<\/td><td>\n<p><a href=\"\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/com-extension-for-windows-objects\/tenderoption\">t<\/a>tender_options_struct<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>An enum of type\u00a0<code>TENDER_OPTIONS<\/code>. For a list of tender options, see\u00a0<a href=\"\/pt\/point-of-sale\/add-data\/tender-options\">Tender Options<\/a>.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>additional_data_obj<\/code><\/p>\n<\/td><td>\n<p>additional_data_struct<\/p>\n<\/td><td>\n<p><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/p>\n<\/td><td>\n<p>Register additional data with the transaction if necessary.\u00a0<div class=\"sc-notice info\"><div>number_of_additional_data_entries: defines the number of entries in the <code>additional_data<\/code> array.<\/div><\/div><\/p>\n<\/td><\/tr><\/tbody><\/table>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/load_request","articleFields":{"id":"28873359","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\/load_request","title":"load_request","content":"Parameters\nNameTypeRequiredDefinition\nped\n\nvoid\n\n\n\nIf not specified the PED object will be automatically populated\n\nmerchant_account\n\nchar\n\n\n\n\u00a0The merchant account processing this transaction.\u00a0Transactions can be performed with any of the merchant accounts that were returned when registering the POS. Use a merchant account that you provided during app registration .\u00a0\n\nterminal_id\n\nchar\n\n\n\nThe\u00a0terminal_id\u00a0of the PED.\n\ncard_type\u00a0\n\nchar\n\n\n\nThe type of gift card.\n\nload_type\u00a0\n\nchar\n\n\n\nGift Card Providers allow for many types of loads to cards. For example, merchandising return loads are used to credit returns to a card. Pass the default value: load. For Givex cards pass either load for balance load, or merchandise_return for refunds. load_type can take the following values:activate - Activates a gift card.load - Loads a balance to a gift card.merchandise_return - Load a refund balance back on to a gift card. This uses the same functionally as a load but is separated for accounting purposes.\n\nreference\n\nchar\n\n\n\nA reference for this request.\u00a0Allows the merchant to identify the transaction.\n\ncard_number\n\nString\n\n\n\nThe gift card number.\nUse of this parameter depends on selection of the Manual Keyed Entry\u00a0option.\n\n\nexpiry_month\n\nLong\n\n\n\nMonth of expiration.\nUse of this parameter depends on selection of the Manual Keyed Entry\u00a0option.\n\n\nexpiry_year\n\nLong\n\n\n\nYear of expiration.\nUse of this parameter depends on selection of the Manual Keyed Entry\u00a0option.\n\n\ncard_mask\n\nchar\n\n\n\nA mask to validate the correct number of digits to enter.\nUse of this parameter depends on selection of the Manual Keyed Entry\u00a0option.\n\n\ncard_mask_min\n\nint\n\n\n\nMinimum number of characters in the card mask.\nUse of this parameter depends on selection of the Manual Keyed Entry\u00a0option.\n\n\ncard_mask_max\n\nint\n\n\n\nMaximum number of characters in the card mask.\nUse of this parameter depends on selection of the Manual Keyed Entry\u00a0option.\n\n\namount_currency\n\nchar\n\n\n\nThe currency of the balance.\u00a0\n\namount_value\n\nlong\n\n\n\nThe value of the balance.\n\ntender_options_obj\n\nttender_options_struct\n\n\n\nAn enum of type\u00a0TENDER_OPTIONS. For a list of tender options, see\u00a0Tender Options.\n\nadditional_data_obj\n\nadditional_data_struct\n\n\n\nRegister additional data with the transaction if necessary.\u00a0number_of_additional_data_entries: defines the number of entries in the additional_data array.\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":"load_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\/load_request"},"levels":7,"category":"In-person payments","category_color":"green","tags":["load_request"]}}
