# Auth and Captures

Learn how to authorize funds on a card before making a payment.

An `Authorization` (also known as a card hold) reserves a specific amount on the card, confirming that the buyer's payment method has sufficient funds to cover the transaction.

All authorizations must be captured (i.e., debited) within seven days.

## Creating an Authorization

To create an authorization:

- Use the `Payment Instrument` ID provided by Finix as the `source`.
- Use the seller's `Merchant` ID as the `merchant` for the authorization.


### Request

Example
```shell cURL
curl -i -X POST \
  -u '<username>:<password>' \
  https://finix.sandbox-payments-api.com/authorizations \
  -H 'Content-Type: application/json' \
  -d '{
    "amount": 10000,
    "currency": "USD",
    "merchant": "MUfUoWEk3MBJ9m5cCnggfKMf",
    "source": "PIjkxmtZreJ3TTGE3BciARnf"
  }'
```

API Definition
```json
{
  "$ref": "#/components/schemas/createAuthorizationMinimalFields",
  "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"
        ]
      },
      "source": {
        "type": "string",
        "example": "PIxxxxxxxxxxxxxxxxxx",
        "description": "ID of the `Payment Instrument` where funds get debited."
      },
      "createAuthorizationMinimalFields": {
        "title": "Authorization - Minimal Fields",
        "type": "object",
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/amount"
          },
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "merchant": {
            "type": "string",
            "description": "The ID of the `Merchant` that the `Authorization` was created under."
          },
          "source": {
            "$ref": "#/components/schemas/source"
          }
        },
        "required": [
          "amount",
          "currency",
          "merchant",
          "source"
        ]
      }
    }
  }
}
```

### Response

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

- an `expires_at` timestamp for its expiration
- the authorization's `state` as `SUCCEEDED`


Example
Authorization
```json Authorization
{
  "id": "AUoBuZM2yRDh5x4Hq4aZcBJV",
  "created_at": "2026-11-28T01:25:43.44Z",
  "updated_at": "2026-11-28T01:25:43.44Z",
  "3d_secure_session": null,
  "3ds_redirect_url": null,
  "additional_buyer_charges": { // [!code highlight]
    "convenience_amount": 10,
    "surcharge_amount": 0,
    "rent_surcharge_amount": 0
  },
  "additional_healthcare_data": { // [!code highlight]
    "clinic_amount": 50,
    "dental_amount": 200,
    "prescription_amount": 300,
    "vision_amount": 300
  },
  "additional_lodging_data": null,
  "additional_motor_vehicle_rental_data": null,
  "additional_purchase_data": { // [!code highlight]
    "customer_reference_number": "PO-2024-3842",
    "customs_duty_amount": 10,
    "destination_country_code": null,
    "destination_postal_code": null,
    "discount_amount": 100,
    "invoice_reference_number": null,
    "order_date": null,
    "sales_tax": null,
    "sales_tax_finix_generated": 90,
    "ship_from_postal_code": null,
    "shipping_amount": 100,
    "tax_exempt": false,
    "item_data": [
      {
        "cost_per_unit": 500,
        "item_description": "IT Network Assessment",
        "item_discount_amount": 100,
        "merchant_product_code": "SVC-NET-ASMT",
        "quantity": 1,
        "amount_excluding_sales_tax": 400,
        "amount_including_sales_tax": 440,
        "unit_of_measure": "HUR",
        "commodity_code": "175-62-20",
        "sales_tax_amount": 40,
        "sales_tax_rate": 0.1
      },
      {
        "cost_per_unit": 500,
        "item_description": "USB-C Charging Cable 6ft",
        "item_discount_amount": 0,
        "merchant_product_code": "CBL-USBC-6FT",
        "quantity": 1,
        "amount_excluding_sales_tax": 500,
        "amount_including_sales_tax": 550,
        "unit_of_measure": "EA",
        "commodity_code": "207-72-54",
        "sales_tax_amount": 50,
        "sales_tax_rate": 0.1
      }
    ]
  },
  "address_verification": "POSTAL_CODE_AND_STREET_MATCH",
  "amount": 10000,
  "amount_requested": 10000,
  "application": "APt9MknRZxiDMkeReFPMdr7R",
  "created_via": "UNKNOWN",
  "currency": "USD",
  "expires_at": "2026-12-08T01:25:43.44Z", // [!code highlight]
  "failure_code": null,
  "failure_message": null,
  "idempotency_id": null,
  "ip_address_details": null,
  "is_void": false,
  "merchant": "MUfUoWEk3MBJ9m5cCnggfKMf",
  "merchant_identity": "ID6TZEVtE3TGH9ZDwb8iUhsE",
  "messages": [],
  "network_details": {
    "brand": "VISA",
    "authorization_code": "823766"
  },
  "raw": null,
  "receipt_last_printed_at": null,
  "security_code_verification": "MATCHED",
  "source": "PIjkxmtZreJ3TTGE3BciARnf",
  "state": "SUCCEEDED", // [!code highlight]
  "supplemental_fee": null,
  "tags": {
    "order_id": "ORD-123"
  },
  "trace_id": "dd2fc2b3-68f7-4d32-82bb-08fa77ba5259",
  "transfer": null,
  "void_state": "UNATTEMPTED",
  "_links": {
    "self": {
      "href": "https://finix.sandbox-payments-api.com/authorizations/AUoBuZM2yRDh5x4Hq4aZcBJV"
    },
    "application": {
      "href": "https://finix.sandbox-payments-api.com/applications/APt9MknRZxiDMkeReFPMdr7R"
    },
    "merchant_identity": {
      "href": "https://finix.sandbox-payments-api.com/identities/ID6TZEVtE3TGH9ZDwb8iUhsE"
    }
  }
}
```

