Elements of a JSON Web Token Message
A JWT Message is built with these elements:
Headers
Your message header must include these header fields:
Header Field | Description |
---|---|
v-c-merchant-id | Your Cybersource organization ID. |
Date | The date of the transaction in the RFC1123 format. (Thu, 18
Jul 2019 00:18:03 GMT) |
Content-Type | Also known as the Multipurpose Internet Mail Extension (MIME)
type, this identifies the media or file type of the resource.
(application/json) |
kid | The ID of the key used to digitally sign the JWT. The Key ID (kid) must be registered
with the authorizing server. |
Host | The transaction endpoint. ( https://api.cybersource.com ) |
alg | Algorithm used to sign the token header. |
Body
The message body. For more information on setting up the body, see Generate a Hash of the Message Body.