Ramp icon

Ramp

Interact with the Ramp spend management API — built by SolutionLab

Actions36

Transaction → Get

AI-generated

Summary

Retrieve a specific transaction's details from Ramp by its ID, optionally including additional merchant data in the response.

Inputs

  • Transaction ID (required) — The ID of the transaction to retrieve.
  • Include Merchant Data — Boolean flag to include additional merchant data in the returned transaction object.

Output shape

A detailed JSON object representing the transaction with the specified ID, optionally enriched with merchant data.

Requires a valid transaction ID. Setting 'Include Merchant Data' to true adds extra merchant information to the response. Suitable for one-off transaction retrievals by ID.

Examples

Example 1: Retrieve transaction details by ID with merchant data included

Set 'Transaction ID' to the transaction's ID and check 'Include Merchant Data' to true.

Links

Discussion