Skip to content

Transactions

Transactions

Last updated: (timestamp)

Transactions

transactions
Methods
Get card transaction
get/v1/transactions/{transaction_token}

Get a specific card transaction. All amounts are in the smallest unit of their respective currency (e.g., cents for USD).

List card transactions
get/v1/transactions

List card transactions. All amounts are in the smallest unit of their respective currency (e.g., cents for USD) and inclusive of any acquirer fees.

Expire an authorization
post/v1/transactions/{transaction_token}/expire_authorization

Expire authorization

Simulate authorization
post/v1/simulate/authorize

Simulates an authorization request from the card network as if it came from a merchant acquirer. If you are configured for ASA, simulating authorizations requires your ASA client to be set up properly, i.e. be able to respond to the ASA request with a valid JSON. For users that are not configured for ASA, a daily transaction limit of $5000 USD is applied by default. You can update this limit via the update account endpoint.

Simulate authorization advice
post/v1/simulate/authorization_advice

Simulates an authorization advice from the card network as if it came from a merchant acquirer. An authorization advice changes the pending amount of the transaction.

Simulate clearing
post/v1/simulate/clearing

Clears an existing authorization, either debit or credit. After this event, the transaction transitions from PENDING to SETTLED status.

If amount is not set, the full amount of the transaction will be cleared. Transactions that have already cleared, either partially or fully, cannot be cleared again using this endpoint.

Simulate credit authorization advice
post/v1/simulate/credit_authorization_advice

Simulates a credit authorization advice from the card network. This message indicates that the network approved a credit authorization on your behalf.

Simulate return
post/v1/simulate/return

Returns, or refunds, an amount back to a card. Returns simulated via this endpoint clear immediately, without prior authorization, and result in a SETTLED transaction status.

Simulate return reversal
post/v1/simulate/return_reversal

Reverses a return, i.e. a credit transaction with a SETTLED status. Returns can be financial credit authorizations, or credit authorizations that have cleared.

Simulate void
post/v1/simulate/void

Voids a pending authorization. If amount is not set, the full amount will be voided. Can be used on partially voided transactions but not partially cleared transactions. Simulating an authorization expiry on credit authorizations or credit authorization advice is not currently supported but will be added soon.

Domain Types
Transaction
Transactionobject
ShowShow
tokenstring

Globally unique identifier.

formatuuid
account_tokenstring

The token for the account associated with this transaction.

formatuuid
acquirer_feenumber

Fee assessed by the merchant and paid for by the cardholder in the smallest unit of the currency. Will be zero if no fee is assessed. Rebates may be transmitted as a negative value to indicate credited fees.

acquirer_reference_numberstring
deprecated

Unique identifier assigned to a transaction by the acquirer that can be used in dispute and chargeback filing. This field has been deprecated in favor of the acquirer_reference_number that resides in the event-level network_info.

maxLength23
minLength23
amountnumber
deprecated

When the transaction is pending, this represents the authorization amount of the transaction in the anticipated settlement currency. Once the transaction has settled, this field represents the settled amount in the settlement currency.

amountsobject
Hide ParametersShow Parameters
cardholderobject
Hide ParametersShow Parameters
amountnumber

The estimated settled amount of the transaction in the cardholder billing currency.

conversion_ratestring

The exchange rate used to convert the merchant amount to the cardholder billing amount.

currencyCurrency

3-character alphabetic ISO 4217 currency

holdobject
Hide ParametersShow Parameters
amountnumber

The pending amount of the transaction in the anticipated settlement currency.

currencyCurrency

3-character alphabetic ISO 4217 currency

merchantobject
Hide ParametersShow Parameters
amountnumber

The settled amount of the transaction in the merchant currency.

currencyCurrency

3-character alphabetic ISO 4217 currency

settlementobject
Hide ParametersShow Parameters
amountnumber

The settled amount of the transaction in the settlement currency.

currencyCurrency

3-character alphabetic ISO 4217 currency

authorization_amountnumber
deprecated

The authorization amount of the transaction in the anticipated settlement currency.

authorization_codestring

A fixed-width 6-digit numeric identifier that can be used to identify a transaction with networks.

maxLength6
minLength6
avsobject
Hide ParametersShow Parameters
addressstring

Cardholder address

zipcodestring

Cardholder ZIP code

card_tokenstring

Token for the card used in this transaction.

formatuuid
cardholder_authenticationobject
Hide ParametersShow Parameters
3ds_versionstring

The 3DS version used for the authentication

acquirer_exemptionenum
Accepts one of the following: "AUTHENTICATION_OUTAGE_EXCEPTION", "LOW_VALUE", "MERCHANT_INITIATED_TRANSACTION", 5 more

Whether an acquirer exemption applied to the transaction.

