-
Notifications
You must be signed in to change notification settings - Fork 15
Transaction Reversal
Mauko Maunde edited this page Jan 8, 2021
·
1 revision
To reverse a transaction, call the reverse method at your endpoint.
C2B::reverse($transaction, $amount, $receiver, $receiver_type = 3, $remarks = "Transaction Reversal", $occassion = "Transaction Reversal");You can pass an optional seventh argument that is a callback for processing the response from the request and returning true.
C2B::reverse($transaction, $amount, $receiver, $receiver_type = 3, $remarks = "Transaction Reversal", $occassion = "", function ($response){
// Do something with $response
return true;
});© Osen Concepts Kenya 2020