All URIs are relative to http://t213.vg/rest/default
Method | HTTP request | Description |
---|---|---|
directoryCountryInformationAcquirerV1GetCountriesInfoGet | GET /V1/directory/countries | |
directoryCountryInformationAcquirerV1GetCountryInfoGet | GET /V1/directory/countries/{countryId} |
\Swagger\Client\Model\DirectoryDataCountryInformationInterface[] directoryCountryInformationAcquirerV1GetCountriesInfoGet()
Get all countries and regions information for the store.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DirectoryCountryInformationAcquirerV1Api();
try {
$result = $api_instance->directoryCountryInformationAcquirerV1GetCountriesInfoGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DirectoryCountryInformationAcquirerV1Api->directoryCountryInformationAcquirerV1GetCountriesInfoGet: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\Swagger\Client\Model\DirectoryDataCountryInformationInterface[]
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\DirectoryDataCountryInformationInterface directoryCountryInformationAcquirerV1GetCountryInfoGet($country_id)
Get country and region information for the store.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DirectoryCountryInformationAcquirerV1Api();
$country_id = "country_id_example"; // string |
try {
$result = $api_instance->directoryCountryInformationAcquirerV1GetCountryInfoGet($country_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DirectoryCountryInformationAcquirerV1Api->directoryCountryInformationAcquirerV1GetCountryInfoGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
country_id | string |
\Swagger\Client\Model\DirectoryDataCountryInformationInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]