curl --request GET \
--url https://api.funnelfox.io/public/v1/subscriptions/{id} \
--header 'Fox-Secret: <fox-secret>'
{
"id": "<string>",
"psp_id": "<string>",
"status": "created",
"profile": {
"id": "<string>",
"email": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"preview": true
},
"funnel": {
"id": "<string>",
"title": "<string>",
"alias": "<string>",
"type": "default"
},
"funnel_version": 123,
"funnel_locale": "<string>",
"experiment": {
"id": "<string>",
"title": "<string>",
"alias": "<string>",
"enabled": true
},
"session": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"locale": "<string>",
"user_agent": "<string>"
},
"product_id": "<string>",
"product": {
"id": "<string>",
"name": "<string>",
"status": "active"
},
"price": 100,
"currency": "<string>",
"price_usd": 100,
"billing_interval": "day",
"billing_interval_count": 123,
"trial_offer": "free",
"trial_transaction_id": "<string>",
"payment_provider": "stripe",
"renews": true,
"sandbox": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"period_starts_at": "2023-11-07T05:31:56Z",
"period_ends_at": "2023-11-07T05:31:56Z",
"paused_at": "2023-11-07T05:31:56Z",
"cancelled_at": "2023-11-07T05:31:56Z",
"cancellation_reason": "<string>",
"renewed_at": "2023-11-07T05:31:56Z",
"upgrades_to": "<string>",
"custom_entitlement": "<string>"
}
curl --request GET \
--url https://api.funnelfox.io/public/v1/subscriptions/{id} \
--header 'Fox-Secret: <fox-secret>'
{
"id": "<string>",
"psp_id": "<string>",
"status": "created",
"profile": {
"id": "<string>",
"email": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"preview": true
},
"funnel": {
"id": "<string>",
"title": "<string>",
"alias": "<string>",
"type": "default"
},
"funnel_version": 123,
"funnel_locale": "<string>",
"experiment": {
"id": "<string>",
"title": "<string>",
"alias": "<string>",
"enabled": true
},
"session": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"locale": "<string>",
"user_agent": "<string>"
},
"product_id": "<string>",
"product": {
"id": "<string>",
"name": "<string>",
"status": "active"
},
"price": 100,
"currency": "<string>",
"price_usd": 100,
"billing_interval": "day",
"billing_interval_count": 123,
"trial_offer": "free",
"trial_transaction_id": "<string>",
"payment_provider": "stripe",
"renews": true,
"sandbox": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"period_starts_at": "2023-11-07T05:31:56Z",
"period_ends_at": "2023-11-07T05:31:56Z",
"paused_at": "2023-11-07T05:31:56Z",
"cancelled_at": "2023-11-07T05:31:56Z",
"cancellation_reason": "<string>",
"renewed_at": "2023-11-07T05:31:56Z",
"upgrades_to": "<string>",
"custom_entitlement": "<string>"
}
Project Secret Key
"secret_"
Subscription ID
Subscription details
The response is of type object
.
Was this page helpful?