API Definition
```json
{
  "$ref": "#/components/schemas/authorization",
  "components": {
    "schemas": {
      "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_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."
              }
            }
          }
        }
      },
      "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
          }
        }
      },
      "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
      },
      "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
          },
          "digital_signature_file_id": {
            "type": "string",
            "description": "If a signature was collected this will contain the the id of the `File` resource which stored the signature.",
            "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."
              },
              "application_label": {
                "type": "string",
                "description": "EMV application label. Tag 50 from the EMVCo standard."
              },
              "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."
              },
              "cryptogram": {
                "type": "string",
                "description": "Cryptogram returned by the card. Tag 9F26 of the EMVCo standard."
              },
              "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
              },
              "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 card owner.",
            "nullable": true
          },
          "payment_type": {
            "type": "string",
            "description": "The type of `Payment Instrument` used in the transaction (or the original payment)."
          }
        }
      },
      "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
      },
      "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
      },
      "ip_address_v4": {
        "type": "string",
        "description": "The card brands require the customer's IP address for online gaming clients. Only supports Internet Protocol version 4 (IPv4).",
        "example": "192.168.1.1",
        "nullable": true
      },
      "ip_address_details": {
        "type": "object",
        "nullable": true,
        "description": "This field returns `null` for all users except `ROLE_PLATFORM` users.",
        "properties": {
          "ipv4": {
            "type": "object",
            "properties": {
              "estimated_location": {
                "$ref": "#/components/schemas/address"
              },
              "ip": {
                "$ref": "#/components/schemas/ip_address_v4"
              },
              "latitude": {
                "type": "number",
                "description": "Geo-location based on the IP address."
              },
              "longitude": {
                "type": "number",
                "description": "Geo-location based on the IP address."
              }
            }
          }
        }
      },
      "raw": {
        "title": "Raw",
        "description": "Raw response from the processor.",
        "anyOf": [
          {
            "type": "object",
            "nullable": true
          },
          {
            "type": "string",
            "nullable": true
          }
        ]
      },
      "source": {
        "type": "string",
        "example": "PIxxxxxxxxxxxxxxxxxx",
        "description": "ID of the `Payment Instrument` where funds get debited."
      },
      "self": {
        "type": "object",
        "description": "Link to the resource that was used in the request.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "application_link": {
        "type": "object",
        "description": "Link to the `Application` the request was made under.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "merchant_identity": {
        "type": "object",
        "description": "Link to the `Identity` the `Merchant` was created under and the `Transfer` was submitted with.",
        "properties": {
          "href": {
            "type": "string"
          }
        }
      },
      "transfers": {
        "type": "object",
        "description": "Link to the `Transfer` the request was made under.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "authorization": {
        "type": "object",
        "title": "Authorization",
        "description": "A charge authorization",
        "properties": {
          "id": {
            "type": "string",
            "example": "AUxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `Authorization` resource."
          },
          "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"
          },
          "3ds_redirect_url": {
            "type": "string",
            "description": "The redirect URL used for 3DS transactions (if supported by the processor).",
            "nullable": true
          },
          "additional_lodging_data": {
            "description": "Object detailing any additional lodging amounts included in the `Authorization`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_lodging_data"
              }
            ]
          },
          "additional_motor_vehicle_rental_data": {
            "description": "Object detailing any additional motor vehicle rental amounts included in the `Authorization`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_motor_vehicle_rental_data"
              }
            ]
          },
          "additional_buyer_charges": {
            "description": "Details about any [Buyer Charges](/guides/online-payments/payment-features/buyer-charges) included in the `Authorization`. The buyer charges are mutually exclusive.\n",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_buyer_charges"
              }
            ]
          },
          "additional_healthcare_data": {
            "description": "Object detailing any additional healthcare amounts included in the `Authorization`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_healthcare_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
          },
          "amount": {
            "$ref": "#/components/schemas/amount"
          },
          "amount_requested": {
            "type": "integer",
            "description": "When `default_partial_authorization_enabled` is set to **true**, `amount_requested` indicates the amount the cardholder attempted to authorize."
          },
          "application": {
            "type": "string",
            "description": "The ID of the `Application` resource the `Authorization` was created under."
          },
          "card_present_details": {
            "$ref": "#/components/schemas/card_present_details"
          },
          "credential_on_file": {
            "description": "An object that contains information about the credential on file authorization.\n",
            "type": "object",
            "nullable": true,
            "properties": {
              "initial_transfer_id": {
                "type": "string",
                "description": "The ID of the initial transfer in the series."
              },
              "type": {
                "type": "string",
                "enum": [
                  "RECURRING",
                  "UNSCHEDULED"
                ],
                "description": "The type of credential on file authorization."
              }
            }
          },
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "created_via": {
            "$ref": "#/components/schemas/created_via_transfers_authorizations"
          },
          "device": {
            "type": "string",
            "example": "DVxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the activated device.",
            "nullable": true
          },
          "expires_at": {
            "type": "string",
            "description": "`Authorization` expiration time.",
            "format": "date-time"
          },
          "failure_code": {
            "$ref": "#/components/schemas/failure_code"
          },
          "failure_message": {
            "$ref": "#/components/schemas/failure_message"
          },
          "identity": {
            "type": "string",
            "description": "ID of the buyer 'Identity' to run the card present authorization. Finix tokenizes the card associated with the provided 'Identity' and processes the authorization, removing the need to create a blank buyer `Identity`.",
            "default": null
          },
          "idempotency_id": {
            "$ref": "#/components/schemas/idempotency_id"
          },
          "ip_address_details": {
            "$ref": "#/components/schemas/ip_address_details"
          },
          "is_void": {
            "type": "boolean",
            "description": "Whether the `Authorization` has been voided."
          },
          "merchant": {
            "type": "string",
            "example": "MUxxxxxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `Merchant` resource the `Authorization` was created under."
          },
          "merchant_identity": {
            "type": "string",
            "example": "IDxxxxxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `Identity` resource used by the `Merchant` the `Authorization` was processed under."
          },
          "messages": {
            "type": "array",
            "description": "Message field that provides additional details. This field is typically **null**.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "network_details": {
            "type": "object",
            "description": "Contains network-specific fields used by issuers to identify transactions.",
            "nullable": true,
            "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": 82533
              }
            }
          },
          "raw": {
            "$ref": "#/components/schemas/raw"
          },
          "receipt_last_printed_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the receipt was last printed.",
            "nullable": true
          },
          "security_code_verification": {
            "type": "string",
            "description": "Details the results of the Security Code Verification che",
            "nullable": true
          },
          "source": {
            "$ref": "#/components/schemas/source"
          },
          "state": {
            "type": "string",
            "enum": [
              "CANCELED",
              "PENDING",
              "FAILED",
              "SUCCEEDED",
              "UNKNOWN"
            ],
            "description": "The state of the `Authorization`."
          },
          "supplemental_fee": {
            "type": "integer",
            "format": "int64",
            "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"
          },
          "trace_id": {
            "type": "string",
            "description": "Trace ID of the `Authorization`. The processor sends back the `trace_id` so you can track the authorization end-to-end."
          },
          "transfer": {
            "type": "string",
            "example": "TRxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `transfer` resource that gets created when the `Authorization` moves to **SUCCEEDED**.",
            "nullable": true
          },
          "void_state": {
            "type": "string",
            "description": "The state of the void attempt for the `Authorization`.",
            "enum": [
              "UNATTEMPTED",
              "PENDING",
              "SUCCEEDED"
            ]
          },
          "_links": {
            "type": "object",
            "properties": {
              "self": {
                "$ref": "#/components/schemas/self"
              },
              "application": {
                "$ref": "#/components/schemas/application_link"
              },
              "device": {
                "type": "object",
                "description": "Link to the `Device` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "merchant_identity": {
                "$ref": "#/components/schemas/merchant_identity"
              },
              "transfer": {
                "type": "object",
                "description": "Link to the `Transfer` created when the `Authorization` moves to **SUCCEEDED**.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "transfers": {
                "$ref": "#/components/schemas/transfers"
              }
            }
          }
        }
      }
    }
  }
}
```

