code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Account.list_external_accounts(
    "acct_1032D82eZvKYlo2C",
    object="card",
    limit=3,
  )
  '''Response {
    "object": "list",
    "url": "/v1/accounts/acct_1032D82eZvKYlo2C/external_accounts",
    "has_more": false,
    "data": [
      {
        "id": "card_1LSds52eZvKYlo2C2trSBqxB",
        "object": "card",
        "address_city": null,
        "address_country": null,
        "address_line1": null,
        "address_line1_check": null,
        "address_line2": null,
        "address_state": null,
        "address_zip": null,
        "address_zip_check": null,
        "brand": "Visa",
        "country": "US",
        "cvc_check": "pass",
        "dynamic_last4": null,
        "exp_month": 8,
        "exp_year": 2023,
        "fingerprint": "Xt5EWLLDS7FJjR1c",
        "funding": "credit",
        "last4": "4242",
        "metadata": {},
        "name": null,
        "redaction": null,
        "tokenization_method": null,
        "account": "acct_1032D82eZvKYlo2C"
      },
      {...},
      {...}
    ]
  }'''
nl: List all cardsYou can see a list of the cards that belong to a connected account. The 10 most recent external accounts are available on the account object. If you need more than 10, you can use this API method and the limit and starting_after parameters to page through additional cards.ParametersExpand all  ending_before optional   limit optional   starting_after optional ReturnsReturns a list of the cards stored on the account