Errors
All errors follow a consistent JSON structure:
JSON
{
"error": {
"code": "NOT_FOUND",
"type": "not_found",
"message": "Invoice not found"
}
}| Status | Meaning |
|---|---|
| 200 | Success |
| 201 | Created |
| 204 | Deleted (no body) |
| 400 | Validation error — check request body |
| 401 | Missing or invalid API key |
| 403 | Pro plan required |
| 404 | Resource not found |
| 409 | Conflict (e.g. editing a PAID invoice) |
| 429 | Rate limit exceeded |