Hide ParametersShow Parameters
"AUTHENTICATION_OUTAGE_EXCEPTION"
"LOW_VALUE"
"MERCHANT_INITIATED_TRANSACTION"
"NONE"
"RECURRING_PAYMENT"
"SECURE_CORPORATE_PAYMENT"
"STRONG_CUSTOMER_AUTHENTICATION_DELEGATION"
"TRANSACTION_RISK_ANALYSIS"
authentication_resultenum
Accepts one of the following: "ATTEMPTS", "DECLINE", "NONE", "SUCCESS"

Indicates what the outcome of the 3DS authentication process is.

Hide ParametersShow Parameters
"ATTEMPTS"
"DECLINE"
"NONE"
"SUCCESS"
decision_made_byenum
Accepts one of the following: "CUSTOMER_RULES", "CUSTOMER_ENDPOINT", "LITHIC_DEFAULT", 3 more

Indicates which party made the 3DS authentication decision.

Hide ParametersShow Parameters
"CUSTOMER_RULES"
"CUSTOMER_ENDPOINT"
"LITHIC_DEFAULT"
"LITHIC_RULES"
"NETWORK"
"UNKNOWN"
liability_shiftenum
Accepts one of the following: "3DS_AUTHENTICATED", "ACQUIRER_EXEMPTION", "NONE", "TOKEN_AUTHENTICATED"

Indicates whether chargeback liability shift applies to the transaction. Possible enum values:

* `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D Secure flow, chargeback liability shift applies.

* `ACQUIRER_EXEMPTION`: The acquirer utilised an exemption to bypass Strong Customer Authentication (`transStatus = N`, or `transStatus = I`). Liability remains with the acquirer and in this case the `acquirer_exemption` field is expected to be not `NONE`.

* `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the merchant is liable.
  • TOKEN_AUTHENTICATED: The transaction was a tokenized payment with validated cryptography, possibly recurring. Chargeback liability shift to the issuer applies.
Hide ParametersShow Parameters
"3DS_AUTHENTICATED"
"ACQUIRER_EXEMPTION"
"NONE"
"TOKEN_AUTHENTICATED"
three_ds_authentication_tokenstring

Unique identifier you can use to match a given 3DS authentication (available via the three_ds_authentication.created event webhook) and the transaction. Note that in cases where liability shift does not occur, this token is matched to the transaction on a best-effort basis.

formatuuid
verification_attemptedenum
Accepts one of the following: "NONE", "OTHER"

Indicates whether a 3DS challenge flow was used, and if so, what the verification method was. (deprecated, use authentication_result)

Hide ParametersShow Parameters
"NONE"
"OTHER"
verification_resultenum
Accepts one of the following: "CANCELLED", "FAILED", "FRICTIONLESS", 3 more

Indicates whether a transaction is considered 3DS authenticated. (deprecated, use authentication_result)

Hide ParametersShow Parameters
"CANCELLED"
"FAILED"
"FRICTIONLESS"
"NOT_ATTEMPTED"
"REJECTED"
"SUCCESS"
authentication_methodenum
optional
Accepts one of the following: "FRICTIONLESS", "CHALLENGE", "NONE"

Indicates the method used to authenticate the cardholder.

Hide ParametersShow Parameters
"FRICTIONLESS"
"CHALLENGE"
"NONE"
createdstring

Date and time when the transaction first occurred. UTC time zone.

formatdate-time
merchantobject
Hide ParametersShow Parameters
acceptor_idstring

Unique alphanumeric identifier for the payment card acceptor (merchant).

acquiring_institution_idstring

Unique numeric identifier of the acquiring institution.

citystring

City of card acceptor. Note that in many cases, particularly in card-not-present transactions, merchants may send through a phone number or URL in this field.

countrystring

Country or entity of card acceptor. Possible values are: (1) all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.

descriptorstring

Short description of card acceptor.

mccstring

Merchant category code (MCC). A four-digit number listed in ISO 18245. An MCC is used to classify a business by the types of goods or services it provides.

statestring

Geographic state of card acceptor.

merchant_amountnumber
deprecated

Analogous to the 'amount', but in the merchant currency.

merchant_authorization_amountnumber
deprecated

Analogous to the 'authorization_amount', but in the merchant currency.

merchant_currencystring
deprecated

3-character alphabetic ISO 4217 code for the local currency of the transaction.

networkenum
Accepts one of the following: "AMEX", "INTERLINK", "MAESTRO", 3 more

Card network of the authorization. Value is UNKNOWN when Lithic cannot determine the network code from the upstream provider.

Hide ParametersShow Parameters
"AMEX"
"INTERLINK"
"MAESTRO"
"MASTERCARD"
"UNKNOWN"
"VISA"
network_risk_scorenumber

Network-provided score assessing risk level associated with a given authorization. Scores are on a range of 0-999, with 0 representing the lowest risk and 999 representing the highest risk. For Visa transactions, where the raw score has a range of 0-99, Lithic will normalize the score by multiplying the raw score by 10x.

