code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.BalanceTransaction.list(limit=3)
  '''Response {
    "object": "list",
    "url": "/v1/balance_transactions",
    "has_more": false,
    "data": [
      {
        "id": "txn_1032HU2eZvKYlo2CEPtcnUvl",
        "object": "balance_transaction",
        "amount": 400,
        "available_on": 1386374400,
        "created": 1385814763,
        "currency": "usd",
        "description": "Charge for test@example.com",
        "exchange_rate": null,
        "fee": 42,
        "fee_details": [
          {
            "amount": 42,
            "application": null,
            "currency": "usd",
            "description": "Stripe processing fees",
            "type": "stripe_fee"
          }
        ],
        "net": 358,
        "reporting_category": "charge",
        "source": "ch_1032HU2eZvKYlo2C0FuZb3X7",
        "status": "available",
        "type": "charge"
      },
      {...},
      {...}
    ]
  }'''
nl: List all balance transactionsReturns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first.
  Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history.Parameters payout optional For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID. type optional Only returns transactions of the given type. One of: adjustment, advance, advance_funding, anticipation_repayment, application_fee, application_fee_refund, charge, connect_collection_transfer, contribution, issuing_authorization_hold, issuing_authorization_release, issuing_dispute, issuing_transaction, payment, payment_failure_refund, payment_refund, payout, payout_cancel, payout_failure, refund, refund_failure, reserve_transaction, reserved_funds, stripe_fee, stripe_fx_fee, tax_fee, topup, topup_reversal, transfer, transfer_cancel, transfer_failure, or transfer_refund.More parametersExpand all  created optional dictionary   currency optional   ending_before optional   limit optional   source optional   starting_after optional ReturnsA dictionary with a data property that contains an array of up to limit transactions, starting after transaction starting_after. Each entry in the array is a separate transaction history object. If no more transactions are available, the resulting array will be empty