get_transaction_information_m Sample Call and Response
This example calls get_transaction_information_m to retrieve transactional ledger entries, such as invoice charges and electronic payments, for accounts matching a specific query, based on the Object Query API definition in app_m_r73.yml (release seventy-three). This method covers the full transaction ledger, of which a refund is only one transaction type; get_refund_information_m instead returns refund-disbursement-specific detail, such as the reason for the refund and the check number or card used to issue it.
This example includes every required argument, plus a representative pair of transactions, an invoice charge and the electronic payment applied against it, each showing its related_transaction link, rather than an exhaustive field reference.
Sample call
{
"rest_call": "get_transaction_information_m",
"output_format": "json",
"client_no": 60123,
"auth_key": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
"query_string": "acct_no = 500347 AND transaction_date >= \"2026-06-01\"",
"limit": 10,
"offset": 0
}
The rest_call and output_format fields form the REST envelope, with output_format also documented in param_defaults as an optional field defaulting to wddx, so json must be requested explicitly. The client_no and auth_key fields are the required identifiers for this call. The query_string field is required (nullable is false in param_defaults), so this example filters on acct_no and transaction_date, both of which the returns section marks queryable: true, to find this account’s June transactions. Because the second operand of the transaction_date comparison contains no spaces or special characters here, quoting it is not strictly necessary, but this example quotes it for clarity, consistent with the quoting rule the yml documents for operands containing such characters. The username and password fields are not included, because param_defaults marks both as deprecated as of version 5.6. The optional limit and offset fields are included to show typical paging usage.
Sample response
{
"error_code": 0,
"error_msg": "OK",
"starting_record": 0,
"total_records": 2,
"transaction_information": [
{
"aria_event_no": 9004521,
"transaction_date": "2026-06-20",
"transaction_type": "Invoice",
"transaction_type_no": 1,
"is_charge_type": 1,
"type_specific_id": 9004521,
"acct_no": 500347,
"user_id": "jsmith_biz",
"client_acct_id": "CUST-500347",
"amount": 45.00,
"currency_cd": "usd",
"aria_statement_no": 3300456,
"total_amount_applied": 45.00,
"related_amount_applied": null,
"update_date": "2026-06-21",
"void_date": null,
"fully_applied_date": "2026-06-21",
"master_plan_instance_no": 8801234,
"related_transaction": [
{
"aria_event_no": 9004498,
"transaction_type": "Electronic Payment",
"transaction_type_no": 5,
"amount": 45.00,
"related_amount_applied": 45.00
}
]
},
{
"aria_event_no": 9004498,
"transaction_date": "2026-06-21",
"transaction_type": "Electronic Payment",
"transaction_type_no": 5,
"is_charge_type": 0,
"type_specific_id": 6600812,
"acct_no": 500347,
"user_id": "jsmith_biz",
"client_acct_id": "CUST-500347",
"amount": 45.00,
"currency_cd": "usd",
"aria_statement_no": 3300456,
"total_amount_applied": 45.00,
"related_amount_applied": null,
"update_date": "2026-06-21",
"void_date": null,
"fully_applied_date": "2026-06-21",
"master_plan_instance_no": 8801234,
"related_transaction": [
{
"aria_event_no": 9004521,
"transaction_type": "Invoice",
"transaction_type_no": 1,
"amount": 45.00,
"related_amount_applied": 45.00
}
]
}
]
}
An error_code of zero with an error_msg of “OK” indicates that the call succeeded. The starting_record value of zero and total_records value of two indicate that both matching transactions are shown here; a query matching more transactions would return additional entries in this same array. The is_charge_type value distinguishes a charge-type transaction, such as an invoice (value 1), from a non-charge transaction, such as an electronic payment (value 0). The related_amount_applied field at the top level of each transaction is documented as always null, serving only as a placeholder for the related_transaction objects nested beneath it, so this example sets it to null on both entries and shows the real applied amount inside related_transaction instead. Each related_transaction array holds the transaction linked to its parent; this example shows one linked transaction per entry (the invoice and the payment reference each other), though the yml treats related_transaction as repeatable, so a transaction offset by more than one other transaction could show more than one. This example leaves out the void_date, client_acct_id, currency_cd, total_amount_applied, and master_plan_instance_no fields inside related_transaction, along with the duplicate related_amount field, to keep the nested object concise.