YandexMoney\API::accountInfo PHP Method

accountInfo() public method

Returns information about a user's wallet
See also: http://api.yandex.com/money/doc/dg/reference/account-info.xml
See also: https://tech.yandex.ru/money/doc/dg/reference/account-info-docpage/
public accountInfo ( ) : response
return response object
    function accountInfo()
    {
        return $this->sendAuthenticatedRequest("/api/account-info");
    }

Usage Example

 public function actionTest2()
 {
     $access_token = '410011473018906.8B0BD62ED86765ED98DE3B5EBE22348AC68900066E8EAC7093EB9B8A831D00DAC6556C6B40BA284F2B5391A5EEBCA47C9F755BC4A713584F71D8470D8D660CEDA8A455E290868CC1817ED867D350B5C1074A37CE62F662D94025D799638A30034651FBF656A74BBD003FC402E77BAD140883D414C77B4228BC7A7940B9833164';
     $api = new API($access_token);
     // get account info
     $acount_info = $api->accountInfo();
     VarDumper::dump($acount_info);
 }
All Usage Examples Of YandexMoney\API::accountInfo