Authorization Expiration
The authorization must be captured before the `expires_at` time passes, or the funds will be released. If `transfer` is `null`, the authorization has not been captured yet.

## Capturing an Authorization

Capture the succeeded authorization when you're ready to debit the buyer's `Payment Instrument`. [Capturing an authorization](/api/authorizations/captureauthorization) initiates the movement of funds.

### Request

Example
```shell cURL
curl -i -X PUT \
  -u '<username>:<password>' \
  https://finix.sandbox-payments-api.com/authorizations/AUg9bAMHN4fWNpB9UrPaPzVs \
  -H 'Content-Type: application/json' \
  -d '{
    "capture_amount": 150
  }'
```

API Definition
```json
{
  "$ref": "#/components/schemas/captureAuthorizationCardPresent",
  "components": {
    "schemas": {
      "capture_amount": {
        "type": "integer",
        "format": "int64",
        "description": "The amount of the  `Authorization`  you would like to capture in cents. Must be less than or equal to the `amount` of the `Authorization`."
      },
      "captureAuthorizationCardPresent": {
        "title": "Capture Card Present Authorization",
        "type": "object",
        "properties": {
          "capture_amount": {
            "$ref": "#/components/schemas/capture_amount"
          }
        },
        "required": [
          "capture_amount"
        ]
      }
    }
  }
}
```

