REST API

Elements of a JSON Web Token Message

A JWT Message is built with the following elements:

Headers

These headers must be included in your message:
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 Generating a Hash of the Message Body.