Langkau ke kandungan
GrowSellerDokumentasiAffiliate command center
API ReferenceSubscription

Current user subscription and quota usage

GET
/billing/current

Authorization

bearer
headerAuthorizationBearer <token>

A personal API key (gsk_…) or an app's OAuth token

Response Body

OK

application/json
  1. response
success?boolean
data?
message?string|null
timestamp?string
Example Request
curl -X GET 'https://seller.growpaces.com/api/v1/billing/current'
Example Response
{  "success": true,  "data": {    "product_code": "string",    "product_name": "string",    "duration_name": "string",    "duration_days": null,    "sub_status": "string",    "is_trial": true,    "expired_at": null,    "days_remaining": null,    "features": {      "max_shops": null,      "max_seats": null,      "connector_store": "string",      "email_connector": null,      "whatsapp_connector": null    },    "feature_labels": {      "max_shops": "string",      "max_seats": "string",      "connector_store": "string",      "email_connector": "string",      "whatsapp_connector": "string"    },    "package_features": [      {        "key": "string",        "kind": "string",        "value": null,        "value_type": "string",        "label": "string",        "help_text": "string"      }    ],    "addons": [      null    ],    "note": null,    "usage": {      "shops": {        "limit": null,        "used": 0      },      "seats": {        "limit": null,        "used": 0      },      "email_connector": {        "limit": null,        "used": 0      },      "whatsapp_connector": {        "limit": null,        "used": 0      }    }  },  "message": "string",  "timestamp": "string"}