### Response

200 OK - Authorization Capture Submitted
A successful request returns a `200 OK` status code, and the response body contains a `transfer` property that corresponds to the ID of the `Transfer` resource created to debit funds.

Example
Captured Authorization
```json Captured Authorization
{
  "id": "AUtBP55aXexzgPLXeu7BR3WK",
  "created_at": "2026-11-28T01:26:46.64Z",
  "updated_at": "2026-11-28T01:26:47.60Z",
  "3d_secure_session": null,
  "3ds_redirect_url": 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": "POSTAL_CODE_AND_STREET_MATCH",
  "amount": 10000,
  "amount_requested": 10000,
  "application": "APt9MknRZxiDMkeReFPMdr7R",
  "created_via": "UNKNOWN",
  "currency": "USD",
  "expires_at": "2026-12-08T01:26:46.64Z",
  "failure_code": null,
  "failure_message": null,
  "idempotency_id": null,
  "ip_address_details": null,
  "is_void": false,
  "merchant": "MUfUoWEk3MBJ9m5cCnggfKMf",
  "merchant_identity": "ID6TZEVtE3TGH9ZDwb8iUhsE",
  "messages": [],
  "network_details": {
    "brand": "VISA",
    "authorization_code": "914056"
  },
  "raw": null,
  "receipt_last_printed_at": null,
  "security_code_verification": "MATCHED",
  "source": "PIjkxmtZreJ3TTGE3BciARnf",
  "state": "SUCCEEDED", // [!code highlight]
  "supplemental_fee": null,
  "tags": {},
  "trace_id": "fdcbb72c-7ea1-40d8-8fa0-b55c224c076a",
  "transfer": "TRvJNjZX1CxVNNV88mHKGBwp", // [!code highlight]
  "void_state": "UNATTEMPTED",
  "_links": {
    "self": {
      "href": "https://finix.sandbox-payments-api.com/authorizations/AUtBP55aXexzgPLXeu7BR3WK"
    },
    "application": {
      "href": "https://finix.sandbox-payments-api.com/applications/APt9MknRZxiDMkeReFPMdr7R"
    },
    "transfer": {
      "href": "https://finix.sandbox-payments-api.com/transfers/TRvJNjZX1CxVNNV88mHKGBwp"
    },
    "merchant_identity": {
      "href": "https://finix.sandbox-payments-api.com/identities/ID6TZEVtE3TGH9ZDwb8iUhsE"
    }
  }
}
```

