The ChartMogul API will communicate responses using standard HTTP codes.
|HTTP Code||What it means|
|OK (Everything worked as expected)|
|Created (The object you specified has been created)|
|Accepted (The object you specified has been accepted for processing)|
|No Content (OK, but nothing to return)|
|Bad Request (Often missing a required parameter)|
|Unauthorized (Authentication failed. See Authentication)|
|Request Failed (Parameters were valid but request failed)|
|Forbidden (Trial account has expired)|
|Not Found (The requested item doesn't exist)|
|Unprocessable Entity (Your request has semantic errors)|
|Too many requests (You have exceeded our rate limits)|
|Server Errors (Something went wrong on ChartMogul's end)|
Additionally, error messages will be included in responses wherever possible to help you identify the source of a problem.
Updated almost 6 years ago