Create import
POST/api/v1/imports
Uploads a CSV file of customers or charges and queues asynchronous processing. The body is JSON with the raw CSV text in the content field (max 2 MB). Invalid rows do not abort the batch: they are recorded in errors ([{ line, error }]) while the rest is processed. Track progress via GET /imports/{id}. Responds 202.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 413
- 429
- 500
Import accepted and queued for processing.
Invalid request (validation error).
Missing, invalid, expired or revoked API key.
The key lacks the scope required by this operation.
Resource not found or outside your organization.
File larger than 2 MB — split the file into smaller parts.
Rate limit exceeded. Wait and retry.
Internal error. Retry; if it persists, contact support.