All URIs are relative to https://integration.api.airkey.evva.com:443/cloud
Method | HTTP request | Description |
---|---|---|
getCustomerData | GET /v1/customer | Gets customer details. |
\Coucounco\Airkey\Swagger\Client\Model\Customer getCustomerData()
Gets customer details.
Returns stored data of the customer.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: X-API-Key
$config = Coucounco\Airkey\Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Coucounco\Airkey\Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-Key', 'Bearer');
$apiInstance = new Coucounco\Airkey\Swagger\Client\Api\CustomerApi(
// 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(),
$config
);
try {
$result = $apiInstance->getCustomerData();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->getCustomerData: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\Coucounco\Airkey\Swagger\Client\Model\Customer
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]