Skip to main content

Member Authorize

Get a member-authorization URL — a short-lived URL the member visits to authorize the merchant to act on their behalf.

When to Use

Use this endpoint when:

  • Driving an OAuth-style member consent flow
  • Needing time-bound delegated access

How to Use

Endpoint
POST/v3/loyalty/member/authorize

POST to /v3/loyalty/member/authorize with the required parameters. Use the returned URL for the member's consent step.


Request Parameters

countryCodeSTRING

Country Code

Example: "60"

phoneNumberSTRING

Member phone number

Example: "187824153"

Response Parameters

profileOBJECT

Member Profile

idSTRING

Member ID

Example: ""

keySTRING

Member key

Example: "EhIKBk1lbWJlchDOuOKz24XWkg4"

nameSTRING

Member name

Example: "yussuf"

emailSTRING

Member email

Example: "[email protected]"

nricSTRING

Member NRIC

Example: ""

birthDateSTRING

Member birth date

Example: "0001-01-01"

genderSTRING

Member gender

Example: ""

stateSTRING

Member state

Example: ""

addressOBJECT

Member address

addressLine1STRING

Address line 1

Example: ""

addressLine2STRING

Address line 2

Example: ""

postcodeSTRING

Postcode

Example: ""

citySTRING

City

Example: ""

stateSTRING

State

Example: ""

countrySTRING

Country

Example: ""

memberTierOBJECT

Member tier (null if none)

totalLoyaltyPointINTEGER

Total loyalty points

Example: 111

hasPinCodeBOOLEAN

Whether member has pin code

Example: false

loyaltyPointBalanceINTEGER

Loyalty point balance

Example: 0

spendingPointINTEGER

Spending points

Example: 0

creditBalanceINTEGER

Credit balance

Example: 10160

statusSTRING

Member status

Example: "ACTIVE"

createdAtDATETIME

Member created date time

Example: "2018-10-19T03:39:47Z"

updatedAtDATETIME

Member last updated date time

Example: "2020-11-30T04:28:15Z"

urlSTRING

Loyalty App Redirect URL

Example: Show as Below