GET
/
users
/
:id
/
check_in_code
  curl https://api.thanxsandbox.com/users/:id/check_in_code \
  -X GET \
  -H "Content-Type: application/json"  \
  -H "Accept-Version: v4.0" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer ${token}" \
  -H "X-ClientId: ${client_id}" 
{
  "check_in_code": "1234s6",
}
The check-in code can use specific formats for different merchants/locations. If no location or merchant is provided, the check-in code provided will be automatically matched to the merchant account to which the user belongs to.
Please review proper request headers here.

Parameters

location_id
string
Retrieve a check-in code for this location

Response

check_in_code
string
The check-in code
  curl https://api.thanxsandbox.com/users/:id/check_in_code \
  -X GET \
  -H "Content-Type: application/json"  \
  -H "Accept-Version: v4.0" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer ${token}" \
  -H "X-ClientId: ${client_id}" 
{
  "check_in_code": "1234s6",
}
{
    "check_in_code": "LSTR|1234s6||LEND"
}