# Refunding with the API

You can refund transactions processed with Finix programmatically using the Finix API instead of a user interface. The API supports refunds for both online and in-person payments.

## Refunding online Payments

To refund a `Transfer` via API, [create a reversal Transfer](/api/transfers/createtransferreversal). Pass the `id` query parameter set to the original `Transfer` you want to refund.

Include an `amount` equal to or less than the payment to refund. Enter a value less than the payment amount for a partial refund.

Example
```shell cURL
curl -i -X POST \
  -u '<username>:<password>' \
  https://finix.sandbox-payments-api.com/transfers/TRrC36MYGH6n67wRfYs8w8RK/reversals \
  -H 'Content-Type: application/json' \
  -H 'Finix-Version: 2022-02-01' \
  -d '{
    "refund_amount": 1000
  }'
```

API Definition
```json
{
  "$ref": "#/components/schemas/createTransferReversal",
  "components": {
    "schemas": {
      "createTransferReversal": {
        "title": "Refund Transfer",
        "properties": {
          "refund_amount": {
            "type": "integer",
            "description": "The amount of the refund in cents. It must be equal to or less than the amount of the original `Transfer`."
          }
        },
        "required": [
          "refund_amount"
        ]
      }
    }
  }
}
```

A successful request returns a `201 Created` status code, with the response body containing:

- `parent_transfer` representing the `Transfer` that was reversed.
- `state` - Initially set to `PENDING` to indicate that the refund is still processing.
  - Changes to `SUCCEEDED` when the refund is processed.
- `type` set to `REVERSAL`.


Example
Transfer - Reversal
```json Transfer - Reversal
{
  "id": "TRhop5SzZD5AbRGz6HC6qB5w",
  "created_at": "2026-09-25T20:36:25.76Z",
  "updated_at": "2026-09-25T20:36:25.79Z",
  "3d_secure_session": null,
  "additional_buyer_charges": null,
  "additional_healthcare_data": null,
  "additional_lodging_data": null,
  "additional_motor_vehicle_rental_data": null,
  "additional_purchase_data": null,
  "address_verification": null,
  "amount": 1000,
  "amount_requested": 1000,
  "application": "APc9vhYcPsRuTSpKD9KpMtPe",
  "created_via": "UNKNOWN",
  "currency": "USD",
  "destination": "PI6iQcTtJNCS8GZAVKYi5Ueb",
  "expires_at": "2026-11-09T20:36:25.76Z", // [!code highlight]
  "externally_funded": "UNKNOWN",
  "failure_code": null,
  "failure_message": null,
  "fee": 0,
  "fee_profile": "FPuizPqrhzYLbmJm88u7aqfj",
  "idempotency_id": null,
  "ip_address_details": null,
  "merchant": "MUmfEGv5bMpSJ9k5TFRUjkmm",
  "merchant_identity": "ID6UfSm1d4WPiWgLYmbyeo3H",
  "messages": [],
  "network_details": null,
  "operation_key": "CARD_NOT_PRESENT_REFUND",
  "parent_transfer": "TRqvNLUdn3aPmdwLMSKs3Gxz", // [!code highlight]
  "parent_transfer_trace_id": null,
  "processed_at": null,
  "raw": null,
  "ready_to_settle_at": null,
  "receipt_last_printed_at": null,
  "security_code_verification": null,
  "source": null,
  "split_transfers": [],
  "state": "PENDING", // [!code highlight]
  "statement_descriptor": "FLX*FINIX FLOWERS",
  "subtype": "API",
  "supplemental_fee": null,
  "tags": {},
  "third_party_details": null,
  "tip_amount": null,
  "trace_id": "9fc0c015-0d97-49f1-93a6-b845d4e50c01",
  "type": "REVERSAL", // [!code highlight]
  "_links": {
    "application": {
      "href": "https://finix.sandbox-payments-api.com/applications/APc9vhYcPsRuTSpKD9KpMtPe"
    },
    "self": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TRhop5SzZD5AbRGz6HC6qB5w"
    },
    "parent": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TRqvNLUdn3aPmdwLMSKs3Gxz"
    },
    "destination": {
      "href": "https://finix.sandbox-payments-api.com/payment_instruments/PI6iQcTtJNCS8GZAVKYi5Ueb"
    },
    "merchant_identity": {
      "href": "https://finix.sandbox-payments-api.com/identities/ID6UfSm1d4WPiWgLYmbyeo3H"
    },
    "payment_instruments": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TRhop5SzZD5AbRGz6HC6qB5w/payment_instruments"
    },
    "fee_profile": {
      "href": "https://finix.sandbox-payments-api.com/fee_profiles/FPuizPqrhzYLbmJm88u7aqfj"
    }
  }
}
```

