Retrieve a card transaction

Changed on

Retrieve the latest state of one accessible card transaction.

get/v2/transactions/card/{transactionId}

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/transactions/card/{transactionId}
  • Auth
    API key in header X-API-Key

Path parameters

transactionIdstring required

Transaction id with the agg_tx_ prefix.

Response

The card transaction.

idstring required

Transaction id.

datestring date-time required

Posting date, or creation date while pending or failed.

descriptionstring required

Statement descriptor when one was supplied; otherwise a Slash-generated display description.

memostring

Human-readable payment memo, when present. For transfers, this is the request's top-level description.

notestring

User-editable private note, when present.

amountCentsinteger required

Signed USD account impact in cents. Debits are negative.

status'pending' | 'posted' | 'failed' required

Coarse transaction state.

accountIdstring required

Account containing the transaction.

virtualAccountIdstring

Virtual account containing the transaction, when applicable.

accountSubtype'cash' | 'credit' required

Balance type affected by the transaction.

transferIdstring

The transfer that produced this transaction, if any. Uses the transfer_intent_ prefix.

accountingEntryIdstring

The accounting entry created for this transaction once it settled, if the legal entity has an accounting connection. Read it at GET /v2/accounting/entries/{entryId}.

category'card' required
detailedStatus'pending' | 'canceled' | 'failed' | 'settled' | 'declined' | 'refund' | 'reversed' | 'dispute' required

Exact lifecycle state of a card transaction.

Example response

{
  "id": "agg_tx_2rj4l7hmrrrcv",
  "date": "2026-08-18T01:00:00.000Z",
  "description": "VENDOR PAYMENT",
  "memo": "Invoice 1042",
  "note": "Reconciled with invoice 1042",
  "amountCents": -1250,
  "accountId": "sa_group_primary123",
  "virtualAccountId": "subaccount_operations123",
  "accountSubtype": "cash",
  "transferId": "transfer_intent_2rj4l7hmrrrcv",
  "accountingEntryId": "accounting_entry_2rj4l7hmrrrcv",
  "details": {
    "merchant": {
      "id": "merchant_v2_2rj4l7hmrrrcv",
      "categoryId": "merchant_category_2rj4l7hmrrrcv"
    }
  }
}

Changes