Cancel Bill

Cancel an active bill

API Endpoint

POST /client/bills/cancel


Request Headers:

Authorization: Bearer <access_token>

Content-Type: application/json Request Body:

{
    "reference":"<billRef>" // bill unique reference
}

Success Response

{
    "success": {
        "message": "Bill Canceled",
        "data": null
    },
    "uuid": "d8012583-e2c5-4778-9eda-bbf0313c1646"
}

curl 'https://apis.xpay.stream/client/wallets/save'    \
  -H 'Content-Type: application/json'                  \
  -H 'Authorization: Bearer <access_token>'            \
  --data-raw '{"reference":"<billRef>"}'              

Last updated