Xoxoday will call your point balance API to fetch the end user’s point balance post SSO redirection. The API has to be built by the client so Xoxoday can consume it.

📘

The request and response are for illustrative purposes and to help the client refer to a skeleton that Xoxoday deems acceptable.

🚧

Note: Please ensure that you share your response in JSON format only, as our system does not support any other data types.

Headers

  1. application/JSON

Request

{
"unique_id":"DB123",
"auth_token":"asdgfjhbsdlkjbasdlkjbadslkbdakasdhfjhfdb=="
}

Schema

ParametersDescription
unique_idUnique identifier of a user
auth_tokenAn authorisation value to successfully allow the request from Xoxoday to your system. This value is to be sent by the client during SSO redirection

Response

{
"status":"1",
"data" : {
"unique_id":"DB123",
"points" : "400"
				}
}

Schema

ParametersDescription
status1 = success / 0 = failure
unique_idUnique identifier of a user
pointsCurrent points of a user