My Account
Other programming language available using postman link below
https://documenter.getpostman.com/view/25130238/2s93CHtEJr?version=latest
GET My Account
This folder contains endpoint to get your account information.
https://padiwise.com/api/v1/my-account
AUTHORIZATION | Bearer Token |
---|---|
Token | < token > |
Example Request
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://padiwise.com/api/v1/my-account',
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_HTTPHEADER => array(
'Accept: application/json',
'Authorization: Bearer {{ access_token }}'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Example Response
{
"status": true,
"message": "success",
"data": {
"name": "name",
"email": "email",
"account_balance": {
"balance": "balance",
"commission": "commission"
}
}
}
Other programming language available using postman link below
https://documenter.getpostman.com/view/25130238/2s93CHtEJr?version=latest