Fetch a list of all the Motive Card transactions

Purpose: Use this API to fetch a list of all the Motive card transactions that happened at your organisation. This API fetches the details of the transactions by the drivers, as well as other employees who use the Motive card for their daily expenses.

You can narrow down your search by using the query parameters. Refer to the query parameters section for more info.

📘

NOTE

The query parameters start_dateand end_date, must be used together. They are not mutually exclusive.

Response Parameters

transactions

  • Type: Array of Objects
  • Description: List of transactions associated with the account.

id

  • Type: String
  • Description: Unique identifier for the transaction.

transaction_status

  • Type: String
  • Description: Status of the transaction (e.g., "posted").

transaction_time

  • Type: String (Date-Time)
  • Description: Timestamp when the transaction occurred.

posted_at

  • Type: String (Date-Time)
  • Description: Timestamp when the transaction was posted.

updated_at

  • Type: String (Date-Time)
  • Description: Timestamp when the transaction was last updated.

transaction_dispute

  • Type: String
  • Description: Dispute status of the transaction, if any.

driver_id

  • Type: Integer
  • Description: ID of the driver associated with the transaction.

vehicle_id

  • Type: Integer
  • Description: ID of the vehicle associated with the transaction (null if not applicable).

last_four_digits

  • Type: String
  • Description: Last four digits of the card used in the transaction.

invoice_number

  • Type: String
  • Description: Invoice number for the transaction.

authorized_amount_in_micros

  • Type: Integer
  • Description: Authorized amount in micros (1 micro = 0.000001 currency unit).

total_rebate_in_micros

  • Type: Integer
  • Description: Total rebate amount applied to the transaction in micros.

total_amount_before_rebate_in_micros

  • Type: Integer
  • Description: Total amount before applying the rebate, in micros.

total_amount_after_rebate_in_micros

  • Type: Integer
  • Description: Total amount after applying the rebate, in micros.

merchant_info

  • Type: Object

  • Description: Information about the merchant where the transaction occurred.

name

  • Type: String
  • Description: Name of the merchant (e.g., "Marqeta Storefront").

city

  • Type: String
  • Description: City where the merchant is located (e.g., "St. Petersburg").

state

  • Type: String
  • Description: State where the merchant is located (e.g., "CA").

street

  • Type: String
  • Description: Street address of the merchant.

country

  • Type: String
  • Description: Country where the merchant is located (e.g., "USA").

zip_code

  • Type: String
  • Description: ZIP code of the merchant's location (e.g., "33705").

address

  • Type: String
  • Description: Full address of the merchant.

full_address

  • Type: String
  • Description: Full formatted address of the merchant.

decline_reason_code

  • Type: String
  • Description: Code indicating the reason for transaction decline, if applicable.

decline_reason

  • Type: String
  • Description: Description of the reason for transaction decline, if applicable.

transaction_reversed_time

  • Type: String (Date-Time)
  • Description: Timestamp when the transaction was reversed, if applicable.

pre_transaction_metadata

  • Type: Object

  • Description: Metadata before the transaction occurred.

odometer_reading

  • Type: Integer
  • Description: Odometer reading before the transaction.

odometer_unit

  • Type: String
  • Description: Unit of the odometer reading (e.g., "km").

custom_info

  • Type: Array
  • Description: Custom metadata associated with the transaction.

post_transaction_metadata

  • Type: Object

  • Description: Metadata after the transaction occurred.

receipt_available

  • Type: Boolean
  • Description: Whether a receipt is available for the transaction.

comment

  • Type: String
  • Description: Additional comments related to the transaction.

order_items

  • Type: Array of Objects

  • Description: List of items involved in the transaction.

quantity

  • Type: Integer
  • Description: Quantity of the item.

unit_price

  • Type: Integer
  • Description: Unit price of the item.

gross_amount

  • Type: Integer
  • Description: Gross amount of the item in micros.

product_type

  • Type: String
  • Description: Type of the product (e.g., "Cash", "ATM fee").

unit_of_measure

  • Type: String
  • Description: Unit of measurement for the item.

rebate_amount_in_micros

  • Type: Integer
  • Description: Rebate amount applied to the item in micros.

currency

  • Type: String
  • Description: Currency used in the transaction (e.g., "USD").

Language
Credentials
Header
Click Try It! to start a request and see the response here!