posobject
Hide ParametersShow Parameters
entry_modeobject
Hide ParametersShow Parameters
cardenum
Accepts one of the following: "NOT_PRESENT", "PREAUTHORIZED", "PRESENT", "UNKNOWN"

Card presence indicator

Hide ParametersShow Parameters
"NOT_PRESENT"
"PREAUTHORIZED"
"PRESENT"
"UNKNOWN"
cardholderenum
Accepts one of the following: "DEFERRED_BILLING", "ELECTRONIC_ORDER", "INSTALLMENT", 7 more

Cardholder presence indicator

Hide ParametersShow Parameters
"DEFERRED_BILLING"
"ELECTRONIC_ORDER"
"INSTALLMENT"
"MAIL_ORDER"
"NOT_PRESENT"
"PREAUTHORIZED"
"PRESENT"
"REOCCURRING"
"TELEPHONE_ORDER"
"UNKNOWN"
panenum
Accepts one of the following: "AUTO_ENTRY", "BAR_CODE", "CONTACTLESS", 12 more

Method of entry for the PAN

Hide ParametersShow Parameters
"AUTO_ENTRY"
"BAR_CODE"
"CONTACTLESS"
"CREDENTIAL_ON_FILE"
"ECOMMERCE"
"ERROR_KEYED"
"ERROR_MAGNETIC_STRIPE"
"ICC"
"KEY_ENTERED"
"MAGNETIC_STRIPE"
"MANUAL"
"OCR"
"SECURE_CARDLESS"
"UNKNOWN"
"UNSPECIFIED"
pin_enteredboolean

Indicates whether the cardholder entered the PIN. True if the PIN was entered.

terminalobject
Hide ParametersShow Parameters
attendedboolean

True if a clerk is present at the sale.

card_retention_capableboolean

True if the terminal is capable of retaining the card.

on_premiseboolean

True if the sale was made at the place of business (vs. mobile).

operatorenum
Accepts one of the following: "ADMINISTRATIVE", "CARDHOLDER", "CARD_ACCEPTOR", "UNKNOWN"

The person that is designated to swipe the card

Hide ParametersShow Parameters
"ADMINISTRATIVE"
"CARDHOLDER"
"CARD_ACCEPTOR"
"UNKNOWN"
partial_approval_capableboolean

True if the terminal is capable of partial approval. Partial approval is when part of a transaction is approved and another payment must be used for the remainder. Example scenario: A $40 transaction is attempted on a prepaid card with a $25 balance. If partial approval is enabled, $25 can be authorized, at which point the POS will prompt the user for an additional payment of $15.

pin_capabilityenum
Accepts one of the following: "CAPABLE", "INOPERATIVE", "NOT_CAPABLE", "UNSPECIFIED"

Status of whether the POS is able to accept PINs

Hide ParametersShow Parameters
"CAPABLE"
"INOPERATIVE"
"NOT_CAPABLE"
"UNSPECIFIED"
typeenum
Accepts one of the following: "ADMINISTRATIVE", "ATM", "AUTHORIZATION", 21 more

POS Type

Hide ParametersShow Parameters
"ADMINISTRATIVE"
"ATM"
"AUTHORIZATION"
"COUPON_MACHINE"
"DIAL_TERMINAL"
"ECOMMERCE"
"ECR"
"FUEL_MACHINE"
"HOME_TERMINAL"
"MICR"
"OFF_PREMISE"
"PAYMENT"
"PDA"
"PHONE"
"POINT"
"POS_TERMINAL"
"PUBLIC_UTILITY"
"SELF_SERVICE"
"TELEVISION"
"TELLER"
"TRAVELERS_CHECK_MACHINE"
"VENDING"
"VOICE"
"UNKNOWN"
acceptor_terminal_idstring
optional

Uniquely identifies a terminal at the card acceptor location of acquiring institutions or merchant POS Systems

resultenum
Accepts one of the following: "ACCOUNT_STATE_TRANSACTION_FAIL", "APPROVED", "BANK_CONNECTION_ERROR", 20 more
Hide ParametersShow Parameters
"ACCOUNT_STATE_TRANSACTION_FAIL"
"APPROVED"
"BANK_CONNECTION_ERROR"
"BANK_NOT_VERIFIED"
"CARD_CLOSED"
"CARD_PAUSED"
"DECLINED"
"FRAUD_ADVICE"
"IGNORED_TTL_EXPIRY"
"INACTIVE_ACCOUNT"
"INCORRECT_PIN"
"INVALID_CARD_DETAILS"
"INSUFFICIENT_FUNDS"
"INSUFFICIENT_FUNDS_PRELOAD"
"INVALID_TRANSACTION"
"MERCHANT_BLACKLIST"
"ORIGINAL_NOT_FOUND"
"PREVIOUSLY_COMPLETED"
"SINGLE_USE_RECHARGED"
"SWITCH_INOPERATIVE_ADVICE"
"UNAUTHORIZED_MERCHANT"
"UNKNOWN_HOST_TIMEOUT"
"USER_TRANSACTION_LIMIT"
settled_amountnumber
deprecated

