RequestHeader
Stay organized with collections
Save and categorize content based on your preferences.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["\u003cp\u003eThe Header object is included in all server requests and contains key identifiers and metadata.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erequestId\u003c/code\u003e, \u003ccode\u003erequestTimestamp\u003c/code\u003e, \u003ccode\u003eprotocolVersion\u003c/code\u003e, and \u003ccode\u003epaymentIntegratorAccountId\u003c/code\u003e are required fields within the Header object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erequestId\u003c/code\u003e is a unique identifier for each request, limited to 100 characters with specific allowed characters.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erequestTimestamp\u003c/code\u003e must be within 60 seconds of the current time and is not idempotent for retries.\u003c/p\u003e\n"],["\u003cp\u003eThe receiver should validate the timestamp and reject requests outside the allowed timeframe.\u003c/p\u003e\n"]]],["Requests to the server include a header object with four fields: `requestId`, a unique string identifier with specific character limits; `requestTimestamp`, a timestamp that must be within ±60 seconds of the current time; `protocolVersion`, specifying the request's version; and `paymentIntegratorAccountId`, a string identifying a unique account. Each of these fields is required for every request. `requestTimestamp` should be considered as not idempotent upon retries.\n"],null,[]]