The validatepin endpoint is used to validate the encryption of a PIN during the Shell Card ordering process. When called correctly, it returns the decrypted PIN.
This endpoint is only available in the test environment.
What should I send in the request?
You must provide three fields:
uid – Unique identifier for the session
encrypted_pin – The PIN encrypted using the public key
session_key – The session key used for encryption
Why do I get a 502 Bad Gateway error?
This error occurs when:
encrypted_pinorsession_keyis invalid or malformed.- The encryption algorithm or format does not match the API requirements.
