DigiFi's API uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 200 range indicate success, codes in the 400 range indicate an error with the request and codes in the 500 range indicate an error with the server.

Status Code

Status Message

Description

200

Success

The request processed successfully

400

Bad request

The request was incorrectly formed

401

Unauthorized

The authentication credentials were incorrect

404

Resource not found

The requested resource cannot be found

500

Internal server error

There was an error on the server