GET
/
transactions
/
{transaction_id}
/
events
curl --request GET \
  --url https://api.{gr4vy_id}.gr4vy.app/transactions/{transaction_id}/events \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "type": "transaction-event",
      "id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
      "name": "bin-lookup-request",
      "created_at": "2013-07-16T19:23:00.000+00:00",
      "context": {
        "response": "{}",
        "response_status_code": 200,
        "success": true,
        "bin": "<string>",
        "instrument": "pan",
        "type": "<string>",
        "scheme": "visa",
        "additional_schemes": [
          "visa"
        ],
        "country_code": "<string>",
        "supports_network_tokens": true
      }
    }
  ],
  "limit": 1,
  "next_cursor": "ZXhhbXBsZTE",
  "previous_cursor": null
}

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.

Path Parameters

transaction_id
string
required

The ID for the transaction to get the information for.

Query Parameters

cursor
string

A cursor that identifies the page of results to return. This is used to paginate the results of this API.

For the first page of results, this parameter can be left out. For additional pages, use the value returned by the API in the next_cursor field. Similarly the previous_cursor can be used to reverse backwards in the list.

limit
integer
default:
100

Defines the maximum number of items to return for this request.

Required range: 1 < x < 500

Response

200
application/json
Returns a collection of transaction history events.

A list of transaction history events.

items
object[]

A list of events related to processing a transaction.

limit
integer
default:
20

The limit applied to request. This represents the number of items that are at maximum returned by this request.

Required range: 1 < x < 500
next_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.

Required string length: 1 - 1000
previous_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.

Required string length: 1 - 1000