GET Billing packages
Changed on/billing/packages Permission Level: 7
get/billing/packages
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Response
200
Example response
{
"status": 1,
"token": "xxxxxxx",
"data": {
"name": "Default Pricing Plan",
"default_package_id": "57f62478b64d723e31f99269",
"packages": [
{
"created_at": {
"date": "2016-10-06 10:16:24.000000",
"timezone": "UTC",
"timezone_type": 3
},
"name": "Monthly",
"id": "57f62478b64d723e31f99269",
"groupId": "57ece4aeb64d72d64ef99269",
"updated_at": {
"date": "2016-11-17 17:07:49.000000",
"timezone": "UTC",
"timezone_type": 3
},
"plan": {
"data": {
"created_at": {
"date": "2016-10-06 10:16:25.000000",
"timezone": "UTC",
"timezone_type": 3
},
"name": "Basic Monthlyx",
"id": "57f62479b64d723e31f9926e",
"initialFee": {
"identifier": "USD",
"symbol": "$"
},
"packageId": "57f62478b64d723e31f99269",
"trial": 30,
"updated_at": {
"date": "2016-10-06 10:16:28.000000",
"timezone": "UTC",
"timezone_type": 3
},
"currency": "USD",
"pricing": {
"identifier": "USD",
"symbol": "$",
"value": {
"interval": {
"amount": 1,
"type": "month"
},
"type": "tier",
"unit": "enduser",
"levels": [
{
"expression": [
{
"amount": 4900,
"type": "flat"
}
],
"condition": {
"max": 20,
"min": 1
}
}
]
}
},
"description": "Pricing for monthly subscription",
"stripe": [
"57f62479b64d723e31f9926e_0_0"
]
}
},
"featureIds": [
"57ece3e0b64d72554ef99269"
],
"default": true,
"description": "Pricing for monthly subscription"
}
],
"id": "57ece4aeb64d72d64ef99269"
}
}Changes
- info
endpoint added
- info