v1
latestOpenAPI 3.0.02026-07-244352379.2 KBPayment Refunds
Void a PaymentRefund
⚠️ POS Terminal Integrations Only
This endpoint is only relevant to Forage POS Terminal integrations.
A POST request to /payments/<payment_ref>/refunds/<refund_ref>/void/ reverses a successfully processed PaymentRefund. It reinstates the original charge to the customer.
On success, the API responds with the PaymentRefund object, and the is_voided value is true.
⚠️ Post-Void Balance Requires PIN Check
The balance value in the response does not reflect the voided transaction. The returned balance amount accounts for the original transaction, before the void. A customer must check their balance via PIN entry to get the post-void balance.
post/api/payments/{payment_ref}/refunds/{refund_ref}/void/
Response
Successful Refund response.
Example response
{
"merchant_fixed_settlement": 5.11,
"platform_fixed_settlement": 5.11,
"pos_terminal": {
"provider_terminal_id": "1234"
},
"ref": "45e3f12a90",
"payment_ref": "b873fe62dc",
"funding_type": "ebt_snap",
"created": "2021-06-16T00:11:50.000000Z",
"updated": "2021-06-16T00:11:50.000000Z",
"status": "succeeded",
"receipt": {
"ref_number": "45e3f12a90",
"is_voided": true,
"snap_amount": "25.99",
"ebt_cash_amount": "10.99",
"other_amount": "5.99",
"sales_tax_applied": "5.16",
"balance": {
"snap": "72.94",
"non_snap": "32.16",
"updated": "2021-06-16T00:11:50.000000Z-07:00"
},
"last_4": "3456",
"message": "Approved",
"transaction_type": "Refund",
"created": "2021-06-16T00:11:50.000000Z-07:00"
},
"previous_errors": []
}