Skip to main content

AuditData

Audit metadata (AuditData proto). Real wire uses requestId + transactions[] (see G2 E2E captures). There is no processTime field on this message.

requestIdstring

Request correlation id

transactions object[]

Provider transaction audit records when settings.auditTransactions is true.

  • Array [
  • idstring

    Transaction id

    connectionCodestring

    Connection code that produced this exchange

    requeststring

    Outbound request body (as sent to the provider). Present only when settings.auditTransactions is true.

    responsestring

    Inbound response body (as received from the provider). Present only when settings.auditTransactions is true.

    durationinteger<int32>

    Round-trip duration in milliseconds

    httpUrlstring

    Provider URL that was called

    httpStatusCodeinteger<int32>

    HTTP status code (0 when transport failed before a status)

    httpResponseHeaders object

    Selected response headers from the provider call. Present only when settings.auditTransactions is true.

    property name*string
  • ]
  • AuditData
    {
    "requestId": "string",
    "transactions": [
    {
    "id": "string",
    "connectionCode": "string",
    "request": "string",
    "response": "string",
    "duration": 0,
    "httpUrl": "string",
    "httpStatusCode": 0,
    "httpResponseHeaders": {}
    }
    ]
    }