code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Account.delete_external_account(
    "acct_1032D82eZvKYlo2C",
    "card_1LSds52eZvKYlo2C2trSBqxB",
  )
  '''Response {
    "id": "card_1LSds52eZvKYlo2C2trSBqxB",
    "object": "card",
    "deleted": true
  }'''
nl: Delete a cardYou can delete cards from a Custom account.There are restrictions for deleting a card with default_for_currency set to true. You cannot delete a card if any of the following apply:The card's currency is the same as the Account[default_currency].There is another external account (card or bank account) with the same currency as the card.To delete a card, you must first replace the default external account by setting default_for_currency with another external account in the same currency.ParametersNo parameters.ReturnsReturns the deleted card object