The settled amount of the transaction in the settlement currency.

statusenum
Accepts one of the following: "DECLINED", "EXPIRED", "PENDING", 2 more

Status of the transaction.

Hide ParametersShow Parameters
"DECLINED"
"EXPIRED"
"PENDING"
"SETTLED"
"VOIDED"
token_infoobject
Hide ParametersShow Parameters
wallet_typeenum
Accepts one of the following: "APPLE_PAY", "GOOGLE_PAY", "MASTERPASS", 3 more

The wallet_type field will indicate the source of the token. Possible token sources include digital wallets (Apple, Google, or Samsung Pay), merchant tokenization, and “other” sources like in-flight commerce. Masterpass is not currently supported and is included for future use.

Hide ParametersShow Parameters
"APPLE_PAY"
"GOOGLE_PAY"
"MASTERPASS"
"MERCHANT"
"OTHER"
"SAMSUNG_PAY"
updatedstring

Date and time when the transaction last updated. UTC time zone.

formatdate-time
eventsarray of object
optional
Hide ParametersShow Parameters
tokenstring

Transaction event identifier.

formatuuid
amountnumber
deprecated

Amount of the event in the settlement currency.

amountsobject
Hide ParametersShow Parameters
cardholderobject
Hide ParametersShow Parameters
amountnumber

Amount of the event in the cardholder billing currency.

conversion_ratestring

Exchange rate used to convert the merchant amount to the cardholder billing amount.

currencyCurrency

3-character alphabetic ISO 4217 currency

merchantobject
Hide ParametersShow Parameters
amountnumber

Amount of the event in the merchant currency.

currencyCurrency

3-character alphabetic ISO 4217 currency

settlementobject
Hide ParametersShow Parameters
amountnumber

Amount of the event, if it is financial, in the settlement currency. Non-financial events do not contain this amount because they do not move funds.

conversion_ratestring

Exchange rate used to convert the merchant amount to the settlement amount.

currencyCurrency

3-character alphabetic ISO 4217 currency

createdstring

RFC 3339 date and time this event entered the system. UTC time zone.

formatdate-time
detailed_resultsarray of enum
Hide ParametersShow Parameters
"ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED"
"ACCOUNT_DELINQUENT"
"ACCOUNT_INACTIVE"
"ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED"
"ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED"
"ACCOUNT_UNDER_REVIEW"
"ADDRESS_INCORRECT"
"APPROVED"
"AUTH_RULE_ALLOWED_COUNTRY"
"AUTH_RULE_ALLOWED_MCC"
"AUTH_RULE_BLOCKED_COUNTRY"
"AUTH_RULE_BLOCKED_MCC"
"CARD_CLOSED"
"CARD_CRYPTOGRAM_VALIDATION_FAILURE"
"CARD_EXPIRED"
"CARD_EXPIRY_DATE_INCORRECT"
"CARD_INVALID"
"CARD_NOT_ACTIVATED"
"CARD_PAUSED"
"CARD_PIN_INCORRECT"
"CARD_RESTRICTED"
"CARD_SECURITY_CODE_INCORRECT"
"CARD_SPEND_LIMIT_EXCEEDED"
"CONTACT_CARD_ISSUER"
"CUSTOMER_ASA_TIMEOUT"
"CUSTOM_ASA_RESULT"
"DECLINED"
"DO_NOT_HONOR"
"DRIVER_NUMBER_INVALID"
"FORMAT_ERROR"
"INSUFFICIENT_FUNDING_SOURCE_BALANCE"
"INSUFFICIENT_FUNDS"
"LITHIC_SYSTEM_ERROR"
"LITHIC_SYSTEM_RATE_LIMIT"
"MALFORMED_ASA_RESPONSE"
"MERCHANT_INVALID"
"MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE"
"MERCHANT_NOT_PERMITTED"
"OVER_REVERSAL_ATTEMPTED"
"PIN_BLOCKED"
"PROGRAM_CARD_SPEND_LIMIT_EXCEEDED"
"PROGRAM_SUSPENDED"
"PROGRAM_USAGE_RESTRICTION"
"REVERSAL_UNMATCHED"
"SECURITY_VIOLATION"
"SINGLE_USE_CARD_REATTEMPTED"
"TRANSACTION_INVALID"
"TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL"
"TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER"
"TRANSACTION_PREVIOUSLY_COMPLETED"
"UNAUTHORIZED_MERCHANT"
"VEHICLE_NUMBER_INVALID"
effective_polarityenum
Accepts one of the following: "CREDIT", "DEBIT"

