profile_id or by external_id.status = active.state_callback was passed, a notification with status = canceled is sent: see Notify.| HTTP | Meaning | Next step |
|---|---|---|
200 | status = canceled: the profile is cancelled. | — |
200 | error is returned: the payment system rejected the cancellation. | See error; repeat the request later. |
400, 401, 422, 500 | The request is rejected. | See «Errors» below. |
error_description; error_code is returned for 401, 422 and for the 400 errors that have a code below.| HTTP | error_code | When | What to do |
|---|---|---|---|
400 | 3001 | The profile is not found. | Check profile_id or external_id. |
400 | 3003 | The profile is already cancelled. | Do not repeat the request. |
400 | 3004 | The profile is expired or not created, or the client has not confirmed it yet. | Check the profile with Info. |
401 | 9998 | The signature is invalid. | Check the signature: see Overview. |
422 | 9403 | The X-JWS-Signature header is missing. | Pass the signature. |
500 | — | A field is missing or invalid. error_description names the field. | Fix the request. |