RedeemAndAccumulateRewardsRequest is a JSON Structure definition published by Otter, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-redeem-and-accumulate-rewards-request-structure.json",
"name": "RedeemAndAccumulateRewardsRequest",
"description": "Request body for RedeemAndAccumulateRewards API call.",
"type": "object",
"properties": {
"userId": {
"type": "string",
"description": "The id of the user.",
"example": "someidstring"
},
"order": {
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-order-2-schema.json"
},
"selectedRewards": {
"type": "array",
"description": "Selected rewards, currently only support one reward, if multiple rewards are passed it will throw an error.",
"items": {
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-selected-reward-schema.json"
}
}
},
"required": [
"userId",
"order",
"selectedRewards"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.