Auto accept returns

Hey I need to write a flow that checks as a trigger has return requested set and then does it by calling Send Admin API request as returnApproveRequest. Unfortunately I have an incorrect json and it shows me an error:/
Is the flow set up correctly or is there an error in the json?
Json looks like that:

{
  "query": "mutation approveReturnRequest($input: ReturnApproveRequestInput!) { returnApproveRequest(input: $input) { return { id status } userErrors { field message } } }",
  "variables": {
    "input": {
      "returnId": "{{ return.id }}"
    }
  }
}