refund_payment
Process total or partial refunds for received payments in Asaas by supplying the payment ID and optional refund amount. Use it to reverse charges fully or partially.
Instructions
Realiza o estorno total ou parcial de uma cobrança recebida
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"payment_id": "<payment_id>"
},
"name": "refund_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Valor parcial a estornar (se omitido, estorna o valor total) | |
| payment_id | Yes | Identificador único da cobrança no Asaas | |
| description | No | Motivo ou justificativa do estorno |