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, and invoices 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.
Supported data types
| Data type | Description |
|---|---|
| Customers | Import your customer records, including subscription status, start dates, and metadata. |
| Plans | Import your subscription plans with billing frequency, product name, and currency. |
| Invoices | Import invoices to reconcile payments and calculate revenue movements. |
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.