Get subscription
Retrieve the current state of a subscription by its ID.
curl --request GET \
--url https://api.centrobill.com/subscription/{id} \
--header 'Authorization: YOUR_API_KEY'A successful response returns the subscription object:
{
"id": "300309090",
"status": "canceled",
"type": "regular",
"cycle": 1,
"skuName": "Test_12345",
"siteId": "3333333",
"renewalDate": null,
"cancelDate": "2026-05-19 20:20:56",
"timezone": "+02:00",
"consumerId": "123456789",
"price": [
{
"amount": 9.99,
"currency": "USD",
"offset": "0d",
"repeat": false
},
{
"amount": 29.99,
"currency": "USD",
"offset": "30d",
"repeat": true
}
],
"metadata": {
"chargeId": "a0ed0000-36f0-4707-9fa3-000dab538ac0"
}
}Updated 20 days ago
Did this page help you?
