Points
Get Points Experiences
This endpoint returns the points experiences for the merchant.
GET
/points_experiences
Bearer*
curl --request GET \
--url https://api.thanx.com/points_experiences \
--header 'Authorization: Bearer <token>'
Parameters
merchant_id
string
Only return points experiences configured for this merchant
Response
id
string
The ID of the points experience
merchant_id
string
The ID of the merchant
name
string
The name of the points experience
currency
hash
images
hash
{
"points_experiences": [
{
"id": "590485d6f0",
"merchant_id": "woeri34",
"name": "Merchant Points",
"currency": {
"name": "Star",
"plural": "Stars",
"description": "Collect 1 star for every 1 dollar spent",
"conversion": 1.0
},
"images": {
"earn": {
"small": "https://...png",
"default": "https://...png",
"large": "https://...png"
},
"currency_primary": {
"small": "https://...png",
"medium": "https://...png",
"default": "https://...png",
"large": "https://...png"
},
"currency_secondary": {
"small": "https://...png",
"medium": "https://...png",
"default": "https://...png",
"large": "https://...png"
}
}
}
]
}
curl --request GET \
--url https://api.thanx.com/points_experiences \
--header 'Authorization: Bearer <token>'
{
"points_experiences": [
{
"id": "590485d6f0",
"merchant_id": "woeri34",
"name": "Merchant Points",
"currency": {
"name": "Star",
"plural": "Stars",
"description": "Collect 1 star for every 1 dollar spent",
"conversion": 1.0
},
"images": {
"earn": {
"small": "https://...png",
"default": "https://...png",
"large": "https://...png"
},
"currency_primary": {
"small": "https://...png",
"medium": "https://...png",
"default": "https://...png",
"large": "https://...png"
},
"currency_secondary": {
"small": "https://...png",
"medium": "https://...png",
"default": "https://...png",
"large": "https://...png"
}
}
}
]
}