GET
/
transactions
/
{transaction_id}
/
events
using Gr4vy;
using Gr4vy.Models.Components;

var sdk = new Gr4vySDK(
    id: "example",
    server: SDKConfig.Server.Sandbox,
    bearerAuthSource: Auth.WithToken(privateKey),
    merchantAccountId: "default"
);

var res = await sdk.Transactions.Events.ListAsync(
    transactionId: "7099948d-7286-47e4-aad8-b68f7eb44591",
    limit: 100
);

// handle response
{
  "items": [
    {
      "type": "transaction-event",
      "id": "f133a3b7-e67e-4d83-bcd3-3e438fedf348",
      "name": "transaction-api-request",
      "created_at": "2013-07-16T19:23:00.000+00:00",
      "context": {}
    }
  ],
  "limit": 20,
  "next_cursor": "ZXhhbXBsZTE",
  "previous_cursor": "Xkjss7asS"
}

This endpoint requires the transactions.read scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-gr4vy-merchant-account-id
string | null

The ID of the merchant account to use for this request.

Examples:

"default"

Path Parameters

transaction_id
string
required

The ID of the transaction

Examples:

"7099948d-7286-47e4-aad8-b68f7eb44591"

Query Parameters

cursor
string | null

A pointer to the page of results to return.

Examples:

"ZXhhbXBsZTE"

limit
integer
default:100

The maximum number of items that are at returned.

Required range: 1 <= x <= 500
Examples:

100

Response

200
application/json

Successful Response

The response is of type object.