Cancel Transaction
Create a new user
POST /api/cancel
<Description of the endpoint>
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
{
"adviceReference": "82c61f34-8377-401c-96ff-f4retydfh92",
"paymentReference": "9rtyu34-8377-401c-96ff-f44d643b1b92"
}Response
{
"requestSuccessful": true,
"responseData": {
"callBackUrl": "https://codebytesltd.com?paymentReference=9612857822&adviceReference=82c61f34-8377-401c-96ff-f44d643b1b92",
"status": "Cancel",
"adviceReference": "82c61f34-8377-401c-96ff-f44d643b1b92",
"paymentReference": "9612857822"
},
"message": "Successful",
"responseCode": "00"
}{
"error": "Invalid request"
}Last updated