Indicates whether the transaction event is a credit or debit to the account.

Hide ParametersShow Parameters
"CREDIT"
"DEBIT"
network_infoobject

Information provided by the card network in each event. This includes common identifiers shared between you, Lithic, the card network and in some cases the acquirer. These identifiers often link together events within the same transaction lifecycle and can be used to locate a particular transaction, such as during processing of disputes. Not all fields are available in all events, and the presence of these fields is dependent on the card network and the event type. If the field is populated by the network, we will pass it through as is unless otherwise specified. Please consult the official network documentation for more details about these fields and how to use them.

Hide ParametersShow Parameters
acquirerobject
Hide ParametersShow Parameters
acquirer_reference_numberstring

Identifier assigned by the acquirer, applicable to dual-message transactions only. The acquirer reference number (ARN) is only populated once a transaction has been cleared, and it is not available in all transactions (such as automated fuel dispenser transactions). A single transaction can contain multiple ARNs if the merchant sends multiple clearings.

retrieval_reference_numberstring

Identifier assigned by the acquirer.

amexobject
Hide ParametersShow Parameters
original_transaction_idstring

Identifier assigned by American Express. Matches the transaction_id of a prior related event. May be populated in incremental authorizations (authorization requests that augment a previously authorized amount), authorization advices, financial authorizations, and clearings.

transaction_idstring

Identifier assigned by American Express to link original messages to subsequent messages. Guaranteed by American Express to be unique for each original authorization and financial authorization.

mastercardobject
Hide ParametersShow Parameters
banknet_reference_numberstring

Identifier assigned by Mastercard. Guaranteed by Mastercard to be unique for any transaction within a specific financial network on any processing day.

original_banknet_reference_numberstring

Identifier assigned by Mastercard. Matches the banknet_reference_number of a prior related event. May be populated in authorization reversals, incremental authorizations (authorization requests that augment a previously authorized amount), automated fuel dispenser authorization advices and clearings, and financial authorizations. If the original banknet reference number contains all zeroes, then no actual reference number could be found by the network or acquirer. If Mastercard converts a transaction from dual-message to single-message, such as for certain ATM transactions, it will populate the original banknet reference number in the resulting financial authorization with the banknet reference number of the initial authorization, which Lithic does not receive.

original_switch_serial_numberstring

Identifier assigned by Mastercard. Matches the switch_serial_number of a prior related event. May be populated in returns and return reversals. Applicable to single-message transactions only.

switch_serial_numberstring

Identifier assigned by Mastercard, applicable to single-message transactions only.

visaobject
Hide ParametersShow Parameters
original_transaction_idstring

Identifier assigned by Visa. Matches the transaction_id of a prior related event. May be populated in incremental authorizations (authorization requests that augment a previously authorized amount), authorization advices, financial authorizations, and clearings.

transaction_idstring

Identifier assigned by Visa to link original messages to subsequent messages. Guaranteed by Visa to be unique for each original authorization and financial authorization.

resultenum
Accepts one of the following: "ACCOUNT_STATE_TRANSACTION_FAIL", "APPROVED", "BANK_CONNECTION_ERROR", 20 more
Hide ParametersShow Parameters
"ACCOUNT_STATE_TRANSACTION_FAIL"
"APPROVED"
"BANK_CONNECTION_ERROR"
"BANK_NOT_VERIFIED"
"CARD_CLOSED"
"CARD_PAUSED"
"DECLINED"
"FRAUD_ADVICE"
"IGNORED_TTL_EXPIRY"
"INACTIVE_ACCOUNT"
"INCORRECT_PIN"
"INVALID_CARD_DETAILS"
"INSUFFICIENT_FUNDS"
"INSUFFICIENT_FUNDS_PRELOAD"
"INVALID_TRANSACTION"
"MERCHANT_BLACKLIST"
"ORIGINAL_NOT_FOUND"
"PREVIOUSLY_COMPLETED"
"SINGLE_USE_RECHARGED"
"SWITCH_INOPERATIVE_ADVICE"
"UNAUTHORIZED_MERCHANT"
"UNKNOWN_HOST_TIMEOUT"
"USER_TRANSACTION_LIMIT"
rule_resultsarray of object
Hide ParametersShow Parameters
auth_rule_tokenstring

The Auth Rule Token associated with the rule from which the decline originated. If this is set to null, then the decline was not associated with a customer-configured Auth Rule. This may happen in cases where a transaction is declined due to a Lithic-configured security or compliance rule, for example.

formatuuid
explanationstring

A human-readable explanation outlining the motivation for the rule's decline.

namestring

The name for the rule, if any was configured.

