code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.checkout.Session.retrieve(
    "cs_test_a15vFKPu138xjcETgEZfTyxnbkKfnzQK1lY1QsG5fRTht29TiQtRu6BG2I",
  )
  '''Response {
    "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: Retrieve a SessionRetrieves a Session object.ParametersNo parameters.ReturnsReturns a Session object