API Definition
```json
{
  "$ref": "#/components/schemas/authorization",
  "components": {
    "schemas": {
      "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_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."
              }
            }
          }
        }
      },
      "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
          }
        }
      },
      "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
      },
      "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
          },
          "digital_signature_file_id": {
            "type": "string",
            "description": "If a signature was collected this will contain the the id of the `File` resource which stored the signature.",
            "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."
              },
              "application_label": {
                "type": "string",
                "description": "EMV application label. Tag 50 from the EMVCo standard."
              },
              "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."
              },
              "cryptogram": {
                "type": "string",
                "description": "Cryptogram returned by the card. Tag 9F26 of the EMVCo standard."
              },
              "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
              },
              "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 card owner.",
            "nullable": true
          },
          "payment_type": {
            "type": "string",
            "description": "The type of `Payment Instrument` used in the transaction (or the original payment)."
          }
        }
      },
      "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
      },
      "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
      },
      "ip_address_v4": {
        "type": "string",
        "description": "The card brands require the customer's IP address for online gaming clients. Only supports Internet Protocol version 4 (IPv4).",
        "example": "192.168.1.1",
        "nullable": true
      },
      "ip_address_details": {
        "type": "object",
        "nullable": true,
        "description": "This field returns `null` for all users except `ROLE_PLATFORM` users.",
        "properties": {
          "ipv4": {
            "type": "object",
            "properties": {
              "estimated_location": {
                "$ref": "#/components/schemas/address"
              },
              "ip": {
                "$ref": "#/components/schemas/ip_address_v4"
              },
              "latitude": {
                "type": "number",
                "description": "Geo-location based on the IP address."
              },
              "longitude": {
                "type": "number",
                "description": "Geo-location based on the IP address."
              }
            }
          }
        }
      },
      "raw": {
        "title": "Raw",
        "description": "Raw response from the processor.",
        "anyOf": [
          {
            "type": "object",
            "nullable": true
          },
          {
            "type": "string",
            "nullable": true
          }
        ]
      },
      "source": {
        "type": "string",
        "example": "PIxxxxxxxxxxxxxxxxxx",
        "description": "ID of the `Payment Instrument` where funds get debited."
      },
      "self": {
        "type": "object",
        "description": "Link to the resource that was used in the request.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "application_link": {
        "type": "object",
        "description": "Link to the `Application` the request was made under.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "merchant_identity": {
        "type": "object",
        "description": "Link to the `Identity` the `Merchant` was created under and the `Transfer` was submitted with.",
        "properties": {
          "href": {
            "type": "string"
          }
        }
      },
      "transfers": {
        "type": "object",
        "description": "Link to the `Transfer` the request was made under.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "authorization": {
        "type": "object",
        "title": "Authorization",
        "description": "A charge authorization",
        "properties": {
          "id": {
            "type": "string",
            "example": "AUxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `Authorization` resource."
          },
          "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"
          },
          "3ds_redirect_url": {
            "type": "string",
            "description": "The redirect URL used for 3DS transactions (if supported by the processor).",
            "nullable": true
          },
          "additional_lodging_data": {
            "description": "Object detailing any additional lodging amounts included in the `Authorization`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_lodging_data"
              }
            ]
          },
          "additional_motor_vehicle_rental_data": {
            "description": "Object detailing any additional motor vehicle rental amounts included in the `Authorization`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_motor_vehicle_rental_data"
              }
            ]
          },
          "additional_buyer_charges": {
            "description": "Details about any [Buyer Charges](/guides/online-payments/payment-features/buyer-charges) included in the `Authorization`. The buyer charges are mutually exclusive.\n",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_buyer_charges"
              }
            ]
          },
          "additional_healthcare_data": {
            "description": "Object detailing any additional healthcare amounts included in the `Authorization`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_healthcare_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
          },
          "amount": {
            "$ref": "#/components/schemas/amount"
          },
          "amount_requested": {
            "type": "integer",
            "description": "When `default_partial_authorization_enabled` is set to **true**, `amount_requested` indicates the amount the cardholder attempted to authorize."
          },
          "application": {
            "type": "string",
            "description": "The ID of the `Application` resource the `Authorization` was created under."
          },
          "card_present_details": {
            "$ref": "#/components/schemas/card_present_details"
          },
          "credential_on_file": {
            "description": "An object that contains information about the credential on file authorization.\n",
            "type": "object",
            "nullable": true,
            "properties": {
              "initial_transfer_id": {
                "type": "string",
                "description": "The ID of the initial transfer in the series."
              },
              "type": {
                "type": "string",
                "enum": [
                  "RECURRING",
                  "UNSCHEDULED"
                ],
                "description": "The type of credential on file authorization."
              }
            }
          },
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "created_via": {
            "$ref": "#/components/schemas/created_via_transfers_authorizations"
          },
          "device": {
            "type": "string",
            "example": "DVxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the activated device.",
            "nullable": true
          },
          "expires_at": {
            "type": "string",
            "description": "`Authorization` expiration time.",
            "format": "date-time"
          },
          "failure_code": {
            "$ref": "#/components/schemas/failure_code"
          },
          "failure_message": {
            "$ref": "#/components/schemas/failure_message"
          },
          "identity": {
            "type": "string",
            "description": "ID of the buyer 'Identity' to run the card present authorization. Finix tokenizes the card associated with the provided 'Identity' and processes the authorization, removing the need to create a blank buyer `Identity`.",
            "default": null
          },
          "idempotency_id": {
            "$ref": "#/components/schemas/idempotency_id"
          },
          "ip_address_details": {
            "$ref": "#/components/schemas/ip_address_details"
          },
          "is_void": {
            "type": "boolean",
            "description": "Whether the `Authorization` has been voided."
          },
          "merchant": {
            "type": "string",
            "example": "MUxxxxxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `Merchant` resource the `Authorization` was created under."
          },
          "merchant_identity": {
            "type": "string",
            "example": "IDxxxxxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `Identity` resource used by the `Merchant` the `Authorization` was processed under."
          },
          "messages": {
            "type": "array",
            "description": "Message field that provides additional details. This field is typically **null**.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "network_details": {
            "type": "object",
            "description": "Contains network-specific fields used by issuers to identify transactions.",
            "nullable": true,
            "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": 82533
              }
            }
          },
          "raw": {
            "$ref": "#/components/schemas/raw"
          },
          "receipt_last_printed_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the receipt was last printed.",
            "nullable": true
          },
          "security_code_verification": {
            "type": "string",
            "description": "Details the results of the Security Code Verification che",
            "nullable": true
          },
          "source": {
            "$ref": "#/components/schemas/source"
          },
          "state": {
            "type": "string",
            "enum": [
              "CANCELED",
              "PENDING",
              "FAILED",
              "SUCCEEDED",
              "UNKNOWN"
            ],
            "description": "The state of the `Authorization`."
          },
          "supplemental_fee": {
            "type": "integer",
            "format": "int64",
            "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"
          },
          "trace_id": {
            "type": "string",
            "description": "Trace ID of the `Authorization`. The processor sends back the `trace_id` so you can track the authorization end-to-end."
          },
          "transfer": {
            "type": "string",
            "example": "TRxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `transfer` resource that gets created when the `Authorization` moves to **SUCCEEDED**.",
            "nullable": true
          },
          "void_state": {
            "type": "string",
            "description": "The state of the void attempt for the `Authorization`.",
            "enum": [
              "UNATTEMPTED",
              "PENDING",
              "SUCCEEDED"
            ]
          },
          "_links": {
            "type": "object",
            "properties": {
              "self": {
                "$ref": "#/components/schemas/self"
              },
              "application": {
                "$ref": "#/components/schemas/application_link"
              },
              "device": {
                "type": "object",
                "description": "Link to the `Device` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "merchant_identity": {
                "$ref": "#/components/schemas/merchant_identity"
              },
              "transfer": {
                "type": "object",
                "description": "Link to the `Transfer` created when the `Authorization` moves to **SUCCEEDED**.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "transfers": {
                "$ref": "#/components/schemas/transfers"
              }
            }
          }
        }
      }
    }
  }
}
```

