All URIs are relative to https://rest.paycomet.com
Method | HTTP request | Description |
---|---|---|
productBalance | POST /v1/balance | Get balance info |
\Swagger\Client\Model\InlineResponse2005 productBalance($body, $paycomet_api_token)
Get balance info
Gets the balance of a product. Restricted.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\BalanceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \Swagger\Client\Model\V1BalanceBody(); // \Swagger\Client\Model\V1BalanceBody |
$paycomet_api_token = "paycomet_api_token_example"; // string | PAYCOMET API key (Query privilege required)
try {
$result = $apiInstance->productBalance($body, $paycomet_api_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BalanceApi->productBalance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Swagger\Client\Model\V1BalanceBody | [optional] | |
paycomet_api_token | string | PAYCOMET API key (Query privilege required) | [optional] |
\Swagger\Client\Model\InlineResponse2005
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]