Path Parameters
Organization ID
Body
application/json
Your unique identifier for the user
Maximum length:
256curl --request POST \
--url https://billing.funnelfox.com/{org_id}/v1/my_assets \
--header 'Content-Type: application/json' \
--data '{
"external_id": "<string>"
}'{
"subscriptions": [
{
"subs_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_active": true,
"price_point": {
"ident": "<string>",
"currency": {
"code": "<string>",
"minor_units": 123,
"title": "<string>",
"symbol": "<string>"
},
"intro_type": "no_intro",
"lifetime_price": 123,
"intro_free_trial_period": 123,
"intro_free_trial_period_duration": "minutes",
"intro_paid_trial_price": 123,
"intro_paid_trial_period": 123,
"intro_paid_trial_period_duration": "minutes",
"next_price": 123,
"next_period": 123,
"next_period_duration": "minutes",
"features": [
{
"ident": "<string>"
}
]
},
"status": [
"<string>"
],
"started_at": "2023-11-07T05:31:56Z",
"current_period_starts_at": "2023-11-07T05:31:56Z",
"current_period_ends_at": "2023-11-07T05:31:56Z",
"next_check_at": "2023-11-07T05:31:56Z",
"available_actions": [
"pause"
],
"initial_order_metadata": {}
}
],
"oneoffs": [
{
"oneoff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_active": true,
"price_point": {
"ident": "<string>",
"currency": {
"code": "<string>",
"minor_units": 123,
"title": "<string>",
"symbol": "<string>"
},
"intro_type": "no_intro",
"lifetime_price": 123,
"intro_free_trial_period": 123,
"intro_free_trial_period_duration": "minutes",
"intro_paid_trial_price": 123,
"intro_paid_trial_period": 123,
"intro_paid_trial_period_duration": "minutes",
"next_price": 123,
"next_period": 123,
"next_period_duration": "minutes",
"features": [
{
"ident": "<string>"
}
]
},
"started_at": "2023-11-07T05:31:56Z",
"revoked_at": "2023-11-07T05:31:56Z",
"initial_order_metadata": {}
}
]
}Retrieve all active subscription and one-off (lifetime) purchases for a given user.
curl --request POST \
--url https://billing.funnelfox.com/{org_id}/v1/my_assets \
--header 'Content-Type: application/json' \
--data '{
"external_id": "<string>"
}'{
"subscriptions": [
{
"subs_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_active": true,
"price_point": {
"ident": "<string>",
"currency": {
"code": "<string>",
"minor_units": 123,
"title": "<string>",
"symbol": "<string>"
},
"intro_type": "no_intro",
"lifetime_price": 123,
"intro_free_trial_period": 123,
"intro_free_trial_period_duration": "minutes",
"intro_paid_trial_price": 123,
"intro_paid_trial_period": 123,
"intro_paid_trial_period_duration": "minutes",
"next_price": 123,
"next_period": 123,
"next_period_duration": "minutes",
"features": [
{
"ident": "<string>"
}
]
},
"status": [
"<string>"
],
"started_at": "2023-11-07T05:31:56Z",
"current_period_starts_at": "2023-11-07T05:31:56Z",
"current_period_ends_at": "2023-11-07T05:31:56Z",
"next_check_at": "2023-11-07T05:31:56Z",
"available_actions": [
"pause"
],
"initial_order_metadata": {}
}
],
"oneoffs": [
{
"oneoff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_active": true,
"price_point": {
"ident": "<string>",
"currency": {
"code": "<string>",
"minor_units": 123,
"title": "<string>",
"symbol": "<string>"
},
"intro_type": "no_intro",
"lifetime_price": 123,
"intro_free_trial_period": 123,
"intro_free_trial_period_duration": "minutes",
"intro_paid_trial_price": 123,
"intro_paid_trial_period": 123,
"intro_paid_trial_period_duration": "minutes",
"next_price": 123,
"next_period": 123,
"next_period_duration": "minutes",
"features": [
{
"ident": "<string>"
}
]
},
"started_at": "2023-11-07T05:31:56Z",
"revoked_at": "2023-11-07T05:31:56Z",
"initial_order_metadata": {}
}
]
}Organization ID
Your unique identifier for the user
256Was this page helpful?