Calculate Points to be Earned
Changed onThis API method allows the calling application to request an amount of points calculation (how much points should be credited for that potential transaction). EES AIR will use Scheme Earn definitions, take into account what is the Total Transaction Value, where this transaction would happen (which Client Location) or which Rate should be used for that calculation and return proposed points amount.
Request
- Base URLhttps://wallet.uk.eagleeye.com/2.0
- URLhttps://wallet.uk.eagleeye.com/2.0/scheme/{schemeId}/earn/calculate
- AuthAPI key in header X-EES-AUTH-CLIENT-ID and API key in header X-EES-AUTH-HASH
Path parameters
EES AIR Scheme ID
Query parameters
The monetary value of the transaction to base the earn calculation on, denominated to the smallest currency unit
The incoming identifier of the store. If provided, it will be used by EES AIR to find a specific earn rate for a specific location. If not provided, the caller unit (arisen from used API key) will be used to find earn rate information. In both cases, we will also try and traverse the hierarchy to find a matching earn rate.
The incoming identifier of the parent store. If passed, it will be used by EES AIR to find a specific earn rate for a specific location. Please note this parameter would be ignored if no location[storeId] provided
If passed, it will instruct EES AIR to use the specific override rate (not a default one)
Response
OK
Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - warning
removed the optional property
/from the response with the status - warning
added the new
AALRenum value to the////response property for the response status - warning
added the new
AALRenum value to the////response property for the response status - warning
added the new
AALRenum value to the////response property for the response status - warning
added the new
CILRenum value to the////response property for the response status - warning
added the new
CILRenum value to the////response property for the response status - warning
added the new
CILRenum value to the////response property for the response status - warning
added the new
CLPPRenum value to the////response property for the response status - warning
added the new
CLPPRenum value to the////response property for the response status - warning
added the new
CLPPRenum value to the////response property for the response status - warning
added the new
ELEenum value to the////response property for the response status - warning
added the new
ELEenum value to the////response property for the response status - warning
added the new
ELEenum value to the////response property for the response status - warning
added the new
RFenum value to the////response property for the response status - warning
added the new
RFenum value to the////response property for the response status - warning
added the new
RFenum value to the////response property for the response status - warning
added the new
RFLenum value to the////response property for the response status - warning
added the new
RFLenum value to the////response property for the response status - warning
added the new
RFLenum value to the////response property for the response status - warning
added the new
TBRenum value to the////response property for the response status - warning
added the new
TBRenum value to the////response property for the response status - warning
added the new
TBRenum value to the////response property for the response status - warning
added the new
TBSenum value to the////response property for the response status - warning
added the new
TBSenum value to the////response property for the response status - warning
added the new
TBSenum value to the////response property for the response status - warning
added the new
WLNFenum value to the////response property for the response status - warning
added the new
WLNFenum value to the////response property for the response status - warning
added the new
WLNFenum value to the////response property for the response status - warning
added the new
WTFenum value to the////response property for the response status - warning
added the new
WTFenum value to the////response property for the response status - warning
added the new
WTFenum value to the////response property for the response status - warning
added the new
WTNFenum value to the////response property for the response status - warning
added the new
WTNFenum value to the////response property for the response status - warning
added the new
WTNFenum value to the////response property for the response status - info
added to the response body
allOflist for the response status - info
added to the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
This list may be incomplete.
- breaking