# The Transaction object

### The Transaction object

```json
{
  "id": "trxn_65NygiBHKcUPGUI8A5Q16NoTesLDSQ1IgNPigisRKq0GAq",
  "object": "v2.money_management.transaction",
  "amount": {
    "value": -1000,
    "currency": "usd"
  },
  "balance_impact": {
    "available": {
      "value": -1000,
      "currency": "usd"
    },
    "inbound_pending": {
      "value": 0,
      "currency": "usd"
    },
    "outbound_pending": {
      "value": 0,
      "currency": "usd"
    }
  },
  "category": "outbound_transfer",
  "created": "2023-03-24T22:06:37.343Z",
  "financial_account": "fa_65NvnnT0stRlwPDg2kc16NoTesLDSQ1IgNPigisRKq00Km",
  "flow": {
    "outbound_transfer": "obt_65NygiAXfaPmQ5ev3oz16NoTesLDSQ1IgNPigisRKq07Fg",
    "type": "outbound_transfer"
  },
  "status": "posted",
  "status_transitions": {
    "posted_at": "2023-03-24T22:06:35.409Z",
    "void_at": null
  }
}
```

## Attributes

- `id` (string)
  Unique identifier for the object.

- `object` (string, value is "v2.money_management.transaction")
  String representing the object’s type. Objects of the same type share the same value of the object field.

- [`amount`](https://docs.stripe.com/api/v2/money-management/transactions/object.md?query=amount) (object)
  The amount of the Transaction.

- [`balance_impact`](https://docs.stripe.com/api/v2/money-management/transactions/object.md?query=balance_impact) (object)
  The delta to the FinancialAccount’s balance. The balance_impact for the Transaction is equal to sum of its TransactionEntries that have `effective_at`s in the past.

- `category` (enum)
  A descriptive category used to classify the Transaction.
Possible enum values:
  - `adjustment`
    This Transaction is the main Transaction for an Adjustment.

  - `inbound_transfer`
    This Transaction is the main Transaction for an InboundTransfer.

  - `outbound_payment`
    This Transaction is the main Transaction for an OutboundPayment.

  - `outbound_transfer`
    This Transaction is the main Transaction for an OutboundTransfer.

  - `received_credit`
    This Transaction is the main Transaction for a ReceivedCredit.

  - `received_debit`
    This Transaction is the main Transaction for a ReceivedDebit.

  - `return`
    This Transaction is for the return of funds, such as when an OutboundPayment is returned by the recipient’s bank.

  - `stripe_fee`
    This Transaction is for a fee assessed by Stripe.

- `created` (timestamp)
  Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.

- `financial_account` (string)
  Indicates the FinancialAccount affected by this Transaction.

- [`flow`](https://docs.stripe.com/api/v2/money-management/transactions/object.md?query=flow) (object)
  Details about the Flow object that created the Transaction.

- `livemode` (boolean)
  Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.

- `status` (enum)
  Current status of the Transaction. A Transaction is `pending` if either `balance_impact.inbound_pending` or `balance_impact.outbound_pending` is non-zero. A Transaction is `posted` if only `balance_impact.available` is non-zero. A Transaction is `void` if there is no balance impact. `posted` and `void` are terminal states, and no additional entries will be added to the Transaction.
Possible enum values:
  - `pending`
    This Transaction’s balance impact is still pending (non-zero impact to either `inbound_pending` or `outbound_pending`). Further entries may still be added that move funds between availability states.

  - `posted`
    This Transaction’s balance impact is fully posted (only `cash` will be non-zero). This status is final and no further entries will be added.

  - `void`
    This Transaction’s balance impact has been voided (all values are zero). This status is final and no further entries will be added.

- [`status_transitions`](https://docs.stripe.com/api/v2/money-management/transactions/object.md?query=status_transitions) (object)
  Timestamps for when the Transaction transitioned to a particular status.
