{"title":"Check the status of a refund","category":"default","creationDate":1776961627,"content":"<h2 id=\"class\">Class<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Type<\/th>\n<th>Required<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>ADYRefundData<\/code><\/td>\n<td>NSObject<\/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>Instances of this class represent a refund on a particular transaction. A single transaction can have multiple refund instances. This is because a transaction can be refunded as a whole or partially. For example: when a customer purchased more than one item with one payment, but decides later on that one of the items is not satisfactory, only a part of the original transaction should be refunded. This can occur a number of times until all of the original amount has been refunded. The amount has to be refunded in the same currency as the original transaction.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"parameters\">Parameters<\/h2>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 10%\"><col style=\"width: 11%\"><col style=\"width: 5%\"><col style=\"width: 72%\"><\/colgroup><thead><tr class=\"header\"><th>Name<\/th><th>Type<\/th><th>Required<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>pspReference<\/code><\/td><td><p>NSString<\/p><\/td><td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td><td><p>The unique <code>pspReference<\/code> to identify this refund.<\/p><\/td><\/tr><tr><td><code>amount<\/code><\/td><td>NSNumber<\/td><td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td><td>The amount that was refunded.<\/td><\/tr><tr><td><code>date<\/code><\/td><td>NSDate<\/td><td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td><td>The date\/time this refund was completed.<\/td><\/tr><tr><td><code>reference<\/code><\/td><td>NSString<\/td><td><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td><td>A reference or description for this refund.<\/td><\/tr><tr><td><code>processingState<\/code><\/td><td>ADYProcessingState<\/td><td><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/td><td><p>The processing state of the refund, indicating if the refund was already submitted to the server or is waiting for a working internet connection. Can be `<code>ADYProcessingStateProcessed<\/code>` or `<code>ADYProcessingStateReversalPending<\/code>`.<\/p><\/td><\/tr><\/tbody><\/table>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/ios-integration\/key-steps-ios\/process-a-basic-transaction-ios\/check-the-status-of-a-refund-ios","articleFields":{"id":"39946504","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/ios-integration\/key-steps-ios\/process-a-basic-transaction-ios\/check-the-status-of-a-refund-ios","title":"Check the status of a refund","content":"Class\n\n\n\nName\nType\nRequired\nDescription\n\n\n\n\nADYRefundData\nNSObject\n\nInstances of this class represent a refund on a particular transaction. A single transaction can have multiple refund instances. This is because a transaction can be refunded as a whole or partially. For example: when a customer purchased more than one item with one payment, but decides later on that one of the items is not satisfactory, only a part of the original transaction should be refunded. This can occur a number of times until all of the original amount has been refunded. The amount has to be refunded in the same currency as the original transaction.\n\n\n\nParameters\nNameTypeRequiredDescriptionpspReferenceNSStringThe unique pspReference to identify this refund.amountNSNumberThe amount that was refunded.dateNSDateThe date\/time this refund was completed.referenceNSStringA reference or description for this refund.processingStateADYProcessingStateThe processing state of the refund, indicating if the refund was already submitted to the server or is waiting for a working internet connection. Can be `ADYProcessingStateProcessed` or `ADYProcessingStateReversalPending`.","type":"page","locale":"pt","boost":13,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"iOS integration","lvl5":"Key steps","lvl6":"Process a basic transaction","lvl7":"Check the status of a refund"},"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\/ios-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/ios-integration\/key-steps-ios","lvl6":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/ios-integration\/key-steps-ios\/process-a-basic-transaction-ios","lvl7":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/ios-integration\/key-steps-ios\/process-a-basic-transaction-ios\/check-the-status-of-a-refund-ios"},"levels":8,"category":"In-person payments","category_color":"green","tags":["Check","status","refund"]}}
