Initiate a reward exchange

There are 4 scenarios. First is where a sellingCurrency provided. In this case the exchange from selling currency to selected wallet type currency. The second scenario is where buyingCurrency provided. In this case the exchange from buying currency to selected wallet type currency. The third scenario is where the selling & buying both the currency provided then at a time both exchanges not supported. The fourth scenario is where the buying currency as a GB is not supported.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required
int64
required
Body Params
additionalFields
array of objects

Optional, Provider base supplied data required in order to do a rewards.

additionalFields
number

Amount that need to be exchanged e.g. 50.80 for 50 GBP and 80 etc

string
length between 2 and 3
string
length between 10 and 2000

The URL Eclipse must post the EclipseRewardResult to when the value exchange is finalised (either successful or error). Optional as one can always do a GET to get the result instead of using callbacks. This will be a system-system call

string
required
length between 6 and 100

Provide a GUID for the value exchange to prevent replays/duplicates

string
enum
required

The value exchange partners

Allowed:
number

Amount that need to be exchanged e.g. 50.80 for 50 GBP and 80 etc

string
length between 2 and 3

The currency from which wanted to exchange the amount- e.g. GB, SAA

Responses

400

Bad Request

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json