v1

latestOpenAPI 3.0.0Apache 2.02026-07-142008071.1 MB
Subscriptions

RetrieveSubscription

Retrieves a subscription.

get/v2/subscriptions/{subscription_id}

Path parameters

subscription_idstring required

The ID of the subscription to retrieve.

Response

Success

Example response

{
  "subscription": {
    "charged_through_date": "2020-06-11",
    "created_at": "2020-08-03T21:53:10Z",
    "customer_id": "CHFGVKYY8RSV93M5KCYTG4PN0G",
    "id": "8151fc89-da15-4eb9-a685-1a70883cebfc",
    "invoice_ids": [
      "grebK0Q_l8H4fqoMMVvt-Q",
      "rcX_i3sNmHTGKhI4W2mceA"
    ],
    "location_id": "S8GWD5R9QB376",
    "paid_until_date": "2020-06-11",
    "plan_id": "6JHXF3B2CW3YKHDV4XEM674H",
    "price_override_money": {
      "amount": 1000,
      "currency": "USD"
    },
    "start_date": "2020-05-11",
    "status": "ACTIVE",
    "timezone": "America/Los_Angeles"
  }
}