UnDosTres uses conventional HTTP response codes to indicate the success or failure of an API request
Bad Request
400 Bad Request. The request was unacceptable, often due to missing required parameters or format/datatype validations.
Unauthorized Request
401 Unauthorized Request. Invalid API Key, IP not allowed to access that server or operation requested is forbidden for that account.
Failed Request
402 Failed Request. All parameters were valid but the request was not success.
50X Server Errors. PAAS UnDosTres handles an uptime of 99.5% and these errors are very rare or due to maintenance reasons.
Success Request
200 OK Success request was performed.
201 CREATED Success request was fulfilled. One or possible multiple new entities were created.
202 ACCEPTED Attempted request. Entity for action was not found.
Some 402 errors that could be handled programmatically (e.g., a card is declined) include an error code that briefly explains the error reported.