BomaPay Documentation

BomaPay API documentation covering payment partners, integration flows, authentication, API endpoints, and SDKs.

← Back to projects

Status Codes

HTTP status codes:

  • `200`- in case of the Payment Gateway API calls the JSON payload from the response must be inspected to determine whether processing was successful or not. Success is indicated by either:\

\- thesuccessparameter value beingtrue\ \- theerrorCodeparameter value being0\ If both parameters are present,successoverrideserrorCode.

  • `400`- an internal error occurred in the system.
  • `404`- error while calling API - URL is incorrect (does not exist).
  • `429`- this code means that the system is overloaded. Most often the main reason is that the limit of requests per second or limit of simultaneous requests is reached. But it may also be due to the fact that the system as a whole is overloaded (regardless of your requests).
  • `500 or 502`- this code means that something went wrong on our side.

If the request, associated with an order payment, is processed successfully, it does not directly mean that the payment itself was successful.