dxp-ux

(0 reviews)

i1x-52k/GET - loyaltyAccount (TMF658

This operation retrieves a loyaltyAccount entity.

URL

https://[localhost]:[port]/dxp-ux/v1/{businessId}/loyaltyAccount/{id}

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit.
Expected one for Peacock Mobile project is : "PR"-Puerto Rico
Y
idstringUnique identifier like MSISDN OR Service NumberY
nametypedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
N

Data Model - Response

field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
idstringUnique identifier for the loyalty program member.N
namestringThe loyalty members name.Y
accountBalance[]arrayBalances linked to the accountN
accountBalance[].balanceTypestringType of the balance : deposit balance, disputed balance, loyalty balance, receivable balance...Y
accountBalance[].amount{}objectA base / value business entity used to represent moneyY
accountBalance[].amount.unitstringLoyalty pointsN
accountBalance[].amount.valueNumberA signed floating point numberN
accountBalance[].validFor{}objectA period of time, either as a deadlineY
accountBalance[].validFor.endDateTimestringEnd of the time periodN
accountBalance[].validFor.startDateTimestringStart of the time periodN

Key considerations

PA Implementation(Mynehub system):
  1. This API is implemented for PA Prepaid.
  2. The loan offer will be generated according Loyalty Point
PointLevel PointsLevel Description
Beginner24Beginner 0-24
Bronze49Bronze 25-49
Silver74Silver 50-74
Gold99Gold 75-99
Diamond1000Diamond>=100

Reviews