Void a payment
Cancels a payment that has not yet settled.
POSThttps://pay.syok2pay-sandbox.com/v1/void
Base URL
https://pay.syok2pay-sandbox.comRequest body
merchant_coderequiredYour merchant code
reference_norequiredUnique void reference
original_reference_norequiredReference of the original payment
Example response
json
{
"success": true,
"data": {
"reference_no": "VOID-20260428-001",
"txn_id": "txn_abc123",
"txn_status": "VOIDED"
},
"trace_id": "xid_abc123"
}
// representative — data fields are the processor passthrough