improved

Post-transaction custom fields for Motive Card transaction metadata

With this update, the Motive Card transaction API's response will also include newly added "custom_info", as part of the "post_transaction_metadata".

custom_info will include the following parameters:

New Parameters

custom_info

  • Type: Array of Objects
  • Description: A collection of custom data fields (like Project IDs or Notes) associated with the transaction.

name

  • Type: String
  • Description: The label or identifier for the custom field (e.g., "project_id_1", "optional_note").

value_type

  • Type: String
  • Description: Defines the format of the data. Common values include:
    • free_text: Allows for any alphanumeric input.
    • single_select: Provides a pre-defined list of options for the user to choose from.

values

  • Type: Array or Null
  • Description: If the value_type is single_select, this contains an array of valid options (e.g., [123, 234]). For free_text, this usually returns null.

current_value

  • Type: String
  • Description: The actual data entered or selected for this specific transaction (e.g., "random value" or "123").

📘

NOTE

This response is applicable to both v1 and v2 endpoints of "List all Motive Card Transactions"

For more info, check out the API documentation: