On This Page
HTTP Message Elements
An HTTP message is constructed using HTTP headers and an HTTP message body.
- HTTP Message Headers
- Your message header must include these HTTP header fields:HTTP Header FieldsHTTP Header FieldDescriptioncontent-typeAlso known as the Multipurpose Internet Mail Extension (MIME) type, it is the identifier of the media or file type resource. You can set the value to:application/jsonhostThe transaction endpoint (nabgateway-developer.nab.com.au).v-c-dateThe date of the transaction in the RFC1123 format. Example:Thu, 18 Jul 2019 00:18:03 GMTv-c-merchant-idYourNational Australia Banktransacting merchant ID (MID).If you are a portfolio or merchant account user, set this to the transacting merchant ID you send requests on behalf of.digestA hash of the HTTP message body that contains your API request.The digest field does not apply toGETAPI requests.signatureThe digital signature, which is constructed using the values of the other headers and secured by your private key.
- HTTP Message Body
- Your API request.