In response to a request, Gate uses HTTP codes to indicate whether the request is successfully accepted and registered or an error occurs during the processing.
Response may include the status parameter to inform that the request is accepted or is not accepted for processing. There are two statuses:
- success—the request is accepted for processing. This status is specified in responses with 200 status-code only if the payment platform handles request asynchronously
- error—the request is not accepted for processing. This status is specified in responses with 400, 403, 422 and 500 status code for asynchronous and synchronous request handling
If an error occurs during the processing stage, if possible, information about the error is provided in callback.