Earn

This API method allows the calling application to credit Points into Wallet Account and create a Wallet Account Transaction (with event=EARN) within EES AIR. Currently available for POINTS accounts only. Please note this endpoint accepts one of two mutually exclusive Request Payload structures: one with explicit balance structure (the calling application need to provides explicit balance names and amounts), second one for instructing AIR to credit Points for an Account with the amounts calculated by EES AIR (referenced Point Schema Earn definitions(s) would be the base for this calculation)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

EES AIR Wallet ID

string
required

EES AIR Wallet Account ID

Body Params

JSON payload

balances
object

The object of balances with the amounts to earn (credit) against each balance. See below for details on which balances apply to which account types.

int64

Monetary Value of a Transaction for which AIR should calculate and credit amount of points

string

Optional rate name to be used for amount of points calculation, if not specified default will be used

location
object
details
object
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json
request (points calculated by the calling application)
response (points calculated by the calling application)
request (points calculated by AIR)
response (points calculated by AIR)