For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
GL code allocations assigned to this transaction via a connected accounting software
integration (e.g. QuickBooks, Xero, NetSuite). Each allocation has a GL code name and
the amount allocated to it; amounts sum to the transaction total when the transaction is
fully categorized. Empty if no GL codes have been assigned. Distinct from Mercury custom
categories (see transactionCategoryData).
hasGeneratedReceiptboolean
Whether Mercury has auto-generated a receipt for this transaction.
idstringformat: "uuid"
Unique identifier for the transaction.
kindenum
The type of transaction (e.g., externalTransfer, internalTransfer, cardPayment).
relatedTransactionslist of objects
List of related transactions (e.g., fees, reversals).
statusenum
Current status of the transaction (pending, sent, cancelled, failed).
bankDescriptionstring or nullOptional
Bank-provided description of the transaction.
categoryDataobject or nullOptional
Custom category information assigned to this transaction.
checkNumberstring or nullOptional
Present for check deposits and mailed checks; Nothing otherwise.
counterpartyNicknamestring or nullOptional
User-defined nickname for the counterparty.
creditAccountPeriodIdstring or nullOptionalformat: "uuid"
Credit account statement period this transaction belongs to.
currencyExchangeInfoobject or nullOptional
Currency exchange details for international transactions.
failedAtstring or nullOptionalformat: "yyyy-mm-ddThh:MM:ssZ"
Timestamp when the transaction failed, if applicable.
feeIdstring or nullOptionalformat: "uuid"
ID of the associated fee transaction, if any.
generalLedgerCodeNamestring or nullOptional
Deprecated: use transactionGlAllocations instead. This field does not reflect GL codes
assigned via Mercury auto-categorization rules. Preserved for backwards compatibility.
merchantobject or nullOptional
mercuryCategoryenum or nullOptional
Mercury-assigned spending category.
notestring or nullOptional
Internal note on the transaction (not visible to counterparty).
postedAtstring or nullOptionalformat: "yyyy-mm-ddThh:MM:ssZ"
Timestamp when the transaction was posted to the account.
reasonForFailurestring or nullOptional
Human-readable reason for transaction failure, if applicable.
requestIdstring or nullOptional
ID of the associated send money approval request, if applicable.
trackingNumberstring or nullOptional
Present for transactions that have tracking numbers (e.g., RTP, ACH, wires); Nothing otherwise.