code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  source = stripe.Customer.create_source(
    'cus_8TEMHVY5moxIPI',
    source='src_1LSdsx2eZvKYlo2CynOAUbXz'
  )
  '''Response {
    "id": "src_1LSdsx2eZvKYlo2CynOAUbXz",
    "object": "source",
    "ach_credit_transfer": {
      "account_number": "test_52796e3294dc",
      "routing_number": "110000000",
      "fingerprint": "ecpwEzmBOSMOqQTL",
      "bank_name": "TEST BANK",
      "swift_code": "TSTEZ122"
    },
    "amount": 1000,
    "client_secret": "src_client_secret_6jh1NqD1xGAI0sVLZcI5kKWy",
    "created": 1659518943,
    "currency": "usd",
    "flow": "receiver",
    "livemode": false,
    "metadata": {},
    "owner": {
      "address": null,
      "email": "jenny.rosen@example.com",
      "name": null,
      "phone": null,
      "verified_address": null,
      "verified_email": null,
      "verified_name": null,
      "verified_phone": null
    },
    "receiver": {
      "address": "121042882-38381234567890123",
      "amount_received": 1000,
      "amount_charged": 0,
      "amount_returned": 0,
      "refund_attributes_status": "missing",
      "refund_attributes_method": "email"
    },
    "redaction": null,
    "statement_descriptor": null,
    "status": "chargeable",
    "type": "ach_credit_transfer",
    "usage": "reusable",
    "customer": "cus_8TEMHVY5moxIPI"
  }'''
nl: Attach a sourceAttaches a Source object to a Customer. The source must be in a chargeable or pending state.Parameters source required The identifier of the source to be attached.ReturnsReturns the attached Source object