### Next steps

- Use the [Fetch the Transfer](/api/transfers/gettransfer) endpoint with its ID to check the `state` of the `Transfer` when it will be ready to settle or to view its details.
- Settle the `Transfer` (see [Seller Payouts](/guides/platform-payments/seller-payouts)).


## Void an Authorization

As opposed to `Transfers` which can only be reversed or refunded, [authorizations can be voided](/api/authorizations/voidauthorization) to release funds and stop a transaction from completing.

### Request

Example
```shell cURL
curl -i -X PUT \
  -u '<username>:<password>' \
  'https://finix.sandbox-payments-api.com/authorizations/{authorization_id_void_to}' \
  -H 'Content-Type: application/json' \
  -d '{
    "void_me": true
  }'
```

API Definition
```json
{
  "$ref": "#/components/schemas/voidAuthorization",
  "components": {
    "schemas": {
      "voidAuthorization": {
        "title": "Void an Authorization",
        "type": "object",
        "properties": {
          "void_me": {
            "type": "boolean",
            "description": "Set to **True** to void the `Authorization`."
          }
        }
      }
    }
  }
}
```

### Response

200 OK - Authorization Voided
A successful request returns a `200 OK` status code, and the response body indicates the `void_state` transitioned from `UNATTEMPTED` to `PENDING`. When the `Authorization` is voided, the `void_state` updates to `SUCCEEDED`.

