/treasury/:id/transactions

Retrieve ledger-impactful transactions for a Mercury Treasury account

🚧

This endpoint is in Beta.

NOTE: Currently, this endpoint can return less transactions than requested due to internal filtering, but it will not skip transactions. For example if you request 500 transactions, you could receive 475 transactions, because it is filtering out internal operations transactions that are not user facing.

Response schema:

{
  "cursor": integer, // Not present when there are no transactions left
  "transactions": [
    {
      "type": "depositCanceled" | "depositComplete" | "depositFailed" | "depositReturned" | "mercuryFeePosted" | "mercuryFeeFailed" | "mercuryFeeRefunded" | "mercuryFeeCanceled" | "withdrawalPosted" | "withdrawalFailed" | "withdrawalCanceled" | "withdrawalReturned" | "revertTxn" | "interestPosted" | "interestCanceled" | "manualAmendmentPosted" | "mercuryCreditPosted" | "mercuryCreditFailed" | "dividendPosted" | "dividendCanceled" | "dividendReinvestmentPosted" | "mutualFundTradeFailed" | "mutualFundTradePosted" | "sweepInPosted" | "sweepOutPosted" | "sweepReconcilePosted" | "valuationChangePosted",
      "id": string,
      "description": string,
      "amount": number,
      "canonicalDay": date, // UTC
      "details": { // all optional
        "security": string,
        "tradeAction": "buy" | "sell",
        "amendmentDescription": string,
        "withdrawalCounterpartyId": string,
        "depositCounterpartyId": string,
        "feeDescription": string,
        "creditDescription": string,
        "sweepDirection": "in" | "out"
      },
      "balance": number,
      "security": string // Deprecated: Replaced by "details.security"
    }
  ]
}

Language
Credentials
Header