Skip to navigation

Claim earning rewards

This endpoint creates a workflow that will claim rewards from a position.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
rewardIdstringOptional

Response

A successful response.
idstringOptional
tenantIDstringOptionalformat: "uint64"
statusstringOptional
createdAtdatetimeOptional
updatedAtdatetimeOptional
scheduledFordatetimeOptional
reservedBystringOptional
reservedUntildatetimeOptional
workflowTypestringOptional
workflowPayloadstringOptional
statestringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error