The index and amount must not be inside the paramsData.