Refund POS Sale
refund_saleRefund a POS sale in full or partially. Confirmation is required and the action is irreversible.
Instructions
Refund a POS sale in full or partially. This action is irreversible — the customer will receive a refund to their original payment method. You MUST pass confirm=true to proceed. Optionally specify amountCents for a partial refund (defaults to full refund). / Reembolsa una venta POS total o parcialmente. Accion irreversible. Debes pasar confirm=true. Pasa amountCents para reembolso parcial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sale ID to refund / ID de venta a reembolsar | |
| confirm | Yes | Must be true to proceed. Safety gate for destructive action. / Debe ser true para continuar. Confirmacion obligatoria. | |
| amountCents | No | Partial refund amount in cents. Omit for full refund. / Importe parcial en centimos. Omitir para reembolso completo. | |
| reason | No | Refund reason / Motivo del reembolso |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| saleId | Yes | ||
| status | Yes | ||
| amountCents | Yes | ||
| currency | Yes | ||
| reason | No | ||
| createdAt | Yes |