Example
Voided Authorization
```json Voided Authorization
{
  "id": "AUn1zjoQddxeQY9dZ8ozAJPs",
  "created_at": "2026-11-28T01:26:50.16Z",
  "updated_at": "2026-11-28T01:26:50.94Z",
  "3d_secure_session": null,
  "3ds_redirect_url": 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": "POSTAL_CODE_AND_STREET_MATCH",
  "amount": 10000,
  "amount_requested": 10000,
  "application": "APt9MknRZxiDMkeReFPMdr7R",
  "created_via": "UNKNOWN",
  "currency": "USD",
  "expires_at": "2026-12-08T01:26:50.16Z",
  "failure_code": null,
  "failure_message": null,
  "idempotency_id": null,
  "ip_address_details": null,
  "is_void": true,
  "merchant": "MUfUoWEk3MBJ9m5cCnggfKMf",
  "merchant_identity": "ID6TZEVtE3TGH9ZDwb8iUhsE",
  "messages": [],
  "network_details": {
    "brand": "VISA",
    "authorization_code": "510789"
  },
  "raw": null,
  "receipt_last_printed_at": null,
  "security_code_verification": "MATCHED",
  "source": "PIjkxmtZreJ3TTGE3BciARnf",
  "state": "SUCCEEDED",
  "supplemental_fee": null,
  "tags": {},
  "trace_id": "2a243a4b-e755-42a5-a67d-34d5d17eebcb",
  "transfer": null,
  "void_state": "PENDING", // [!code highlight]
  "_links": {
    "self": {
      "href": "https://finix.sandbox-payments-api.com/authorizations/AUn1zjoQddxeQY9dZ8ozAJPs"
    },
    "application": {
      "href": "https://finix.sandbox-payments-api.com/applications/APt9MknRZxiDMkeReFPMdr7R"
    },
    "merchant_identity": {
      "href": "https://finix.sandbox-payments-api.com/identities/ID6TZEVtE3TGH9ZDwb8iUhsE"
    }
  }
}
```

