Attributes
- idstring
Unique identifier for the object.
- amountinteger
The transaction amount, which will be reflected in your balance. This amount is in your currency and in the smallest currency unit.
- nullable stringExpandable
The
Authorization
object that led to this transaction. - cardstringExpandable
The card used to make this transaction.
- cardholdernullable stringExpandable
The cardholder to whom this transaction belongs.
- currencyenum
Three-letter ISO currency code, in lowercase. Must be a supported currency.
- metadataobject
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- typeenum
The nature of the transaction.
Possible enum valuescapture
Funds were captured by the acquirer.
amount
will be negative because funds are moving out of your balance. Not all captures will be linked to an authorization, as acquirers can force capture in some cases.refund
An acquirer initiated a refund. This transaction might not be linked to an original capture, for example credits are original transactions.
amount
will be positive for refunds and negative for refund reversals (very rare).
More attributes
- objectstring
String representing the object’s type. Objects of the same type share the same value.
- amount_
detailsnullable object Detailed breakdown of amount components. These amounts are denominated in
currency
and in the smallest currency unit.- amount_details.
atm_ feenullable integer The fee charged by the ATM for the cash withdrawal.
- amount_details.
cashback_ amountnullable integer The amount of cash requested by the cardholder.
- balance_
transactionnullable stringExpandable ID of the balance transaction associated with this transaction.
- createdtimestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
- disputenullable stringExpandable
If you’ve disputed the transaction, the ID of the dispute.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - merchant_
amountinteger The amount that the merchant will receive, denominated in
merchant_
and in the smallest currency unit. It will be different fromcurrency amount
if the merchant is taking payment in a different currency. - merchant_
currencyenum The currency with which the merchant is taking payment.
- merchant_
dataobject Details about the seller (grocery store, e-commerce website, etc.) involved in this transaction.
- merchant_data.
categorystring A categorization of the seller’s type of business. See our merchant categories guide for a list of possible values.
- merchant_data.
category_ codestring The merchant category code for the seller’s business
- merchant_data.
citynullable string City where the seller is located
- merchant_data.
countrynullable string Country where the seller is located
- merchant_data.
namenullable string Name of the seller
- merchant_data.
network_ idstring Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.
- merchant_data.
postal_ codenullable string Postal code where the seller is located
- merchant_data.
statenullable string State where the seller is located
- merchant_data.
tax_ idnullable string The seller’s tax identification number. Currently populated for French merchants only.
- merchant_data.
terminal_ idnullable string An ID assigned by the seller to the location of the sale.
- merchant_data.
urlnullable string URL provided by the merchant on a 3DS request
- network_
datanullable object Details about the transaction, such as processing dates, set by the card network.
- network_data.
nullable string A 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.
- network_data.
processing_ datenullable string The 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.
- network_data.
transaction_ idnullable string Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.
- purchase_
detailsnullable objectExpandable Additional purchase information that is optionally provided by the merchant.
- purchase_details.
fleetnullable object Fleet-specific information for transactions using Fleet cards.
- purchase_details.
fleet. cardholder_ prompt_ datanullable object Answers to prompts presented to cardholder at point of sale.
- purchase_details.
fleet. cardholder_prompt_data. driver_ idnullable string Driver ID.
- purchase_details.
fleet. cardholder_prompt_data. odometernullable integer Odometer reading.
- purchase_details.
fleet. cardholder_prompt_data. unspecified_ idnullable string An 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.
- purchase_details.
fleet. cardholder_prompt_data. user_ idnullable string User ID.
- purchase_details.
fleet. cardholder_prompt_data. vehicle_ numbernullable string Vehicle number.
- purchase_details.
fleet. purchase_ typenullable string The type of purchase. One of
fuel_
,purchase non_
, orfuel_ purchase fuel_
.and_ non_ fuel_ purchase - purchase_details.
fleet. reported_ breakdownnullable object More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.
- purchase_details.
fleet. reported_breakdown. fuelnullable object Breakdown of fuel portion of the purchase.
- purchase_details.
fleet. reported_breakdown. fuel. gross_ amount_ decimalnullable decimal string Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.
- purchase_details.
fleet. reported_breakdown. non_ fuelnullable object Breakdown of non-fuel portion of the purchase.
- purchase_details.
fleet. reported_breakdown. non_fuel. gross_ amount_ decimalnullable decimal string Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.
- purchase_details.
fleet. reported_breakdown. taxnullable object Information about tax included in this transaction.
- purchase_details.
fleet. reported_breakdown. tax. local_ amount_ decimalnullable decimal string Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.
- purchase_details.
fleet. reported_breakdown. tax. national_ amount_ decimalnullable decimal string Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.
- purchase_details.
fleet. service_ typenullable string The type of fuel service. One of
non_
,fuel_ transaction full_
, orservice self_
.service
- purchase_details.
flightnullable object Information about the flight that was purchased with this transaction.
- purchase_details.
flight. departure_ atnullable integer The time that the flight departed.
- purchase_details.
flight. passenger_ namenullable string The name of the passenger.
- purchase_details.
flight. refundablenullable boolean Whether the ticket is refundable.
- purchase_details.
flight. segmentsnullable array of objects The legs of the trip.
- purchase_details.
flight. segments. arrival_ airport_ codenullable string The three-letter IATA airport code of the flight’s destination.
- purchase_details.
flight. segments. carriernullable string The airline carrier code.
- purchase_details.
flight. segments. departure_ airport_ codenullable string The three-letter IATA airport code that the flight departed from.
- purchase_details.
flight. segments. flight_ numbernullable string The flight number.
- purchase_details.
flight. segments. service_ classnullable string The flight’s service class.
- purchase_details.
flight. segments. stopover_ allowednullable boolean Whether a stopover is allowed on this flight.
- purchase_details.
flight. travel_ agencynullable string The travel agency that issued the ticket.
- purchase_details.
fuelnullable object Information about fuel that was purchased with this transaction.
- purchase_details.
fuel. industry_ product_ codenullable string Conexxus Payment System Product Code identifying the primary fuel product purchased.
- purchase_details.
fuel. quantity_ decimalnullable decimal string The quantity of
unit
s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. - purchase_details.
fuel. typestring The type of fuel that was purchased. One of
diesel
,unleaded_
,plus unleaded_
,regular unleaded_
, orsuper other
. - purchase_details.
fuel. unitstring The units for
quantity_
. One ofdecimal charging_
,minute imperial_
,gallon kilogram
,kilowatt_
,hour liter
,pound
,us_
, orgallon other
. - purchase_details.
fuel. unit_ cost_ decimaldecimal string The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
- purchase_details.
lodgingnullable object Information about lodging that was purchased with this transaction.
- purchase_details.
lodging. check_ in_ atnullable integer The time of checking into the lodging.
- purchase_details.
lodging. nightsnullable integer The number of nights stayed at the lodging.
- purchase_details.
receiptnullable array of objects The line items in the purchase.
- purchase_details.
receipt. descriptionnullable string The description of the item. The maximum length of this field is 26 characters.
- purchase_details.
receipt. quantitynullable float The quantity of the item.
- purchase_details.
receipt. totalnullable integer The total for this line item in cents.
- purchase_details.
receipt. unit_ costnullable integer The unit cost of the item in cents.
- purchase_details.
referencenullable string A merchant-specific order number.
- tokennullable stringPreview featureExpandable
Token object used for this transaction. If a network token was not used for this transaction, this field will be null.
- walletnullable enum
The digital wallet used for this transaction. One of
apple_
,pay google_
, orpay samsung_
.pay
{ "id": "ipi_1MzFN1K8F4fqH0lBmFq8CjbU", "object": "issuing.transaction", "amount": -100, "amount_details": { "atm_fee": null }, "authorization": "iauth_1MzFMzK8F4fqH0lBc9VdaZUp", "balance_transaction": "txn_1MzFN1K8F4fqH0lBQPtqUmJN", "card": "ic_1MzFMxK8F4fqH0lBjIUITRYi", "cardholder": "ich_1MzFMxK8F4fqH0lBXnFW0ROG", "created": 1682065867, "currency": "usd", "dispute": null, "livemode": false, "merchant_amount": -100, "merchant_currency": "usd", "merchant_data": { "category": "computer_software_stores", "category_code": "5734", "city": "SAN FRANCISCO", "country": "US", "name": "WWWW.BROWSEBUG.BIZ", "network_id": "1234567890", "postal_code": "94103", "state": "CA" }, "metadata": {}, "type": "capture", "wallet": null}