Refund deposits
Return the funds back to the original sender
Refund deposit by ID
const bodyJSON = {
variables: {
id: "6053d4e0e3bc655e0598a742",
input: {
amount: 10,
reason: "sent by mistake",
},
},
query: `
mutation ($id: ID!, $input: RefundDepositInput!) {
refundDeposit(id: $id, input: $input) {
success code message
}
}`,
};
Last updated
Was this helpful?