Skip to content

Ramp: Fetch a transaction — response body — merchant data

Fetch a transaction: response body, field merchant_data. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Fetch a transaction — response body — merchant data

FieldTypePresenceDescription and constraints
$objectRoot
auto_rentalJSONRequired within parent
auto_rental (anyOf 1)ModelAlternativeExpand Fetch a transaction — response body — merchant data auto rental check out, days
Auto rental purchase data provided by the merchant
auto_rental (anyOf 2)nullAlternative
flightJSONRequired within parent
flight (anyOf 1)ModelAlternativeExpand Fetch a transaction — response body — merchant data flight departure date, passenger name, segments
Flight purchase data provided by the merchant
flight (anyOf 2)nullAlternative
lodgingJSONRequired within parent
lodging (anyOf 1)ModelAlternativeExpand Fetch a transaction — response body — merchant data lodging check in, nights
Lodging purchase data provided by the merchant
lodging (anyOf 2)nullAlternative
receiptJSONRequired within parent
receipt (anyOf 1)ModelAlternativeExpand Fetch a transaction — response body — merchant data receipt items
Receipt purchase data provided by the merchant
receipt (anyOf 2)nullAlternative
referenceJSONRequired within parent
reference (anyOf 1)stringAlternativePurchase data reference ID provided by the merchant
reference (anyOf 2)nullAlternative

Referenced models: Fetch a transaction — response body — merchant data flight departure date, passenger name, segments, Fetch a transaction — response body — merchant data auto rental check out, days, Fetch a transaction — response body — merchant data lodging check in, nights, Fetch a transaction — response body — merchant data receipt items

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.