Retrieving the Public Key

When you obtain the
kid
value from the JWT header, use that value to retrieve the public key. To retrieve the public key, send a request to the
/flex/v2/public-keys/
{kid}
endpoint.
The public key is returned as a JSON Web Key (JWK).
Request
Endpoint:
GET https://
apitest.cybersource.com
/flex/v2/public-keys/zu
{}
Response to Successful Request
{ "kty": "RSA", "use": "enc", "kid": "zu", "n": "ozmvkuGzWNHs9cEcC5PWwbG-dmSjPcoQFxEbqH_fBjkj_nfTTKshdiSq5ciulWEa_rrqQ2qwcSADNxtTzRR1qfud-NvsM8Vlt T7xDuVVqPTZoWLKa0BWXgQQ-1mCm1KdGltYWccB0R1LoF-rb3DEEZySsHvqErYzYt4M_rqjEiK5Y9y1h3k1h5Yk4zGLWchko3 jiDS-pVevvWsQsN-Y3KuB19485G9P_MXLtfJWQ4wC4jlo9etdD_hgDfxX-hQy3wuwHfHifLdxvxiB8X5Is4m6DuY4_7hS5RwX AjO1QSd-zUYZNT_2yWVR56_jyiZEiOdgIm9QtLPZCTKzqsXoqZQ", "e": "AQAB" }