id) or by the merchant's order number (order_id).X-Action header must be gateway.payment.status.X-JWS-Signature: see Async API Overview.status in the response.| Status | Meaning |
|---|---|
process | The payment is being processed. |
waiting_3ds | Waiting for 3DS authentication: redirect the client to 3ds.acs_url. |
process_3ds | 3DS authentication result is being processed. |
approved | Funds are held (two-step payment): clear or reverse the payment. |
process_clearing | Clearing is being processed. |
reversed | The hold is cancelled, funds are released. |
success | The payment is completed, funds are debited. |
error | The payment failed: see error. |
| Label | Meaning |
|---|---|
| create | The method gateway.payment.create. |
| 3DS | The client must pass 3DS authentication at 3ds.acs_url. |
| 3DS done | The client has passed 3DS authentication. |
| one-step | auto_clearing = true. |
| two-step | auto_clearing = false. |
| declined | The payment is declined. |
| clearing | The method gateway.payment.clearing. |
| reverse | The method gateway.payment.reverse. |
| refund | The method gateway.payment.refund: the status stays success, refunds are listed in refund_payments. |
reverse_payments.| Response | Meaning | Next step |
|---|---|---|
| The payment | The current state of the payment in status. | See «Payment status flow» above. |
{}, X-Request-Status: process | The payment data is being prepared. | Repeat the request in a few seconds. |
200, status error and the error object.error.code and error.description.| HTTP | error.code | When | What to do |
|---|---|---|---|
400 | 9400 | The body is not valid JSON. | Fix the request. |
401 | 9998 | The signature is invalid. | Check the signature: see Async API Overview. |
422 | 9403 | Neither id nor order_id is passed, id is not a UUID, or a required header is missing. The reason is in error.description. | Fix the request. |
500 | 9999 | Internal error at the gateway entry point. | Repeat the request later. |
500 | 10000 | Internal error in payment processing. | Repeat the request later. |