code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Token.create(
    bank_account={
      "country": "US",
      "currency": "usd",
      "account_holder_name": "Jenny Rosen",
      "account_holder_type": "individual",
      "routing_number": "110000000",
      "account_number": "000123456789",
    },
  )
  '''Response {
    "id": "btok_1LSdru2eZvKYlo2CxKotkHqd",
    "object": "token",
    "bank_account": {
      "id": "ba_1LSdru2eZvKYlo2C1eZb0Ys3",
      "object": "bank_account",
      "account_holder_name": "Jane Austen",
      "account_holder_type": "individual",
      "account_type": null,
      "bank_name": "STRIPE TEST BANK",
      "country": "US",
      "currency": "usd",
      "fingerprint": "1JWtPxqbdX5Gamtz",
      "last4": "6789",
      "routing_number": "110000000",
      "status": "new"
    },
    "client_ip": null,
    "created": 1659518878,
    "livemode": false,
    "redaction": null,
    "type": "bank_account",
    "used": false
  }'''
nl: Create a bank account tokenCreates a single-use token that represents a bank account’s details.
  This token can be used with any API method in place of a bank account dictionary. This token can be used only once, by attaching it to a Custom account.Parameters bank_account optional The bank account this token will represent.Show child parametersMore parametersExpand all  customer optional Connect only ReturnsReturns the created bank account token if successful. Otherwise, this call raises an error