Logs

Find one Request Log

Retrieve a Request Log by its ID

get/logs/{id}

Path parameters

idstring required

Response

OK

createdAtstring date-time required

The date and time when the entity was created.

updatedAtstring date-time nullable required

The date and time when the entity was last updated.

metadataobject nullable

Metadata used by merchants to store additional information about the entity.

idstring required

The unique identifier of the request log entry

requestIdstring required

Unique request identifier for correlating log entries

urlstring required

The URL path of the API request

methodstring required

HTTP method of the request

clientIpstring nullable required

IP address of the client that made the request

userAgentstring nullable required

User-Agent header from the client request

requestHeadersobject nullable required

HTTP request headers captured for this log entry

requestBodyobject nullable required

The request body payload. May be redacted for PCI compliance.

responseBodyobject nullable required

The response body payload. May be redacted for PCI compliance.

statusCodenumber nullable required

HTTP response status code

initiator'publishableKey' | 'secretKey' | 'checkoutKey' | 'sessionKey' | 'identityToken' | 'null' nullable required

The type of access key used to make the request

Example response

{
  "createdAt": "2024-02-18T12:00:00Z",
  "updatedAt": "2024-02-21T12:15:00Z",
  "metadata": {
    "key1": "value1",
    "key2": "value2"
  },
  "id": "req_log_2QC7PqoUeOxQEWscJJt6B3PkvyL",
  "requestId": "abc123",
  "url": "/api/payments",
  "method": "POST",
  "clientIp": "192.168.1.1",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)",
  "statusCode": 200
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.