code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.SetupIntent.modify(
    "seti_1EuLW12eZvKYlo2CSSF0PlLO",
    metadata={"user_id": "3435453"},
  )
  '''Response {
    "id": "seti_1EuLW12eZvKYlo2CSSF0PlLO",
    "object": "setup_intent",
    "application": null,
    "cancellation_reason": null,
    "client_secret": "seti_1EuLW12eZvKYlo2CSSF0PlLO_secret_FP9pDHZrmtOHCWIKnuIZPW0VhtPEsaa",
    "created": 1562687161,
    "customer": null,
    "description": null,
    "flow_directions": null,
    "last_setup_error": null,
    "latest_attempt": null,
    "livemode": false,
    "mandate": null,
    "metadata": {
      "user_id": "3435453"
    },
    "next_action": null,
    "on_behalf_of": null,
    "payment_method": null,
    "payment_method_options": {
      "card": {
        "mandate_options": null,
        "network": null,
        "request_three_d_secure": "automatic"
      }
    },
    "payment_method_types": [
      "card"
    ],
    "redaction": null,
    "single_use_mandate": null,
    "status": "requires_payment_method",
    "usage": "off_session"
  }'''
nl: Update a SetupIntentUpdates a SetupIntent object.Parameters customer optional ID of the Customer this SetupIntent belongs to, if one exists.
  If present, the SetupIntent’s payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent. description optional An arbitrary string attached to the object. Often useful for displaying to users. 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. payment_method optional ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. payment_method_types optional The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. If this is not provided, defaults to [“card”].More parametersExpand all  attach_to_self optional   flow_directions optional enum   payment_method_data optional dictionary   payment_method_options optional dictionary ReturnsReturns a SetupIntent object