Multi Wallet

Multi Wallet Transactions

get
​

https://<domain>/<api prefix>/<version>/mlm/mwallet-transactions/
get the multi-wallet transactions
Request
Response
Request
Headers
apikey
required
string
apikey
Authorization
required
string
Bearer Access token
Response
200: OK
HTTP/1.1 200 OK
Content-Type: application/json
​
Body:
{
"status_code": 200,
"errors": {},
"data": [
<data>
]
}

Sample Code

Node

var request = require('request');
var options = {
'method': 'GET',
'url': '<domain>/<api prefix>/<version>/mlm/mwallet-transactions/',
'headers': {
'apikey': '<apikey>',
'Authorization': 'Bearer <access token>',
},
formData: {
​
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
​

PHP

<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('<domain>/<api prefix>/<version>/mlm/mwallet-transactions/');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'apikey' => '<apikey>',
'Authorization' => 'Bearer <access token>'
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}

Multi Wallet Transactions

get
​

https://<domain>/<api prefix>/<version>/mlm/mwallet-summary/
get the summary of transactions
Request
Response
Request
Headers
apikey
required
string
apikey
Authorization
required
string
Bearer Access Token
Response
200: OK
HTTP/1.1 200 OK
Content-Type: application/json
​
Body:
{
"status_code": 200,
"errors": {},
"data": {
<data>
}
}

Sample Code

Node

var request = require('request');
var options = {
'method': 'GET',
'url': '<domain>/<api prefix>/<version>/mlm/mwallet-summary/',
'headers': {
'apikey': '<apikey>',
'Authorization': 'Bearer <access token>',
},
formData: {
​
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
​

PHP

<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('<domain>/<api prefix>/<version>/mlm/mwallet-summary/');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'apikey' => '<apikey>',
'Authorization' => 'Bearer <access token>',
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}

​