pg_user_id: their tokens pg_card_token, masked numbers and status.pg_is_full = 0 and cannot be used for payments.pg_salt and pg_sig.| Response | Meaning | Next step |
|---|---|---|
One or more card elements | Saved cards of the client. | Pay by a card with Create payment. |
Only pg_salt and pg_sig | The client has no saved cards. | Save a card with Save card. |
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. |
pg_sig is calculated with the secret key test_secret_key.