Skip to main content
GET
/
transactions
/
{transaction_id}
/
events
C#
using Gr4vy;
using Gr4vy.Models.Components;
using Gr4vy.Models.Requests;

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

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

while(res != null)
{
    // handle items

    res = await res.Next!();
}
{
  "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

Headers

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

Path Parameters

transaction_id
string<uuid>
required
Examples:

Query Parameters

cursor
string | null
Examples:
limit
integer
default:100
Required range: 1 <= x <= 500
Examples:

Response

items
TransactionEvent · object[]
required
limit
integer
default:20
Required range: 1 <= x <= 100
Examples:
next_cursor
string | null
Required string length: 1 - 1000
Examples:
previous_cursor
string | null
Required string length: 1 - 1000
Examples: