Followin status codes are used by the APIs
Status Code | Comments |
---|---|
401 | Used when the request does not have proper authorization. If you get this Http status code, check your authentication header or the URL you are trying to access. |
400 | This is returned when the request body has some issue. If you get this Http status code, check the response detail you are getting, and try to correct that error. All 400 responses have this kind of structure, with error detail inside the error block: {"is_success": false, "error": {...}} |
200/201 | The request was successful. All successful APIs have this kind of structure: {"is_success": true, "data": {...}} |
500 | There was an error processing the request, typically it should never happen. If it happens with you, contact OneFin team at [email protected] |