pg_user_id: one card element per card.| Response | Meaning | Next step |
|---|---|---|
card elements | The saved cards of the client, one card element per card. | Pay with pg_card_token: see Pay by card token. Remove a card with Remove saved card. |
No card elements | The client has no saved cards. | Save a card with Save card. |
pg_status = error | The request is rejected. | See «Errors» below. |
200; the error is returned in pg_error_code and pg_error_description.pg_error_code | When | What to do |
|---|---|---|
94031 | pg_user_id is not passed. | Pass pg_user_id. |
1100 | The signature is missing or invalid, or pg_merchant_id is not found. If the merchant is not found, the response is not signed. | Check the merchant ID and the signature with the secret key. |
pg_sig is calculated with the secret key test_secret_key.