get /payment/verify/{reference}

After payment has been completed, it is highly required to make sure the payment is verified.

Sample Response:
    "status": "ok",
    "msg": "Payment retrieved",
    "data": {
        "status": true,
        "status_id": 102,
        "status_name": "Success",
        "reference_code": "e2437ab24b27affb",
        "amount": 100,
        "amount_formatted": "₦100",
        "date": "11th Sep 2018",
        "date_time": "2018-09-11 17:44:17",
        "email": "",
        "phone": "+2349061668519",
        "description": "An aimtoget test payment",
        "channel": "Wallet",
        "metadata": {
            "referrer": {
                "name": "Referrer",
                "value": ""

Once request has been made and is successful, the value of status in the data object will return true.

It is also advice-able to check the amount returned.

    if($response->data->status === true && $response->data->amount == $amount) {
        //Award value