Return the funds back to the original sender
const bodyJSON = {
variables: {
mutation($id: ID!, $input: RefundDepositInput
{
"id": "6053d4e0e3bc655e0598a742",
"input": {
"amount": 10,
"reason": "sent by mistake"
}
}{
"data": {
"refundDeposit": {
"success": true,
"code": "REFUND_SENT",
"message": "Refund initiated successfully"
}
}
}