code: '''The SetupIntent object {
    "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": {},
    "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: The SetupIntent objectAttributes id string retrievable with publishable key Unique identifier for the object. client_secret string retrievable with publishable key The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.
  The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. customer string expandable  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 string retrievable with publishable key An arbitrary string attached to the object. Often useful for displaying to users. last_setup_error hash retrievable with publishable key The error encountered in the previous SetupIntent confirmation.Show child attributes metadata hash 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. next_action hash retrievable with publishable key If present, this property tells you what actions you need to take in order for your customer to continue payment setup.Show child attributes payment_method string expandable  retrievable with publishable key ID of the payment method used with this SetupIntent. payment_method_types array containing strings retrievable with publishable key The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. status string retrievable with publishable key Status of this SetupIntent, one of requires_payment_method, requires_confirmation, requires_action, processing, canceled, or succeeded.  usage string retrievable with publishable key Indicates how the payment method is intended to be used in the future.
  Use on_session if you intend to only reuse the payment method when the customer is in your checkout flow. Use off_session if your customer may or may not be in your checkout flow. If not provided, this value defaults to off_session.More attributesExpand all  object string, value is "setup_intent" retrievable with publishable key   application string expandable "application" Connect only   attach_to_self boolean   cancellation_reason string retrievable with publishable key   created timestamp retrievable with publishable key   flow_directions array   latest_attempt string expandable    livemode boolean retrievable with publishable key   mandate string expandable    on_behalf_of string expandable  Connect only   payment_method_options hash   single_use_mandate string expandable 