- 2xx: Success
- 4xx: Client/input error (e.g., missing parameters)
- 5xx: Server error (rare)
Error Response Structure
All error responses contain:Error type:
api_error or invalid_request_errorShort error code for programmatic handling
Human-readable error description
Parameter causing the error, if applicable
Error Types
api_error: DisputeNinja server issue (rare)invalid_request_error: Invalid parameters or request
