code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Customer.list_balance_transactions(
    "cus_8TEMHVY5moxIPI",
    limit=3,
  )
  '''Response {
    "object": "list",
    "url": "/v1/customers/cus_8TEMHVY5moxIPI/customer_balance_transactions",
    "has_more": false,
    "data": [
      {
        "id": "cbtxn_1LSe4H2eZvKYlo2CfH2vNRxz",
        "object": "customer_balance_transaction",
        "amount": -500,
        "created": 1659519645,
        "credit_note": null,
        "currency": "usd",
        "customer": "cus_8TEMHVY5moxIPI",
        "description": null,
        "ending_balance": -500,
        "invoice": null,
        "livemode": false,
        "metadata": null,
        "type": "adjustment"
      },
      {...},
      {...}
    ]
  }'''
nl: List customer balance transactionsReturns a list of transactions that updated the customer’s balances.ParametersExpand all  ending_before optional   limit optional   starting_after optional ReturnsA dictionary with a data property that contains an array of up to limit customer balance transactions, starting after item starting_after. Each entry in the array is a separate customer balance transaction object. If no more items are available, the resulting array will be empty. This request should never raise an error