Checkout Sessions

List checkout sessions

Changed on
get/api/v1/checkout-sessions

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Query parameters

customer_idstring MeteroidId
Example:cus_7n42DGM5Tflk9n8mt7Fhc7
status'CREATED' | 'AWAITING_PAYMENT' | 'COMPLETED' | 'EXPIRED' | 'CANCELLED'

Response

List of checkout sessions

Example response

{
  "sessions": [
    {
      "customer_id": "cus_7n42DGM5Tflk9n8mt7Fhc7",
      "id": "che_7n42DGM5Tflk9n8mt7Fhc7",
      "payment_methods_config": {
        "account_id": "ba_7n42DGM5Tflk9n8mt7Fhc7"
      },
      "plan_version_id": "plv_7n42DGM5Tflk9n8mt7Fhc7",
      "subscription_id": "sub_7n42DGM5Tflk9n8mt7Fhc7"
    }
  ]
}

Changes

    • breaking

      added to the ////// response property oneOf list for the response status

    • info

      added discriminator to ////// response property for the response status

    • info

      removed subschema #1 subschema #2 subschema #3 from the ////// response property oneOf list for the response status

    • breaking

      added subschema #1 to the //////// response property oneOf list for the response status

    • breaking

      the //////// response's property type changed from string null to no type for status

    • warning

      added the new TOO_MANY_REQUESTS enum value to the response property for the response status

    • warning

      added the new TOO_MANY_REQUESTS enum value to the response property for the response status

    • info

      added the non-success response with the status