All URIs are relative to https://rest.paycomet.com
Method | HTTP request | Description |
---|---|---|
infoError | POST /v1/errors | Gets an error description |
\Swagger\Client\Model\InlineResponse200 infoError($body, $paycomet_api_token)
Gets an error description
info_error
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\ErrorApi(
// 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\V1ErrorsBody(); // \Swagger\Client\Model\V1ErrorsBody |
$paycomet_api_token = "paycomet_api_token_example"; // string | PAYCOMET API key (Query privilege required)
try {
$result = $apiInstance->infoError($body, $paycomet_api_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ErrorApi->infoError: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Swagger\Client\Model\V1ErrorsBody | [optional] | |
paycomet_api_token | string | PAYCOMET API key (Query privilege required) | [optional] |
\Swagger\Client\Model\InlineResponse200
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]