resultenum
Accepts one of the following: "ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED", "ACCOUNT_DELINQUENT", "ACCOUNT_INACTIVE", 49 more

The detailed_result associated with this rule's decline.

Hide ParametersShow Parameters
"ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED"
"ACCOUNT_DELINQUENT"
"ACCOUNT_INACTIVE"
"ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED"
"ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED"
"ACCOUNT_UNDER_REVIEW"
"ADDRESS_INCORRECT"
"APPROVED"
"AUTH_RULE_ALLOWED_COUNTRY"
"AUTH_RULE_ALLOWED_MCC"
"AUTH_RULE_BLOCKED_COUNTRY"
"AUTH_RULE_BLOCKED_MCC"
"CARD_CLOSED"
"CARD_CRYPTOGRAM_VALIDATION_FAILURE"
"CARD_EXPIRED"
"CARD_EXPIRY_DATE_INCORRECT"
"CARD_INVALID"
"CARD_NOT_ACTIVATED"
"CARD_PAUSED"
"CARD_PIN_INCORRECT"
"CARD_RESTRICTED"
"CARD_SECURITY_CODE_INCORRECT"
"CARD_SPEND_LIMIT_EXCEEDED"
"CONTACT_CARD_ISSUER"
"CUSTOMER_ASA_TIMEOUT"
"CUSTOM_ASA_RESULT"
"DECLINED"
"DO_NOT_HONOR"
"DRIVER_NUMBER_INVALID"
"FORMAT_ERROR"
"INSUFFICIENT_FUNDING_SOURCE_BALANCE"
"INSUFFICIENT_FUNDS"
"LITHIC_SYSTEM_ERROR"
"LITHIC_SYSTEM_RATE_LIMIT"
"MALFORMED_ASA_RESPONSE"
"MERCHANT_INVALID"
"MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE"
"MERCHANT_NOT_PERMITTED"
"OVER_REVERSAL_ATTEMPTED"
"PIN_BLOCKED"
"PROGRAM_CARD_SPEND_LIMIT_EXCEEDED"
"PROGRAM_SUSPENDED"
"PROGRAM_USAGE_RESTRICTION"
"REVERSAL_UNMATCHED"
"SECURITY_VIOLATION"
"SINGLE_USE_CARD_REATTEMPTED"
"TRANSACTION_INVALID"
"TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL"
"TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER"
"TRANSACTION_PREVIOUSLY_COMPLETED"
"UNAUTHORIZED_MERCHANT"
"VEHICLE_NUMBER_INVALID"
typeenum
Accepts one of the following: "AUTHORIZATION", "AUTHORIZATION_ADVICE", "AUTHORIZATION_EXPIRY", 11 more

Type of transaction event

Hide ParametersShow Parameters
"AUTHORIZATION"
"AUTHORIZATION_ADVICE"
"AUTHORIZATION_EXPIRY"
"AUTHORIZATION_REVERSAL"
"BALANCE_INQUIRY"
"CLEARING"
"CORRECTION_CREDIT"
"CORRECTION_DEBIT"
"CREDIT_AUTHORIZATION"
"CREDIT_AUTHORIZATION_ADVICE"
"FINANCIAL_AUTHORIZATION"
"FINANCIAL_CREDIT_AUTHORIZATION"
"RETURN"
"RETURN_REVERSAL"
network_specific_dataobject
optional
Hide ParametersShow Parameters
mastercardobject
Hide ParametersShow Parameters
ecommerce_security_level_indicatorstring

Indicates the electronic commerce security level and UCAF collection.

minLength3
maxLength3
on_behalf_service_resultarray of object

The On-behalf Service performed on the transaction and the results. Contains all applicable, on-behalf service results that were performed on a given transaction.

Hide ParametersShow Parameters
result_1string

Indicates the results of the service processing.

minLength1
maxLength1
result_2string

Identifies the results of the service processing.

minLength1
maxLength1
servicestring

Indicates the service performed on the transaction.

minLength2
maxLength2
transaction_type_identifierstring

Indicates the type of additional transaction purpose.

minLength3
maxLength3
visaobject
Hide ParametersShow Parameters
business_application_identifierstring

Identifies the purpose or category of a transaction, used to classify and process transactions according to Visa’s rules.

minLength2
maxLength2

TransactionsEnhanced Commercial Data

transactions.enhanced_commercial_data
Methods
List enhanced commercial data
get/v1/transactions/{transaction_token}/enhanced_commercial_data

Get all L2/L3 enhanced commercial data associated with a transaction. Not available in sandbox.

TransactionsEvents

transactions.events

TransactionsEventsEnhanced Commercial Data

transactions.events.enhanced_commercial_data
Methods
Get enhanced commercial data
get/v1/transactions/events/{event_token}/enhanced_commercial_data

Get L2/L3 enhanced commercial data associated with a transaction event. Not available in sandbox.

