Skip to main content
POST
/
lbms-ingress
/
member
/
api
/
Member
/
CheckMembershipCredentialsByRelationReference
Check Membership Credentials
curl --request POST \
  --url https://loyalife-api.xoxoday.in/lbms-ingress/member/api/Member/CheckMembershipCredentialsByRelationReference \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "UniquerefID": "jane.doe@example.com",
  "ProgramId": 19,
  "RelationType": 4,
  "Password": "{hashed_password}"
}
'
{
  "results": {
    "IsSucessful": true,
    "ErrorCode": "000",
    "ExceptionMessage": "Success",
    "ReturnObject": {
      "Id": 12345,
      "FullName": "Jane Doe",
      "Email": "jane.doe@example.com"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://help-loyalife.xoxoday.com/llms.txt

Use this file to discover all available pages before exploring further.

Validates a member’s password against their stored credentials, enabling password-based login within your loyalty portal. The password must be hashed (bcrypt or MD5 depending on your program configuration) before sending — never transmit plaintext passwords. On success, the response includes the member’s internal Id and basic profile details. For OTP-based login, use Generate OTP by Relation ReferenceVerify OTP by Relation Reference instead.

Responses

PathTypeDescription
results.IsSucessfulbooleantrue
results.ErrorCodestring000
results.ReturnObject.IdintegerInternal member ID
results.ReturnObject.FullNamestringMember’s full name
results.ReturnObject.EmailstringMember’s email address
results.ReturnObject.StatusintegerAccount status — 1=Active
results.ReturnObject.IsAccountActivatedbooleanWhether the account has been activated
results.ReturnObject.LastLoggedInstring (date-time)Previous login timestamp
results.ReturnObject.LoginAttemptintegerNumber of failed login attempts since last success
results.ReturnObject.ForceChangePasswordbooleantrue if the member must reset their password on next login
PathTypeDescription
results.IsSucessfulbooleanfalse
results.ErrorCodestringError code from the platform
results.ExceptionMessagestringHuman-readable reason — check this field for details

Authorizations

Authorization
string
header
required

JWT obtained from Generate Auth Token. Pass as Authorization: bearer {token}.

Body

application/json
UniquerefID
string
required

The member's RelationReference

Example:

"jane.doe@example.com"

ProgramId
integer
required

Your loyalty program ID

Example:

19

RelationType
integer
required

Use 4 for customers

Example:

4

Password
string
required

Member's password hashed using bcrypt or MD5 as configured for your program.

Example:

"$2b$10$hashed_password_here"

Response

Credentials valid — returns member profile

results
object