Skip to content

Stripe: Issuing schemas (part 2)

32 Stripe schemas with complete fields and constraints.

← Issuing operations · All schemas

Update a transaction — response body

FieldTypePresenceDescription and constraints
$objectRootAny use of an [issued card](https://docs.stripe.com/issuing) that results in funds entering or leaving
your Stripe account, such as a completed purchase or refund, is represented by an Issuing
`Transaction` object.

Related guide: [Issued card transactions](https://docs.stripe.com/issuing/purchases/transactions)
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_detailsJSONOptional
amount_details (anyOf 1)JSONAlternativeDetailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
amount_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — amount details value atm fee, cashback amount
amount_details (anyOf 2)nullAlternative
authorizationJSONOptional
authorization (anyOf 1)JSONAlternativeThe `Authorization` object that led to this transaction.
authorization (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
authorization (anyOf 1) (anyOf 2)ModelAlternativeExpand Update an authorization — response body
authorization (anyOf 2)nullAlternative
balance_transactionJSONOptional
balance_transaction (anyOf 1)JSONAlternativeID of the [balance transaction](https://docs.stripe.com/api/balance_transactions) associated with this transaction.
balance_transaction (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
balance_transaction (anyOf 1) (anyOf 2)ModelAlternativeExpand Retrieve a balance transaction — balance get Balance History Id — response body
balance_transaction (anyOf 2)nullAlternative
cardJSONRequired within parentThe card used to make this transaction.
card (anyOf 1)stringAlternativeMaximum length: 5000
card (anyOf 2)ModelAlternativeExpand Fail a testmode card — response body
cardholderJSONOptional
cardholder (anyOf 1)JSONAlternativeThe cardholder to whom this transaction belongs.
cardholder (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
cardholder (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a cardholder — response body
cardholder (anyOf 2)nullAlternative
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
currencystringRequired within parentThree-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Format: currency
disputeJSONOptional
dispute (anyOf 1)JSONAlternativeIf you've disputed the transaction, the ID of the dispute.
dispute (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
dispute (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a dispute — response body
dispute (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
merchant_amountJSONRequired within parent
merchant_amount (anyOf 1)integerAlternativeThe amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). It will be different from `amount` if the merchant is taking payment in a different currency.
merchant_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
merchant_currencystringRequired within parentThe currency with which the merchant is taking payment.
Format: currency
merchant_dataModelRequired within parentExpand Update a transaction — response body — merchant data
metadataobjectRequired within parentSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata.*stringAdditional keysMaximum length: 500
network_dataJSONOptional
network_data (anyOf 1)JSONAlternativeDetails about the transaction, such as processing dates, set by the card network.
network_data (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — network data value authorization code, processing date, transaction id
network_data (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: issuing.transaction
purchase_detailsJSONOptional
purchase_details (anyOf 1)JSONAlternativeAdditional purchase information that is optionally provided by the merchant.
purchase_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference
purchase_details (anyOf 2)nullAlternative
tokenJSONOptional
token (anyOf 1)JSONAlternative[Token](https://docs.stripe.com/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null.
token (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
token (anyOf 1) (anyOf 2)ModelAlternativeExpand Update a token status — response body
token (anyOf 2)nullAlternative
treasuryJSONOptional
treasury (anyOf 1)JSONAlternative[Treasury](https://docs.stripe.com/api/treasury) details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts
treasury (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — treasury value received credit, received debit
treasury (anyOf 2)nullAlternative
typestringRequired within parentThe nature of the transaction.
Known values: capture, refund
walletJSONOptional
wallet (anyOf 1)stringAlternativeThe digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`.
Known values: apple_pay, google_pay, samsung_pay
wallet (anyOf 2)nullAlternative

Referenced models: Retrieve a balance transaction — balance get Balance History Id — response body, Update an authorization — response body, Fail a testmode card — response body, Create a cardholder — response body, Create a dispute — response body, Update a token status — response body, Update a transaction — response body — amount details value atm fee, cashback amount, Update a transaction — response body — merchant data, Update a transaction — response body — network data value authorization code, processing date, transaction id, Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference, Update a transaction — response body — treasury value received credit, received debit

Update a transaction — response body — amount details value atm fee, cashback amount

FieldTypePresenceDescription and constraints
$objectRoot
atm_feeJSONOptional
atm_fee (anyOf 1)JSONAlternative
atm_fee (anyOf 1) (anyOf 1)integerAlternativeThe fee charged by the ATM for the cash withdrawal.
atm_fee (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
atm_fee (anyOf 2)nullAlternative
cashback_amountJSONOptional
cashback_amount (anyOf 1)JSONAlternative
cashback_amount (anyOf 1) (anyOf 1)integerAlternativeThe amount of cash requested by the cardholder.
cashback_amount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
cashback_amount (anyOf 2)nullAlternative

Update a transaction — response body — merchant data

FieldTypePresenceDescription and constraints
$objectRoot
categorystringRequired within parentA categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values.
Maximum length: 5000
category_codestringRequired within parentThe merchant category code for the seller’s business
Maximum length: 5000
cityJSONOptional
city (anyOf 1)stringAlternativeCity where the seller is located
Maximum length: 5000
city (anyOf 2)nullAlternative
countryJSONOptional
country (anyOf 1)stringAlternativeCountry where the seller is located
Maximum length: 5000
country (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeName of the seller
Maximum length: 5000
name (anyOf 2)nullAlternative
network_idstringRequired within parentIdentifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.
Maximum length: 5000
postal_codeJSONOptional
postal_code (anyOf 1)stringAlternativePostal code where the seller is located
Maximum length: 5000
postal_code (anyOf 2)nullAlternative
stateJSONOptional
state (anyOf 1)stringAlternativeState where the seller is located
Maximum length: 5000
state (anyOf 2)nullAlternative
tax_idJSONOptional
tax_id (anyOf 1)stringAlternativeThe seller's tax identification number. Currently populated for French merchants only.
Maximum length: 5000
tax_id (anyOf 2)nullAlternative
terminal_idJSONOptional
terminal_id (anyOf 1)stringAlternativeAn ID assigned by the seller to the location of the sale.
Maximum length: 5000
terminal_id (anyOf 2)nullAlternative
urlJSONOptional
url (anyOf 1)stringAlternativeURL provided by the merchant on a 3DS request
Maximum length: 5000
url (anyOf 2)nullAlternative

Update a transaction — response body — network data value authorization code, processing date, transaction id

FieldTypePresenceDescription and constraints
$objectRoot
authorization_codeJSONOptional
authorization_code (anyOf 1)stringAlternativeA code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations.
Maximum length: 5000
authorization_code (anyOf 2)nullAlternative
processing_dateJSONOptional
processing_date (anyOf 1)stringAlternativeThe date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network.
Maximum length: 5000
processing_date (anyOf 2)nullAlternative
transaction_idJSONOptional
transaction_id (anyOf 1)stringAlternativeUnique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.
Maximum length: 5000
transaction_id (anyOf 2)nullAlternative

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference

FieldTypePresenceDescription and constraints
$objectRoot
fleetJSONOptional
fleet (anyOf 1)JSONAlternativeFleet-specific information for transactions using Fleet cards.
fleet (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type
fleet (anyOf 2)nullAlternative
flightJSONOptional
flight (anyOf 1)JSONAlternativeInformation about the flight that was purchased with this transaction.
flight (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference flight value departure at, passenger name, refundable, segments, travel agency
flight (anyOf 2)nullAlternative
fuelJSONOptional
fuel (anyOf 1)JSONAlternativeInformation about fuel that was purchased with this transaction.
fuel (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fuel value industry product code, quantity decimal, type, unit, unit cost decimal
fuel (anyOf 2)nullAlternative
lodgingJSONOptional
lodging (anyOf 1)JSONAlternativeInformation about lodging that was purchased with this transaction.
lodging (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference lodging value check in at, nights
lodging (anyOf 2)nullAlternative
receiptJSONOptional
receipt (anyOf 1)arrayAlternativeThe line items in the purchase.
receipt (anyOf 1)[]ModelEach itemExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference receipt The line items in the purchase item
receipt (anyOf 2)nullAlternative
referenceJSONOptional
reference (anyOf 1)stringAlternativeA merchant-specific order number.
Maximum length: 5000
reference (anyOf 2)nullAlternative

Referenced models: Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type, Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference flight value departure at, passenger name, refundable, segments, travel agency, Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fuel value industry product code, quantity decimal, type, unit, unit cost decimal, Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference lodging value check in at, nights, Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference receipt The line items in the purchase item

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type

FieldTypePresenceDescription and constraints
$objectRoot
cardholder_prompt_dataJSONOptional
cardholder_prompt_data (anyOf 1)JSONAlternativeAnswers to prompts presented to cardholder at point of sale.
cardholder_prompt_data (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type cardholder prompt data value driver id, odometer, unspecified id, user id, vehicle number
cardholder_prompt_data (anyOf 2)nullAlternative
purchase_typeJSONOptional
purchase_type (anyOf 1)stringAlternativeThe type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.
Maximum length: 5000
purchase_type (anyOf 2)nullAlternative
reported_breakdownJSONOptional
reported_breakdown (anyOf 1)JSONAlternativeMore information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.
reported_breakdown (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax
reported_breakdown (anyOf 2)nullAlternative
service_typeJSONOptional
service_type (anyOf 1)stringAlternativeThe type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.
Maximum length: 5000
service_type (anyOf 2)nullAlternative

Referenced models: Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type cardholder prompt data value driver id, odometer, unspecified id, user id, vehicle number, Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type cardholder prompt data value driver id, odometer, unspecified id, user id, vehicle number

FieldTypePresenceDescription and constraints
$objectRoot
driver_idJSONOptional
driver_id (anyOf 1)stringAlternativeDriver ID.
Maximum length: 5000
driver_id (anyOf 2)nullAlternative
odometerJSONOptional
odometer (anyOf 1)JSONAlternative
odometer (anyOf 1) (anyOf 1)integerAlternativeOdometer reading.
odometer (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
odometer (anyOf 2)nullAlternative
unspecified_idJSONOptional
unspecified_id (anyOf 1)stringAlternativeAn alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.
Maximum length: 5000
unspecified_id (anyOf 2)nullAlternative
user_idJSONOptional
user_id (anyOf 1)stringAlternativeUser ID.
Maximum length: 5000
user_id (anyOf 2)nullAlternative
vehicle_numberJSONOptional
vehicle_number (anyOf 1)stringAlternativeVehicle number.
Maximum length: 5000
vehicle_number (anyOf 2)nullAlternative

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax

FieldTypePresenceDescription and constraints
$objectRoot
fuelJSONOptional
fuel (anyOf 1)JSONAlternativeBreakdown of fuel portion of the purchase.
fuel (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax fuel Breakdown of fuel portion of the purchase gross amount decimal
fuel (anyOf 2)nullAlternative
non_fuelJSONOptional
non_fuel (anyOf 1)JSONAlternativeBreakdown of non-fuel portion of the purchase.
non_fuel (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax non fuel Breakdown of non-fuel portion of the purchase gross amount decimal
non_fuel (anyOf 2)nullAlternative
taxJSONOptional
tax (anyOf 1)JSONAlternativeInformation about tax included in this transaction.
tax (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax tax Information about tax included in this transaction local amount decimal, national amount decimal
tax (anyOf 2)nullAlternative

Referenced models: Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax non fuel Breakdown of non-fuel portion of the purchase gross amount decimal, Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax fuel Breakdown of fuel portion of the purchase gross amount decimal, Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax tax Information about tax included in this transaction local amount decimal, national amount decimal

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax fuel Breakdown of fuel portion of the purchase gross amount decimal

FieldTypePresenceDescription and constraints
$objectRoot
gross_amount_decimalJSONOptional
gross_amount_decimal (anyOf 1)stringAlternativeGross fuel amount that should equal Fuel Volume multiplied by Fuel Unit Cost, inclusive of taxes.
Format: decimal
gross_amount_decimal (anyOf 2)nullAlternative

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax tax Information about tax included in this transaction local amount decimal, national amount decimal

FieldTypePresenceDescription and constraints
$objectRoot
local_amount_decimalJSONOptional
local_amount_decimal (anyOf 1)stringAlternativeAmount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.
Format: decimal
local_amount_decimal (anyOf 2)nullAlternative
national_amount_decimalJSONOptional
national_amount_decimal (anyOf 1)stringAlternativeAmount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.
Format: decimal
national_amount_decimal (anyOf 2)nullAlternative

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference flight value departure at, passenger name, refundable, segments, travel agency

FieldTypePresenceDescription and constraints
$objectRoot
departure_atJSONOptional
departure_at (anyOf 1)JSONAlternative
departure_at (anyOf 1) (anyOf 1)integerAlternativeThe time that the flight departed.
departure_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
departure_at (anyOf 2)nullAlternative
passenger_nameJSONOptional
passenger_name (anyOf 1)stringAlternativeThe name of the passenger.
Maximum length: 5000
passenger_name (anyOf 2)nullAlternative
refundableJSONOptional
refundable (anyOf 1)booleanAlternativeWhether the ticket is refundable.
refundable (anyOf 2)nullAlternative
segmentsJSONOptional
segments (anyOf 1)arrayAlternativeThe legs of the trip.
segments (anyOf 1)[]ModelEach itemExpand Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference flight value departure at, passenger name, refundable, segments, travel agency segments The legs of the trip item
segments (anyOf 2)nullAlternative
travel_agencyJSONOptional
travel_agency (anyOf 1)stringAlternativeThe travel agency that issued the ticket.
Maximum length: 5000
travel_agency (anyOf 2)nullAlternative

Referenced models: Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference flight value departure at, passenger name, refundable, segments, travel agency segments The legs of the trip item

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference flight value departure at, passenger name, refundable, segments, travel agency segments The legs of the trip item

FieldTypePresenceDescription and constraints
$objectRoot
arrival_airport_codeJSONOptional
arrival_airport_code (anyOf 1)stringAlternativeThe three-letter IATA airport code of the flight's destination.
Maximum length: 5000
arrival_airport_code (anyOf 2)nullAlternative
carrierJSONOptional
carrier (anyOf 1)stringAlternativeThe airline carrier code.
Maximum length: 5000
carrier (anyOf 2)nullAlternative
departure_airport_codeJSONOptional
departure_airport_code (anyOf 1)stringAlternativeThe three-letter IATA airport code that the flight departed from.
Maximum length: 5000
departure_airport_code (anyOf 2)nullAlternative
flight_numberJSONOptional
flight_number (anyOf 1)stringAlternativeThe flight number.
Maximum length: 5000
flight_number (anyOf 2)nullAlternative
service_classJSONOptional
service_class (anyOf 1)stringAlternativeThe flight's service class.
Maximum length: 5000
service_class (anyOf 2)nullAlternative
stopover_allowedJSONOptional
stopover_allowed (anyOf 1)booleanAlternativeWhether a stopover is allowed on this flight.
stopover_allowed (anyOf 2)nullAlternative

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference fuel value industry product code, quantity decimal, type, unit, unit cost decimal

FieldTypePresenceDescription and constraints
$objectRoot
industry_product_codeJSONOptional
industry_product_code (anyOf 1)stringAlternative[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.
Maximum length: 5000
industry_product_code (anyOf 2)nullAlternative
quantity_decimalJSONOptional
quantity_decimal (anyOf 1)stringAlternativeThe quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.
Format: decimal
quantity_decimal (anyOf 2)nullAlternative
typestringRequired within parentThe type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.
Maximum length: 5000
unitstringRequired within parentThe units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.
Maximum length: 5000
unit_cost_decimalstringRequired within parentThe cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
Format: decimal

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference lodging value check in at, nights

FieldTypePresenceDescription and constraints
$objectRoot
check_in_atJSONOptional
check_in_at (anyOf 1)JSONAlternative
check_in_at (anyOf 1) (anyOf 1)integerAlternativeThe time of checking into the lodging.
check_in_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
check_in_at (anyOf 2)nullAlternative
nightsJSONOptional
nights (anyOf 1)JSONAlternative
nights (anyOf 1) (anyOf 1)integerAlternativeThe number of nights stayed at the lodging.
nights (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
nights (anyOf 2)nullAlternative

Update a transaction — response body — purchase details value fleet, flight, fuel, lodging, receipt, reference receipt The line items in the purchase item

FieldTypePresenceDescription and constraints
$objectRoot
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the item. The maximum length of this field is 26 characters.
Maximum length: 5000
description (anyOf 2)nullAlternative
quantityJSONOptional
quantity (anyOf 1)JSONAlternative
quantity (anyOf 1) (anyOf 1)numberAlternativeThe quantity of the item.
quantity (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
quantity (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeThe total for this line item in cents.
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative
unit_costJSONOptional
unit_cost (anyOf 1)JSONAlternative
unit_cost (anyOf 1) (anyOf 1)integerAlternativeThe unit cost of the item in cents.
unit_cost (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
unit_cost (anyOf 2)nullAlternative

Update a transaction — response body — treasury value received credit, received debit

FieldTypePresenceDescription and constraints
$objectRoot
received_creditJSONOptional
received_credit (anyOf 1)stringAlternativeThe Treasury [ReceivedCredit](https://docs.stripe.com/api/treasury/received_credits) representing this Issuing transaction if it is a refund
Maximum length: 5000
received_credit (anyOf 2)nullAlternative
received_debitJSONOptional
received_debit (anyOf 1)stringAlternativeThe Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) representing this Issuing transaction if it is a capture
Maximum length: 5000
received_debit (anyOf 2)nullAlternative

Update an authorization — response body

FieldTypePresenceDescription and constraints
$objectRootWhen an [issued card](https://docs.stripe.com/issuing) is used to make a purchase, an Issuing `Authorization`
object is created. [Authorizations](https://docs.stripe.com/issuing/purchases/authorizations) must be approved for the
purchase to be completed successfully.

Related guide: [Issued card authorizations](https://docs.stripe.com/issuing/purchases/authorizations)
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe total amount that was authorized or rejected. This amount is in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). `amount` should be the same as `merchant_amount`, unless `currency` and `merchant_currency` are different.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_detailsJSONOptional
amount_details (anyOf 1)JSONAlternativeDetailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
amount_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — amount details value atm fee, cashback amount
amount_details (anyOf 2)nullAlternative
approvedbooleanRequired within parentWhether the authorization has been approved.
authorization_methodstringRequired within parentHow the card details were provided.
Known values: chip, contactless, keyed_in, online, swipe
balance_transactionsarrayRequired within parentList of balance transactions associated with this authorization.
balance_transactions[]ModelEach itemExpand Retrieve a balance transaction — balance get Balance History Id — response body
cardModelRequired within parentExpand Fail a testmode card — response body
card_presenceJSONOptional
card_presence (anyOf 1)stringAlternativeWhether the card was present at the point of sale for the authorization.
Known values: not_present, present
card_presence (anyOf 2)nullAlternative
cardholderJSONOptional
cardholder (anyOf 1)JSONAlternativeThe cardholder to whom this authorization belongs.
cardholder (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
cardholder (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a cardholder — response body
cardholder (anyOf 2)nullAlternative
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
currencystringRequired within parentThe currency of the cardholder. This currency can be different from the currency presented at authorization and the `merchant_currency` field on this authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Format: currency
fleetJSONOptional
fleet (anyOf 1)JSONAlternativeFleet-specific information for authorizations using Fleet cards.
fleet (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type
fleet (anyOf 2)nullAlternative
fraud_challengesJSONOptional
fraud_challenges (anyOf 1)arrayAlternativeFraud challenges sent to the cardholder, if this authorization was declined for fraud risk reasons.
fraud_challenges (anyOf 1)[]ModelEach itemExpand Update an authorization — response body — fraud challenges array item
fraud_challenges (anyOf 2)nullAlternative
fuelJSONOptional
fuel (anyOf 1)JSONAlternativeInformation about fuel that was purchased with this transaction. Typically this information is received from the merchant after the authorization has been approved and the fuel dispensed.
fuel (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — fuel value industry product code, quantity decimal, type, unit, unit cost decimal
fuel (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
merchant_amountJSONRequired within parent
merchant_amount (anyOf 1)integerAlternativeThe total amount that was authorized or rejected. This amount is in the `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). `merchant_amount` should be the same as `amount`, unless `merchant_currency` and `currency` are different.
merchant_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
merchant_currencystringRequired within parentThe local currency that was presented to the cardholder for the authorization. This currency can be different from the cardholder currency and the `currency` field on this authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Format: currency
merchant_dataModelRequired within parentExpand Update a transaction — response body — merchant data
metadataobjectRequired within parentSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata.*stringAdditional keysMaximum length: 500
network_dataJSONOptional
network_data (anyOf 1)JSONAlternativeDetails about the authorization, such as identifiers, set by the card network.
network_data (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — network data value acquiring institution id, system trace audit number, transaction id
network_data (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: issuing.authorization
pending_requestJSONOptional
pending_request (anyOf 1)JSONAlternativeThe pending authorization request. This field will only be non-null during an `issuing_authorization.request` webhook.
pending_request (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — pending request value amount, amount details, currency, is amount controllable, merchant amount, merchant currency, network risk score
pending_request (anyOf 2)nullAlternative
request_historyarrayRequired within parentHistory of every time a `pending_request` authorization was approved/declined, either by you directly or by Stripe (e.g. based on your spending_controls). If the merchant changes the authorization by performing an incremental authorization, you can look at this field to see the previous requests for the authorization. This field can be helpful in determining why a given authorization was approved/declined.
request_history[]ModelEach itemExpand Update an authorization — response body — request history item
statusstringRequired within parentThe current status of the authorization in its lifecycle.
Known values: closed, expired, pending, reversed
tokenJSONOptional
token (anyOf 1)JSONAlternative[Token](https://docs.stripe.com/api/issuing/tokens/object) object used for this authorization. If a network token was not used for this authorization, this field will be null.
token (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
token (anyOf 1) (anyOf 2)ModelAlternativeExpand Update a token status — response body
token (anyOf 2)nullAlternative
transactionsarrayRequired within parentList of [transactions](https://docs.stripe.com/api/issuing/transactions) associated with this authorization.
transactions[]ModelEach itemExpand Update a transaction — response body
treasuryJSONOptional
treasury (anyOf 1)JSONAlternative[Treasury](https://docs.stripe.com/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://docs.stripe.com/api/treasury/financial_accounts).
treasury (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — treasury value received credits, received debits, transaction
treasury (anyOf 2)nullAlternative
verification_dataModelRequired within parentExpand Update an authorization — response body — verification data
verified_by_fraud_challengeJSONOptional
verified_by_fraud_challenge (anyOf 1)booleanAlternativeWhether the authorization bypassed fraud risk checks because the cardholder has previously completed a fraud challenge on a similar high-risk authorization from the same merchant.
verified_by_fraud_challenge (anyOf 2)nullAlternative
walletJSONOptional
wallet (anyOf 1)stringAlternativeThe digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`. Will populate as `null` when no digital wallet was utilized.
Maximum length: 5000
wallet (anyOf 2)nullAlternative

Referenced models: Retrieve a balance transaction — balance get Balance History Id — response body, Fail a testmode card — response body, Create a cardholder — response body, Update a token status — response body, Update a transaction — response body, Update a transaction — response body — amount details value atm fee, cashback amount, Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type, Update an authorization — response body — fraud challenges array item, Update an authorization — response body — fuel value industry product code, quantity decimal, type, unit, unit cost decimal, Update a transaction — response body — merchant data, Update an authorization — response body — network data value acquiring institution id, system trace audit number, transaction id, Update an authorization — response body — pending request value amount, amount details, currency, is amount controllable, merchant amount, merchant currency, network risk score, Update an authorization — response body — request history item, Update an authorization — response body — treasury value received credits, received debits, transaction, Update an authorization — response body — verification data

Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type

FieldTypePresenceDescription and constraints
$objectRoot
cardholder_prompt_dataJSONOptional
cardholder_prompt_data (anyOf 1)JSONAlternativeAnswers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.
cardholder_prompt_data (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type cardholder prompt data value alphanumeric id, driver id, odometer, unspecified id, user id, vehicle number
cardholder_prompt_data (anyOf 2)nullAlternative
purchase_typeJSONOptional
purchase_type (anyOf 1)stringAlternativeThe type of purchase.
Known values: fuel_and_non_fuel_purchase, fuel_purchase, non_fuel_purchase
purchase_type (anyOf 2)nullAlternative
reported_breakdownJSONOptional
reported_breakdown (anyOf 1)JSONAlternativeMore information about the total amount. Typically this information is received from the merchant after the authorization has been approved and the fuel dispensed. This information is not guaranteed to be accurate as some merchants may provide unreliable data.
reported_breakdown (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax
reported_breakdown (anyOf 2)nullAlternative
service_typeJSONOptional
service_type (anyOf 1)stringAlternativeThe type of fuel service.
Known values: full_service, non_fuel_transaction, self_service
service_type (anyOf 2)nullAlternative

Referenced models: Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type cardholder prompt data value alphanumeric id, driver id, odometer, unspecified id, user id, vehicle number, Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax

Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type cardholder prompt data value alphanumeric id, driver id, odometer, unspecified id, user id, vehicle number

FieldTypePresenceDescription and constraints
$objectRoot
alphanumeric_idJSONOptional
alphanumeric_id (anyOf 1)stringAlternative[Deprecated] An alphanumeric ID, though typical point of sales only support numeric entry. The card program can be configured to prompt for a vehicle ID, driver ID, or generic ID.
Maximum length: 5000
alphanumeric_id (anyOf 2)nullAlternative
driver_idJSONOptional
driver_id (anyOf 1)stringAlternativeDriver ID.
Maximum length: 5000
driver_id (anyOf 2)nullAlternative
odometerJSONOptional
odometer (anyOf 1)JSONAlternative
odometer (anyOf 1) (anyOf 1)integerAlternativeOdometer reading.
odometer (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
odometer (anyOf 2)nullAlternative
unspecified_idJSONOptional
unspecified_id (anyOf 1)stringAlternativeAn alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.
Maximum length: 5000
unspecified_id (anyOf 2)nullAlternative
user_idJSONOptional
user_id (anyOf 1)stringAlternativeUser ID.
Maximum length: 5000
user_id (anyOf 2)nullAlternative
vehicle_numberJSONOptional
vehicle_number (anyOf 1)stringAlternativeVehicle number.
Maximum length: 5000
vehicle_number (anyOf 2)nullAlternative

Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax

FieldTypePresenceDescription and constraints
$objectRoot
fuelJSONOptional
fuel (anyOf 1)JSONAlternativeBreakdown of fuel portion of the purchase.
fuel (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax fuel Breakdown of fuel portion of the purchase gross amount decimal
fuel (anyOf 2)nullAlternative
non_fuelJSONOptional
non_fuel (anyOf 1)JSONAlternativeBreakdown of non-fuel portion of the purchase.
non_fuel (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax non fuel Breakdown of non-fuel portion of the purchase gross amount decimal
non_fuel (anyOf 2)nullAlternative
taxJSONOptional
tax (anyOf 1)JSONAlternativeInformation about tax included in this transaction.
tax (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax tax Information about tax included in this transaction local amount decimal, national amount decimal
tax (anyOf 2)nullAlternative

Referenced models: Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax fuel Breakdown of fuel portion of the purchase gross amount decimal, Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax non fuel Breakdown of non-fuel portion of the purchase gross amount decimal, Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax tax Information about tax included in this transaction local amount decimal, national amount decimal

Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax fuel Breakdown of fuel portion of the purchase gross amount decimal

FieldTypePresenceDescription and constraints
$objectRoot
gross_amount_decimalJSONOptional
gross_amount_decimal (anyOf 1)stringAlternativeGross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes.
Format: decimal
gross_amount_decimal (anyOf 2)nullAlternative

Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax non fuel Breakdown of non-fuel portion of the purchase gross amount decimal

FieldTypePresenceDescription and constraints
$objectRoot
gross_amount_decimalJSONOptional
gross_amount_decimal (anyOf 1)stringAlternativeGross non-fuel amount that should equal the sum of the line items, inclusive of taxes.
Format: decimal
gross_amount_decimal (anyOf 2)nullAlternative

Update an authorization — response body — fleet value cardholder prompt data, purchase type, reported breakdown, service type reported breakdown value fuel, non fuel, tax tax Information about tax included in this transaction local amount decimal, national amount decimal

FieldTypePresenceDescription and constraints
$objectRoot
local_amount_decimalJSONOptional
local_amount_decimal (anyOf 1)stringAlternativeAmount of state or provincial Sales Tax included in the transaction amount. `null` if not reported by merchant or not subject to tax.
Format: decimal
local_amount_decimal (anyOf 2)nullAlternative
national_amount_decimalJSONOptional
national_amount_decimal (anyOf 1)stringAlternativeAmount of national Sales Tax or VAT included in the transaction amount. `null` if not reported by merchant or not subject to tax.
Format: decimal
national_amount_decimal (anyOf 2)nullAlternative

Update an authorization — response body — fraud challenges array item

FieldTypePresenceDescription and constraints
$objectRoot
channelstringRequired within parentThe method by which the fraud challenge was delivered to the cardholder.
Known values: sms
statusstringRequired within parentThe status of the fraud challenge.
Known values: expired, pending, rejected, undeliverable, verified
undeliverable_reasonJSONOptional
undeliverable_reason (anyOf 1)stringAlternativeIf the challenge is not deliverable, the reason why.
Known values: no_phone_number, unsupported_phone_number
undeliverable_reason (anyOf 2)nullAlternative

Update an authorization — response body — fuel value industry product code, quantity decimal, type, unit, unit cost decimal

FieldTypePresenceDescription and constraints
$objectRoot
industry_product_codeJSONOptional
industry_product_code (anyOf 1)stringAlternative[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.
Maximum length: 5000
industry_product_code (anyOf 2)nullAlternative
quantity_decimalJSONOptional
quantity_decimal (anyOf 1)stringAlternativeThe quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.
Format: decimal
quantity_decimal (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe type of fuel that was purchased.
Known values: diesel, other, unleaded_plus, unleaded_regular, unleaded_super
type (anyOf 2)nullAlternative
unitJSONOptional
unit (anyOf 1)stringAlternativeThe units for `quantity_decimal`.
Known values: charging_minute, imperial_gallon, kilogram, kilowatt_hour, liter, other, pound, us_gallon
unit (anyOf 2)nullAlternative
unit_cost_decimalJSONOptional
unit_cost_decimal (anyOf 1)stringAlternativeThe cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
Format: decimal
unit_cost_decimal (anyOf 2)nullAlternative

Update an authorization — response body — network data value acquiring institution id, system trace audit number, transaction id

FieldTypePresenceDescription and constraints
$objectRoot
acquiring_institution_idJSONOptional
acquiring_institution_id (anyOf 1)stringAlternativeIdentifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be `null`.
Maximum length: 5000
acquiring_institution_id (anyOf 2)nullAlternative
system_trace_audit_numberJSONOptional
system_trace_audit_number (anyOf 1)stringAlternativeThe System Trace Audit Number (STAN) is a 6-digit identifier assigned by the acquirer. Prefer `network_data.transaction_id` if present, unless you have special requirements.
Maximum length: 5000
system_trace_audit_number (anyOf 2)nullAlternative
transaction_idJSONOptional
transaction_id (anyOf 1)stringAlternativeUnique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.
Maximum length: 5000
transaction_id (anyOf 2)nullAlternative

Update an authorization — response body — pending request value amount, amount details, currency, is amount controllable, merchant amount, merchant currency, network risk score

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://docs.stripe.com/api#issuing_authorization_object-pending-request-currency) and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_detailsJSONOptional
amount_details (anyOf 1)JSONAlternativeDetailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
amount_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — amount details value atm fee, cashback amount
amount_details (anyOf 2)nullAlternative
currencystringRequired within parentThree-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Format: currency
is_amount_controllablebooleanRequired within parentIf set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.
merchant_amountJSONRequired within parent
merchant_amount (anyOf 1)integerAlternativeThe amount the merchant is requesting to be authorized in the `merchant_currency`. The amount is in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
merchant_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
merchant_currencystringRequired within parentThe local currency the merchant is requesting to authorize.
Format: currency
network_risk_scoreJSONOptional
network_risk_score (anyOf 1)JSONAlternative
network_risk_score (anyOf 1) (anyOf 1)integerAlternativeThe card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.
network_risk_score (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
network_risk_score (anyOf 2)nullAlternative

Referenced models: Update a transaction — response body — amount details value atm fee, cashback amount

Update an authorization — response body — request history item

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_detailsJSONOptional
amount_details (anyOf 1)JSONAlternativeDetailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
amount_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Update a transaction — response body — amount details value atm fee, cashback amount
amount_details (anyOf 2)nullAlternative
approvedbooleanRequired within parentWhether this request was approved.
authorization_codeJSONOptional
authorization_code (anyOf 1)stringAlternativeA code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations.
Maximum length: 5000
authorization_code (anyOf 2)nullAlternative
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
currencystringRequired within parentThree-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Maximum length: 5000
merchant_amountJSONRequired within parent
merchant_amount (anyOf 1)integerAlternativeThe `pending_request.merchant_amount` at the time of the request, presented in the `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
merchant_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
merchant_currencystringRequired within parentThe currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Maximum length: 5000
network_risk_scoreJSONOptional
network_risk_score (anyOf 1)JSONAlternative
network_risk_score (anyOf 1) (anyOf 1)integerAlternativeThe card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.
network_risk_score (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
network_risk_score (anyOf 2)nullAlternative
reasonstringRequired within parentWhen an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.
Known values: account_disabled, card_active, card_canceled, card_expired, card_inactive, cardholder_blocked, cardholder_inactive, cardholder_verification_required, insecure_authorization_method, insufficient_funds, network_fallback, not_allowed, pin_blocked, spending_controls, stripe_internal_error, suspected_fraud, verification_failed, webhook_approved, webhook_declined, webhook_error, webhook_timeout
reason_messageJSONOptional
reason_message (anyOf 1)stringAlternativeIf the `request_history.reason` is `webhook_error` because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field.
Maximum length: 5000
reason_message (anyOf 2)nullAlternative
requested_atJSONOptional
requested_at (anyOf 1)JSONAlternative
requested_at (anyOf 1) (anyOf 1)integerAlternativeTime when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time.
Format: unix-time
requested_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
requested_at (anyOf 2)nullAlternative

Referenced models: Update a transaction — response body — amount details value atm fee, cashback amount

Update an authorization — response body — treasury value received credits, received debits, transaction

FieldTypePresenceDescription and constraints
$objectRoot
received_creditsarrayRequired within parentThe array of [ReceivedCredits](https://docs.stripe.com/api/treasury/received_credits) associated with this authorization
received_credits[]stringEach itemMaximum length: 5000
received_debitsarrayRequired within parentThe array of [ReceivedDebits](https://docs.stripe.com/api/treasury/received_debits) associated with this authorization
received_debits[]stringEach itemMaximum length: 5000
transactionJSONOptional
transaction (anyOf 1)stringAlternativeThe Treasury [Transaction](https://docs.stripe.com/api/treasury/transactions) associated with this authorization
Maximum length: 5000
transaction (anyOf 2)nullAlternative

Update an authorization — response body — verification data

FieldTypePresenceDescription and constraints
$objectRoot
address_line1_checkstringRequired within parentWhether the cardholder provided an address first line and if it matched the cardholder’s `billing.address.line1`.
Known values: match, mismatch, not_provided
address_postal_code_checkstringRequired within parentWhether the cardholder provided a postal code and if it matched the cardholder’s `billing.address.postal_code`.
Known values: match, mismatch, not_provided
authentication_exemptionJSONOptional
authentication_exemption (anyOf 1)JSONAlternativeThe exemption applied to this authorization.
authentication_exemption (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — verification_data / authentication_exemption / The exemption applied to this authorization / claimed_by: acquirer, issuer, type: low value transaction, transaction risk analysis, unknown
authentication_exemption (anyOf 2)nullAlternative
cvc_checkstringRequired within parentWhether the cardholder provided a CVC and if it matched Stripe’s record.
Known values: match, mismatch, not_provided
expiry_checkstringRequired within parentWhether the cardholder provided an expiry date and if it matched Stripe’s record.
Known values: match, mismatch, not_provided
postal_codeJSONOptional
postal_code (anyOf 1)stringAlternativeThe postal code submitted as part of the authorization used for postal code verification.
Maximum length: 5000
postal_code (anyOf 2)nullAlternative
three_d_secureJSONOptional
three_d_secure (anyOf 1)JSONAlternative3D Secure details.
three_d_secure (anyOf 1) (anyOf 1)ModelAlternativeExpand Update an authorization — response body — verification_data / three_d_secure / 3D Secure details / result: attempt acknowledged, authenticated, failed, required
three_d_secure (anyOf 2)nullAlternative

Referenced models: Update an authorization — response body — verification_data / authentication_exemption / The exemption applied to this authorization / claimed_by: acquirer, issuer, type: low value transaction, transaction risk analysis, unknown, Update an authorization — response body — verification_data / three_d_secure / 3D Secure details / result: attempt acknowledged, authenticated, failed, required

Update an authorization — response body — verification_data / authentication_exemption / The exemption applied to this authorization / claimed_by: acquirer, issuer, type: low value transaction, transaction risk analysis, unknown

FieldTypePresenceDescription and constraints
$objectRoot
claimed_bystringRequired within parentThe entity that requested the exemption, either the acquiring merchant or the Issuing user.
Known values: acquirer, issuer
typestringRequired within parentThe specific exemption claimed for this authorization.
Known values: low_value_transaction, transaction_risk_analysis, unknown

Update an authorization — response body — verification_data / three_d_secure / 3D Secure details / result: attempt acknowledged, authenticated, failed, required

FieldTypePresenceDescription and constraints
$objectRoot
resultstringRequired within parentThe outcome of the 3D Secure authentication request.
Known values: attempt_acknowledged, authenticated, failed, required

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.