Import Data API
The Import Data API allows you to bring external data into GrowPanel so the system can build full MRR and transaction reports. You can import customers, plans, invoices, and plan groups from your external sources, such as Stripe, Braintree, or other billing platforms.
Imported data is used to:
- Calculate MRR, ARR, and other subscription metrics.
- Track customer movements: new, expansion, contraction, churn, and reactivation.
- Generate detailed transaction reports for your accounting and analytics.
Endpoints
| Endpoint | Description |
|---|---|
| Data sources | Manage connected data sources |
| Customers | Import and manage customer records |
| Plans | Import and manage subscription plans |
| Plan groups | Organize plans into groups for reporting |
| Invoices | Import and manage invoices |
How it works
Send data via API Use the endpoints under
/data/customers,/data/plans, and/data/invoicesto push your external data into GrowPanel.Validation and deduplication The API validates required fields, checks for duplicates, and performs bulk upserts when needed.
Data processing Once imported, the system automatically updates your MRR and transaction reports, calculating all relevant metrics and movements.
Reporting You can then query the reports endpoints to get full analytics for your account, including historical trends and customer insights.
Example workflow
- Export your data from your billing system.
- Use the Import Data API to send customers, plans, and invoices to GrowPanel.
- Wait for the system to process the data (usually a few seconds for bulk imports).
- Query the MRR reports and transactions reports endpoints to view updated metrics.
By using the Import Data API, you ensure your reports are always accurate and up to date, regardless of your external billing platform.