On This Page
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
- YourNational Australia Bankorganization 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://nabgateway-api.nab.com.au)
- 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.