API Definition
```json
{
  "$ref": "#/components/schemas/transfer",
  "components": {
    "schemas": {
      "id": {
        "type": "string",
        "minLength": 1,
        "description": "The ID of the resource."
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "description": "Timestamp of when the object was created."
      },
      "updated_at": {
        "type": "string",
        "format": "date-time",
        "description": "Timestamp of when the object was last updated."
      },
      "additional_buyer_charges": {
        "type": "object",
        "description": "Additional charges will be incurred by the buyer.\n\nThe following rules apply:\n\n- The `Merchant` must be enabled to charge these surcharges by setting the appropriate flags for each applicable surcharge to `true` using the PUT `/merchants` endpoint.\n- Only _one_ of the following charges can be applied during creation.\n",
        "nullable": true,
        "properties": {
          "convenience_amount": {
            "type": "integer",
            "description": "A convenience fee to charge the buyer for the transaction. This object property is mutually exclusive.",
            "nullable": true
          },
          "rent_surcharge_amount": {
            "type": "integer",
            "description": "A rent surcharge to charge the buyer for the transaction. This object property is mutually exclusive.",
            "nullable": true
          },
          "surcharge_amount": {
            "type": "integer",
            "description": "A surcharge amount to charge the buyer for the transaction. This object property is mutually exclusive.",
            "nullable": true
          }
        }
      },
      "additional_healthcare_data": {
        "type": "object",
        "nullable": true,
        "properties": {
          "clinic_amount": {
            "type": "integer",
            "description": "A clinic or other qualified medical amount for the transaction.",
            "nullable": true
          },
          "dental_amount": {
            "type": "integer",
            "description": "The dental amount for the transaction.",
            "nullable": true
          },
          "prescription_amount": {
            "type": "integer",
            "description": "The prescription/RX amount for the transaction.",
            "nullable": true
          },
          "vision_amount": {
            "type": "integer",
            "description": "The vision/optical amount for the transaction.",
            "nullable": true
          }
        }
      },
      "additional_lodging_data": {
        "type": "object",
        "nullable": true,
        "description": "Contains lodging-specific fields for `Authorization` and `Transfer` requests. Optional for lodging MCC transactions (MCC 3501–3999, 7011). Returns `null` for all other transactions.",
        "properties": {
          "check_in_date": {
            "type": "object",
            "nullable": true,
            "description": "The guest's scheduled arrival date.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the check-in date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the check-in date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the check-in date."
              }
            }
          },
          "check_out_date": {
            "type": "object",
            "nullable": true,
            "description": "The guest's scheduled departure date. Must represent a date on or after `check_in_date`.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the check-out date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the check-out date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the check-out date."
              }
            }
          },
          "customer_service_phone": {
            "type": "string",
            "nullable": true,
            "description": "The phone number guests can call for support or inquiries related to their stay."
          },
          "extra_charge_details": {
            "type": "object",
            "nullable": true,
            "description": "Additional charges billed beyond the room rate. Each field represents a specific charge type, in cents.",
            "properties": {
              "restaurant_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "mini_bar_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "laundry_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "other_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "phone_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "gift_shop_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              }
            }
          },
          "hotel_agreement_number": {
            "type": "string",
            "nullable": true,
            "description": "The folio or agreement number associated with the reservation. Max 12 characters; longer values are truncated."
          },
          "is_advance_deposit": {
            "type": "boolean",
            "nullable": true,
            "default": false,
            "description": "Indicates whether the lodging charge is an advance deposit."
          },
          "is_no_show": {
            "type": "boolean",
            "nullable": true,
            "default": false,
            "description": "Set to `true` if the cardholder is being billed for a reserved room that was not occupied."
          },
          "number_of_nights": {
            "type": "integer",
            "nullable": true,
            "description": "The total number of nights for the lodging stay."
          },
          "property_phone": {
            "type": "string",
            "nullable": true,
            "description": "The direct phone number of the lodging property."
          },
          "room_rate": {
            "type": "string",
            "nullable": true,
            "description": "The nightly room rate, in cents."
          },
          "room_tax": {
            "type": "string",
            "nullable": true,
            "description": "The tax amount applied to the room rate, in cents."
          }
        }
      },
      "country": {
        "type": "string",
        "enum": [
          "ABW",
          "AFG",
          "AGO",
          "AIA",
          "ALA",
          "ALB",
          "AND",
          "ARE",
          "ARG",
          "ARM",
          "ASM",
          "ATA",
          "ATF",
          "ATG",
          "AUS",
          "AUT",
          "AZE",
          "BDI",
          "BEL",
          "BEN",
          "BES",
          "BFA",
          "BGD",
          "BGR",
          "BHR",
          "BHS",
          "BIH",
          "BLM",
          "BLR",
          "BLZ",
          "BMU",
          "BOL",
          "BRA",
          "BRB",
          "BRN",
          "BTN",
          "BVT",
          "BWA",
          "CAF",
          "CAN",
          "CCK",
          "CHE",
          "CHL",
          "CHN",
          "CIV",
          "CMR",
          "COD",
          "COG",
          "COK",
          "COL",
          "COM",
          "CPV",
          "CRI",
          "CUB",
          "CUW",
          "CXR",
          "CYM",
          "CYP",
          "CZE",
          "DEU",
          "DJI",
          "DMA",
          "DNK",
          "DOM",
          "DZA",
          "ECU",
          "EGY",
          "ERI",
          "ESH",
          "ESP",
          "EST",
          "ETH",
          "FIN",
          "FJI",
          "FLK",
          "FRA",
          "FRO",
          "FSM",
          "GAB",
          "GBR",
          "GEO",
          "GGY",
          "GHA",
          "GIB",
          "GIN",
          "GLP",
          "GMB",
          "GNB",
          "GNQ",
          "GRC",
          "GRD",
          "GRL",
          "GTM",
          "GUF",
          "GUM",
          "GUY",
          "HKG",
          "HMD",
          "HND",
          "HRV",
          "HTI",
          "HUN",
          "IDN",
          "IMN",
          "IND",
          "IOT",
          "IRL",
          "IRN",
          "IRQ",
          "ISL",
          "ISR",
          "ITA",
          "JAM",
          "JEY",
          "JOR",
          "JPN",
          "KAZ",
          "KEN",
          "KGZ",
          "KHM",
          "KIR",
          "KNA",
          "KOR",
          "KWT",
          "LAO",
          "LBN",
          "LBR",
          "LBY",
          "LCA",
          "LIE",
          "LKA",
          "LSO",
          "LTU",
          "LUX",
          "LVA",
          "MAC",
          "MAF",
          "MAR",
          "MCO",
          "MDA",
          "MDG",
          "MDV",
          "MEX",
          "MHL",
          "MKD",
          "MLI",
          "MLT",
          "MMR",
          "MNE",
          "MNG",
          "MNP",
          "MRT",
          "MSR",
          "MTQ",
          "MUS",
          "MWI",
          "MYS",
          "MYT",
          "NAM",
          "NCL",
          "NER",
          "NFK",
          "NGA",
          "NIC",
          "NIU",
          "NLD",
          "NOR",
          "NPL",
          "NRU",
          "NZL",
          "OMN",
          "PAK",
          "PAN",
          "PCN",
          "PER",
          "PHL",
          "PLW",
          "PNG",
          "POL",
          "PRI",
          "PRK",
          "PRT",
          "PRY",
          "PSE",
          "PYF",
          "QAT",
          "REU",
          "ROU",
          "RUS",
          "RWA",
          "SAU",
          "SDN",
          "SEN",
          "SGP",
          "SGS",
          "SHN",
          "SJM",
          "SLB",
          "SLE",
          "SLV",
          "SMR",
          "SOM",
          "SPM",
          "SRB",
          "SSD",
          "STP",
          "SUR",
          "SVK",
          "SVN",
          "SWE",
          "SWZ",
          "SXM",
          "SYC",
          "SYR",
          "TCA",
          "TCD",
          "TGO",
          "THA",
          "TJK",
          "TKL",
          "TKM",
          "TLS",
          "TON",
          "TTO",
          "TUN",
          "TUR",
          "TUV",
          "TWN",
          "TZA",
          "UGA",
          "UKR",
          "UMI",
          "URY",
          "USA",
          "UZB",
          "VAT",
          "VCT",
          "VEN",
          "VGB",
          "VIR",
          "VNM",
          "VUT",
          "WLF",
          "WSM",
          "XKX",
          "YEM",
          "ZAF",
          "ZMB",
          "ZWE"
        ],
        "nullable": true
      },
      "address": {
        "type": "object",
        "properties": {
          "line1": {
            "type": "string",
            "minLength": 1,
            "description": "First line of the address (max 35 characters).",
            "nullable": true
          },
          "line2": {
            "type": "string",
            "minLength": 1,
            "description": "Second line of the address (max 35 characters).",
            "nullable": true
          },
          "city": {
            "type": "string",
            "minLength": 1,
            "description": "City (max 20 characters).",
            "nullable": true
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "description": "2-letter State code.",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "minLength": 1,
            "description": "Zip or Postal code (max 7 characters).",
            "nullable": true
          },
          "country": {
            "$ref": "#/components/schemas/country"
          }
        },
        "required": [
          "city",
          "country",
          "line1",
          "postal_code",
          "region"
        ]
      },
      "additional_motor_vehicle_rental_data": {
        "type": "object",
        "nullable": true,
        "description": "Contains motor vehicle rental-specific fields for `Authorization` and `Transfer` requests. Optional for motor vehicle rental MCC transactions (MCC 3351–3500, 7512). Returns `null` for all other transactions.",
        "properties": {
          "motor_vehicle_rental_agreement_number": {
            "type": "string",
            "nullable": true,
            "description": "The rental agreement or contract reference number for the rental. Max 9 characters; longer values are truncated."
          },
          "customer_service_number": {
            "type": "string",
            "nullable": true,
            "description": "The phone number customers can call for support or inquiries related to their rental."
          },
          "extra_charge_details": {
            "type": "object",
            "nullable": true,
            "description": "Additional charges beyond the base rental rate being billed. Each field represents a specific charge type, in cents.",
            "properties": {
              "extra_mileage_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "fuel_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "insurance_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "late_return_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "one_way_service_fee_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "parking_violation_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              }
            }
          },
          "is_no_show": {
            "type": "boolean",
            "nullable": true,
            "default": false,
            "description": "An indicator that the cardholder is being billed for a reserved vehicle that was not actually rented (that is, a \"no-show\" charge)."
          },
          "number_of_days": {
            "type": "integer",
            "nullable": true,
            "description": "The total number of days for the vehicle rental."
          },
          "rental_rate": {
            "type": "string",
            "nullable": true,
            "description": "The daily rental rate for the vehicle, in cents."
          },
          "renter_name": {
            "type": "string",
            "nullable": true,
            "description": "The name of the person renting the vehicle."
          },
          "pickup_address": {
            "nullable": true,
            "description": "The full address of the rental pickup location.",
            "allOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ]
          },
          "pickup_date": {
            "type": "object",
            "nullable": true,
            "description": "The scheduled vehicle pickup date.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the pickup date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the pickup date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the pickup date."
              }
            }
          },
          "return_address": {
            "nullable": true,
            "description": "The full address of the vehicle return location.",
            "allOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ]
          },
          "return_date": {
            "type": "object",
            "nullable": true,
            "description": "The scheduled vehicle return date. Must be on or after `pickup_date`.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the return date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the return date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the return date."
              }
            }
          }
        }
      },
      "customer_reference_number": {
        "type": "string",
        "description": "A unique reference ID for the order such as a purchase order (PO) number or invoice number. A purchase order number (PO number) is a unique code assigned to a specific order of goods or services. The buyer creates this number when they make a purchase order. It helps both the buyer and the seller track the order, match invoices, and keep accurate financial records.",
        "maxLength": 17
      },
      "additional_purchase_data": {
        "type": "object",
        "description": "Additional information about the purchase used for [Level 2 and Level 3 Processing](/guides/online-payments/payment-features/level-2-level-3-processing). Please note that Visa is ending its Level 2 offering in April 2026.",
        "nullable": true,
        "properties": {
          "customer_reference_number": {
            "$ref": "#/components/schemas/customer_reference_number"
          },
          "customs_duty_amount": {
            "type": "integer",
            "nullable": true,
            "description": "The duty in cents on the total purchase amount for the order."
          },
          "destination_country_code": {
            "type": "string",
            "nullable": true,
            "description": "The ISO country code of the order destination."
          },
          "destination_postal_code": {
            "type": "string",
            "nullable": true,
            "description": "The postal code of the order destination (10 characters).",
            "maxLength": 10
          },
          "discount_amount": {
            "type": "integer",
            "nullable": true,
            "description": "The amount in cents of the discount for the order. You must include this field to qualify for Level 3 interchange benefits. Even if the value is (0), you should pass the field to qualify for Level 3."
          },
          "invoice_reference_number": {
            "type": "string",
            "nullable": true,
            "description": "The order's invoice number (max 15 characters).",
            "maxLength": 15
          },
          "order_date": {
            "type": "object",
            "nullable": true,
            "properties": {
              "day": {
                "type": "integer",
                "description": "Day of purchase (between 1 and 31)."
              },
              "month": {
                "type": "integer",
                "description": "Month of purchase (between 1 and 12)."
              },
              "year": {
                "type": "integer",
                "description": "Year of purchase (4-digit).",
                "minimum": 1990
              }
            }
          },
          "sales_tax": {
            "type": "integer",
            "nullable": true,
            "description": "- Total aggregate tax amount in cents for the entire purchase. Field is automatically calculated if you pass in the itemized tax amounts.\n- For non-taxable transactions either set `sales_tax` to 0 or omit from payload and also set `tax_exempt` to **True**.\n- Request must align so `amount_excluding_sales_tax` + `sales_tax` = `amount_including_sales_tax`.\n- For Visa, this field no longer qualifies for lower interchange after April 17, 2026. Include `item_data` for Level 3 processing."
          },
          "sales_tax_finix_generated": {
            "type": "integer",
            "description": "The sales tax amount in cents Finix calculated from the `item_data` line items.",
            "nullable": true
          },
          "ship_from_postal_code": {
            "type": "string",
            "nullable": true,
            "description": "The postal code from where order is shipped (10 characters).",
            "maxLength": 10
          },
          "shipping_amount": {
            "type": "integer",
            "nullable": true,
            "description": "The shipping cost in cents for the order.\n"
          },
          "tax_exempt": {
            "type": "boolean",
            "description": "- For tax exempt purchases set to **True**.\n- If set to **True**, request can't include `sales_tax`."
          },
          "item_data": {
            "type": "array",
            "description": "Additional information about the transaction. Used for Level 2 and Level 3 Processing.",
            "items": {
              "type": "object",
              "properties": {
                "amount_excluding_sales_tax": {
                  "type": "integer",
                  "description": "- Total cost of the line item in cents, excluding tax.\n- Must align with `sales_tax` so `amount_excluding_sales_tax` + `sales_tax` = `amount_including_sales_tax`."
                },
                "amount_including_sales_tax": {
                  "type": "integer",
                  "description": "- Total cost of the line item in cents, including tax.\n- Must align with `sales_tax` so `amount_excluding_sales_tax` + `sales_tax` = `amount_including_sales_tax`."
                },
                "commodity_code": {
                  "description": "A commodity code is a numeric code representing a particular product or service as defined by the National Institute of Governmental Purchasing. The code can be 3, 5, 7, or 11 digits in length. The longer the code the more granular the description of the product/service. (max 12 characters).",
                  "type": "string",
                  "maxLength": 12
                },
                "cost_per_unit": {
                  "type": "integer",
                  "description": "The price in cents, excluding tax, of one unit of the item purchased."
                },
                "item_description": {
                  "type": "string",
                  "description": "Required when `item_data` is supplied (max 25 characters).",
                  "maxLength": 25
                },
                "item_discount_amount": {
                  "type": "integer",
                  "description": "The item discount amount in cents. You must include this field to qualify for Level 3 interchange benefits. Even if the value is (0), you should pass the field to qualify for Level 3."
                },
                "merchant_product_code": {
                  "type": "string",
                  "description": "Merchant defined product code (max 12 characters).",
                  "maxLength": 12
                },
                "quantity": {
                  "type": "number",
                  "description": "The number of items purchased. Must be greater than 0.",
                  "minimum": 1,
                  "maximum": 99
                },
                "unit_of_measure": {
                  "type": "string",
                  "description": "The unit of measure of the purchased item (max 3 characters).",
                  "maxLength": 3
                },
                "sales_tax_amount": {
                  "type": "integer",
                  "description": "The sales tax amount in cents for the line item."
                },
                "sales_tax_rate": {
                  "type": "number",
                  "description": "The sales tax rate for the line item as a decimal (e.g., 0.25 equals 25%).",
                  "example": 0.25
                }
              }
            }
          }
        }
      },
      "amount": {
        "type": "integer",
        "description": "The total amount that will be debited in cents (e.g. 100 cents to debit $1.00).",
        "example": 5000,
        "format": "int64"
      },
      "tags": {
        "type": "object",
        "title": "tags",
        "additionalProperties": true,
        "description": "Include up to 50 `key: value` pairs to annotate requests with custom metadata.\n- Maximum character length for individual `keys` is 40.\n- Maximum character length for individual `values` is 500.\n(For example, `order_number: 25`, `item_type: produce`, `department: sales`)",
        "nullable": true
      },
      "currency": {
        "type": "string",
        "description": "ISO 4217 3-letter currency code.",
        "enum": [
          "CAD",
          "USD"
        ]
      },
      "created_via_transfers_authorizations": {
        "type": "string",
        "description": "Gives more information about the product flow that was used to create the resource. Finix retains the right to add additional enums for this field without it being a breaking change.",
        "default": "UNKNOWN",
        "enum": [
          "CARD_PRESENT_ANDROID_APP",
          "CARD_PRESENT_ANDROID_APP_MANUAL_ENTRY",
          "CARD_PRESENT_ANDROID_D135_SDK",
          "CARD_PRESENT_DEVICE_READER_SDK",
          "CARD_PRESENT_IOS_APP",
          "CARD_PRESENT_IOS_APP_MANUAL_ENTRY",
          "CARD_PRESENT_IOS_D135_SDK",
          "CARD_PRESENT_IOS_TAP_TO_PAY",
          "CARD_PRESENT_IOS_TAP_TO_PAY_SDK",
          "CARD_PRESENT_SEMI_INTEGRATED_API",
          "CARD_PRESENT_STANDALONE",
          "CARD_PRESENT_STANDALONE_MANUAL_ENTRY",
          "CHECKOUT_FORM",
          "CYBERSOURCE",
          "DEVICE_ORDER",
          "PAYMENT_LINK",
          "PAYOUT_LINK",
          "PLUGIN_ADMOJI",
          "PLUGIN_CHECKOUT_CHAMP",
          "PLUGIN_FYNTEK",
          "PLUGIN_GAMBLE_ID",
          "PLUGIN_GAMMA_SWEEP",
          "PLUGIN_GR4VY",
          "PLUGIN_HYPERSWITCH",
          "PLUGIN_LACORE",
          "PLUGIN_PAYSIGHT",
          "PLUGIN_PRYZR",
          "PLUGIN_SERVMAN",
          "PLUGIN_SOAP_PAY",
          "PLUGIN_STICKYIO",
          "PLUGIN_TAGADA",
          "PLUGIN_WOO_COMMERCE",
          "PLUGIN_VRIO",
          "SUBSCRIPTION",
          "UNKNOWN",
          "VIRTUAL_TERMINAL"
        ]
      },
      "failure_code": {
        "type": "string",
        "description": "The code of the failure so the decline can be handled programmatically. For more info on how to handle the failure, see [Failure Codes](/additional-resources/developers/implementation-and-testing/failure-codes).",
        "nullable": true
      },
      "failure_message": {
        "type": "string",
        "description": "A human-readable description of why the transaction was declined. This will also include a suggestion on how to complete the payment.",
        "nullable": true
      },
      "fee_transfer": {
        "type": "integer",
        "format": "int64",
        "description": "The minimum amount of the `Transfer` you'd like to collect as your fee in cents. Defaults to zero (must be less than or equal to the `amount`).\n- If the fees applied by the 'Fee Profile' are ***higher*** than the value passed in 'fee', 'fee' will not be applied and have no effect.\n- If the fees applied by the 'Fee Profile' are ***lower*** than the value passed in 'fee', an additional fee is be applied, in addition to the fees generated by the `Fee Profile`.\n    - The additional fee is equal to the difference between the value passed in 'fee' and the fees generated by the `Fee Profile`."
      },
      "funds_flow_type": {
        "type": "string",
        "description": "The type of disbursement to perform. Defaults to `GENERAL_PAYOUT`.\n",
        "enum": [
          "GENERAL_PAYOUT",
          "ME_TO_ME",
          "GOVERNMENT"
        ],
        "nullable": true
      },
      "idempotency_id": {
        "type": "string",
        "description": "Pass any randomly generated or internal ID to [idempotently](/api/section/idempotent-requests) identify `Transfers`, `Authorizations`, or refund requests.",
        "nullable": true
      },
      "statement_descriptor": {
        "type": "string",
        "maxLength": 20,
        "nullable": true,
        "description": "The description of the `Merchant` that appears on the buyer's bank or card statement."
      },
      "application_link": {
        "type": "object",
        "description": "Link to the `Application` the request was made under.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "self": {
        "type": "object",
        "description": "Link to the resource that was used in the request.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "transfer": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "created_at": {
            "$ref": "#/components/schemas/created_at"
          },
          "updated_at": {
            "$ref": "#/components/schemas/updated_at"
          },
          "3d_secure_session": {
            "type": "string",
            "nullable": true,
            "description": "The ID of the `3D Secure Session` that authenticated the buyer. This field is `null` when the payment was not authenticated with a `3D Secure Session`.",
            "example": "3d_secure_session_f3fG3Zj8K958MTP5vpXAXX"
          },
          "additional_buyer_charges": {
            "description": "Details about any [Buyer Charges](../../../../guides/online-payments/payment-features/buyer-charges) included in the `Transfer`. The buyer charges are mutually exclusive.\n",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_buyer_charges"
              }
            ]
          },
          "additional_healthcare_data": {
            "$ref": "#/components/schemas/additional_healthcare_data"
          },
          "additional_lodging_data": {
            "$ref": "#/components/schemas/additional_lodging_data"
          },
          "additional_motor_vehicle_rental_data": {
            "$ref": "#/components/schemas/additional_motor_vehicle_rental_data"
          },
          "additional_purchase_data": {
            "$ref": "#/components/schemas/additional_purchase_data"
          },
          "address_verification": {
            "type": "string",
            "description": "Details the results of the address verification checks.",
            "nullable": true,
            "enum": [
              "POSTAL_CODE_AND_STREET_MATCH",
              "STREET_MATCH",
              "POSTAL_CODE_MATCH",
              "NO_ADDRESS",
              "NO_MATCH",
              "NOT_SUPPORTED",
              "UNKNOWN"
            ]
          },
          "amount": {
            "$ref": "#/components/schemas/amount"
          },
          "amount_requested": {
            "type": "integer",
            "format": "int64",
            "description": "The `amount` that was requested to get debited from the `source` when the transaction was created, in cents (e.g., `100` = $1.00).",
            "example": 100
          },
          "application": {
            "type": "string",
            "minLength": 1,
            "description": "ID of the `Application` associated with the resource."
          },
          "bank_return_details": {
            "type": "object",
            "description": "Details about a transfer that was returned and was unable to be processed. Only present when `state` is `RETURNED`",
            "nullable": true,
            "properties": {
              "reason_code": {
                "type": "string",
                "description": "Return response code from the bank."
              },
              "reason_message": {
                "type": "string",
                "description": "Detailed message explaining reason for the return."
              },
              "reason_title": {
                "type": "string",
                "description": "Short message categorizing reason for the return."
              }
            }
          },
          "card_present_details": {
            "type": "object",
            "description": "Details needed to process card present transactions.",
            "nullable": true,
            "properties": {
              "approval_code": {
                "type": "string",
                "description": "Unique ID used to identify the approval of the `Transfer`.",
                "nullable": true
              },
              "brand": {
                "type": "string",
                "description": "The brand of the card saved in the `Payment Instrument`.",
                "nullable": true
              },
              "emv_data": {
                "type": "object",
                "description": "Encrypted card data used to process the transaction.",
                "nullable": true,
                "properties": {
                  "application_identifier": {
                    "type": "string",
                    "description": "ID of the application used in the transaction. Tag 9F06 from the EMVCo standard.",
                    "nullable": true
                  },
                  "application_label": {
                    "type": "string",
                    "description": "EMV application label. Tag 50 from the EMVCo standard.",
                    "nullable": true
                  },
                  "application_preferred_name": {
                    "type": "string",
                    "description": "EMV application label with formatting (if provided). Tag 9F12 from the EMVCo standard.",
                    "nullable": true
                  },
                  "application_transaction_counter": {
                    "type": "string",
                    "description": "Transaction number for the EMV application. Tag 9F36 from the EMVCo standard.",
                    "nullable": true
                  },
                  "cryptogram": {
                    "type": "string",
                    "description": "Cryptogram returned by the card. Tag 9F26 of the EMVCo standard.",
                    "nullable": true
                  },
                  "issuer_code_table_index": {
                    "type": "string",
                    "description": "The alphabet code table (according to ISO 8859) used by the EMV application (if provided). Tag 9F11.",
                    "nullable": true
                  },
                  "network_emv_response": {
                    "type": "string",
                    "description": "EMV response data returned by the card network.",
                    "nullable": true
                  },
                  "pin_verified": {
                    "type": "boolean",
                    "description": "Whether the cardholder's PIN number was verified."
                  },
                  "tags": {
                    "$ref": "#/components/schemas/tags"
                  }
                }
              },
              "entry_mode": {
                "type": "string",
                "description": "Details of the card payment method used to process the transaction.\n\nThe possible enums are:\n\n- UNKNOWN - The method by which the payment card was used is unknown.\n- SWIPED - The card was swiped through a POS terminal.\n- CONTACTLESS - The payment was made by tapping a card on a POS terminal.\n- CHIP_ENTRY - The payment card was inserted into a card reader.\n",
                "enum": [
                  "UNKNOWN",
                  "SWIPED",
                  "CONTACTLESS",
                  "CHIP_ENTRY"
                ],
                "nullable": true
              },
              "masked_account_number": {
                "type": "string",
                "description": "Last four digits of the bank account number.",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The name of the bank account or card owner.",
                "nullable": true
              },
              "digital_signature_file_id": {
                "type": "string",
                "description": "The ID of the file containing the digital signature captured during the transaction. If a signature was not collected, this field returns `null`.",
                "nullable": true
              },
              "payment_type": {
                "type": "string",
                "description": "The type of `Payment Instrument` used in the transaction (or the original payment).",
                "nullable": true
              }
            }
          },
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "created_via": {
            "$ref": "#/components/schemas/created_via_transfers_authorizations"
          },
          "destination": {
            "type": "string",
            "description": "ID of the `Payment Instrument` where funds will be sent.",
            "nullable": true
          },
          "device": {
            "type": "string",
            "description": "The ID of the `Device` resource the `Transfer` was created under."
          },
          "externally_funded": {
            "type": "string",
            "description": "Details if the `Transfer` will be settled externally by card processors."
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp indicating when a held refund expires. Only returned for reversals created with refund holds enabled. A refund that can't be covered by this time fails with `failure_code: REFUND_EXPIRED`. For more information, see [Pending refunds](/guides/after-the-payment/refunds/pending-refunds).",
            "nullable": true
          },
          "failure_code": {
            "$ref": "#/components/schemas/failure_code"
          },
          "failure_message": {
            "$ref": "#/components/schemas/failure_message"
          },
          "fee": {
            "$ref": "#/components/schemas/fee_transfer"
          },
          "fee_profile": {
            "type": "string",
            "description": "The ID of the `Fee Profile` that will be used for calculating fees for this transfer."
          },
          "funds_flow_type": {
            "$ref": "#/components/schemas/funds_flow_type"
          },
          "idempotency_id": {
            "$ref": "#/components/schemas/idempotency_id"
          },
          "ip_address_details": {
            "type": "object",
            "description": "Always returns `null`.",
            "nullable": true
          },
          "merchant": {
            "type": "string",
            "description": "The ID of the `Merchant` resource the `Transfer` was created under.",
            "example": "MUxxxxxxxxxxxxxxxxxxxxxxx"
          },
          "merchant_identity": {
            "type": "string",
            "example": "IDxxxxxxxxxxxxxxxxxxxxxxxx",
            "description": "The ID of `Identity` resource used by the `Merchant` the `Transfer` was created under."
          },
          "messages": {
            "type": "array",
            "description": "A list of messages that provides additional details.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "network_details": {
            "type": "object",
            "nullable": true,
            "description": "Contains network-specific fields used by issuers to identify transactions.",
            "properties": {
              "brand": {
                "type": "string",
                "description": "Card brand associated with the saved payment instrument.",
                "example": "VISA"
              },
              "authorization_code": {
                "type": "string",
                "description": "Code returned by the issuing bank when a transaction is authorized.",
                "example": 840735
              },
              "acquirer_reference_number": {
                "type": "string",
                "description": "Unique identifier banks use to trace chargebacks or refunds. Available only for Mastercard transactions; otherwise returns `null`.",
                "nullable": true,
                "example": 521600805857
              }
            }
          },
          "operation_key": {
            "type": "string",
            "enum": [
              "CARD_NOT_PRESENT_CAPTURE",
              "CARD_NOT_PRESENT_REFUND",
              "CARD_NOT_PRESENT_SALE",
              "CARD_NOT_PRESENT_UNREFERENCED_REFUND",
              "CARD_PRESENT_AUTHORIZATION",
              "CARD_PRESENT_DEBIT",
              "CARD_PRESENT_SALE",
              "CARD_PRESENT_UNREFERENCED_REFUND",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_ACH",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_CARD",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_FED_NOW",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_ACH",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_CARD",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_FED_NOW",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "INSTANT_MERCHANT_FUNDING_PULL_FROM_ACH",
              "INSTANT_MERCHANT_FUNDING_PULL_FROM_FED_NOW",
              "INSTANT_MERCHANT_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_ACH",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_CARD",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_FED_NOW",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "MERCHANT_CREDIT_ADJUSTMENT",
              "MERCHANT_DEBIT_ADJUSTMENT",
              "PULL_FROM_ACH",
              "PULL_FROM_CARD",
              "PULL_FROM_SAME_DAY_ACH",
              "PUSH_TO_ACH",
              "PUSH_TO_CARD",
              "PUSH_TO_SAME_DAY_ACH",
              "REFUND_MERCHANT_CREDIT_ADJUSTMENT",
              "REFUND_MERCHANT_DEBIT_ADJUSTMENT",
              "SALE",
              "STANDARD_APPLICATION_FUNDING_PULL_FROM_ACH",
              "STANDARD_APPLICATION_FUNDING_PULL_FROM_CARD",
              "STANDARD_APPLICATION_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "STANDARD_APPLICATION_FUNDING_PUSH_TO_ACH",
              "STANDARD_APPLICATION_FUNDING_PUSH_TO_CARD",
              "STANDARD_APPLICATION_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "STANDARD_MERCHANT_FUNDING_PULL_FROM_ACH",
              "STANDARD_MERCHANT_FUNDING_PULL_FROM_CARD",
              "STANDARD_MERCHANT_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "STANDARD_MERCHANT_FUNDING_PUSH_TO_ACH",
              "STANDARD_MERCHANT_FUNDING_PUSH_TO_CARD",
              "STANDARD_MERCHANT_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "UNREFERENCED_REFUND"
            ],
            "description": "The operation performed in the transaction. `REFUND_MERCHANT_DEBIT_ADJUSTMENT` and `REFUND_MERCHANT_CREDIT_ADJUSTMENT` are created by Finix for [refund holds](/guides/after-the-payment/refunds/pending-refunds) and cannot be passed in requests.",
            "nullable": true
          },
          "parent_transfer": {
            "type": "string",
            "description": "ID of the original parent `Transfer`. Only present when `type` is `REVERSAL`.",
            "nullable": true
          },
          "parent_transfer_trace_id": {
            "type": "string",
            "description": "The `trace_id` of the original parent `Transfer`. Only present when `type` is `REVERSAL`.",
            "nullable": true
          },
          "processed_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp of when the `Transfer` was processed.",
            "nullable": true
          },
          "pull_transfer_id": {
            "type": "string",
            "nullable": true,
            "description": "The ID of the corresponding pull `Transfer` linked in a `ME_TO_ME` transaction."
          },
          "raw": {
            "description": "Raw response from the processor.",
            "anyOf": [
              {
                "type": "object",
                "nullable": true
              },
              {
                "type": "string",
                "nullable": true
              }
            ]
          },
          "ready_to_settle_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp indicating when the `Transfer` is ready to be settled.",
            "nullable": true
          },
          "receipt_last_printed_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the receipt was last printed.",
            "nullable": true
          },
          "security_code_verification": {
            "type": "string",
            "nullable": true,
            "description": "Details the results of the Card Verification Code check.",
            "enum": [
              "MATCHED",
              "UNKNOWN",
              "UNMATCHED"
            ]
          },
          "source": {
            "type": "string",
            "description": "The ID of the `Payment Instrument` that will be debited and performing the `Transfer`.",
            "nullable": true
          },
          "split_transfers": {
            "type": "array",
            "description": "Array containing the resource IDs of the `Split Transfers` generated from the `Transfer`.\n\nFor standard split transactions, this contains IDs of `Split Transfers` created from the parent `Transfer`.\n\nFor [dispute adjustment transfers](/api/disputes/listdisputesadjustments) on split transactions:\n- When a `MERCHANT_DEBIT` or `MERCHANT_CREDIT` adjustment `Transfer` is created for a [Dispute](/api/disputes) on a split transaction, this array contains the IDs of `Split Transfers` created for each participant.\n- The `Split Transfers` are created proportionally based on each merchant's share of the original sale.\n\nFor more information, see [Split Transactions - Disputes](../../../../guides/online-payments/payment-features/split-transactions#disputes).\n",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "state": {
            "type": "string",
            "enum": [
              "CANCELED",
              "PENDING",
              "FAILED",
              "SUCCEEDED",
              "UNKNOWN",
              "RETURNED"
            ],
            "description": "The status of the `Transfer`."
          },
          "statement_descriptor": {
            "$ref": "#/components/schemas/statement_descriptor"
          },
          "subtype": {
            "type": "string",
            "description": "Additional information describing the `payment_type`.\n\nFor [dispute adjustment transfers](/api/disputes/listdisputesadjustments) (`type: DISPUTE`):\n- `MERCHANT_DEBIT`: Funds are pulled from the merchant(s) when a chargeback occurs. For split transactions, this creates `Split Transfers` with `type: DISPUTE_MERCHANT_DEBIT`.\n- `MERCHANT_CREDIT`: Funds are returned to the merchant(s) when a `Dispute` is ruled in their favor. For split transactions, this creates `Split Transfers` with `type: DISPUTE_MERCHANT_CREDIT`.\n\nFor [refund hold](/guides/after-the-payment/refunds/pending-refunds) adjustment transfers:\n- `REFUND_MERCHANT_DEBIT_ADJUSTMENT`: Funds are pulled from the merchant to cover a held refund.\n- `REFUND_MERCHANT_CREDIT_ADJUSTMENT`: Funds are returned to the merchant when the held refund is submitted or expires.\n",
            "enum": [
              "API",
              "DISPUTE",
              "MERCHANT_CREDIT",
              "MERCHANT_CREDIT_ADJUSTMENT",
              "MERCHANT_DEBIT",
              "MERCHANT_DEBIT_ADJUSTMENT",
              "PLATFORM_CREDIT",
              "PLATFORM_CREDIT_ADJUSTMENT",
              "PLATFORM_DEBIT",
              "PLATFORM_DEBIT_ADJUSTMENT",
              "REFUND_MERCHANT_CREDIT_ADJUSTMENT",
              "REFUND_MERCHANT_DEBIT_ADJUSTMENT",
              "SETTLEMENT_MERCHANT",
              "SETTLEMENT_NOOP",
              "SETTLEMENT_PARTNER",
              "SETTLEMENT_PLATFORM",
              "SPLIT_PAYOUT",
              "SPLIT_PAYOUT_ADJUSTMENT",
              "SYSTEM"
            ]
          },
          "supplemental_fee": {
            "type": "string",
            "description": "Amount in cents for which an additional fee will be created in addition to any fees created from the assigned fee profile.",
            "nullable": true
          },
          "tags": {
            "$ref": "#/components/schemas/tags"
          },
          "tip_amount": {
            "type": "integer",
            "description": "The tip amount included in the total amount.",
            "nullable": true
          },
          "trace_id": {
            "type": "string",
            "description": "Trace ID of the `Transfer`. The processor sends back the `trace_id` so you can track the `Transfer` end-to-end.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type of `Transfer`.",
            "enum": [
              "DEBIT",
              "CREDIT",
              "REVERSAL",
              "ADJUSTMENT",
              "DISPUTE",
              "RESERVE",
              "SETTLEMENT",
              "UNKNOWN"
            ]
          },
          "third_party_details": {
            "type": "object",
            "description": "Details about the third-party processor associated with the `Transfer`.",
            "nullable": true,
            "properties": {
              "external_trace_id": {
                "type": "string",
                "description": "The trace ID returned by the third-party processor used to identify the `Transfer`.",
                "nullable": true
              },
              "type": {
                "type": "string",
                "description": "The name of the third-party processor associated with the `Transfer`.",
                "nullable": true,
                "enum": [
                  "CYBERSOURCE"
                ]
              }
            }
          },
          "_links": {
            "type": "object",
            "properties": {
              "application": {
                "$ref": "#/components/schemas/application_link"
              },
              "destination": {
                "type": "object",
                "description": "Link to the `Payment Instrument` where funds are getting sent.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "device": {
                "type": "object",
                "description": "Link to the `Device` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "disputes": {
                "type": "object",
                "description": "Link to the `Dispute` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "fee_profile": {
                "type": "object",
                "description": "Link to the `fee_profile` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "fees": {
                "type": "object",
                "description": "Link to the `fees` the request is associated with.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "merchant_identity": {
                "type": "object",
                "description": "Link to the `Identity` the `Merchant` was created under and the `Transfer` was submitted with.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "payment_instruments": {
                "type": "object",
                "description": "Link to the `Payment Instrument` associated with the Transfer.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "disputed_transfer": {
                "type": "object",
                "description": "Link to the `Transfer` the `Dispute` is about.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "parent": {
                "type": "object",
                "description": "Link to the original resource that was used in the request.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "reversals": {
                "type": "object",
                "description": "Link to the `reversals` associated with the `Transfer`.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "self": {
                "$ref": "#/components/schemas/self"
              },
              "source": {
                "type": "object",
                "description": "Link to the `Payment Instrument` the `Transfer` was created under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```

