Name Enquiry
//A code snippet of how to consume the API
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var raw = "{\n \"bank_code\" : 58,\n \"account_no\": 0161444276\n}";
var requestOptions = {
method: 'GET',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://demo.backend.monicredit.com/api/v1/banking/wallet/name-enquiry?bank_code=033&account_no=2086860888", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));//A code snippet of how to consume the API
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.backend.monicredit.com/api/v1/banking/wallet/name-enquiry?bank_code=033&account_no=2086860888',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"bank_code" : 58,
"account_no": 0161444276
}',
CURLOPT_HTTPHEADER => array(
'Accept: application/json',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;Headers
Name
Type
Description
Request Body
Name
Type
Description
Last updated