curl --request GET \
--url http://localhost:4000/api/waitlist/v2/ganntium \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"ganntium": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balance": 123,
"totalEarned": 123,
"lastUpdated": "2023-11-07T05:31:56Z"
},
"recentTransactions": [
{
"type": "earned",
"amount": 123,
"description": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
]
}
}
Get the user’s Ganntium points balance and history
curl --request GET \
--url http://localhost:4000/api/waitlist/v2/ganntium \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"ganntium": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balance": 123,
"totalEarned": 123,
"lastUpdated": "2023-11-07T05:31:56Z"
},
"recentTransactions": [
{
"type": "earned",
"amount": 123,
"description": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
]
}
}
Dynamic authentication JWT token
Ganntium information
The response is of type object
.