Check Funding Status
Verify Funding
Funding requests via Ebills, POS, Voucher are available for status checks. Funding methods such as POS and Ebills include additional data such as information about funding sources or payer.
To check the status of a funding request. The transactions ref is passed to the API below.
POST
https://staging.moneywaveapp.com/v1/fund/status
Headers
Name
Type
Description
Authorization
string
Authorization Token
Request Body
Name
Type
Description
ref
string
Funding reference
{
"status": "success",
"data": {
"id": 8143498,
"amount": 100,
"status": "completed",
"system_type": "wallet-fund",
"ref": "MEB000013190429140258493817677813",
"flutterResponseMessage": null,
"flutterResponseCode": null,
"flutterReference": null,
"linkingReference": null,
"disburseOrderId": null,
"ipr": null,
"iprc": null,
"r1": null,
"r2": null,
"meta": {
"custom": {
"token": "159d5f9b0441b56e038039d85c.f5e07cb5c0175f55edce91c9e400b",
"merchantid": "144091",
"submerchantid": "THRIVESEN11D",
"amount": "100.00",
"currency": "NGN",
"flwproduct": "Moneywave Funding",
"flwmerchantname": "Moneywave",
"flwnumberofunits": "1",
"orderid": "MTHRIVESEN11D-100",
"sourcebankcode": "058",
"sourcebankname": "Guaranty Trust Bank",
"customername": "ISNTME OBINA JESE",
"customeraccountnumber": "0010070080",
"notifsessionid": "000013190429140258422217677813",
"notiftotalamount": "200.00",
"notiffee": "100.00",
"notiftransactionfeebearer": "customer",
"notifsplittype": "fixed",
"notifnarration": "e-BillsPay Collection",
"notifpaymentreference": "eBillsPay/1556542978750",
"notiftransactioninitiateddate": null,
"notiftransactionapprovaldate": "1556543004000",
"notiftimein": "Mon Apr 29 14:04:22 WAT 2019"
},
"balance": 937838.9599999994
},
"createdAt": "2019-04-29T13:04:26.000Z",
"updatedAt": "2019-04-29T13:04:27.000Z",
"beneficiary": {
"accountNumber": null,
"bankCode": null
},
"walletCharged": false,
"refund": false,
"reversed": false
}
}
var unirest = require("unirest");
var base_url = "https://staging.moneywaveapp.com";
var req = unirest("POST", `${base_url}/v1/fund/status`);
req.headers({
"Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwibmFtZSI6IlRocml2ZSIsImFjY291bnROdW1iZXIiOiIwNjkwMDAwMDAiLCJiYW5rQ29kZSI6IjMwNyIsImlzQWN0aXZlIjp0cnVlLCJlbnZpcm9ubWVudCI6ImxpdmUiLCJjYW5fZ29saXZlIjp0cnVlLCJjb3VudGRvd24iOm51bGwsImNvbXBsaWFuY2UiOjgsImNvZGUiOiJNTDU4MCIsInBvc0lkIjoiMTE0NjMiLCJlYmlsbElkIjoiTVRGVyIsImlwIjpudWxsLCJjcmVhdGVkQXQiOiIyMDE2LTA5LTE2VDEzOjQ5OjIzLjAwMFoiLCJ1cGRhdGVkQXQiOiIyMDE3LTA3LTE5VDE0OjA2OjM2LjAwMFoiLCJkZWxldGVkQXQiOm51bGwsImlhdCI6MTUzMDIxMTc4MiwiZXhwIjoxNTMwMjE4OTgyfQ.gQDK03I9Jc0dO21RxsZjG0k4Px0NzTk4tRnkbV5VciU",
"Content-Type": "application/json"
});
req.type("json");
req.send({
"ref": "MEB000013190429140258422217677813"
});
req.end(function (res) {
if (res.error) console.log(res.code, res.body);
else console.log(res.body);
});
<?php
$curl = curl_init();
$base_url = "https://staging.moneywaveapp.com";
$header = array(
"Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwibmFtZSI6IlRocml2ZSIsImFjY291bnROdW1iZXIiOiIwNjkwMDAwMDAiLCJiYW5rQ29kZSI6IjMwNyIsImlzQWN0aXZlIjp0cnVlLCJlbnZpcm9ubWVudCI6ImxpdmUiLCJjYW5fZ29saXZlIjp0cnVlLCJjb3VudGRvd24iOm51bGwsImNvbXBsaWFuY2UiOjgsImNvZGUiOiJNTDU4MCIsInBvc0lkIjoiMTE0NjMiLCJlYmlsbElkIjoiTVRGVyIsImlwIjpudWxsLCJjcmVhdGVkQXQiOiIyMDE2LTA5LTE2VDEzOjQ5OjIzLjAwMFoiLCJ1cGRhdGVkQXQiOiIyMDE3LTA3LTE5VDE0OjA2OjM2LjAwMFoiLCJkZWxldGVkQXQiOm51bGwsImlhdCI6MTUzMDIxMDY4MywiZXhwIjoxNTMwMjE3ODgzfQ.IO4iX_estdWbe2dHey27bj5xsZC0skXHGdFUMTQSJfI",
"Content-Type: application/json",
);
$body = array(
"ref" => "MEB000013190429140258422217677813"
);
curl_setopt_array($curl, array(
CURLOPT_URL => $base_url . "/v1/fund/status",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 180,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_POSTFIELDS => json_encode($body),
CURLOPT_HTTPHEADER => $header,
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
$decodedResponse = json_decode($response, true);
echo "<pre>"; print_r($decodedResponse);
}
Last updated