API Definition
```json
{
  "$ref": "#/components/schemas/authorization",
  "components": {
    "schemas": {
      "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_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."
              }
            }
          }
        }
      },
      "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
          }
        }
      },
      "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
      },
      "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
          },
          "digital_signature_file_id": {
            "type": "string",
            "description": "If a signature was collected this will contain the the id of the `File` resource which stored the signature.",
            "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."
              },
              "application_label": {
                "type": "string",
                "description": "EMV application label. Tag 50 from the EMVCo standard."
              },
              "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."
              },
              "cryptogram": {
                "type": "string",
                "description": "Cryptogram returned by the card. Tag 9F26 of the EMVCo standard."
              },
              "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
              },
              "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 card owner.",
            "nullable": true
          },
          "payment_type": {
            "type": "string",
            "description": "The type of `Payment Instrument` used in the transaction (or the original payment)."
          }
        }
      },
      "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
      },
      "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
      },
      "ip_address_v4": {
        "type": "string",
        "description": "The card brands require the customer's IP address for online gaming clients. Only supports Internet Protocol version 4 (IPv4).",
        "example": "192.168.1.1",
        "nullable": true
      },
      "ip_address_details": {
        "type": "object",
        "nullable": true,
        "description": "This field returns `null` for all users except `ROLE_PLATFORM` users.",
        "properties": {
          "ipv4": {
            "type": "object",
            "properties": {
              "estimated_location": {
                "$ref": "#/components/schemas/address"
              },
              "ip": {
                "$ref": "#/components/schemas/ip_address_v4"
              },
              "latitude": {
                "type": "number",
                "description": "Geo-location based on the IP address."
              },
              "longitude": {
                "type": "number",
                "description": "Geo-location based on the IP address."
              }
            }
          }
        }
      },
      "raw": {
        "title": "Raw",
        "description": "Raw response from the processor.",
        "anyOf": [
          {
            "type": "object",
            "nullable": true
          },
          {
            "type": "string",
            "nullable": true
          }
        ]
      },
      "source": {
        "type": "string",
        "example": "PIxxxxxxxxxxxxxxxxxx",
        "description": "ID of the `Payment Instrument` where funds get debited."
      },
      "self": {
        "type": "object",
        "description": "Link to the resource that was used in the request.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "application_link": {
        "type": "object",
        "description": "Link to the `Application` the request was made under.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "merchant_identity": {
        "type": "object",
        "description": "Link to the `Identity` the `Merchant` was created under and the `Transfer` was submitted with.",
        "properties": {
          "href": {
            "type": "string"
          }
        }
      },
      "transfers": {
        "type": "object",
        "description": "Link to the `Transfer` the request was made under.",
        "properties": {
          "href": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "authorization": {
        "type": "object",
        "title": "Authorization",
        "description": "A charge authorization",
        "properties": {
          "id": {
            "type": "string",
            "example": "AUxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `Authorization` resource."
          },
          "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"
          },
          "3ds_redirect_url": {
            "type": "string",
            "description": "The redirect URL used for 3DS transactions (if supported by the processor).",
            "nullable": true
          },
          "additional_lodging_data": {
            "description": "Object detailing any additional lodging amounts included in the `Authorization`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_lodging_data"
              }
            ]
          },
          "additional_motor_vehicle_rental_data": {
            "description": "Object detailing any additional motor vehicle rental amounts included in the `Authorization`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_motor_vehicle_rental_data"
              }
            ]
          },
          "additional_buyer_charges": {
            "description": "Details about any [Buyer Charges](/guides/online-payments/payment-features/buyer-charges) included in the `Authorization`. The buyer charges are mutually exclusive.\n",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_buyer_charges"
              }
            ]
          },
          "additional_healthcare_data": {
            "description": "Object detailing any additional healthcare amounts included in the `Authorization`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/additional_healthcare_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
          },
          "amount": {
            "$ref": "#/components/schemas/amount"
          },
          "amount_requested": {
            "type": "integer",
            "description": "When `default_partial_authorization_enabled` is set to **true**, `amount_requested` indicates the amount the cardholder attempted to authorize."
          },
          "application": {
            "type": "string",
            "description": "The ID of the `Application` resource the `Authorization` was created under."
          },
          "card_present_details": {
            "$ref": "#/components/schemas/card_present_details"
          },
          "credential_on_file": {
            "description": "An object that contains information about the credential on file authorization.\n",
            "type": "object",
            "nullable": true,
            "properties": {
              "initial_transfer_id": {
                "type": "string",
                "description": "The ID of the initial transfer in the series."
              },
              "type": {
                "type": "string",
                "enum": [
                  "RECURRING",
                  "UNSCHEDULED"
                ],
                "description": "The type of credential on file authorization."
              }
            }
          },
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "created_via": {
            "$ref": "#/components/schemas/created_via_transfers_authorizations"
          },
          "device": {
            "type": "string",
            "example": "DVxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the activated device.",
            "nullable": true
          },
          "expires_at": {
            "type": "string",
            "description": "`Authorization` expiration time.",
            "format": "date-time"
          },
          "failure_code": {
            "$ref": "#/components/schemas/failure_code"
          },
          "failure_message": {
            "$ref": "#/components/schemas/failure_message"
          },
          "identity": {
            "type": "string",
            "description": "ID of the buyer 'Identity' to run the card present authorization. Finix tokenizes the card associated with the provided 'Identity' and processes the authorization, removing the need to create a blank buyer `Identity`.",
            "default": null
          },
          "idempotency_id": {
            "$ref": "#/components/schemas/idempotency_id"
          },
          "ip_address_details": {
            "$ref": "#/components/schemas/ip_address_details"
          },
          "is_void": {
            "type": "boolean",
            "description": "Whether the `Authorization` has been voided."
          },
          "merchant": {
            "type": "string",
            "example": "MUxxxxxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `Merchant` resource the `Authorization` was created under."
          },
          "merchant_identity": {
            "type": "string",
            "example": "IDxxxxxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `Identity` resource used by the `Merchant` the `Authorization` was processed under."
          },
          "messages": {
            "type": "array",
            "description": "Message field that provides additional details. This field is typically **null**.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "network_details": {
            "type": "object",
            "description": "Contains network-specific fields used by issuers to identify transactions.",
            "nullable": true,
            "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": 82533
              }
            }
          },
          "raw": {
            "$ref": "#/components/schemas/raw"
          },
          "receipt_last_printed_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the receipt was last printed.",
            "nullable": true
          },
          "security_code_verification": {
            "type": "string",
            "description": "Details the results of the Security Code Verification che",
            "nullable": true
          },
          "source": {
            "$ref": "#/components/schemas/source"
          },
          "state": {
            "type": "string",
            "enum": [
              "CANCELED",
              "PENDING",
              "FAILED",
              "SUCCEEDED",
              "UNKNOWN"
            ],
            "description": "The state of the `Authorization`."
          },
          "supplemental_fee": {
            "type": "integer",
            "format": "int64",
            "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"
          },
          "trace_id": {
            "type": "string",
            "description": "Trace ID of the `Authorization`. The processor sends back the `trace_id` so you can track the authorization end-to-end."
          },
          "transfer": {
            "type": "string",
            "example": "TRxxxxxxxxxxxxxxxxxx",
            "description": "The ID of the `transfer` resource that gets created when the `Authorization` moves to **SUCCEEDED**.",
            "nullable": true
          },
          "void_state": {
            "type": "string",
            "description": "The state of the void attempt for the `Authorization`.",
            "enum": [
              "UNATTEMPTED",
              "PENDING",
              "SUCCEEDED"
            ]
          },
          "_links": {
            "type": "object",
            "properties": {
              "self": {
                "$ref": "#/components/schemas/self"
              },
              "application": {
                "$ref": "#/components/schemas/application_link"
              },
              "device": {
                "type": "object",
                "description": "Link to the `Device` the request was made under.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "merchant_identity": {
                "$ref": "#/components/schemas/merchant_identity"
              },
              "transfer": {
                "type": "object",
                "description": "Link to the `Transfer` created when the `Authorization` moves to **SUCCEEDED**.",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                }
              },
              "transfers": {
                "$ref": "#/components/schemas/transfers"
              }
            }
          }
        }
      }
    }
  }
}
```

If an `Authorization` is voided, it can no longer be captured.