pg_user_id: the token can no longer be used for payments and payouts.| Response | Meaning | Next step |
|---|---|---|
card with pg_status = deleted | The card is deleted. | — |
pg_status = error | The request is rejected. | See «Errors» below. |
pg_error_code and pg_error_description; the HTTP status depends on the error. Error responses are not signed.| HTTP | pg_error_code | When | What to do |
|---|---|---|---|
200 | 0 | A parameter is missing or invalid: pg_error_description names it. | Fix the request. |
401 | 1100 | The signature is missing or invalid. | Check the signature: see Merchant API Overview. |
404 | 1804 | The client has no saved card with this token, or the card is already deleted. | Check pg_card_token and pg_user_id with Get saved cards. |
pg_sig is calculated with the secret key test_secret_key.