Balance

A balance represents a change to the overall balance of a gift card.

List all balances

get

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
x-api-keystringRequired

Value for the x-api-key header parameter.

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
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: ascPossible values:
Responses
200

Balance collection

get
/balances

Retrieve a balance event

get

Retrieves a Balance resource.

Authorizations
x-api-keystringRequired

Value for the x-api-key header parameter.

Path parameters
idstringRequired

Balance identifier

Responses
200

Balance resource

get
/balances/{id}

Last updated