code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Customer.create_source(
    "cus_8TEMHVY5moxIPI",
    source="tok_amex",
  )
  '''Response {
    "id": "card_1LSdvI2eZvKYlo2CS9wK7l0M",
    "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",
    "customer": "cus_8TEMHVY5moxIPI",
    "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
  }'''
nl: Create a cardWhen you create a new credit card, you must specify a customer or recipient on which to create it.
  If the card’s owner has no default card, then the new card will become the default.
  However, if the owner already has a default, then it will not change.
  To change the default, you should update the customer to have a new default_source.Parameters source required A token, like the ones returned by Stripe.js. Stripe will automatically validate the card.Show child parameters 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.ReturnsReturns the Card object