- List - List transaction events
Retrieve a paginated list of events related to processing a transaction, including status changes, API requests, and webhook delivery attempts. Events are listed in chronological order, with the most recent events first.
using Gr4vy;
using Gr4vy.Models.Components;
using Gr4vy.Models.Requests;
var sdk = new Gr4vySDK(
merchantAccountId: "default",
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>"
);
ListTransactionEventsResponse? res = await sdk.Transactions.Events.ListAsync(
transactionId: "7099948d-7286-47e4-aad8-b68f7eb44591",
cursor: "ZXhhbXBsZTE",
limit: 100
);
while(res != null)
{
// handle items
res = await res.Next!();
}
| Parameter |
Type |
Required |
Description |
Example |
TransactionId |
string |
✔️ |
The ID of the transaction |
7099948d-7286-47e4-aad8-b68f7eb44591 |
Cursor |
string |
➖ |
A pointer to the page of results to return. |
ZXhhbXBsZTE |
Limit |
long |
➖ |
The maximum number of items that are at returned. |
100 |
MerchantAccountId |
string |
➖ |
The ID of the merchant account to use for this request. |
default |
ListTransactionEventsResponse
| Error Type |
Status Code |
Content Type |
| Gr4vy.Models.Errors.Error400 |
400 |
application/json |
| Gr4vy.Models.Errors.Error401 |
401 |
application/json |
| Gr4vy.Models.Errors.Error403 |
403 |
application/json |
| Gr4vy.Models.Errors.Error404 |
404 |
application/json |
| Gr4vy.Models.Errors.Error405 |
405 |
application/json |
| Gr4vy.Models.Errors.Error409 |
409 |
application/json |
| Gr4vy.Models.Errors.HTTPValidationError |
422 |
application/json |
| Gr4vy.Models.Errors.Error425 |
425 |
application/json |
| Gr4vy.Models.Errors.Error429 |
429 |
application/json |
| Gr4vy.Models.Errors.Error500 |
500 |
application/json |
| Gr4vy.Models.Errors.Error502 |
502 |
application/json |
| Gr4vy.Models.Errors.Error504 |
504 |
application/json |
| Gr4vy.Models.Errors.APIException |
4XX, 5XX |
*/* |