The `state` will be `SUCCEEDED` when the refund finishes processing. Buyers will see the refund credited within 5-10 business days, depending on their bank. Refunds can't be canceled once processed.

Held Refunds
When refund holds are enabled, refunds stay in `state: PENDING` until the merchant's settlement balance covers them, and the response includes an `expires_at` date. A refund that cannot be covered in time fails with `failure_code: REFUND_EXPIRED`. For more information, see [Pending refunds](/guides/after-the-payment/refunds/pending-refunds).

## Refunding Card-Present Payments

Which refund method to use for card-present payments depends on how much time has passed since the original transaction. For debit transactions, the determining factor is whether the batch is still open; for credit transactions, whether it's within 45 days.

- [Referenced Refunds](#referenced-refunds) — Reverse the original `Transfer` directly using its ID. No card swipe required in most cases.
- [Unreferenced Refunds](#unreferenced-refunds) — Create a new `Transfer` unlinked from the original. The cardholder must swipe their card to authorize the refund. Only available for physically swiped transactions.


### Referenced Refunds

Use a referenced refund when:

- The payment type was `credit` and the transaction is within 45 days (regardless of batch status).
- The payment type was `debit` and the transaction is in the current open batch.


To perform the refund, [reverse the original Transfer](/api/transfers/createtransferreversal):

Example
```shell cURL
curl -i -X POST \
  -u '<username>:<password>' \
  https://finix.sandbox-payments-api.com/transfers/TRrC36MYGH6n67wRfYs8w8RK/reversals \
  -H 'Content-Type: application/json' \
  -H 'Finix-Version: 2022-02-01' \
  -d '{
    "device": "DVhCtTEMVHnDPFMh2KQLrFSi",
    "refund_amount": 150
  }'
```

API Definition
```json
{
  "$ref": "#/components/schemas/createTransferReversalReferencedRefund",
  "components": {
    "schemas": {
      "createTransferReversalReferencedRefund": {
        "title": "Refund Card Present Transfer - Referenced",
        "description": "Request fields to perform a [referenced refund](/guides/after-the-payment/refunds#referenced-refunds).",
        "type": "object",
        "properties": {
          "device": {
            "type": "string",
            "description": "The ID of the `Device` the `Transfer` was created under."
          },
          "refund_amount": {
            "type": "integer",
            "description": "The amount of the refund in cents. It must be equal to or less than the amount of the original `Transfer`."
          }
        },
        "required": [
          "refund_amount"
        ]
      }
    }
  }
}
```

A successful request returns a `201 Created` status code, with the response body containing:

- `state` - Initially set to `PENDING` to indicate that the refund is still processing.
  - Changes to `SUCCEEDED` when the refund is processed.
- `type` is set to `REVERSAL`.
- Under `_links.parent`, you can find the original `Transfer` that was reversed.


Example
Reversed Card-Present Transfer Referencing Parent
```json Reversed Card-Present Transfer Referencing Parent
{
  "id": "TR7PYuTpCU3AtLSgvSobjmGg",
  "created_at": "2026-09-28T20:31:08.64Z",
  "updated_at": "2026-09-28T20:31:08.69Z",
  "3d_secure_session": null,
  "additional_buyer_charges": null,
  "additional_healthcare_data": null,
  "additional_lodging_data": null,
  "additional_motor_vehicle_rental_data": null,
  "additional_purchase_data": null,
  "address_verification": null,
  "amount": 150,
  "amount_requested": 150,
  "application": "APc9vhYcPsRuTSpKD9KpMtPe",
  "created_via": "UNKNOWN",
  "currency": "USD",
  "destination": "PI2zjrcxkiPYEokwQPq2G58z",
  "device": "DVhCtTEMVHnDPFMh2KQLrFSi",
  "expires_at": "2026-11-12T20:31:08.64Z",
  "externally_funded": "UNKNOWN",
  "failure_code": null,
  "failure_message": null,
  "fee": 0,
  "fee_profile": "FPmtT4MYmiAs1qjLjneQmk4d",
  "idempotency_id": null,
  "ip_address_details": null,
  "merchant": "MUmFY9PWbqJPGtQEN7RXdFAb",
  "merchant_identity": "IDvEVPqD9rnfLCAGnLJphyGT",
  "messages": [],
  "network_details": null,
  "operation_key": "CARD_PRESENT_REFUND",
  "parent_transfer": "TRhBbRpGifWm9U8fCaKVVAZo",
  "parent_transfer_trace_id": null,
  "processed_at": null,
  "raw": null,
  "ready_to_settle_at": null,
  "receipt_last_printed_at": null,
  "security_code_verification": null,
  "source": null,
  "split_transfers": [],
  "state": "PENDING", // [!code highlight]
  "statement_descriptor": "FLX*FINIX FLOWERS",
  "subtype": "API",
  "supplemental_fee": null,
  "tags": {},
  "third_party_details": null,
  "tip_amount": null,
  "trace_id": "253a57c6-a449-427c-9732-33655040b819",
  "type": "REVERSAL", // [!code highlight]
  "_links": {
    "application": {
      "href": "https://finix.sandbox-payments-api.com/applications/APc9vhYcPsRuTSpKD9KpMtPe"
    },
    "self": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TR7PYuTpCU3AtLSgvSobjmGg"
    },
    "parent": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TRhBbRpGifWm9U8fCaKVVAZo"
    },
    "destination": {
      "href": "https://finix.sandbox-payments-api.com/payment_instruments/PI2zjrcxkiPYEokwQPq2G58z"
    },
    "merchant_identity": {
      "href": "https://finix.sandbox-payments-api.com/identities/IDvEVPqD9rnfLCAGnLJphyGT"
    },
    "payment_instruments": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TR7PYuTpCU3AtLSgvSobjmGg/payment_instruments"
    },
    "fee_profile": {
      "href": "https://finix.sandbox-payments-api.com/fee_profiles/FPmtT4MYmiAs1qjLjneQmk4d"
    }
  }
}
```

API Definition
```json
{
  "$ref": "#/components/schemas/transfer",
  "components": {
    "schemas": {
      "id": {
        "type": "string",
        "minLength": 1,
        "description": "The ID of the resource."
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "description": "Timestamp of when the object was created."
      },
      "updated_at": {
        "type": "string",
        "format": "date-time",
        "description": "Timestamp of when the object was last updated."
      },
      "additional_buyer_charges": {
        "type": "object",
        "description": "Additional charges will be incurred by the buyer.\n\nThe following rules apply:\n\n- The `Merchant` must be enabled to charge these surcharges by setting the appropriate flags for each applicable surcharge to `true` using the PUT `/merchants` endpoint.\n- Only _one_ of the following charges can be applied during creation.\n",
        "nullable": true,
        "properties": {
          "convenience_amount": {
            "type": "integer",
            "description": "A convenience fee to charge the buyer for the transaction. This object property is mutually exclusive.",
            "nullable": true
          },
          "rent_surcharge_amount": {
            "type": "integer",
            "description": "A rent surcharge to charge the buyer for the transaction. This object property is mutually exclusive.",
            "nullable": true
          },
          "surcharge_amount": {
            "type": "integer",
            "description": "A surcharge amount to charge the buyer for the transaction. This object property is mutually exclusive.",
            "nullable": true
          }
        }
      },
      "additional_healthcare_data": {
        "type": "object",
        "nullable": true,
        "properties": {
          "clinic_amount": {
            "type": "integer",
            "description": "A clinic or other qualified medical amount for the transaction.",
            "nullable": true
          },
          "dental_amount": {
            "type": "integer",
            "description": "The dental amount for the transaction.",
            "nullable": true
          },
          "prescription_amount": {
            "type": "integer",
            "description": "The prescription/RX amount for the transaction.",
            "nullable": true
          },
          "vision_amount": {
            "type": "integer",
            "description": "The vision/optical amount for the transaction.",
            "nullable": true
          }
        }
      },
      "additional_lodging_data": {
        "type": "object",
        "nullable": true,
        "description": "Contains lodging-specific fields for `Authorization` and `Transfer` requests. Optional for lodging MCC transactions (MCC 3501–3999, 7011). Returns `null` for all other transactions.",
        "properties": {
          "check_in_date": {
            "type": "object",
            "nullable": true,
            "description": "The guest's scheduled arrival date.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the check-in date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the check-in date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the check-in date."
              }
            }
          },
          "check_out_date": {
            "type": "object",
            "nullable": true,
            "description": "The guest's scheduled departure date. Must represent a date on or after `check_in_date`.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the check-out date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the check-out date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the check-out date."
              }
            }
          },
          "customer_service_phone": {
            "type": "string",
            "nullable": true,
            "description": "The phone number guests can call for support or inquiries related to their stay."
          },
          "extra_charge_details": {
            "type": "object",
            "nullable": true,
            "description": "Additional charges billed beyond the room rate. Each field represents a specific charge type, in cents.",
            "properties": {
              "restaurant_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "mini_bar_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "laundry_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "other_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "phone_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "gift_shop_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              }
            }
          },
          "hotel_agreement_number": {
            "type": "string",
            "nullable": true,
            "description": "The folio or agreement number associated with the reservation. Max 12 characters; longer values are truncated."
          },
          "is_advance_deposit": {
            "type": "boolean",
            "nullable": true,
            "default": false,
            "description": "Indicates whether the lodging charge is an advance deposit."
          },
          "is_no_show": {
            "type": "boolean",
            "nullable": true,
            "default": false,
            "description": "Set to `true` if the cardholder is being billed for a reserved room that was not occupied."
          },
          "number_of_nights": {
            "type": "integer",
            "nullable": true,
            "description": "The total number of nights for the lodging stay."
          },
          "property_phone": {
            "type": "string",
            "nullable": true,
            "description": "The direct phone number of the lodging property."
          },
          "room_rate": {
            "type": "string",
            "nullable": true,
            "description": "The nightly room rate, in cents."
          },
          "room_tax": {
            "type": "string",
            "nullable": true,
            "description": "The tax amount applied to the room rate, in cents."
          }
        }
      },
      "country": {
        "type": "string",
        "enum": [
          "ABW",
          "AFG",
          "AGO",
          "AIA",
          "ALA",
          "ALB",
          "AND",
          "ARE",
          "ARG",
          "ARM",
          "ASM",
          "ATA",
          "ATF",
          "ATG",
          "AUS",
          "AUT",
          "AZE",
          "BDI",
          "BEL",
          "BEN",
          "BES",
          "BFA",
          "BGD",
          "BGR",
          "BHR",
          "BHS",
          "BIH",
          "BLM",
          "BLR",
          "BLZ",
          "BMU",
          "BOL",
          "BRA",
          "BRB",
          "BRN",
          "BTN",
          "BVT",
          "BWA",
          "CAF",
          "CAN",
          "CCK",
          "CHE",
          "CHL",
          "CHN",
          "CIV",
          "CMR",
          "COD",
          "COG",
          "COK",
          "COL",
          "COM",
          "CPV",
          "CRI",
          "CUB",
          "CUW",
          "CXR",
          "CYM",
          "CYP",
          "CZE",
          "DEU",
          "DJI",
          "DMA",
          "DNK",
          "DOM",
          "DZA",
          "ECU",
          "EGY",
          "ERI",
          "ESH",
          "ESP",
          "EST",
          "ETH",
          "FIN",
          "FJI",
          "FLK",
          "FRA",
          "FRO",
          "FSM",
          "GAB",
          "GBR",
          "GEO",
          "GGY",
          "GHA",
          "GIB",
          "GIN",
          "GLP",
          "GMB",
          "GNB",
          "GNQ",
          "GRC",
          "GRD",
          "GRL",
          "GTM",
          "GUF",
          "GUM",
          "GUY",
          "HKG",
          "HMD",
          "HND",
          "HRV",
          "HTI",
          "HUN",
          "IDN",
          "IMN",
          "IND",
          "IOT",
          "IRL",
          "IRN",
          "IRQ",
          "ISL",
          "ISR",
          "ITA",
          "JAM",
          "JEY",
          "JOR",
          "JPN",
          "KAZ",
          "KEN",
          "KGZ",
          "KHM",
          "KIR",
          "KNA",
          "KOR",
          "KWT",
          "LAO",
          "LBN",
          "LBR",
          "LBY",
          "LCA",
          "LIE",
          "LKA",
          "LSO",
          "LTU",
          "LUX",
          "LVA",
          "MAC",
          "MAF",
          "MAR",
          "MCO",
          "MDA",
          "MDG",
          "MDV",
          "MEX",
          "MHL",
          "MKD",
          "MLI",
          "MLT",
          "MMR",
          "MNE",
          "MNG",
          "MNP",
          "MRT",
          "MSR",
          "MTQ",
          "MUS",
          "MWI",
          "MYS",
          "MYT",
          "NAM",
          "NCL",
          "NER",
          "NFK",
          "NGA",
          "NIC",
          "NIU",
          "NLD",
          "NOR",
          "NPL",
          "NRU",
          "NZL",
          "OMN",
          "PAK",
          "PAN",
          "PCN",
          "PER",
          "PHL",
          "PLW",
          "PNG",
          "POL",
          "PRI",
          "PRK",
          "PRT",
          "PRY",
          "PSE",
          "PYF",
          "QAT",
          "REU",
          "ROU",
          "RUS",
          "RWA",
          "SAU",
          "SDN",
          "SEN",
          "SGP",
          "SGS",
          "SHN",
          "SJM",
          "SLB",
          "SLE",
          "SLV",
          "SMR",
          "SOM",
          "SPM",
          "SRB",
          "SSD",
          "STP",
          "SUR",
          "SVK",
          "SVN",
          "SWE",
          "SWZ",
          "SXM",
          "SYC",
          "SYR",
          "TCA",
          "TCD",
          "TGO",
          "THA",
          "TJK",
          "TKL",
          "TKM",
          "TLS",
          "TON",
          "TTO",
          "TUN",
          "TUR",
          "TUV",
          "TWN",
          "TZA",
          "UGA",
          "UKR",
          "UMI",
          "URY",
          "USA",
          "UZB",
          "VAT",
          "VCT",
          "VEN",
          "VGB",
          "VIR",
          "VNM",
          "VUT",
          "WLF",
          "WSM",
          "XKX",
          "YEM",
          "ZAF",
          "ZMB",
          "ZWE"
        ],
        "nullable": true
      },
      "address": {
        "type": "object",
        "properties": {
          "line1": {
            "type": "string",
            "minLength": 1,
            "description": "First line of the address (max 35 characters).",
            "nullable": true
          },
          "line2": {
            "type": "string",
            "minLength": 1,
            "description": "Second line of the address (max 35 characters).",
            "nullable": true
          },
          "city": {
            "type": "string",
            "minLength": 1,
            "description": "City (max 20 characters).",
            "nullable": true
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "description": "2-letter State code.",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "minLength": 1,
            "description": "Zip or Postal code (max 7 characters).",
            "nullable": true
          },
          "country": {
            "$ref": "#/components/schemas/country"
          }
        },
        "required": [
          "city",
          "country",
          "line1",
          "postal_code",
          "region"
        ]
      },
      "additional_motor_vehicle_rental_data": {
        "type": "object",
        "nullable": true,
        "description": "Contains motor vehicle rental-specific fields for `Authorization` and `Transfer` requests. Optional for motor vehicle rental MCC transactions (MCC 3351–3500, 7512). Returns `null` for all other transactions.",
        "properties": {
          "motor_vehicle_rental_agreement_number": {
            "type": "string",
            "nullable": true,
            "description": "The rental agreement or contract reference number for the rental. Max 9 characters; longer values are truncated."
          },
          "customer_service_number": {
            "type": "string",
            "nullable": true,
            "description": "The phone number customers can call for support or inquiries related to their rental."
          },
          "extra_charge_details": {
            "type": "object",
            "nullable": true,
            "description": "Additional charges beyond the base rental rate being billed. Each field represents a specific charge type, in cents.",
            "properties": {
              "extra_mileage_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "fuel_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "insurance_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "late_return_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "one_way_service_fee_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "parking_violation_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              }
            }
          },
          "is_no_show": {
            "type": "boolean",
            "nullable": true,
            "default": false,
            "description": "An indicator that the cardholder is being billed for a reserved vehicle that was not actually rented (that is, a \"no-show\" charge)."
          },
          "number_of_days": {
            "type": "integer",
            "nullable": true,
            "description": "The total number of days for the vehicle rental."
          },
          "rental_rate": {
            "type": "string",
            "nullable": true,
            "description": "The daily rental rate for the vehicle, in cents."
          },
          "renter_name": {
            "type": "string",
            "nullable": true,
            "description": "The name of the person renting the vehicle."
          },
          "pickup_address": {
            "nullable": true,
            "description": "The full address of the rental pickup location.",
            "allOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ]
          },
          "pickup_date": {
            "type": "object",
            "nullable": true,
            "description": "The scheduled vehicle pickup date.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the pickup date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the pickup date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the pickup date."
              }
            }
          },
          "return_address": {
            "nullable": true,
            "description": "The full address of the vehicle return location.",
            "allOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ]
          },
          "return_date": {
            "type": "object",
            "nullable": true,
            "description": "The scheduled vehicle return date. Must be on or after `pickup_date`.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the return date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the return date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the return date."
              }
            }
          }
        }
      },
      "customer_reference_number": {
        "type": "string",
        "description": "A unique reference ID for the order such as a purchase order (PO) number or invoice number. A purchase order number (PO number) is a unique code assigned to a specific order of goods or services. The buyer creates this number when they make a purchase order. It helps both the buyer and the seller track the order, match invoices, and keep accurate financial records.",
        "maxLength": 17
      },
      "additional_purchase_data": {
        "type": "object",
        "description": "Additional information about the purchase used for [Level 2 and Level 3 Processing](/guides/online-payments/payment-features/level-2-level-3-processing). Please note that Visa is ending its Level 2 offering in April 2026.",
        "nullable": true,
        "properties": {
          "customer_reference_number": {
            "$ref": "#/components/schemas/customer_reference_number"
          },
          "customs_duty_amount": {
            "type": "integer",
            "nullable": true,
            "description": "The duty in cents on the total purchase amount for the order."
          },
          "destination_country_code": {
            "type": "string",
            "nullable": true,
            "description": "The ISO country code of the order destination."
          },
          "destination_postal_code": {
            "type": "string",
            "nullable": true,
            "description": "The postal code of the order destination (10 characters).",
            "maxLength": 10
          },
          "discount_amount": {
            "type": "integer",
            "nullable": true,
            "description": "The amount in cents of the discount for the order. You must include this field to qualify for Level 3 interchange benefits. Even if the value is (0), you should pass the field to qualify for Level 3."
          },
          "invoice_reference_number": {
            "type": "string",
            "nullable": true,
            "description": "The order's invoice number (max 15 characters).",
            "maxLength": 15
          },
          "order_date": {
            "type": "object",
            "nullable": true,
            "properties": {
              "day": {
                "type": "integer",
                "description": "Day of purchase (between 1 and 31)."
              },
              "month": {
                "type": "integer",
                "description": "Month of purchase (between 1 and 12)."
              },
              "year": {
                "type": "integer",
                "description": "Year of purchase (4-digit).",
                "minimum": 1990
              }
            }
          },
          "sales_tax": {
            "type": "integer",
            "nullable": true,
            "description": "- Total aggregate tax amount in cents for the entire purchase. Field is automatically calculated if you pass in the itemized tax amounts.\n- For non-taxable transactions either set `sales_tax` to 0 or omit from payload and also set `tax_exempt` to **True**.\n- Request must align so `amount_excluding_sales_tax` + `sales_tax` = `amount_including_sales_tax`.\n- For Visa, this field no longer qualifies for lower interchange after April 17, 2026. Include `item_data` for Level 3 processing."
          },
          "sales_tax_finix_generated": {
            "type": "integer",
            "description": "The sales tax amount in cents Finix calculated from the `item_data` line items.",
            "nullable": true
          },
          "ship_from_postal_code": {
            "type": "string",
            "nullable": true,
            "description": "The postal code from where order is shipped (10 characters).",
            "maxLength": 10
          },
          "shipping_amount": {
            "type": "integer",
            "nullable": true,
            "description": "The shipping cost in cents for the order.\n"
          },
          "tax_exempt": {
            "type": "boolean",
            "description": "- For tax exempt purchases set to **True**.\n- If set to **True**, request can't include `sales_tax`."
          },
          "item_data": {
            "type": "array",
            "description": "Additional information about the transaction. Used for Level 2 and Level 3 Processing.",
            "items": {
              "type": "object",
              "properties": {
                "amount_excluding_sales_tax": {
                  "type": "integer",
                  "description": "- Total cost of the line item in cents, excluding tax.\n- Must align with `sales_tax` so `amount_excluding_sales_tax` + `sales_tax` = `amount_including_sales_tax`."
                },
                "amount_including_sales_tax": {
                  "type": "integer",
                  "description": "- Total cost of the line item in cents, including tax.\n- Must align with `sales_tax` so `amount_excluding_sales_tax` + `sales_tax` = `amount_including_sales_tax`."
                },
                "commodity_code": {
                  "description": "A commodity code is a numeric code representing a particular product or service as defined by the National Institute of Governmental Purchasing. The code can be 3, 5, 7, or 11 digits in length. The longer the code the more granular the description of the product/service. (max 12 characters).",
                  "type": "string",
                  "maxLength": 12
                },
                "cost_per_unit": {
                  "type": "integer",
                  "description": "The price in cents, excluding tax, of one unit of the item purchased."
                },
                "item_description": {
                  "type": "string",
                  "description": "Required when `item_data` is supplied (max 25 characters).",
                  "maxLength": 25
                },
                "item_discount_amount": {
                  "type": "integer",
                  "description": "The item discount amount in cents. You must include this field to qualify for Level 3 interchange benefits. Even if the value is (0), you should pass the field to qualify for Level 3."
                },
                "merchant_product_code": {
                  "type": "string",
                  "description": "Merchant defined product code (max 12 characters).",
                  "maxLength": 12
                },
                "quantity": {
                  "type": "number",
                  "description": "The number of items purchased. Must be greater than 0.",
                  "minimum": 1,
                  "maximum": 99
                },
                "unit_of_measure": {
                  "type": "string",
                  "description": "The unit of measure of the purchased item (max 3 characters).",
                  "maxLength": 3
                },
                "sales_tax_amount": {
                  "type": "integer",
                  "description": "The sales tax amount in cents for the line item."
                },
                "sales_tax_rate": {
                  "type": "number",
                  "description": "The sales tax rate for the line item as a decimal (e.g., 0.25 equals 25%).",
                  "example": 0.25
                }
              }
            }
          }
        }
      },
      "amount": {
        "type": "integer",
        "description": "The total amount that will be debited in cents (e.g. 100 cents to debit $1.00).",
        "example": 5000,
        "format": "int64"
      },
      "tags": {
        "type": "object",
        "title": "tags",
        "additionalProperties": true,
        "description": "Include up to 50 `key: value` pairs to annotate requests with custom metadata.\n- Maximum character length for individual `keys` is 40.\n- Maximum character length for individual `values` is 500.\n(For example, `order_number: 25`, `item_type: produce`, `department: sales`)",
        "nullable": true
      },
      "currency": {
        "type": "string",
        "description": "ISO 4217 3-letter currency code.",
        "enum": [
          "CAD",
          "USD"
        ]
      },
      "created_via_transfers_authorizations": {
        "type": "string",
        "description": "Gives more information about the product flow that was used to create the resource. Finix retains the right to add additional enums for this field without it being a breaking change.",
        "default": "UNKNOWN",
        "enum": [
          "CARD_PRESENT_ANDROID_APP",
          "CARD_PRESENT_ANDROID_APP_MANUAL_ENTRY",
          "CARD_PRESENT_ANDROID_D135_SDK",
          "CARD_PRESENT_DEVICE_READER_SDK",
          "CARD_PRESENT_IOS_APP",
          "CARD_PRESENT_IOS_APP_MANUAL_ENTRY",
          "CARD_PRESENT_IOS_D135_SDK",
          "CARD_PRESENT_IOS_TAP_TO_PAY",
          "CARD_PRESENT_IOS_TAP_TO_PAY_SDK",
          "CARD_PRESENT_SEMI_INTEGRATED_API",
          "CARD_PRESENT_STANDALONE",
          "CARD_PRESENT_STANDALONE_MANUAL_ENTRY",
          "CHECKOUT_FORM",
          "CYBERSOURCE",
          "DEVICE_ORDER",
          "PAYMENT_LINK",
          "PAYOUT_LINK",
          "PLUGIN_ADMOJI",
          "PLUGIN_CHECKOUT_CHAMP",
          "PLUGIN_FYNTEK",
          "PLUGIN_GAMBLE_ID",
          "PLUGIN_GAMMA_SWEEP",
          "PLUGIN_GR4VY",
          "PLUGIN_HYPERSWITCH",
          "PLUGIN_LACORE",
          "PLUGIN_PAYSIGHT",
          "PLUGIN_PRYZR",
          "PLUGIN_SERVMAN",
          "PLUGIN_SOAP_PAY",
          "PLUGIN_STICKYIO",
          "PLUGIN_TAGADA",
          "PLUGIN_WOO_COMMERCE",
          "PLUGIN_VRIO",
          "SUBSCRIPTION",
          "UNKNOWN",
          "VIRTUAL_TERMINAL"
        ]
      },
      "failure_code": {
        "type": "string",
        "description": "The code of the failure so the decline can be handled programmatically. For more info on how to handle the failure, see [Failure Codes](/additional-resources/developers/implementation-and-testing/failure-codes).",
        "nullable": true
      },
      "failure_message": {
        "type": "string",
        "description": "A human-readable description of why the transaction was declined. This will also include a suggestion on how to complete the payment.",
        "nullable": true
      },
      "fee_transfer": {
        "type": "integer",
        "format": "int64",
        "description": "The minimum amount of the `Transfer` you'd like to collect as your fee in cents. Defaults to zero (must be less than or equal to the `amount`).\n- If the fees applied by the 'Fee Profile' are ***higher*** than the value passed in 'fee', 'fee' will not be applied and have no effect.\n- If the fees applied by the 'Fee Profile' are ***lower*** than the value passed in 'fee', an additional fee is be applied, in addition to the fees generated by the `Fee Profile`.\n    - The additional fee is equal to the difference between the value passed in 'fee' and the fees generated by the `Fee Profile`."
      },
      "funds_flow_type": {
        "type": "string",
        "description": "The type of disbursement to perform. Defaults to `GENERAL_PAYOUT`.\n",
        "enum": [
          "GENERAL_PAYOUT",
          "ME_TO_ME",
          "GOVERNMENT"
        ],
        "nullable": true
      },
      "idempotency_id": {
        "type": "string",
        "description": "Pass any randomly generated or internal ID to [idempotently](/api/section/idempotent-requests) identify `Transfers`, `Authorizations`, or refund requests.",
        "nullable": true
      },
      "statement_descriptor": {
        "type": "string",
        "maxLength": 20,
        "nullable": true,
        "description": "The description of the `Merchant` that appears on the buyer's bank or card statement."
      },
      "application_link": {
        "type": "object",
        "description": "Link to the `Application` the request was made under.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "self": {
        "type": "object",
        "description": "Link to the resource that was used in the request.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "transfer": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "created_at": {
            "$ref": "#/components/schemas/created_at"
          },
          "updated_at": {
            "$ref": "#/components/schemas/updated_at"
          },
          "3d_secure_session": {
            "type": "string",
            "nullable": true,
            "description": "The ID of the `3D Secure Session` that authenticated the buyer. This field is `null` when the payment was not authenticated with a `3D Secure Session`.",
            "example": "3d_secure_session_f3fG3Zj8K958MTP5vpXAXX"
          },
          "additional_buyer_charges": {
            "description": "Details about any [Buyer Charges](../../../../guides/online-payments/payment-features/buyer-charges) included in the `Transfer`. The buyer charges are mutually exclusive.\n",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_buyer_charges"
              }
            ]
          },
          "additional_healthcare_data": {
            "$ref": "#/components/schemas/additional_healthcare_data"
          },
          "additional_lodging_data": {
            "$ref": "#/components/schemas/additional_lodging_data"
          },
          "additional_motor_vehicle_rental_data": {
            "$ref": "#/components/schemas/additional_motor_vehicle_rental_data"
          },
          "additional_purchase_data": {
            "$ref": "#/components/schemas/additional_purchase_data"
          },
          "address_verification": {
            "type": "string",
            "description": "Details the results of the address verification checks.",
            "nullable": true,
            "enum": [
              "POSTAL_CODE_AND_STREET_MATCH",
              "STREET_MATCH",
              "POSTAL_CODE_MATCH",
              "NO_ADDRESS",
              "NO_MATCH",
              "NOT_SUPPORTED",
              "UNKNOWN"
            ]
          },
          "amount": {
            "$ref": "#/components/schemas/amount"
          },
          "amount_requested": {
            "type": "integer",
            "format": "int64",
            "description": "The `amount` that was requested to get debited from the `source` when the transaction was created, in cents (e.g., `100` = $1.00).",
            "example": 100
          },
          "application": {
            "type": "string",
            "minLength": 1,
            "description": "ID of the `Application` associated with the resource."
          },
          "bank_return_details": {
            "type": "object",
            "description": "Details about a transfer that was returned and was unable to be processed. Only present when `state` is `RETURNED`",
            "nullable": true,
            "properties": {
              "reason_code": {
                "type": "string",
                "description": "Return response code from the bank."
              },
              "reason_message": {
                "type": "string",
                "description": "Detailed message explaining reason for the return."
              },
              "reason_title": {
                "type": "string",
                "description": "Short message categorizing reason for the return."
              }
            }
          },
          "card_present_details": {
            "type": "object",
            "description": "Details needed to process card present transactions.",
            "nullable": true,
            "properties": {
              "approval_code": {
                "type": "string",
                "description": "Unique ID used to identify the approval of the `Transfer`.",
                "nullable": true
              },
              "brand": {
                "type": "string",
                "description": "The brand of the card saved in the `Payment Instrument`.",
                "nullable": true
              },
              "emv_data": {
                "type": "object",
                "description": "Encrypted card data used to process the transaction.",
                "nullable": true,
                "properties": {
                  "application_identifier": {
                    "type": "string",
                    "description": "ID of the application used in the transaction. Tag 9F06 from the EMVCo standard.",
                    "nullable": true
                  },
                  "application_label": {
                    "type": "string",
                    "description": "EMV application label. Tag 50 from the EMVCo standard.",
                    "nullable": true
                  },
                  "application_preferred_name": {
                    "type": "string",
                    "description": "EMV application label with formatting (if provided). Tag 9F12 from the EMVCo standard.",
                    "nullable": true
                  },
                  "application_transaction_counter": {
                    "type": "string",
                    "description": "Transaction number for the EMV application. Tag 9F36 from the EMVCo standard.",
                    "nullable": true
                  },
                  "cryptogram": {
                    "type": "string",
                    "description": "Cryptogram returned by the card. Tag 9F26 of the EMVCo standard.",
                    "nullable": true
                  },
                  "issuer_code_table_index": {
                    "type": "string",
                    "description": "The alphabet code table (according to ISO 8859) used by the EMV application (if provided). Tag 9F11.",
                    "nullable": true
                  },
                  "network_emv_response": {
                    "type": "string",
                    "description": "EMV response data returned by the card network.",
                    "nullable": true
                  },
                  "pin_verified": {
                    "type": "boolean",
                    "description": "Whether the cardholder's PIN number was verified."
                  },
                  "tags": {
                    "$ref": "#/components/schemas/tags"
                  }
                }
              },
              "entry_mode": {
                "type": "string",
                "description": "Details of the card payment method used to process the transaction.\n\nThe possible enums are:\n\n- UNKNOWN - The method by which the payment card was used is unknown.\n- SWIPED - The card was swiped through a POS terminal.\n- CONTACTLESS - The payment was made by tapping a card on a POS terminal.\n- CHIP_ENTRY - The payment card was inserted into a card reader.\n",
                "enum": [
                  "UNKNOWN",
                  "SWIPED",
                  "CONTACTLESS",
                  "CHIP_ENTRY"
                ],
                "nullable": true
              },
              "masked_account_number": {
                "type": "string",
                "description": "Last four digits of the bank account number.",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The name of the bank account or card owner.",
                "nullable": true
              },
              "digital_signature_file_id": {
                "type": "string",
                "description": "The ID of the file containing the digital signature captured during the transaction. If a signature was not collected, this field returns `null`.",
                "nullable": true
              },
              "payment_type": {
                "type": "string",
                "description": "The type of `Payment Instrument` used in the transaction (or the original payment).",
                "nullable": true
              }
            }
          },
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "created_via": {
            "$ref": "#/components/schemas/created_via_transfers_authorizations"
          },
          "destination": {
            "type": "string",
            "description": "ID of the `Payment Instrument` where funds will be sent.",
            "nullable": true
          },
          "device": {
            "type": "string",
            "description": "The ID of the `Device` resource the `Transfer` was created under."
          },
          "externally_funded": {
            "type": "string",
            "description": "Details if the `Transfer` will be settled externally by card processors."
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp indicating when a held refund expires. Only returned for reversals created with refund holds enabled. A refund that can't be covered by this time fails with `failure_code: REFUND_EXPIRED`. For more information, see [Pending refunds](/guides/after-the-payment/refunds/pending-refunds).",
            "nullable": true
          },
          "failure_code": {
            "$ref": "#/components/schemas/failure_code"
          },
          "failure_message": {
            "$ref": "#/components/schemas/failure_message"
          },
          "fee": {
            "$ref": "#/components/schemas/fee_transfer"
          },
          "fee_profile": {
            "type": "string",
            "description": "The ID of the `Fee Profile` that will be used for calculating fees for this transfer."
          },
          "funds_flow_type": {
            "$ref": "#/components/schemas/funds_flow_type"
          },
          "idempotency_id": {
            "$ref": "#/components/schemas/idempotency_id"
          },
          "ip_address_details": {
            "type": "object",
            "description": "Always returns `null`.",
            "nullable": true
          },
          "merchant": {
            "type": "string",
            "description": "The ID of the `Merchant` resource the `Transfer` was created under.",
            "example": "MUxxxxxxxxxxxxxxxxxxxxxxx"
          },
          "merchant_identity": {
            "type": "string",
            "example": "IDxxxxxxxxxxxxxxxxxxxxxxxx",
            "description": "The ID of `Identity` resource used by the `Merchant` the `Transfer` was created under."
          },
          "messages": {
            "type": "array",
            "description": "A list of messages that provides additional details.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "network_details": {
            "type": "object",
            "nullable": true,
            "description": "Contains network-specific fields used by issuers to identify transactions.",
            "properties": {
              "brand": {
                "type": "string",
                "description": "Card brand associated with the saved payment instrument.",
                "example": "VISA"
              },
              "authorization_code": {
                "type": "string",
                "description": "Code returned by the issuing bank when a transaction is authorized.",
                "example": 840735
              },
              "acquirer_reference_number": {
                "type": "string",
                "description": "Unique identifier banks use to trace chargebacks or refunds. Available only for Mastercard transactions; otherwise returns `null`.",
                "nullable": true,
                "example": 521600805857
              }
            }
          },
          "operation_key": {
            "type": "string",
            "enum": [
              "CARD_NOT_PRESENT_CAPTURE",
              "CARD_NOT_PRESENT_REFUND",
              "CARD_NOT_PRESENT_SALE",
              "CARD_NOT_PRESENT_UNREFERENCED_REFUND",
              "CARD_PRESENT_AUTHORIZATION",
              "CARD_PRESENT_DEBIT",
              "CARD_PRESENT_SALE",
              "CARD_PRESENT_UNREFERENCED_REFUND",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_ACH",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_CARD",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_FED_NOW",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_ACH",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_CARD",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_FED_NOW",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "INSTANT_MERCHANT_FUNDING_PULL_FROM_ACH",
              "INSTANT_MERCHANT_FUNDING_PULL_FROM_FED_NOW",
              "INSTANT_MERCHANT_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_ACH",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_CARD",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_FED_NOW",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "MERCHANT_CREDIT_ADJUSTMENT",
              "MERCHANT_DEBIT_ADJUSTMENT",
              "PULL_FROM_ACH",
              "PULL_FROM_CARD",
              "PULL_FROM_SAME_DAY_ACH",
              "PUSH_TO_ACH",
              "PUSH_TO_CARD",
              "PUSH_TO_SAME_DAY_ACH",
              "REFUND_MERCHANT_CREDIT_ADJUSTMENT",
              "REFUND_MERCHANT_DEBIT_ADJUSTMENT",
              "SALE",
              "STANDARD_APPLICATION_FUNDING_PULL_FROM_ACH",
              "STANDARD_APPLICATION_FUNDING_PULL_FROM_CARD",
              "STANDARD_APPLICATION_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "STANDARD_APPLICATION_FUNDING_PUSH_TO_ACH",
              "STANDARD_APPLICATION_FUNDING_PUSH_TO_CARD",
              "STANDARD_APPLICATION_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "STANDARD_MERCHANT_FUNDING_PULL_FROM_ACH",
              "STANDARD_MERCHANT_FUNDING_PULL_FROM_CARD",
              "STANDARD_MERCHANT_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "STANDARD_MERCHANT_FUNDING_PUSH_TO_ACH",
              "STANDARD_MERCHANT_FUNDING_PUSH_TO_CARD",
              "STANDARD_MERCHANT_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "UNREFERENCED_REFUND"
            ],
            "description": "The operation performed in the transaction. `REFUND_MERCHANT_DEBIT_ADJUSTMENT` and `REFUND_MERCHANT_CREDIT_ADJUSTMENT` are created by Finix for [refund holds](/guides/after-the-payment/refunds/pending-refunds) and cannot be passed in requests.",
            "nullable": true
          },
          "parent_transfer": {
            "type": "string",
            "description": "ID of the original parent `Transfer`. Only present when `type` is `REVERSAL`.",
            "nullable": true
          },
          "parent_transfer_trace_id": {
            "type": "string",
            "description": "The `trace_id` of the original parent `Transfer`. Only present when `type` is `REVERSAL`.",
            "nullable": true
          },
          "processed_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp of when the `Transfer` was processed.",
            "nullable": true
          },
          "pull_transfer_id": {
            "type": "string",
            "nullable": true,
            "description": "The ID of the corresponding pull `Transfer` linked in a `ME_TO_ME` transaction."
          },
          "raw": {
            "description": "Raw response from the processor.",
            "anyOf": [
              {
                "type": "object",
                "nullable": true
              },
              {
                "type": "string",
                "nullable": true
              }
            ]
          },
          "ready_to_settle_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp indicating when the `Transfer` is ready to be settled.",
            "nullable": true
          },
          "receipt_last_printed_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the receipt was last printed.",
            "nullable": true
          },
          "security_code_verification": {
            "type": "string",
            "nullable": true,
            "description": "Details the results of the Card Verification Code check.",
            "enum": [
              "MATCHED",
              "UNKNOWN",
              "UNMATCHED"
            ]
          },
          "source": {
            "type": "string",
            "description": "The ID of the `Payment Instrument` that will be debited and performing the `Transfer`.",
            "nullable": true
          },
          "split_transfers": {
            "type": "array",
            "description": "Array containing the resource IDs of the `Split Transfers` generated from the `Transfer`.\n\nFor standard split transactions, this contains IDs of `Split Transfers` created from the parent `Transfer`.\n\nFor [dispute adjustment transfers](/api/disputes/listdisputesadjustments) on split transactions:\n- When a `MERCHANT_DEBIT` or `MERCHANT_CREDIT` adjustment `Transfer` is created for a [Dispute](/api/disputes) on a split transaction, this array contains the IDs of `Split Transfers` created for each participant.\n- The `Split Transfers` are created proportionally based on each merchant's share of the original sale.\n\nFor more information, see [Split Transactions - Disputes](../../../../guides/online-payments/payment-features/split-transactions#disputes).\n",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "state": {
            "type": "string",
            "enum": [
              "CANCELED",
              "PENDING",
              "FAILED",
              "SUCCEEDED",
              "UNKNOWN",
              "RETURNED"
            ],
            "description": "The status of the `Transfer`."
          },
          "statement_descriptor": {
            "$ref": "#/components/schemas/statement_descriptor"
          },
          "subtype": {
            "type": "string",
            "description": "Additional information describing the `payment_type`.\n\nFor [dispute adjustment transfers](/api/disputes/listdisputesadjustments) (`type: DISPUTE`):\n- `MERCHANT_DEBIT`: Funds are pulled from the merchant(s) when a chargeback occurs. For split transactions, this creates `Split Transfers` with `type: DISPUTE_MERCHANT_DEBIT`.\n- `MERCHANT_CREDIT`: Funds are returned to the merchant(s) when a `Dispute` is ruled in their favor. For split transactions, this creates `Split Transfers` with `type: DISPUTE_MERCHANT_CREDIT`.\n\nFor [refund hold](/guides/after-the-payment/refunds/pending-refunds) adjustment transfers:\n- `REFUND_MERCHANT_DEBIT_ADJUSTMENT`: Funds are pulled from the merchant to cover a held refund.\n- `REFUND_MERCHANT_CREDIT_ADJUSTMENT`: Funds are returned to the merchant when the held refund is submitted or expires.\n",
            "enum": [
              "API",
              "DISPUTE",
              "MERCHANT_CREDIT",
              "MERCHANT_CREDIT_ADJUSTMENT",
              "MERCHANT_DEBIT",
              "MERCHANT_DEBIT_ADJUSTMENT",
              "PLATFORM_CREDIT",
              "PLATFORM_CREDIT_ADJUSTMENT",
              "PLATFORM_DEBIT",
              "PLATFORM_DEBIT_ADJUSTMENT",
              "REFUND_MERCHANT_CREDIT_ADJUSTMENT",
              "REFUND_MERCHANT_DEBIT_ADJUSTMENT",
              "SETTLEMENT_MERCHANT",
              "SETTLEMENT_NOOP",
              "SETTLEMENT_PARTNER",
              "SETTLEMENT_PLATFORM",
              "SPLIT_PAYOUT",
              "SPLIT_PAYOUT_ADJUSTMENT",
              "SYSTEM"
            ]
          },
          "supplemental_fee": {
            "type": "string",
            "description": "Amount in cents for which an additional fee will be created in addition to any fees created from the assigned fee profile.",
            "nullable": true
          },
          "tags": {
            "$ref": "#/components/schemas/tags"
          },
          "tip_amount": {
            "type": "integer",
            "description": "The tip amount included in the total amount.",
            "nullable": true
          },
          "trace_id": {
            "type": "string",
            "description": "Trace ID of the `Transfer`. The processor sends back the `trace_id` so you can track the `Transfer` end-to-end.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type of `Transfer`.",
            "enum": [
              "DEBIT",
              "CREDIT",
              "REVERSAL",
              "ADJUSTMENT",
              "DISPUTE",
              "RESERVE",
              "SETTLEMENT",
              "UNKNOWN"
            ]
          },
          "third_party_details": {
            "type": "object",
            "description": "Details about the third-party processor associated with the `Transfer`.",
            "nullable": true,
            "properties": {
              "external_trace_id": {
                "type": "string",
                "description": "The trace ID returned by the third-party processor used to identify the `Transfer`.",
                "nullable": true
              },
              "type": {
                "type": "string",
                "description": "The name of the third-party processor associated with the `Transfer`.",
                "nullable": true,
                "enum": [
                  "CYBERSOURCE"
                ]
              }
            }
          },
          "_links": {
            "type": "object",
            "properties": {
              "application": {
                "$ref": "#/components/schemas/application_link"
              },
              "destination": {
                "type": "object",
                "description": "Link to the `Payment Instrument` where funds are getting sent.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "device": {
                "type": "object",
                "description": "Link to the `Device` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "disputes": {
                "type": "object",
                "description": "Link to the `Dispute` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "fee_profile": {
                "type": "object",
                "description": "Link to the `fee_profile` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "fees": {
                "type": "object",
                "description": "Link to the `fees` the request is associated with.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "merchant_identity": {
                "type": "object",
                "description": "Link to the `Identity` the `Merchant` was created under and the `Transfer` was submitted with.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "payment_instruments": {
                "type": "object",
                "description": "Link to the `Payment Instrument` associated with the Transfer.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "disputed_transfer": {
                "type": "object",
                "description": "Link to the `Transfer` the `Dispute` is about.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "parent": {
                "type": "object",
                "description": "Link to the original resource that was used in the request.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "reversals": {
                "type": "object",
                "description": "Link to the `reversals` associated with the `Transfer`.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "self": {
                "$ref": "#/components/schemas/self"
              },
              "source": {
                "type": "object",
                "description": "Link to the `Payment Instrument` the `Transfer` was created under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```

### Unreferenced Refunds

Use an unreferenced refund when:

- The payment type is `debit` and the transaction is no longer in the batch.
- The payment type is `credit` and the transaction is no longer in the batch and older than 45 days.


To perform the unreferenced refund, [create a Transfer](/api/transfers/createtransfer) with `operation_key: CARD_PRESENT_UNREFERENCED_REFUND`. The cardholder must swipe their card to authorize the refund.

Card-not-present transactions (e.g., eCommerce) do not support unreferenced refunds.

Example
```shell cURL
curl -i -X POST \
  -u '<username>:<password>' \
  https://finix.sandbox-payments-api.com/transfers \
  -H 'Content-Type: application/json' \
  -H 'Finix-Version: 2022-02-01' \
  -d '{
    "amount": 150,
    "currency": "USD",
    "device": "DVcazsRGCXuRgxYAqwkbvvci",
    "operation_key": "CARD_PRESENT_UNREFERENCED_REFUND"
  }'
```

API Definition
```json
{
  "$ref": "#/components/schemas/createTransferUnreferencedRefund",
  "components": {
    "schemas": {
      "amount": {
        "type": "integer",
        "description": "The total amount that will be debited in cents (e.g. 100 cents to debit $1.00).",
        "example": 5000,
        "format": "int64"
      },
      "currency": {
        "type": "string",
        "description": "ISO 4217 3-letter currency code.",
        "enum": [
          "CAD",
          "USD"
        ]
      },
      "createTransferUnreferencedRefund": {
        "title": "Transfer - Card Present - Unreferenced Refund",
        "description": "Request fields to perform an [unreferenced refund](/guides/after-the-payment/refunds#unreferenced-refunds).",
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/amount"
          },
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "device": {
            "type": "string",
            "description": "The ID of the `Device` the `Transfer` was created under."
          },
          "operation_key": {
            "type": "string",
            "description": "Provide the operation key for an [unreferenced refund](/guides/after-the-payment/refunds#unreferenced-refunds).",
            "enum": [
              "CARD_PRESENT_UNREFERENCED_REFUND"
            ],
            "nullable": true
          }
        },
        "required": [
          "amount",
          "currency",
          "device",
          "operation_key"
        ]
      }
    }
  }
}
```

A successful request returns a `201 Created` status code, with the response body containing:

- `operation_key` is set to `CARD_PRESENT_UNREFERENCED_REFUND`.
- `state` - Initially set to `PENDING` to indicate that the refund is still processing.
  - Changes to `SUCCEEDED` when the refund is processed.
- `type` is set to `CREDIT` or `DEBIT` based on the original transfer type, rather than `REVERSAL`.


Unlike referenced refunds, there is no `_links.parent` property — a new `Transfer` was created instead of reversing an existing one.

Example
Card Present Transfer without Parent Reference
```json Card Present Transfer without Parent Reference
{
  "id": "TRo5JpCqMY26ufvRdTJ8715j",
  "created_at": "2025-11-19T20:31:16.48Z",
  "updated_at": "2025-11-19T20:31:16.48Z",
  "additional_buyer_charges": null,
  "additional_healthcare_data": null,
  "additional_purchase_data": null,
  "address_verification": null,
  "amount": 150,
  "amount_requested": 150,
  "application": "APc9vhYcPsRuTSpKD9KpMtPe",
  "card_present_details": {
    "emv_data": {
      "application_identifier": "A0000000041010",
      "application_label": "Mastercard Debit",
      "application_preferred_name": null,
      "application_transaction_counter": "01D2",
      "cryptogram": "ARQC 579B6893AADF6245",
      "issuer_code_table_index": null,
      "network_emv_response": null,
      "pin_verified": false,
      "tags": null
    },
    "masked_account_number": "523499******4130",
    "name": null,
    "brand": "UNKNOWN",
    "entry_mode": "CONTACTLESS",
    "payment_type": "CREDIT",
    "approval_code": "674313",
    "digital_signature_file_id": null
  },
  "currency": "USD",
  "destination": "PInqirmUHFh1FmPNa8reirAb",
  "device": "DVoDo7F6yYCnX2d6Fj9hvsd",
  "externally_funded": "UNKNOWN",
  "failure_code": null,
  "failure_message": null,
  "fee": 0,
  "fee_profile": "FPmtT4MYmiAs1qjLjneQmk4d",
  "idempotency_id": null,
  "ip_address_details": null,
  "merchant": "MUsMvN47nRtdgUkE23SRHDC6",
  "merchant_identity": "IDgu8uaRpVnfSEcRcZFXqpjK",
  "messages": [],
  "network_details": null,
  "operation_key": "CARD_PRESENT_UNREFERENCED_REFUND", // [!code highlight]
  "parent_transfer": null,
  "parent_transfer_trace_id": null,
  "raw": null,
  "ready_to_settle_at": "2025-11-20T20:32:38.76Z",
  "receipt_last_printed_at": null,
  "security_code_verification": null,
  "source": null,
  "split_transfers": [],
  "state": "SUCCEEDED", // [!code highlight]
  "statement_descriptor": "FLX*FINIX FLOWERS",
  "subtype": "API",
  "supplemental_fee": null,
  "tags": {},
  "third_party_details": null,
  "tip_amount": null,
  "trace_id": "23f1fdf9-2783-4bbe-8de2-afd7a7502aad",
  "type": "CREDIT", // [!code highlight]
  "_links": {
    "application": {
      "href": "https://finix.sandbox-payments-api.com/applications/APc9vhYcPsRuTSpKD9KpMtPe"
    },
    "self": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TRo5JpCqMY26ufvRdTJ8715j"
    },
    "merchant_identity": {
      "href": "https://finix.sandbox-payments-api.com/identities/IDgu8uaRpVnfSEcRcZFXqpjK"
    },
    "device": {
      "href": "https://finix.sandbox-payments-api.com/devices/DVoDo7F6yYCnX2d6Fj9hvsd"
    },
    "payment_instruments": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TRo5JpCqMY26ufvRdTJ8715j/payment_instruments"
    },
    "reversals": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TRo5JpCqMY26ufvRdTJ8715j/reversals"
    },
    "fees": {
      "href": "https://finix.sandbox-payments-api.com/fees?linked_to=TRo5JpCqMY26ufvRdTJ8715j"
    },
    "disputes": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TRo5JpCqMY26ufvRdTJ8715j/disputes"
    },
    "destination": {
      "href": "https://finix.sandbox-payments-api.com/payment_instruments/PInqirmUHFh1FmPNa8reirAb"
    },
    "fee_profile": {
      "href": "https://finix.sandbox-payments-api.com/fee_profiles/FPmtT4MYmiAs1qjLjneQmk4d"
    }
  }
}
```

API Definition
```json
{
  "$ref": "#/components/schemas/transfer",
  "components": {
    "schemas": {
      "id": {
        "type": "string",
        "minLength": 1,
        "description": "The ID of the resource."
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "description": "Timestamp of when the object was created."
      },
      "updated_at": {
        "type": "string",
        "format": "date-time",
        "description": "Timestamp of when the object was last updated."
      },
      "additional_buyer_charges": {
        "type": "object",
        "description": "Additional charges will be incurred by the buyer.\n\nThe following rules apply:\n\n- The `Merchant` must be enabled to charge these surcharges by setting the appropriate flags for each applicable surcharge to `true` using the PUT `/merchants` endpoint.\n- Only _one_ of the following charges can be applied during creation.\n",
        "nullable": true,
        "properties": {
          "convenience_amount": {
            "type": "integer",
            "description": "A convenience fee to charge the buyer for the transaction. This object property is mutually exclusive.",
            "nullable": true
          },
          "rent_surcharge_amount": {
            "type": "integer",
            "description": "A rent surcharge to charge the buyer for the transaction. This object property is mutually exclusive.",
            "nullable": true
          },
          "surcharge_amount": {
            "type": "integer",
            "description": "A surcharge amount to charge the buyer for the transaction. This object property is mutually exclusive.",
            "nullable": true
          }
        }
      },
      "additional_healthcare_data": {
        "type": "object",
        "nullable": true,
        "properties": {
          "clinic_amount": {
            "type": "integer",
            "description": "A clinic or other qualified medical amount for the transaction.",
            "nullable": true
          },
          "dental_amount": {
            "type": "integer",
            "description": "The dental amount for the transaction.",
            "nullable": true
          },
          "prescription_amount": {
            "type": "integer",
            "description": "The prescription/RX amount for the transaction.",
            "nullable": true
          },
          "vision_amount": {
            "type": "integer",
            "description": "The vision/optical amount for the transaction.",
            "nullable": true
          }
        }
      },
      "additional_lodging_data": {
        "type": "object",
        "nullable": true,
        "description": "Contains lodging-specific fields for `Authorization` and `Transfer` requests. Optional for lodging MCC transactions (MCC 3501–3999, 7011). Returns `null` for all other transactions.",
        "properties": {
          "check_in_date": {
            "type": "object",
            "nullable": true,
            "description": "The guest's scheduled arrival date.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the check-in date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the check-in date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the check-in date."
              }
            }
          },
          "check_out_date": {
            "type": "object",
            "nullable": true,
            "description": "The guest's scheduled departure date. Must represent a date on or after `check_in_date`.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the check-out date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the check-out date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the check-out date."
              }
            }
          },
          "customer_service_phone": {
            "type": "string",
            "nullable": true,
            "description": "The phone number guests can call for support or inquiries related to their stay."
          },
          "extra_charge_details": {
            "type": "object",
            "nullable": true,
            "description": "Additional charges billed beyond the room rate. Each field represents a specific charge type, in cents.",
            "properties": {
              "restaurant_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "mini_bar_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "laundry_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "other_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "phone_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "gift_shop_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              }
            }
          },
          "hotel_agreement_number": {
            "type": "string",
            "nullable": true,
            "description": "The folio or agreement number associated with the reservation. Max 12 characters; longer values are truncated."
          },
          "is_advance_deposit": {
            "type": "boolean",
            "nullable": true,
            "default": false,
            "description": "Indicates whether the lodging charge is an advance deposit."
          },
          "is_no_show": {
            "type": "boolean",
            "nullable": true,
            "default": false,
            "description": "Set to `true` if the cardholder is being billed for a reserved room that was not occupied."
          },
          "number_of_nights": {
            "type": "integer",
            "nullable": true,
            "description": "The total number of nights for the lodging stay."
          },
          "property_phone": {
            "type": "string",
            "nullable": true,
            "description": "The direct phone number of the lodging property."
          },
          "room_rate": {
            "type": "string",
            "nullable": true,
            "description": "The nightly room rate, in cents."
          },
          "room_tax": {
            "type": "string",
            "nullable": true,
            "description": "The tax amount applied to the room rate, in cents."
          }
        }
      },
      "country": {
        "type": "string",
        "enum": [
          "ABW",
          "AFG",
          "AGO",
          "AIA",
          "ALA",
          "ALB",
          "AND",
          "ARE",
          "ARG",
          "ARM",
          "ASM",
          "ATA",
          "ATF",
          "ATG",
          "AUS",
          "AUT",
          "AZE",
          "BDI",
          "BEL",
          "BEN",
          "BES",
          "BFA",
          "BGD",
          "BGR",
          "BHR",
          "BHS",
          "BIH",
          "BLM",
          "BLR",
          "BLZ",
          "BMU",
          "BOL",
          "BRA",
          "BRB",
          "BRN",
          "BTN",
          "BVT",
          "BWA",
          "CAF",
          "CAN",
          "CCK",
          "CHE",
          "CHL",
          "CHN",
          "CIV",
          "CMR",
          "COD",
          "COG",
          "COK",
          "COL",
          "COM",
          "CPV",
          "CRI",
          "CUB",
          "CUW",
          "CXR",
          "CYM",
          "CYP",
          "CZE",
          "DEU",
          "DJI",
          "DMA",
          "DNK",
          "DOM",
          "DZA",
          "ECU",
          "EGY",
          "ERI",
          "ESH",
          "ESP",
          "EST",
          "ETH",
          "FIN",
          "FJI",
          "FLK",
          "FRA",
          "FRO",
          "FSM",
          "GAB",
          "GBR",
          "GEO",
          "GGY",
          "GHA",
          "GIB",
          "GIN",
          "GLP",
          "GMB",
          "GNB",
          "GNQ",
          "GRC",
          "GRD",
          "GRL",
          "GTM",
          "GUF",
          "GUM",
          "GUY",
          "HKG",
          "HMD",
          "HND",
          "HRV",
          "HTI",
          "HUN",
          "IDN",
          "IMN",
          "IND",
          "IOT",
          "IRL",
          "IRN",
          "IRQ",
          "ISL",
          "ISR",
          "ITA",
          "JAM",
          "JEY",
          "JOR",
          "JPN",
          "KAZ",
          "KEN",
          "KGZ",
          "KHM",
          "KIR",
          "KNA",
          "KOR",
          "KWT",
          "LAO",
          "LBN",
          "LBR",
          "LBY",
          "LCA",
          "LIE",
          "LKA",
          "LSO",
          "LTU",
          "LUX",
          "LVA",
          "MAC",
          "MAF",
          "MAR",
          "MCO",
          "MDA",
          "MDG",
          "MDV",
          "MEX",
          "MHL",
          "MKD",
          "MLI",
          "MLT",
          "MMR",
          "MNE",
          "MNG",
          "MNP",
          "MRT",
          "MSR",
          "MTQ",
          "MUS",
          "MWI",
          "MYS",
          "MYT",
          "NAM",
          "NCL",
          "NER",
          "NFK",
          "NGA",
          "NIC",
          "NIU",
          "NLD",
          "NOR",
          "NPL",
          "NRU",
          "NZL",
          "OMN",
          "PAK",
          "PAN",
          "PCN",
          "PER",
          "PHL",
          "PLW",
          "PNG",
          "POL",
          "PRI",
          "PRK",
          "PRT",
          "PRY",
          "PSE",
          "PYF",
          "QAT",
          "REU",
          "ROU",
          "RUS",
          "RWA",
          "SAU",
          "SDN",
          "SEN",
          "SGP",
          "SGS",
          "SHN",
          "SJM",
          "SLB",
          "SLE",
          "SLV",
          "SMR",
          "SOM",
          "SPM",
          "SRB",
          "SSD",
          "STP",
          "SUR",
          "SVK",
          "SVN",
          "SWE",
          "SWZ",
          "SXM",
          "SYC",
          "SYR",
          "TCA",
          "TCD",
          "TGO",
          "THA",
          "TJK",
          "TKL",
          "TKM",
          "TLS",
          "TON",
          "TTO",
          "TUN",
          "TUR",
          "TUV",
          "TWN",
          "TZA",
          "UGA",
          "UKR",
          "UMI",
          "URY",
          "USA",
          "UZB",
          "VAT",
          "VCT",
          "VEN",
          "VGB",
          "VIR",
          "VNM",
          "VUT",
          "WLF",
          "WSM",
          "XKX",
          "YEM",
          "ZAF",
          "ZMB",
          "ZWE"
        ],
        "nullable": true
      },
      "address": {
        "type": "object",
        "properties": {
          "line1": {
            "type": "string",
            "minLength": 1,
            "description": "First line of the address (max 35 characters).",
            "nullable": true
          },
          "line2": {
            "type": "string",
            "minLength": 1,
            "description": "Second line of the address (max 35 characters).",
            "nullable": true
          },
          "city": {
            "type": "string",
            "minLength": 1,
            "description": "City (max 20 characters).",
            "nullable": true
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "description": "2-letter State code.",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "minLength": 1,
            "description": "Zip or Postal code (max 7 characters).",
            "nullable": true
          },
          "country": {
            "$ref": "#/components/schemas/country"
          }
        },
        "required": [
          "city",
          "country",
          "line1",
          "postal_code",
          "region"
        ]
      },
      "additional_motor_vehicle_rental_data": {
        "type": "object",
        "nullable": true,
        "description": "Contains motor vehicle rental-specific fields for `Authorization` and `Transfer` requests. Optional for motor vehicle rental MCC transactions (MCC 3351–3500, 7512). Returns `null` for all other transactions.",
        "properties": {
          "motor_vehicle_rental_agreement_number": {
            "type": "string",
            "nullable": true,
            "description": "The rental agreement or contract reference number for the rental. Max 9 characters; longer values are truncated."
          },
          "customer_service_number": {
            "type": "string",
            "nullable": true,
            "description": "The phone number customers can call for support or inquiries related to their rental."
          },
          "extra_charge_details": {
            "type": "object",
            "nullable": true,
            "description": "Additional charges beyond the base rental rate being billed. Each field represents a specific charge type, in cents.",
            "properties": {
              "extra_mileage_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "fuel_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "insurance_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "late_return_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "one_way_service_fee_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              },
              "parking_violation_amount": {
                "type": "integer",
                "nullable": true,
                "description": "The amount of the additional charge, in cents."
              }
            }
          },
          "is_no_show": {
            "type": "boolean",
            "nullable": true,
            "default": false,
            "description": "An indicator that the cardholder is being billed for a reserved vehicle that was not actually rented (that is, a \"no-show\" charge)."
          },
          "number_of_days": {
            "type": "integer",
            "nullable": true,
            "description": "The total number of days for the vehicle rental."
          },
          "rental_rate": {
            "type": "string",
            "nullable": true,
            "description": "The daily rental rate for the vehicle, in cents."
          },
          "renter_name": {
            "type": "string",
            "nullable": true,
            "description": "The name of the person renting the vehicle."
          },
          "pickup_address": {
            "nullable": true,
            "description": "The full address of the rental pickup location.",
            "allOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ]
          },
          "pickup_date": {
            "type": "object",
            "nullable": true,
            "description": "The scheduled vehicle pickup date.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the pickup date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the pickup date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the pickup date."
              }
            }
          },
          "return_address": {
            "nullable": true,
            "description": "The full address of the vehicle return location.",
            "allOf": [
              {
                "$ref": "#/components/schemas/address"
              }
            ]
          },
          "return_date": {
            "type": "object",
            "nullable": true,
            "description": "The scheduled vehicle return date. Must be on or after `pickup_date`.",
            "properties": {
              "month": {
                "type": "integer",
                "description": "The month of the return date."
              },
              "day": {
                "type": "integer",
                "description": "The day of the return date."
              },
              "year": {
                "type": "integer",
                "description": "The year of the return date."
              }
            }
          }
        }
      },
      "customer_reference_number": {
        "type": "string",
        "description": "A unique reference ID for the order such as a purchase order (PO) number or invoice number. A purchase order number (PO number) is a unique code assigned to a specific order of goods or services. The buyer creates this number when they make a purchase order. It helps both the buyer and the seller track the order, match invoices, and keep accurate financial records.",
        "maxLength": 17
      },
      "additional_purchase_data": {
        "type": "object",
        "description": "Additional information about the purchase used for [Level 2 and Level 3 Processing](/guides/online-payments/payment-features/level-2-level-3-processing). Please note that Visa is ending its Level 2 offering in April 2026.",
        "nullable": true,
        "properties": {
          "customer_reference_number": {
            "$ref": "#/components/schemas/customer_reference_number"
          },
          "customs_duty_amount": {
            "type": "integer",
            "nullable": true,
            "description": "The duty in cents on the total purchase amount for the order."
          },
          "destination_country_code": {
            "type": "string",
            "nullable": true,
            "description": "The ISO country code of the order destination."
          },
          "destination_postal_code": {
            "type": "string",
            "nullable": true,
            "description": "The postal code of the order destination (10 characters).",
            "maxLength": 10
          },
          "discount_amount": {
            "type": "integer",
            "nullable": true,
            "description": "The amount in cents of the discount for the order. You must include this field to qualify for Level 3 interchange benefits. Even if the value is (0), you should pass the field to qualify for Level 3."
          },
          "invoice_reference_number": {
            "type": "string",
            "nullable": true,
            "description": "The order's invoice number (max 15 characters).",
            "maxLength": 15
          },
          "order_date": {
            "type": "object",
            "nullable": true,
            "properties": {
              "day": {
                "type": "integer",
                "description": "Day of purchase (between 1 and 31)."
              },
              "month": {
                "type": "integer",
                "description": "Month of purchase (between 1 and 12)."
              },
              "year": {
                "type": "integer",
                "description": "Year of purchase (4-digit).",
                "minimum": 1990
              }
            }
          },
          "sales_tax": {
            "type": "integer",
            "nullable": true,
            "description": "- Total aggregate tax amount in cents for the entire purchase. Field is automatically calculated if you pass in the itemized tax amounts.\n- For non-taxable transactions either set `sales_tax` to 0 or omit from payload and also set `tax_exempt` to **True**.\n- Request must align so `amount_excluding_sales_tax` + `sales_tax` = `amount_including_sales_tax`.\n- For Visa, this field no longer qualifies for lower interchange after April 17, 2026. Include `item_data` for Level 3 processing."
          },
          "sales_tax_finix_generated": {
            "type": "integer",
            "description": "The sales tax amount in cents Finix calculated from the `item_data` line items.",
            "nullable": true
          },
          "ship_from_postal_code": {
            "type": "string",
            "nullable": true,
            "description": "The postal code from where order is shipped (10 characters).",
            "maxLength": 10
          },
          "shipping_amount": {
            "type": "integer",
            "nullable": true,
            "description": "The shipping cost in cents for the order.\n"
          },
          "tax_exempt": {
            "type": "boolean",
            "description": "- For tax exempt purchases set to **True**.\n- If set to **True**, request can't include `sales_tax`."
          },
          "item_data": {
            "type": "array",
            "description": "Additional information about the transaction. Used for Level 2 and Level 3 Processing.",
            "items": {
              "type": "object",
              "properties": {
                "amount_excluding_sales_tax": {
                  "type": "integer",
                  "description": "- Total cost of the line item in cents, excluding tax.\n- Must align with `sales_tax` so `amount_excluding_sales_tax` + `sales_tax` = `amount_including_sales_tax`."
                },
                "amount_including_sales_tax": {
                  "type": "integer",
                  "description": "- Total cost of the line item in cents, including tax.\n- Must align with `sales_tax` so `amount_excluding_sales_tax` + `sales_tax` = `amount_including_sales_tax`."
                },
                "commodity_code": {
                  "description": "A commodity code is a numeric code representing a particular product or service as defined by the National Institute of Governmental Purchasing. The code can be 3, 5, 7, or 11 digits in length. The longer the code the more granular the description of the product/service. (max 12 characters).",
                  "type": "string",
                  "maxLength": 12
                },
                "cost_per_unit": {
                  "type": "integer",
                  "description": "The price in cents, excluding tax, of one unit of the item purchased."
                },
                "item_description": {
                  "type": "string",
                  "description": "Required when `item_data` is supplied (max 25 characters).",
                  "maxLength": 25
                },
                "item_discount_amount": {
                  "type": "integer",
                  "description": "The item discount amount in cents. You must include this field to qualify for Level 3 interchange benefits. Even if the value is (0), you should pass the field to qualify for Level 3."
                },
                "merchant_product_code": {
                  "type": "string",
                  "description": "Merchant defined product code (max 12 characters).",
                  "maxLength": 12
                },
                "quantity": {
                  "type": "number",
                  "description": "The number of items purchased. Must be greater than 0.",
                  "minimum": 1,
                  "maximum": 99
                },
                "unit_of_measure": {
                  "type": "string",
                  "description": "The unit of measure of the purchased item (max 3 characters).",
                  "maxLength": 3
                },
                "sales_tax_amount": {
                  "type": "integer",
                  "description": "The sales tax amount in cents for the line item."
                },
                "sales_tax_rate": {
                  "type": "number",
                  "description": "The sales tax rate for the line item as a decimal (e.g., 0.25 equals 25%).",
                  "example": 0.25
                }
              }
            }
          }
        }
      },
      "amount": {
        "type": "integer",
        "description": "The total amount that will be debited in cents (e.g. 100 cents to debit $1.00).",
        "example": 5000,
        "format": "int64"
      },
      "tags": {
        "type": "object",
        "title": "tags",
        "additionalProperties": true,
        "description": "Include up to 50 `key: value` pairs to annotate requests with custom metadata.\n- Maximum character length for individual `keys` is 40.\n- Maximum character length for individual `values` is 500.\n(For example, `order_number: 25`, `item_type: produce`, `department: sales`)",
        "nullable": true
      },
      "currency": {
        "type": "string",
        "description": "ISO 4217 3-letter currency code.",
        "enum": [
          "CAD",
          "USD"
        ]
      },
      "created_via_transfers_authorizations": {
        "type": "string",
        "description": "Gives more information about the product flow that was used to create the resource. Finix retains the right to add additional enums for this field without it being a breaking change.",
        "default": "UNKNOWN",
        "enum": [
          "CARD_PRESENT_ANDROID_APP",
          "CARD_PRESENT_ANDROID_APP_MANUAL_ENTRY",
          "CARD_PRESENT_ANDROID_D135_SDK",
          "CARD_PRESENT_DEVICE_READER_SDK",
          "CARD_PRESENT_IOS_APP",
          "CARD_PRESENT_IOS_APP_MANUAL_ENTRY",
          "CARD_PRESENT_IOS_D135_SDK",
          "CARD_PRESENT_IOS_TAP_TO_PAY",
          "CARD_PRESENT_IOS_TAP_TO_PAY_SDK",
          "CARD_PRESENT_SEMI_INTEGRATED_API",
          "CARD_PRESENT_STANDALONE",
          "CARD_PRESENT_STANDALONE_MANUAL_ENTRY",
          "CHECKOUT_FORM",
          "CYBERSOURCE",
          "DEVICE_ORDER",
          "PAYMENT_LINK",
          "PAYOUT_LINK",
          "PLUGIN_ADMOJI",
          "PLUGIN_CHECKOUT_CHAMP",
          "PLUGIN_FYNTEK",
          "PLUGIN_GAMBLE_ID",
          "PLUGIN_GAMMA_SWEEP",
          "PLUGIN_GR4VY",
          "PLUGIN_HYPERSWITCH",
          "PLUGIN_LACORE",
          "PLUGIN_PAYSIGHT",
          "PLUGIN_PRYZR",
          "PLUGIN_SERVMAN",
          "PLUGIN_SOAP_PAY",
          "PLUGIN_STICKYIO",
          "PLUGIN_TAGADA",
          "PLUGIN_WOO_COMMERCE",
          "PLUGIN_VRIO",
          "SUBSCRIPTION",
          "UNKNOWN",
          "VIRTUAL_TERMINAL"
        ]
      },
      "failure_code": {
        "type": "string",
        "description": "The code of the failure so the decline can be handled programmatically. For more info on how to handle the failure, see [Failure Codes](/additional-resources/developers/implementation-and-testing/failure-codes).",
        "nullable": true
      },
      "failure_message": {
        "type": "string",
        "description": "A human-readable description of why the transaction was declined. This will also include a suggestion on how to complete the payment.",
        "nullable": true
      },
      "fee_transfer": {
        "type": "integer",
        "format": "int64",
        "description": "The minimum amount of the `Transfer` you'd like to collect as your fee in cents. Defaults to zero (must be less than or equal to the `amount`).\n- If the fees applied by the 'Fee Profile' are ***higher*** than the value passed in 'fee', 'fee' will not be applied and have no effect.\n- If the fees applied by the 'Fee Profile' are ***lower*** than the value passed in 'fee', an additional fee is be applied, in addition to the fees generated by the `Fee Profile`.\n    - The additional fee is equal to the difference between the value passed in 'fee' and the fees generated by the `Fee Profile`."
      },
      "funds_flow_type": {
        "type": "string",
        "description": "The type of disbursement to perform. Defaults to `GENERAL_PAYOUT`.\n",
        "enum": [
          "GENERAL_PAYOUT",
          "ME_TO_ME",
          "GOVERNMENT"
        ],
        "nullable": true
      },
      "idempotency_id": {
        "type": "string",
        "description": "Pass any randomly generated or internal ID to [idempotently](/api/section/idempotent-requests) identify `Transfers`, `Authorizations`, or refund requests.",
        "nullable": true
      },
      "statement_descriptor": {
        "type": "string",
        "maxLength": 20,
        "nullable": true,
        "description": "The description of the `Merchant` that appears on the buyer's bank or card statement."
      },
      "application_link": {
        "type": "object",
        "description": "Link to the `Application` the request was made under.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "self": {
        "type": "object",
        "description": "Link to the resource that was used in the request.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "transfer": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "created_at": {
            "$ref": "#/components/schemas/created_at"
          },
          "updated_at": {
            "$ref": "#/components/schemas/updated_at"
          },
          "3d_secure_session": {
            "type": "string",
            "nullable": true,
            "description": "The ID of the `3D Secure Session` that authenticated the buyer. This field is `null` when the payment was not authenticated with a `3D Secure Session`.",
            "example": "3d_secure_session_f3fG3Zj8K958MTP5vpXAXX"
          },
          "additional_buyer_charges": {
            "description": "Details about any [Buyer Charges](../../../../guides/online-payments/payment-features/buyer-charges) included in the `Transfer`. The buyer charges are mutually exclusive.\n",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_buyer_charges"
              }
            ]
          },
          "additional_healthcare_data": {
            "$ref": "#/components/schemas/additional_healthcare_data"
          },
          "additional_lodging_data": {
            "$ref": "#/components/schemas/additional_lodging_data"
          },
          "additional_motor_vehicle_rental_data": {
            "$ref": "#/components/schemas/additional_motor_vehicle_rental_data"
          },
          "additional_purchase_data": {
            "$ref": "#/components/schemas/additional_purchase_data"
          },
          "address_verification": {
            "type": "string",
            "description": "Details the results of the address verification checks.",
            "nullable": true,
            "enum": [
              "POSTAL_CODE_AND_STREET_MATCH",
              "STREET_MATCH",
              "POSTAL_CODE_MATCH",
              "NO_ADDRESS",
              "NO_MATCH",
              "NOT_SUPPORTED",
              "UNKNOWN"
            ]
          },
          "amount": {
            "$ref": "#/components/schemas/amount"
          },
          "amount_requested": {
            "type": "integer",
            "format": "int64",
            "description": "The `amount` that was requested to get debited from the `source` when the transaction was created, in cents (e.g., `100` = $1.00).",
            "example": 100
          },
          "application": {
            "type": "string",
            "minLength": 1,
            "description": "ID of the `Application` associated with the resource."
          },
          "bank_return_details": {
            "type": "object",
            "description": "Details about a transfer that was returned and was unable to be processed. Only present when `state` is `RETURNED`",
            "nullable": true,
            "properties": {
              "reason_code": {
                "type": "string",
                "description": "Return response code from the bank."
              },
              "reason_message": {
                "type": "string",
                "description": "Detailed message explaining reason for the return."
              },
              "reason_title": {
                "type": "string",
                "description": "Short message categorizing reason for the return."
              }
            }
          },
          "card_present_details": {
            "type": "object",
            "description": "Details needed to process card present transactions.",
            "nullable": true,
            "properties": {
              "approval_code": {
                "type": "string",
                "description": "Unique ID used to identify the approval of the `Transfer`.",
                "nullable": true
              },
              "brand": {
                "type": "string",
                "description": "The brand of the card saved in the `Payment Instrument`.",
                "nullable": true
              },
              "emv_data": {
                "type": "object",
                "description": "Encrypted card data used to process the transaction.",
                "nullable": true,
                "properties": {
                  "application_identifier": {
                    "type": "string",
                    "description": "ID of the application used in the transaction. Tag 9F06 from the EMVCo standard.",
                    "nullable": true
                  },
                  "application_label": {
                    "type": "string",
                    "description": "EMV application label. Tag 50 from the EMVCo standard.",
                    "nullable": true
                  },
                  "application_preferred_name": {
                    "type": "string",
                    "description": "EMV application label with formatting (if provided). Tag 9F12 from the EMVCo standard.",
                    "nullable": true
                  },
                  "application_transaction_counter": {
                    "type": "string",
                    "description": "Transaction number for the EMV application. Tag 9F36 from the EMVCo standard.",
                    "nullable": true
                  },
                  "cryptogram": {
                    "type": "string",
                    "description": "Cryptogram returned by the card. Tag 9F26 of the EMVCo standard.",
                    "nullable": true
                  },
                  "issuer_code_table_index": {
                    "type": "string",
                    "description": "The alphabet code table (according to ISO 8859) used by the EMV application (if provided). Tag 9F11.",
                    "nullable": true
                  },
                  "network_emv_response": {
                    "type": "string",
                    "description": "EMV response data returned by the card network.",
                    "nullable": true
                  },
                  "pin_verified": {
                    "type": "boolean",
                    "description": "Whether the cardholder's PIN number was verified."
                  },
                  "tags": {
                    "$ref": "#/components/schemas/tags"
                  }
                }
              },
              "entry_mode": {
                "type": "string",
                "description": "Details of the card payment method used to process the transaction.\n\nThe possible enums are:\n\n- UNKNOWN - The method by which the payment card was used is unknown.\n- SWIPED - The card was swiped through a POS terminal.\n- CONTACTLESS - The payment was made by tapping a card on a POS terminal.\n- CHIP_ENTRY - The payment card was inserted into a card reader.\n",
                "enum": [
                  "UNKNOWN",
                  "SWIPED",
                  "CONTACTLESS",
                  "CHIP_ENTRY"
                ],
                "nullable": true
              },
              "masked_account_number": {
                "type": "string",
                "description": "Last four digits of the bank account number.",
                "nullable": true
              },
              "name": {
                "type": "string",
                "description": "The name of the bank account or card owner.",
                "nullable": true
              },
              "digital_signature_file_id": {
                "type": "string",
                "description": "The ID of the file containing the digital signature captured during the transaction. If a signature was not collected, this field returns `null`.",
                "nullable": true
              },
              "payment_type": {
                "type": "string",
                "description": "The type of `Payment Instrument` used in the transaction (or the original payment).",
                "nullable": true
              }
            }
          },
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "created_via": {
            "$ref": "#/components/schemas/created_via_transfers_authorizations"
          },
          "destination": {
            "type": "string",
            "description": "ID of the `Payment Instrument` where funds will be sent.",
            "nullable": true
          },
          "device": {
            "type": "string",
            "description": "The ID of the `Device` resource the `Transfer` was created under."
          },
          "externally_funded": {
            "type": "string",
            "description": "Details if the `Transfer` will be settled externally by card processors."
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp indicating when a held refund expires. Only returned for reversals created with refund holds enabled. A refund that can't be covered by this time fails with `failure_code: REFUND_EXPIRED`. For more information, see [Pending refunds](/guides/after-the-payment/refunds/pending-refunds).",
            "nullable": true
          },
          "failure_code": {
            "$ref": "#/components/schemas/failure_code"
          },
          "failure_message": {
            "$ref": "#/components/schemas/failure_message"
          },
          "fee": {
            "$ref": "#/components/schemas/fee_transfer"
          },
          "fee_profile": {
            "type": "string",
            "description": "The ID of the `Fee Profile` that will be used for calculating fees for this transfer."
          },
          "funds_flow_type": {
            "$ref": "#/components/schemas/funds_flow_type"
          },
          "idempotency_id": {
            "$ref": "#/components/schemas/idempotency_id"
          },
          "ip_address_details": {
            "type": "object",
            "description": "Always returns `null`.",
            "nullable": true
          },
          "merchant": {
            "type": "string",
            "description": "The ID of the `Merchant` resource the `Transfer` was created under.",
            "example": "MUxxxxxxxxxxxxxxxxxxxxxxx"
          },
          "merchant_identity": {
            "type": "string",
            "example": "IDxxxxxxxxxxxxxxxxxxxxxxxx",
            "description": "The ID of `Identity` resource used by the `Merchant` the `Transfer` was created under."
          },
          "messages": {
            "type": "array",
            "description": "A list of messages that provides additional details.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "network_details": {
            "type": "object",
            "nullable": true,
            "description": "Contains network-specific fields used by issuers to identify transactions.",
            "properties": {
              "brand": {
                "type": "string",
                "description": "Card brand associated with the saved payment instrument.",
                "example": "VISA"
              },
              "authorization_code": {
                "type": "string",
                "description": "Code returned by the issuing bank when a transaction is authorized.",
                "example": 840735
              },
              "acquirer_reference_number": {
                "type": "string",
                "description": "Unique identifier banks use to trace chargebacks or refunds. Available only for Mastercard transactions; otherwise returns `null`.",
                "nullable": true,
                "example": 521600805857
              }
            }
          },
          "operation_key": {
            "type": "string",
            "enum": [
              "CARD_NOT_PRESENT_CAPTURE",
              "CARD_NOT_PRESENT_REFUND",
              "CARD_NOT_PRESENT_SALE",
              "CARD_NOT_PRESENT_UNREFERENCED_REFUND",
              "CARD_PRESENT_AUTHORIZATION",
              "CARD_PRESENT_DEBIT",
              "CARD_PRESENT_SALE",
              "CARD_PRESENT_UNREFERENCED_REFUND",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_ACH",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_CARD",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_FED_NOW",
              "INSTANT_APPLICATION_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_ACH",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_CARD",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_FED_NOW",
              "INSTANT_APPLICATION_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "INSTANT_MERCHANT_FUNDING_PULL_FROM_ACH",
              "INSTANT_MERCHANT_FUNDING_PULL_FROM_FED_NOW",
              "INSTANT_MERCHANT_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_ACH",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_CARD",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_FED_NOW",
              "INSTANT_MERCHANT_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "MERCHANT_CREDIT_ADJUSTMENT",
              "MERCHANT_DEBIT_ADJUSTMENT",
              "PULL_FROM_ACH",
              "PULL_FROM_CARD",
              "PULL_FROM_SAME_DAY_ACH",
              "PUSH_TO_ACH",
              "PUSH_TO_CARD",
              "PUSH_TO_SAME_DAY_ACH",
              "REFUND_MERCHANT_CREDIT_ADJUSTMENT",
              "REFUND_MERCHANT_DEBIT_ADJUSTMENT",
              "SALE",
              "STANDARD_APPLICATION_FUNDING_PULL_FROM_ACH",
              "STANDARD_APPLICATION_FUNDING_PULL_FROM_CARD",
              "STANDARD_APPLICATION_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "STANDARD_APPLICATION_FUNDING_PUSH_TO_ACH",
              "STANDARD_APPLICATION_FUNDING_PUSH_TO_CARD",
              "STANDARD_APPLICATION_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "STANDARD_MERCHANT_FUNDING_PULL_FROM_ACH",
              "STANDARD_MERCHANT_FUNDING_PULL_FROM_CARD",
              "STANDARD_MERCHANT_FUNDING_PULL_FROM_SAME_DAY_ACH",
              "STANDARD_MERCHANT_FUNDING_PUSH_TO_ACH",
              "STANDARD_MERCHANT_FUNDING_PUSH_TO_CARD",
              "STANDARD_MERCHANT_FUNDING_PUSH_TO_SAME_DAY_ACH",
              "UNREFERENCED_REFUND"
            ],
            "description": "The operation performed in the transaction. `REFUND_MERCHANT_DEBIT_ADJUSTMENT` and `REFUND_MERCHANT_CREDIT_ADJUSTMENT` are created by Finix for [refund holds](/guides/after-the-payment/refunds/pending-refunds) and cannot be passed in requests.",
            "nullable": true
          },
          "parent_transfer": {
            "type": "string",
            "description": "ID of the original parent `Transfer`. Only present when `type` is `REVERSAL`.",
            "nullable": true
          },
          "parent_transfer_trace_id": {
            "type": "string",
            "description": "The `trace_id` of the original parent `Transfer`. Only present when `type` is `REVERSAL`.",
            "nullable": true
          },
          "processed_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp of when the `Transfer` was processed.",
            "nullable": true
          },
          "pull_transfer_id": {
            "type": "string",
            "nullable": true,
            "description": "The ID of the corresponding pull `Transfer` linked in a `ME_TO_ME` transaction."
          },
          "raw": {
            "description": "Raw response from the processor.",
            "anyOf": [
              {
                "type": "object",
                "nullable": true
              },
              {
                "type": "string",
                "nullable": true
              }
            ]
          },
          "ready_to_settle_at": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp indicating when the `Transfer` is ready to be settled.",
            "nullable": true
          },
          "receipt_last_printed_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the receipt was last printed.",
            "nullable": true
          },
          "security_code_verification": {
            "type": "string",
            "nullable": true,
            "description": "Details the results of the Card Verification Code check.",
            "enum": [
              "MATCHED",
              "UNKNOWN",
              "UNMATCHED"
            ]
          },
          "source": {
            "type": "string",
            "description": "The ID of the `Payment Instrument` that will be debited and performing the `Transfer`.",
            "nullable": true
          },
          "split_transfers": {
            "type": "array",
            "description": "Array containing the resource IDs of the `Split Transfers` generated from the `Transfer`.\n\nFor standard split transactions, this contains IDs of `Split Transfers` created from the parent `Transfer`.\n\nFor [dispute adjustment transfers](/api/disputes/listdisputesadjustments) on split transactions:\n- When a `MERCHANT_DEBIT` or `MERCHANT_CREDIT` adjustment `Transfer` is created for a [Dispute](/api/disputes) on a split transaction, this array contains the IDs of `Split Transfers` created for each participant.\n- The `Split Transfers` are created proportionally based on each merchant's share of the original sale.\n\nFor more information, see [Split Transactions - Disputes](../../../../guides/online-payments/payment-features/split-transactions#disputes).\n",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "state": {
            "type": "string",
            "enum": [
              "CANCELED",
              "PENDING",
              "FAILED",
              "SUCCEEDED",
              "UNKNOWN",
              "RETURNED"
            ],
            "description": "The status of the `Transfer`."
          },
          "statement_descriptor": {
            "$ref": "#/components/schemas/statement_descriptor"
          },
          "subtype": {
            "type": "string",
            "description": "Additional information describing the `payment_type`.\n\nFor [dispute adjustment transfers](/api/disputes/listdisputesadjustments) (`type: DISPUTE`):\n- `MERCHANT_DEBIT`: Funds are pulled from the merchant(s) when a chargeback occurs. For split transactions, this creates `Split Transfers` with `type: DISPUTE_MERCHANT_DEBIT`.\n- `MERCHANT_CREDIT`: Funds are returned to the merchant(s) when a `Dispute` is ruled in their favor. For split transactions, this creates `Split Transfers` with `type: DISPUTE_MERCHANT_CREDIT`.\n\nFor [refund hold](/guides/after-the-payment/refunds/pending-refunds) adjustment transfers:\n- `REFUND_MERCHANT_DEBIT_ADJUSTMENT`: Funds are pulled from the merchant to cover a held refund.\n- `REFUND_MERCHANT_CREDIT_ADJUSTMENT`: Funds are returned to the merchant when the held refund is submitted or expires.\n",
            "enum": [
              "API",
              "DISPUTE",
              "MERCHANT_CREDIT",
              "MERCHANT_CREDIT_ADJUSTMENT",
              "MERCHANT_DEBIT",
              "MERCHANT_DEBIT_ADJUSTMENT",
              "PLATFORM_CREDIT",
              "PLATFORM_CREDIT_ADJUSTMENT",
              "PLATFORM_DEBIT",
              "PLATFORM_DEBIT_ADJUSTMENT",
              "REFUND_MERCHANT_CREDIT_ADJUSTMENT",
              "REFUND_MERCHANT_DEBIT_ADJUSTMENT",
              "SETTLEMENT_MERCHANT",
              "SETTLEMENT_NOOP",
              "SETTLEMENT_PARTNER",
              "SETTLEMENT_PLATFORM",
              "SPLIT_PAYOUT",
              "SPLIT_PAYOUT_ADJUSTMENT",
              "SYSTEM"
            ]
          },
          "supplemental_fee": {
            "type": "string",
            "description": "Amount in cents for which an additional fee will be created in addition to any fees created from the assigned fee profile.",
            "nullable": true
          },
          "tags": {
            "$ref": "#/components/schemas/tags"
          },
          "tip_amount": {
            "type": "integer",
            "description": "The tip amount included in the total amount.",
            "nullable": true
          },
          "trace_id": {
            "type": "string",
            "description": "Trace ID of the `Transfer`. The processor sends back the `trace_id` so you can track the `Transfer` end-to-end.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type of `Transfer`.",
            "enum": [
              "DEBIT",
              "CREDIT",
              "REVERSAL",
              "ADJUSTMENT",
              "DISPUTE",
              "RESERVE",
              "SETTLEMENT",
              "UNKNOWN"
            ]
          },
          "third_party_details": {
            "type": "object",
            "description": "Details about the third-party processor associated with the `Transfer`.",
            "nullable": true,
            "properties": {
              "external_trace_id": {
                "type": "string",
                "description": "The trace ID returned by the third-party processor used to identify the `Transfer`.",
                "nullable": true
              },
              "type": {
                "type": "string",
                "description": "The name of the third-party processor associated with the `Transfer`.",
                "nullable": true,
                "enum": [
                  "CYBERSOURCE"
                ]
              }
            }
          },
          "_links": {
            "type": "object",
            "properties": {
              "application": {
                "$ref": "#/components/schemas/application_link"
              },
              "destination": {
                "type": "object",
                "description": "Link to the `Payment Instrument` where funds are getting sent.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "device": {
                "type": "object",
                "description": "Link to the `Device` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "disputes": {
                "type": "object",
                "description": "Link to the `Dispute` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "fee_profile": {
                "type": "object",
                "description": "Link to the `fee_profile` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "fees": {
                "type": "object",
                "description": "Link to the `fees` the request is associated with.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "merchant_identity": {
                "type": "object",
                "description": "Link to the `Identity` the `Merchant` was created under and the `Transfer` was submitted with.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "payment_instruments": {
                "type": "object",
                "description": "Link to the `Payment Instrument` associated with the Transfer.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "disputed_transfer": {
                "type": "object",
                "description": "Link to the `Transfer` the `Dispute` is about.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "parent": {
                "type": "object",
                "description": "Link to the original resource that was used in the request.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "reversals": {
                "type": "object",
                "description": "Link to the `reversals` associated with the `Transfer`.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "self": {
                "$ref": "#/components/schemas/self"
              },
              "source": {
                "type": "object",
                "description": "Link to the `Payment Instrument` the `Transfer` was created under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```