Documentation for using the API's GET/POST method to retrieve a user's total points balance on the OSSN platform.
Endpoint
Method:
Parameter:
| Parameter name | Required | Type | Explain |
|---|---|---|---|
| api_key_token | Yes | string | Your API key |
| uguid | Yes | integer | Logged-in user GUID |
Example Response
{
"merchant": "OSSN 10.0",
"url": "https:\/\/yourwebsite.com\/",
"time_token": 1785860900,
"payload": {
"userPoints": 150
},
"code": "100",
"message": "Request successfully executed"
}
Return payload parameter description
| Parameter name | Explain |
|---|---|
| userPoints | Total accumulated points balance for the specified user |