Finmo uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a payin failed, etc.). Codes in the 5xx range indicate an error with Finmo's servers (these are quite rare).
A few 4xx errors that could be handled programmatically (e.g., a card is declined) include an error code that briefly explains the error reported.
HTTP Status Codes Summary
Status Code | Status | Description |
---|---|---|
200 | OK | Everything worked as expected. |
201 | CREATED | The request has been fulfilled and resulted in new resources being created. |
400 | BAD REQUEST | The request was unacceptable, often due to missing a required parameter. |
401 | UNAUTHORIZED | No valid API key was provided. |
402 | REQUEST FAILED | The parameters were valid but the request failed. |
403 | FORBIDDEN | The API key doesn't have permission to perform the request. |
404 | NOT FOUND | The requested resource doesn't exist. |
406 | NOT ACCEPTABLE | The parameters were valid but the values were not acceptable. |
309 | CONFLICT | The request conflicts with another request (perhaps due to using the same idempotent key). |
429 | TOO MANY REQUESTS | Too many requests hit the API too quickly. We recommend an exponential backoff of your requests. |
500, 502 | SERVER ERRORS | Something went wrong on Finmo's end. (These are quite rare.) |
503, 504 | SERVER ERRORS | Something went wrong on Finmo's end. (These are quite rare.) |