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, the identifier of the media or file type resource. You can set the value to:application/jsonhostThe transaction endpoint. (api.cybersource.com)v-c-dateThe date of the transaction in the RFC1123 format. Example:Thu, 18 Jul 2019 00:18:03 GMTv-c-merchant-idYourCybersourcetransacting merchant ID (MID).If you are a portfolio or merchant account user, this is the transacting merchant ID that you are sending requests on behalf of.digestA hash of the HTTP message body that contains your API request.Digest is not applicable forGETAPI 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.