Basic Authentication
Finexio API uses Basic Authentication with every API call to authenticate the user and use of the API. With Basic Authentication, you send a request header with the key of “Authorization” and a properly formatted value string.
The properly formatted value is of the format “Basic “ plus the Base 64 encoded value of your username and password separated by a colon. If your username is “test” and your password is “password”, then you would Base 64 encode “test:password” to obtain “dGVzdDpwYXNzd29yZA” and the properly formatted value would be “Basic dGVzdDpwYXNzd29yZA”.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail.
API requests without authentication will also fail. Unsuccessful authentication requests will result in 403 Forbidden with a response body of:
{
"detail": "Invalid username/password."
}
Look here for a complete description of the Authorization Request header.
Updated almost 2 years ago