All responses from the Float API are JSON or XML as determined by your Accept header. If you do not supply an accept header, then JSON will be provided.
The API will also provide the correct HTTP reponse code in the returned message.
A successful response will be in the 2xx series:
|200 OK||The command worked|
|201 Created||The record has been created|
An error response will be in the 4xx or 5xx series:
|400 Bad Request||Something is wrong with your request. Please check the error information|
|401 Not Authorized||You haven’t supplied a valid token in your Authorization header|
|422 Unprocessable Entity||The data supplied has failed validation|