code: '''The Session object {
    "id": "cs_test_a15vFKPu138xjcETgEZfTyxnbkKfnzQK1lY1QsG5fRTht29TiQtRu6BG2I",
    "object": "checkout.session",
    "after_expiration": null,
    "allow_promotion_codes": null,
    "amount_subtotal": null,
    "amount_total": null,
    "automatic_tax": {
      "enabled": false,
      "status": null
    },
    "billing_address_collection": null,
    "cancel_url": "https://example.com/cancel",
    "client_reference_id": null,
    "consent": null,
    "consent_collection": null,
    "currency": null,
    "customer": null,
    "customer_creation": null,
    "customer_details": null,
    "customer_email": null,
    "expires_at": 1659518871,
    "livemode": false,
    "locale": null,
    "metadata": {},
    "mode": "payment",
    "payment_intent": "pi_1DrPsv2eZvKYlo2CEDzqXfPH",
    "payment_link": null,
    "payment_method_options": {},
    "payment_method_types": [
      "card"
    ],
    "payment_status": "unpaid",
    "phone_number_collection": {
      "enabled": false
    },
    "recovered_from": null,
    "redaction": null,
    "setup_intent": null,
    "shipping_address_collection": null,
    "shipping_cost": null,
    "shipping_details": null,
    "shipping_options": [],
    "status": "expired",
    "submit_type": null,
    "subscription": null,
    "success_url": "https://example.com/success",
    "total_details": null,
    "url": null
  }
  '''
nl: The Session objectAttributes id string Unique identifier for the object. Used to pass to redirectToCheckout
  in Stripe.js. cancel_url string The URL the customer will be directed to if they decide to cancel payment and return to your website. client_reference_id string A unique string to reference the Checkout Session. This can be a
  customer ID, a cart ID, or similar, and can be used to reconcile the
  Session with your internal systems. currency currency Three-letter ISO currency code, in lowercase. Must be a supported currency. customer string expandable  The ID of the customer for this Session.
  For Checkout Sessions in payment or subscription mode, Checkout
  will create a new customer object based on information provided
  during the payment flow unless an existing customer was provided when
  the Session was created. customer_email string If provided, this value will be used when the Customer object is created.
  If not provided, customers will be asked to enter their email address.
  Use this parameter to prefill customer data if you already have an email
  on file. To access information about the customer once the payment flow is
  complete, use the customer attribute. line_items list expandable The line items purchased by the customer. This field is not included by default. To include it in the response, expand the line_items field.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. mode enum The mode of the Checkout Session.Possible enum valuespayment Accept one-time payments for cards, iDEAL, and more.setup Save payment details to charge your customers later.subscription Use Stripe Billing to set up fixed-price subscriptions. payment_intent string expandable  The ID of the PaymentIntent for Checkout Sessions in payment mode. payment_method_types array containing strings A list of the types of payment methods (e.g. card) this Checkout
  Session is allowed to accept. payment_status enum The payment status of the Checkout Session, one of paid, unpaid, or no_payment_required.
  You can use this value to decide when to fulfill your customer’s order.Possible enum valuespaid The payment funds are available in your account.unpaid The payment funds are not yet available in your account.no_payment_required The Checkout Session is in setup mode and doesn’t require a payment at this time. success_url string The URL the customer will be directed to after the payment or
  subscription creation is successful.More attributesExpand all  object string, value is "checkout.session"   after_expiration hash   allow_promotion_codes boolean   amount_subtotal integer   amount_total integer   automatic_tax hash   billing_address_collection enum   consent hash   consent_collection hash   customer_creation enum   customer_details hash   expires_at timestamp   livemode boolean   locale enum   payment_link string expandable    payment_method_options hash   phone_number_collection hash   recovered_from string   setup_intent string expandable    shipping_address_collection hash   shipping_cost hash   shipping_details hash   shipping_options array of hashes   status enum   submit_type enum   subscription string expandable    tax_id_collection hash   total_details hash   url string