API Reference
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdstring · uuidRequired
Body
amountstringRequired
rewardIdstringOptional
Responses
200
Funds added to account
application/json
400Error
application/json
404
Account not found
application/json
500Error
application/json
post
/earn/accounts/{accountId}/fundsdelete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdstring · uuidRequired
withdrawalIdstringRequired
Responses
200
Withdrawal canceled
application/json
400Error
application/json
404
Account not found
application/json
500Error
application/json
delete
/earn/accounts/{accountId}/withdrawals/{withdrawalId}get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
unitsstringOptional
includeParametersstringOptional
Responses
200
Accounts
application/json
500Error
application/json
get
/earn/accountspost
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
unitsstringOptional
Body
currencystring · enumRequiredPossible values:
Responses
201
Account created
application/json
400Error
application/json
500Error
application/json
post
/earn/accountsget
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdstring · uuidRequired
Query parameters
unitsstringOptional
Responses
200
Account Withdrawals
application/json
404Error
application/json
500Error
application/json
get
/earn/accounts/{accountId}/withdrawalspost
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdstring · uuidRequired
Body
amountstringRequired
withdrawalDatestringRequired
Responses
201
Withdrawal created
application/json
400Error
application/json
500Error
application/json
post
/earn/accounts/{accountId}/withdrawalsget
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdstring · uuidRequired
Query parameters
unitsstringOptional
Responses
200
Account
application/json
404Error
application/json
500Error
application/json
get
/earn/accounts/{accountId}get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdstring · uuidRequired
Query parameters
unitsstringOptional
Responses
200
Account transactions
application/json
500Error
application/json
get
/earn/accounts/{accountId}/transactionsget
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
Parameters
application/json
500Error
application/json
get
/earn/accounts/parametersget
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
currencystring · enumRequiredPossible values:
Responses
200
Parameters
application/json
500Error
application/json
get
/earn/accounts/parameters/{currency}get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200Success
application/json
500Error
application/json
get
/earn/preferencesput
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
earnTutorialReadbooleanOptional
earn90TutorialReadbooleanOptional
earn180TutorialReadbooleanOptional
earn360TutorialReadbooleanOptional
Responses
200Success
application/json
500Error
application/json
put
/earn/preferencesget
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
investmentIdstring · uuidRequired
Query parameters
unitsstringOptional
Responses
200
Investment
application/json
500Error
application/json
get
/earn/investments/{investmentId}patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
investmentIdstring · uuidRequired
Body
autorenewbooleanRequired
Responses
200
Investment updated
application/json
400Error
application/json
404Error
application/json
500Error
application/json
patch
/earn/investments/{investmentId}get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
currencystring · enumOptionalPossible values:
unitsstringOptional
nextstringOptional
limitstringOptional
Responses
200
Investments
application/json
500Error
application/json
get
/earn/investmentspost
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
amountstringRequired
autorenewalbooleanRequiredDefault:
falsecurrencystring · enumRequiredPossible values:
offerIdstringRequired
rewardIdstringOptional
Responses
201
Investment created
application/json
400Error
application/json
500Error
application/json
post
/earn/investmentsget
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
currencystring · enumOptionalPossible values:
Responses
200
Offers
application/json
500Error
application/json
get
/earn/investments/offersLast updated