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.Actions.ListAsync(transactionId: "7099948d-7286-47e4-aad8-b68f7eb44591");
// handle response{
"items": [
{
"id": "select-payment-options",
"flow": "checkout",
"rule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"outcome": {},
"type": "action"
}
]
}Retrieve the list of Flow rule actions that have been triggered for a transaction.
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.Actions.ListAsync(transactionId: "7099948d-7286-47e4-aad8-b68f7eb44591");
// handle response{
"items": [
{
"id": "select-payment-options",
"flow": "checkout",
"rule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"outcome": {},
"type": "action"
}
]
}transactions.read scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the merchant account to use for this request.
"default"
The ID of the transaction
"7099948d-7286-47e4-aad8-b68f7eb44591"
Successful Response
The list of actions triggered for a transaction.
Show child attributes