My Account

Ikuesan Oluwaseun

Ikuesan Oluwaseun

Created: May 06, 2023 - Updated: July 01, 2024

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
Previous
Authentication

Was this article helpful?

Have more questions? Submit a request.