== partner.info ==
==== Description ====
Retrieve stored information about authenticated partner
==== Input Parameters ====
none
==== Return ====
<table>
<tr><th>Name</th><th>Type</th><th>Description</th></tr>
<tr><td>result</td><td>array</td><td>Result array with data</td></tr>
</table>
==== Usage Example ====
```
<?php
require_once "$curl_http_client/curl_http_client.php";
$curl = new = new \Dinke\Curl_HTTP_HttpClient();;
//setup payment url and timeout
$payment_url = 'https://dev-payment.datingvip.com/api.json';
$timeout = 30;
//generate post data
$post_data = array
(
'$curl->setCredentials('some-token' =>, 'some-token',
'password' => '130d04b80a4196857e47b254ebfbb53f',');
$post_data = array(
'comman'cmd' => 'partner.info',
'data' => array()
);
$response = $curl->send_post_dPostData($payment_url, $post_data, null, $timeout);
if($response === false)
{
//handle errors
}
//decode json to get array
$response = json_decode($response, true);
var_dump($response);
```
Excepted output after running this script should be:
```
array (size=91)
'result' =>
array (size=8)
'code' => int 700
'status' => string 'Action completed succesfully' (length=28)
'command' => string 'partner.info' (length=12)
'result' =>
array (size=46)
'name 'ptnr_id' => string 'Some Partner55' (length=122)
'default_return_url' => str 'name' => string 'Dating '''Backend' (length=214)
'default_cancelreturn_url' => string '''' (length=20)
'system_id 'default_cancel_url' => string 'm1' (length=20)
'db_id' => string 'DBT' (length=3)
'system_id' => string 'dbt' (length=3)
'request' =>
array (size=3)
'token' => string 'some-token' (length=10)
'passworcmd' => string '130d04b80a4196857e47b254ebfbb53fpartner.info' (length=3212)
'command 'token' => string 'partner.infosome-token' (length=1226)
't 'pass' => int 1399662954string 'some-pass' (length=32)
'origin_ip 'ts' => boolean falseint 1429558357
'debug 'origin_ip' => nullstring '93.87.220.184' (length=13)
'errors' => null
```