== subscription.rebill ==
==== Description ====
Manually execute rebill
==== Input Parameters ====
<table>
<tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr>
<tr><td>item_id</td><td>int</td><td>yes</td><td>Item ID</td></tr>
<tr><td>rebill_amount</td><td>float</td><td>yes</td><td>Rebill amount</td></tr>
<tr><td>description</td><td>string</td><td>yes</td><td>Description</td></tr>
</table>
==== Return ====
<table>
<tr><th>Name</th><th>Type</th><th>Description</th></tr>
<tr><td>result</td><td>array</td><td>Array with transaction data</td></tr>
</table>
==== Usage Example ====
```
<?php
$curl = new \Dinke\CurlHttpClient;
//setup payment url and timeout
$payment_url = 'https://dev-payment.datingvip.com/api.json';
$timeout = 30;
$curl->setCredentials('some-token', 'some-pass');
$post_data = array(
'cmd' => 'subscription.rebill',
'data' => array('item_id' => 1,
'rebill_amount' => 25.35,
'description' => 'This is dinke testing manual rebill')
);
$response = $curl->sendPostData($payment_url, $post_data, null, $timeout);
if($response === false)
{
//handle errors
}
//decode json to get array
$response = json_decode($response, true);
var_dump($response);
```