code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Account.modify_external_account(
    "acct_1032D82eZvKYlo2C",
    "ba_1LSds32eZvKYlo2C27ZyVavY",
    metadata={"order_id": "6735"},
  )
  '''Response {
    "id": "ba_1LSds32eZvKYlo2C27ZyVavY",
    "object": "bank_account",
    "account_holder_name": "Jane Austen",
    "account_holder_type": "company",
    "account_type": null,
    "bank_name": "STRIPE TEST BANK",
    "country": "US",
    "currency": "usd",
    "fingerprint": "1JWtPxqbdX5Gamtc",
    "last4": "6789",
    "metadata": {
      "order_id": "6735"
    },
    "routing_number": "110000000",
    "status": "new",
    "account": "acct_1032D82eZvKYlo2C"
  }'''
nl: Update a bank accountUpdates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency. Other bank account details are not editable by design.
  You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.Parameters default_for_currency optional When set to true, this becomes the default external account for its currency. metadata optional dictionary Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.More parametersExpand all  account_holder_name optional   account_holder_type optional   account_type optional ReturnsReturns the bank account object