Transaction
A transaction is associated to an order and represents the movement of money.
Returns a list of transactions. The transactions are returned in descending order by creation date.
Authorizations
Query parameters
pageintegerOptionalDefault:
The collection page number
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
403
Forbidden
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": {}
}
]
Retrieves a Transaction resource.
Authorizations
Path parameters
idstringRequired
Transaction identifier
Responses
200
Transaction resource
403
Forbidden
404
Not found
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": {}
}