Balance
A balance represents a change to the overall balance of a gift card.
Returns a list of balance events across all gift cards. The balance events are ordered by the date they happened, with the most recent first.
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
happenedAt[before]stringOptional
happenedAt[strictly_before]stringOptional
happenedAt[after]stringOptional
happenedAt[strictly_after]stringOptional
expiresAt[before]stringOptional
expiresAt[strictly_before]stringOptional
expiresAt[after]stringOptional
expiresAt[strictly_after]stringOptional
typestring · enumOptionalPossible values:
amount[between]stringOptional
amount[gt]stringOptional
amount[gte]stringOptional
amount[lt]stringOptional
amount[lte]stringOptional
order[happenedAt]string · enumOptionalDefault:
asc
Possible values: Responses
200
Balance collection
403
Forbidden
get
GET /balances HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"type": "Activation",
"amount": 1,
"location": {},
"happenedAt": "2025-08-20T03:44:53.834Z",
"expiresAt": null,
"reversed": {
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"type": "Activation",
"amount": 1,
"location": {},
"happenedAt": "2025-08-20T03:44:53.834Z",
"expiresAt": null,
"reversed": {
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"type": "Activation",
"amount": 1,
"location": {},
"happenedAt": "2025-08-20T03:44:53.834Z",
"expiresAt": null,
"reversed": "[Circular Reference]",
"mewsPayment": {},
"attachedMember": "https://example.com/",
"storedCreditAccount": "https://example.com/"
},
"mewsPayment": {},
"attachedMember": "https://example.com/",
"storedCreditAccount": "https://example.com/"
},
"mewsPayment": {},
"attachedMember": "https://example.com/",
"storedCreditAccount": "https://example.com/"
}
]
Retrieves a Balance resource.
Authorizations
Path parameters
idstringRequired
Balance identifier
Responses
200
Balance resource
403
Forbidden
404
Not found
get
GET /balances/{id} HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"type": "Activation",
"amount": 1,
"location": {},
"happenedAt": "2025-08-20T03:44:53.834Z",
"expiresAt": null,
"reversed": {
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"type": "Activation",
"amount": 1,
"location": {},
"happenedAt": "2025-08-20T03:44:53.834Z",
"expiresAt": null,
"reversed": {
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"type": "Activation",
"amount": 1,
"location": {},
"happenedAt": "2025-08-20T03:44:53.834Z",
"expiresAt": null,
"reversed": "[Circular Reference]",
"mewsPayment": {},
"attachedMember": "https://example.com/",
"storedCreditAccount": "https://example.com/"
},
"mewsPayment": {},
"attachedMember": "https://example.com/",
"storedCreditAccount": "https://example.com/"
},
"mewsPayment": {},
"attachedMember": "https://example.com/",
"storedCreditAccount": "https://example.com/"
}