Domain Types
Enhanced Data
EnhancedDataobject
ShowShow
tokenstring

A unique identifier for the enhanced commercial data.

formatuuid
commonobject
Hide ParametersShow Parameters
line_itemsarray of object
Hide ParametersShow Parameters
amountnumber
optional

The price of the item purchased in merchant currency.

descriptionstring
optional

A human-readable description of the item.

product_codestring
optional

An identifier for the item purchased.

quantitynumber
optional

The quantity of the item purchased.

taxobject
Hide ParametersShow Parameters
amountnumber
optional

The amount of tax collected.

exemptenum
optional
Accepts one of the following: "TAX_INCLUDED", "TAX_NOT_INCLUDED", "NOT_SUPPORTED"

A flag indicating whether the transaction is tax exempt or not.

Hide ParametersShow Parameters
"TAX_INCLUDED"
"TAX_NOT_INCLUDED"
"NOT_SUPPORTED"
merchant_tax_idstring
optional

The tax ID of the merchant.

customer_reference_numberstring
optional

A customer identifier.

merchant_reference_numberstring
optional

A merchant identifier.

order_datestring
optional

The date of the order.

formatdate
event_tokenstring

The token of the event that the enhanced data is associated with.

formatuuid
fleetarray of object
Hide ParametersShow Parameters
amount_totalsobject
Hide ParametersShow Parameters
discountnumber
optional

The discount applied to the gross sale amount.

gross_salenumber
optional

The gross sale amount.

net_salenumber
optional

The amount after discount.

fuelobject
Hide ParametersShow Parameters
quantitynumber
optional

The quantity of fuel purchased.

typeenum
optional
Accepts one of the following: "UNKNOWN", "REGULAR", "MID_PLUS", 114 more

The type of fuel purchased.

