Skip to main content
GET
/
v2
/
giftcards
/
merchants
/
theme
Getmerchanttheme
curl --request GET \
  --url https://api.loyalty.dog/v2/giftcards/merchants/theme \
  --header 'Authorization: Bearer <token>'
{
  "theme": {
    "presetId": "eposn-default",
    "primary": "#15803d",
    "primaryFg": "#ffffff",
    "sidebarBg": "#ffffff",
    "sidebarText": "#4b5563",
    "sidebarActiveBg": "#f0fdf4",
    "sidebarActiveText": "#15803d",
    "sidebarBadge": "#15803d",
    "background": "#f9fafb",
    "foreground": "#111827",
    "surface": "#ffffff",
    "border": "#e5e7eb",
    "muted": "#6b7280",
    "logoUrl": "<string>",
    "logoAlt": "<string>",
    "fontFamily": "<string>",
    "borderRadius": "lg"
  }
}

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /v2/token.

Headers

X-Eposn-Merchant-Token
string | null

Response

Successful Response

theme
GiftCardMerchantTheme · object
required

Persisted merchant-facing theme configuration for the EPOSN portal.