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 includes key identifiers like \u003ccode\u003erequestId\u003c/code\u003e, \u003ccode\u003erequestTimestamp\u003c/code\u003e, \u003ccode\u003eprotocolVersion\u003c/code\u003e, and \u003ccode\u003epaymentIntegratorAccountId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erequestId\u003c/code\u003e is a unique identifier for each request with specific character limitations, while \u003ccode\u003erequestTimestamp\u003c/code\u003e indicates the request time and needs to be within a specific timeframe for acceptance.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eprotocolVersion\u003c/code\u003e specifies the request version, and \u003ccode\u003epaymentIntegratorAccountId\u003c/code\u003e identifies the specific account associated with the request, subject to contractual terms.\u003c/p\u003e\n"]]],["Requests to the server include a header object with specific fields. The `requestId` is a unique string identifier (max 100 characters). The `requestTimestamp` is a mandatory timestamp, verifiable within ±60 seconds of the current time. The `protocolVersion` indicates the request's version. The `paymentIntegratorAccountId` identifies the unique account with contractual constraints. All these fields are required and are in JSON format.\n"],null,["# RequestHeader\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nHeader object that is defined on all requests sent to the server.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requestId\": string, \"requestTimestamp\": { object (/pay/refundable-one-time-payment-code-v2/payment-integrator-refundable-one-time-payment-code-api/Timestamp) }, \"protocolVersion\": { object (/pay/refundable-one-time-payment-code-v2/payment-integrator-refundable-one-time-payment-code-api/Version) }, \"paymentIntegratorAccountId\": string } ``` |\n\n| Fields ||\n|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requestId` | `string` **REQUIRED**: Unique identifier of this request. This is a string that has a max length of 100 characters, and contains only the characters \"a-z\", \"A-Z\", \"0-9\", \":\", \"-\", and \"_\". |\n| `requestTimestamp` | `object (`[Timestamp](/pay/refundable-one-time-payment-code-v2/payment-integrator-refundable-one-time-payment-code-api/Timestamp)`)` **REQUIRED**: Timestamp of this request. The receiver must verify that this timestamp is ± 60s of 'now', and reject the request if it is not. This request timestamp is not idempotent upon retries. |\n| `protocolVersion` | `object (`[Version](/pay/refundable-one-time-payment-code-v2/payment-integrator-refundable-one-time-payment-code-api/Version)`)` **REQUIRED**: The version of this request. |\n| `paymentIntegratorAccountId` | `string` **REQUIRED**: Identifies a unique account with contractual constraints. |"]]