Transaction

A transaction is associated to an order and represents the movement of money.

List all transactions

get

Returns a list of transactions. The transactions are returned in descending order by creation date.

Authorizations
Query parameters
pageintegerOptional

The collection page number

Default: 1
createdAt[before]stringOptional
createdAt[strictly_before]stringOptional
createdAt[after]stringOptional
createdAt[strictly_after]stringOptional
updatedAt[before]stringOptional
updatedAt[strictly_before]stringOptional
updatedAt[after]stringOptional
updatedAt[strictly_after]stringOptional
typestring · enumOptionalPossible values:
amount[between]stringOptional
amount[gt]stringOptional
amount[gte]stringOptional
amount[lt]stringOptional
amount[lte]stringOptional
Responses
200

Transaction collection

get
GET /transactions HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "id": 1,
    "amount": 1,
    "createdAt": "2025-08-20T03:44:53.834Z",
    "updatedAt": "2025-08-20T03:44:53.834Z",
    "gateway": "text",
    "gatewayReference": "",
    "type": "Payment",
    "currencyCode": "text",
    "card_type": "",
    "card_number": "",
    "attachedOrder": "https://example.com/",
    "refund": {},
    "failedRefund": {},
    "payment": {}
  }
]

Retrieve a transaction

get

Retrieves a Transaction resource.

Authorizations
Path parameters
idstringRequired

Transaction identifier

Responses
200

Transaction resource

get
GET /transactions/{id} HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
{
  "id": 1,
  "amount": 1,
  "createdAt": "2025-08-20T03:44:53.834Z",
  "updatedAt": "2025-08-20T03:44:53.834Z",
  "gateway": "text",
  "gatewayReference": "",
  "type": "Payment",
  "currencyCode": "text",
  "card_type": "",
  "card_number": "",
  "attachedOrder": "https://example.com/",
  "refund": {},
  "failedRefund": {},
  "payment": {}
}