Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
GET
/subscriptions/{id}.json
curl \
--request GET 'http://api.example.com/v1/subscriptions/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"charged": 42,
"createdAt": "2025-05-04T09:42:00Z",
"discount": {},
"id": 42,
"shopifyChargeId": "string",
"source": "shopify",
"status": "pending",
"stripeSubscriptionId": "string",
"updatedAt": "2025-05-04T09:42:00Z"
}