profile_id makes it a charge.201; a rejected charge comes with status = error and the error block.| HTTP | status | Meaning | Next step |
|---|---|---|---|
201 | success | The amount is charged. | — |
201 | process | The charge is in progress. | Check it with Status by id. |
201 | error | The payment system rejected the charge. | See error.code and error.description. |
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 recurring profile is not found. | Check profile_id. |
400 | 3004 | The profile is not active, has a schedule, or its type differs from type. | Check the profile with Recurring profile: Info. |
400 | — | A charge with this external_id already exists. | Use a new external_id. |
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. |