GspFileHeader

  • The header object precedes all GSP files exchanged with Google and Payment Integrators and includes crucial identifying information.

  • It contains four required fields: requestId, generationTimestamp, type, and paymentIntegratorAccountId.

  • requestId uniquely identifies the request within a PIAID, generationTimestamp indicates file creation time, type specifies the file's content, and paymentIntegratorAccountId identifies the specific account.

  • Each field has specific data type and format requirements, like requestId being a string with a maximum length of 100 characters and containing only alphanumeric characters, colon, hyphen, and underscore.

  • The header object ensures clear communication and proper identification of files exchanged between Google, Payment Integrators, and users.

Header object that precedes all GSP files received/sent from/to Google and Payment integrators.

JSON representation
{
  "requestId": string,
  "generationTimestamp": {
    object (Timestamp)
  },
  "type": string,
  "paymentIntegratorAccountId": string
}
Fields
requestId

string

REQUIRED: Unique identifier of this request. This identifier is unique within a PIAID.

This is a string that has a max length of 100 characters, and contains only the characters "a-z", "A-Z", "0-9", ":", "-", and "_".

generationTimestamp

object (Timestamp)

REQUIRED: Timestamp of the file creation.

type

string

REQUIRED: Denotes which file spec the content contains.

paymentIntegratorAccountId

string

REQUIRED: Identifies a unique account with contractual constraints.