curl --request GET \
--url 'https://api.stateset.com/api/v1/gift-cards' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"gift_cards": [
{
"code": "string",
"created_at": "2026-08-31T14:22:05Z",
"currency": "USD",
"current_balance": "49.00",
"expires_at": "2026-08-31T14:22:05Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"initial_balance": "49.00",
"message": "Two-person tent, green — replacement for damaged pole set.",
"recipient_email": "string",
"status": "pending",
"updated_at": "2026-08-31T14:22:05Z"
}
],
"has_more": true,
"limit": 20,
"offset": 1,
"total": 102
}
List gift cards
cards
GET
/
api
/
v1
/
gift-cards
curl --request GET \
--url 'https://api.stateset.com/api/v1/gift-cards' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"gift_cards": [
{
"code": "string",
"created_at": "2026-08-31T14:22:05Z",
"currency": "USD",
"current_balance": "49.00",
"expires_at": "2026-08-31T14:22:05Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"initial_balance": "49.00",
"message": "Two-person tent, green — replacement for damaged pole set.",
"recipient_email": "string",
"status": "pending",
"updated_at": "2026-08-31T14:22:05Z"
}
],
"has_more": true,
"limit": 20,
"offset": 1,
"total": 102
}
Cards`.
Query parameters
integer (int32)
Maximum number of results to return (default: 50).
integer (int32)
Number of results to skip (default: 0).
string
Filter by gift card status (active, disabled, expired, depleted).
Response
GiftCardListResponse
GiftCardResponse[]
required
boolean
required
integer (int32)
required
integer (int32)
required
integer
required
Status codes
| Code | Meaning |
|---|---|
200 | List of gift cards |
400 | Invalid filter parameter |
curl --request GET \
--url 'https://api.stateset.com/api/v1/gift-cards' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"gift_cards": [
{
"code": "string",
"created_at": "2026-08-31T14:22:05Z",
"currency": "USD",
"current_balance": "49.00",
"expires_at": "2026-08-31T14:22:05Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"initial_balance": "49.00",
"message": "Two-person tent, green — replacement for damaged pole set.",
"recipient_email": "string",
"status": "pending",
"updated_at": "2026-08-31T14:22:05Z"
}
],
"has_more": true,
"limit": 20,
"offset": 1,
"total": 102
}
Last modified on August 31, 2026