Gift Points

This API method allows the calling application to perform a Gift operation. A Gift means a specified amount of points from a giver's points account will be used to credit a receiver’s points account. If for any reason this operation could not be completed, EES AIR will perform a rollback operation. If the rollback is successful, everything would be restored to the state before this Gift operation. An error message would be returned explaining why this operation failed. Please note that a rollback would leave traces in EES AIR in the form of a Voided Wallet Transaction and a Voided Account Transaction. If for any reason the rollback mechanism fails, this endpoint would return the HTTP 207 (Multi-Status) header with all details.

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

EES AIR Wallet ID

Body Params

JSON payload

number
required

Amount to be gifted

string
required

EES AIR Account ID the donation is being sent from

string
required

ESS Wallet ID the donation is being sent to

string
required

ESS AIR Account ID the donation is being sent to

walletTransaction
object

This optional Request attribute allows to set a Wallet Transaction attribute(s), if not provided defaults will be applied

childWalletTransaction
object

This optional Request attribute allows to set a Wallet Transaction attribute(s), if not provided defaults will be applied

giftAccountTransaction
object

This optional Request attribute allows to set an Exchange Account Transaction attribute(s)

giftInAccountTransaction
object

This optional Request attribute allows to set a Create Account and Create Account Transaction attribute(s), if not provided defaults will be applied

location
object

This optional Request attribute allows to override a location arisen from a used API KEY to specify exactly in which Outlet this transaction has happened

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json