Skip to main content
GET
/
projects
/
{project_id}
/
service_checkouts
Get Service Checkouts for a Project
curl --request GET \
  --url https://app.usequeue.com/api/v1/projects/{project_id}/service_checkouts \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "service_checkouts": [
    {
      "id": "sub_1RMsEgG02uXfwr5Hbn98NqDD",
      "checkout_session_id": "<string>",
      "pause_date": "2023-11-07T05:31:56Z",
      "paused": true,
      "days_left": 123,
      "completed": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "default": true,
      "cancel_date": "2023-11-07T05:31:56Z",
      "months_since_creation": 123,
      "archive": true,
      "qty": 1,
      "addons_purchased": true,
      "currency": "usd",
      "disable_pause": true,
      "paypal_subscription_data": {},
      "paypal_single_charge_data": {},
      "retention_coupon_used": true,
      "unsubscribe_reason": "<string>",
      "unsubscribed_feedback": "<string>",
      "stripe_subscription_id": "<string>",
      "stripe_payment_intent_id": "<string>",
      "service_price": {
        "id": "<string>",
        "title": "<string>"
      },
      "service": {
        "id": "<string>",
        "title": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Response

200 - application/json

Successful response

success
boolean
Example:

true

service_checkouts
object[]