v1

latestOpenAPI 3.1.02026-07-24416405768.8 KB
t) Rewards Exchange

List rewards for a wallet

Returns the rewards associated with the wallet within the specified date range.

get/eclipse-conductor/rest/v1/tenants/{tenantId}/wallets/{walletId}/rewards

Path parameters

tenantIdinteger required
walletIdinteger required

Query parameters

dateFromInclstring

Start of the date range (inclusive). ISO date string.

dateToExclstring

End of the date range (exclusive). ISO date string.

limitinteger
offsetinteger

Response

OK

buyingAmountnumber

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

buyingCurrencystring

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

createdstring date-time
errorDescriptionstring
exchangeRatenumber

The rate of value exchange between currency

feeAmountnumber

The fee which has been debited from source wallet in source wallet currency for value exchange

quoteExpiresstring date-time

Quote expire time.

rewardIdinteger
sellingAmountnumber

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

sellingCurrencystring

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

status'BUILDING' | 'CANCELLED' | 'ERROR_PERM' | 'ERROR_TEMP' | 'PENDING' | 'REVERSED' | 'SUCCESSFUL' | 'TIMEOUT'

Status of a reward

tradeType'BUY' | 'SELL'

Example response

[
  {
    "created": "2022-03-10T12:15:50-04:00",
    "quoteExpires": "2022-03-10T12:15:50-04:00"
  }
]