API Reference

HTTP Status Codes

Followin status codes are used by the APIs

Status CodeComments
401Used 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.
400This 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/201The request was successful. All successful APIs have this kind of structure: {"is_success": true, "data": {...}}
500There was an error processing the request, typically it should never happen. If it happens with you, contact OneFin team at [email protected]