Getmerchanttheme
curl --request GET \
--url https://api.loyalty.dog/v2/giftcards/merchants/theme \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.loyalty.dog/v2/giftcards/merchants/theme', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.loyalty.dog/v2/giftcards/merchants/theme"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Gift Card Merchants
Getmerchanttheme
Fetch the authenticated merchant’s persisted portal theme.
GET
/
v2
/
giftcards
/
merchants
/
theme
Getmerchanttheme
curl --request GET \
--url https://api.loyalty.dog/v2/giftcards/merchants/theme \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.loyalty.dog/v2/giftcards/merchants/theme', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.loyalty.dog/v2/giftcards/merchants/theme"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}