Hide ParametersShow Parameters
"UNKNOWN"
"REGULAR"
"MID_PLUS"
"PREMIUM_SUPER"
"MID_PLUS_2"
"PREMIUM_SUPER_2"
"ETHANOL_5_7_BLEND"
"MID_PLUS_ETHANOL_5_7_PERCENT_BLEND"
"PREMIUM_SUPER_ETHANOL_5_7_PERCENT_BLEND"
"ETHANOL_7_7_PERCENT_BLEND"
"MID_PLUS_ETHANOL_7_7_PERCENT_BLEND"
"GREEN_GASOLINE_REGULAR"
"GREEN_GASOLINE_MID_PLUS"
"GREEN_GASOLINE_PREMIUM_SUPER"
"REGULAR_DIESEL_2"
"PREMIUM_DIESEL_2"
"REGULAR_DIESEL_1"
"COMPRESSED_NATURAL_GAS"
"LIQUID_PROPANE_GAS"
"LIQUID_NATURAL_GAS"
"E_85"
"REFORMULATED_1"
"REFORMULATED_2"
"REFORMULATED_3"
"REFORMULATED_4"
"REFORMULATED_5"
"DIESEL_OFF_ROAD_1_AND_2_NON_TAXABLE"
"DIESEL_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_OFF_ROAD_NON_TAXABLE"
"UNDEFINED_FUEL"
"RACING_FUEL"
"MID_PLUS_2_10_PERCENT_BLEND"
"PREMIUM_SUPER_2_10_PERCENT_BLEND"
"MID_PLUS_ETHANOL_2_15_PERCENT_BLEND"
"PREMIUM_SUPER_ETHANOL_2_15_PERCENT_BLEND"
"PREMIUM_SUPER_ETHANOL_7_7_PERCENT_BLEND"
"REGULAR_ETHANOL_10_PERCENT_BLEND"
"MID_PLUS_ETHANOL_10_PERCENT_BLEND"
"PREMIUM_SUPER_ETHANOL_10_PERCENT_BLEND"
"B2_DIESEL_BLEND_2_PERCENT_BIODIESEL"
"B5_DIESEL_BLEND_5_PERCENT_BIODIESEL"
"B10_DIESEL_BLEND_10_PERCENT_BIODIESEL"
"B11_DIESEL_BLEND_11_PERCENT_BIODIESEL"
"B15_DIESEL_BLEND_15_PERCENT_BIODIESEL"
"B20_DIESEL_BLEND_20_PERCENT_BIODIESEL"
"B100_DIESEL_BLEND_100_PERCENT_BIODIESEL"
"B1_DIESEL_BLEND_1_PERCENT_BIODIESEL"
"ADDITIZED_DIESEL_2"
"ADDITIZED_DIESEL_3"
"RENEWABLE_DIESEL_R95"
"RENEWABLE_DIESEL_BIODIESEL_6_20_PERCENT"
"DIESEL_EXHAUST_FLUID"
"PREMIUM_DIESEL_1"
"REGULAR_ETHANOL_15_PERCENT_BLEND"
"MID_PLUS_ETHANOL_15_PERCENT_BLEND"
"PREMIUM_SUPER_ETHANOL_15_PERCENT_BLEND"
"PREMIUM_DIESEL_BLEND_LESS_THAN_20_PERCENT_BIODIESEL"
"PREMIUM_DIESEL_BLEND_GREATER_THAN_20_PERCENT_BIODIESEL"
"B75_DIESEL_BLEND_75_PERCENT_BIODIESEL"
"B99_DIESEL_BLEND_99_PERCENT_BIODIESEL"
"MISCELLANEOUS_FUEL"
"JET_FUEL"
"AVIATION_FUEL_REGULAR"
"AVIATION_FUEL_PREMIUM"
"AVIATION_FUEL_JP8"
"AVIATION_FUEL_4"
"AVIATION_FUEL_5"
"BIOJET_DIESEL"
"AVIATION_BIOFUEL_GASOLINE"
"MISCELLANEOUS_AVIATION_FUEL"
"MARINE_FUEL_1"
"MARINE_FUEL_2"
"MARINE_FUEL_3"
"MARINE_FUEL_4"
"MARINE_FUEL_5"
"MARINE_OTHER"
"MARINE_DIESEL"
"MISCELLANEOUS_MARINE_FUEL"
"KEROSENE_LOW_SULFUR"
"WHITE_GAS"
"HEATING_OIL"
"OTHER_FUEL_NON_TAXABLE"
"KEROSENE_ULTRA_LOW_SULFUR"
"KEROSENE_LOW_SULFUR_NON_TAXABLE"
"KEROSENE_ULTRA_LOW_SULFUR_NON_TAXABLE"
"EVC_1_LEVEL_1_CHARGE_110V_15_AMP"
"EVC_2_LEVEL_2_CHARGE_240V_15_40_AMP"
"EVC_3_LEVEL_3_CHARGE_480V_3_PHASE_CHARGE"
"BIODIESEL_BLEND_2_PERCENT_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_5_PERCENT_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_10_PERCENT_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_11_PERCENT_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_15_PERCENT_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_20_PERCENT_OFF_ROAD_NON_TAXABLE"
"DIESEL_1_OFF_ROAD_NON_TAXABLE"
"DIESEL_2_OFF_ROAD_NON_TAXABLE"
"DIESEL_1_PREMIUM_OFF_ROAD_NON_TAXABLE"
"DIESEL_2_PREMIUM_OFF_ROAD_NON_TAXABLE"
"ADDITIVE_DOSAGE"
"ETHANOL_BLENDS_E16_E84"
"LOW_OCTANE_UNL"
"BLENDED_DIESEL_1_AND_2"
"OFF_ROAD_REGULAR_NON_TAXABLE"
"OFF_ROAD_MID_PLUS_NON_TAXABLE"
"OFF_ROAD_PREMIUM_SUPER_NON_TAXABLE"
"OFF_ROAD_MID_PLUS_2_NON_TAXABLE"
"OFF_ROAD_PREMIUM_SUPER_2_NON_TAXABLE"
"RECREATIONAL_FUEL_90_OCTANE"
"HYDROGEN_H35"
"HYDROGEN_H70"
"RENEWABLE_DIESEL_R95_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_1_PERCENT_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_75_PERCENT_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_99_PERCENT_OFF_ROAD_NON_TAXABLE"
"BIODIESEL_BLEND_100_PERCENT_OFF_ROAD_NON_TAXABLE"
"RENEWABLE_DIESEL_BIODIESEL_6_20_PERCENT_OFF_ROAD_NON_TAXABLE"
"MISCELLANEOUS_OTHER_FUEL"
unit_of_measureenum
optional
Accepts one of the following: "GALLONS", "LITERS", "POUNDS", 4 more

Unit of measure for fuel disbursement.

Hide ParametersShow Parameters
"GALLONS"
"LITERS"
"POUNDS"
"KILOGRAMS"
"IMPERIAL_GALLONS"
"NOT_APPLICABLE"
"UNKNOWN"
unit_pricenumber
optional

The price per unit of fuel.

driver_numberstring
optional

The driver number entered into the terminal at the time of sale, with leading zeros stripped.

odometernumber
optional

The odometer reading entered into the terminal at the time of sale.

service_typeenum
optional
Accepts one of the following: "UNKNOWN", "UNDEFINED", "SELF_SERVICE", 2 more

The type of fuel service.

Hide ParametersShow Parameters
"UNKNOWN"
"UNDEFINED"
"SELF_SERVICE"
"FULL_SERVICE"
"NON_FUEL_ONLY"
vehicle_numberstring
optional

The vehicle number entered into the terminal at the time of sale, with leading zeros stripped.

transaction_tokenstring

The token of the transaction that the enhanced data is associated with.

formatuuid