In responses to requests, HTTP response status codes are passed to indicate whether the request has been successfully accepted for processing or an error has occurred at this stage.
Responses may include the
status parameter to communicate the following:
- success—the request is accepted for processing. This status is specified only in responses with 200 status codes when the payment platform handles requests asynchronously.
- error—the request is not accepted for processing. This status is specified in responses with 400, 403, 422, and 500 status codes in case of both asynchronous and synchronous request handling.
If an error occurs after the request has been accepted and its processing has started, information about the error is provided in a callback.