All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
createStaticVoucher() | POST /v2/payment/staticVoucher | Create static voucher |
deleteStaticVoucher() | DELETE /v2/payment/staticVoucher/{id} | Delete static voucher |
fetchReachStatsOfAllStaticVouchers() | GET /v2/payment/staticVoucher/reach/all | Get the reach statistics of all the static vouchers |
fetchReachStatsOfIndividualStaticVoucher() | GET /v2/payment/staticVoucher/reach/{staticVoucherID} | Get the reach statistics of an individual static voucher |
fetchStaticVoucher() | GET /v2/payment/staticVoucher/{id} | Fetch static voucher |
updateStaticVoucher() | PUT /v2/payment/staticVoucher/{id} | Update static voucher |
createStaticVoucher($wt_static_voucher_create_params): \OpenAPI\Client\Model\WTStaticVoucher
Create static voucher
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StaticVouchersApi(
// 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()
);
$wt_static_voucher_create_params = new \OpenAPI\Client\Model\WTStaticVoucherCreateParams(); // \OpenAPI\Client\Model\WTStaticVoucherCreateParams
try {
$result = $apiInstance->createStaticVoucher($wt_static_voucher_create_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StaticVouchersApi->createStaticVoucher: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_static_voucher_create_params | \OpenAPI\Client\Model\WTStaticVoucherCreateParams |
\OpenAPI\Client\Model\WTStaticVoucher
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteStaticVoucher($id): bool
Delete static voucher
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StaticVouchersApi(
// 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()
);
$id = NULL; // mixed
try {
$result = $apiInstance->deleteStaticVoucher($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StaticVouchersApi->deleteStaticVoucher: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
bool
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchReachStatsOfAllStaticVouchers($broadcast_scheduled_start_at, $broadcast_scheduled_end_at): \OpenAPI\Client\Model\ReachPerformanceStats
Get the reach statistics of all the static vouchers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StaticVouchersApi(
// 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()
);
$broadcast_scheduled_start_at = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$broadcast_scheduled_end_at = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
try {
$result = $apiInstance->fetchReachStatsOfAllStaticVouchers($broadcast_scheduled_start_at, $broadcast_scheduled_end_at);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StaticVouchersApi->fetchReachStatsOfAllStaticVouchers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
broadcast_scheduled_start_at | \DateTime | [optional] | |
broadcast_scheduled_end_at | \DateTime | [optional] |
\OpenAPI\Client\Model\ReachPerformanceStats
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchReachStatsOfIndividualStaticVoucher($static_voucher_id, $broadcast_scheduled_start_at, $broadcast_scheduled_end_at): \OpenAPI\Client\Model\ReachPerformanceStats
Get the reach statistics of an individual static voucher
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StaticVouchersApi(
// 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()
);
$static_voucher_id = NULL; // mixed
$broadcast_scheduled_start_at = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$broadcast_scheduled_end_at = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
try {
$result = $apiInstance->fetchReachStatsOfIndividualStaticVoucher($static_voucher_id, $broadcast_scheduled_start_at, $broadcast_scheduled_end_at);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StaticVouchersApi->fetchReachStatsOfIndividualStaticVoucher: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
static_voucher_id | mixed | ||
broadcast_scheduled_start_at | \DateTime | [optional] | |
broadcast_scheduled_end_at | \DateTime | [optional] |
\OpenAPI\Client\Model\ReachPerformanceStats
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchStaticVoucher($id): \OpenAPI\Client\Model\WTStaticVoucher
Fetch static voucher
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StaticVouchersApi(
// 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()
);
$id = NULL; // mixed
try {
$result = $apiInstance->fetchStaticVoucher($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StaticVouchersApi->fetchStaticVoucher: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\WTStaticVoucher
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateStaticVoucher($id, $wt_static_voucher_update_params): \OpenAPI\Client\Model\WTStaticVoucher
Update static voucher
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StaticVouchersApi(
// 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()
);
$id = NULL; // mixed
$wt_static_voucher_update_params = new \OpenAPI\Client\Model\WTStaticVoucherUpdateParams(); // \OpenAPI\Client\Model\WTStaticVoucherUpdateParams
try {
$result = $apiInstance->updateStaticVoucher($id, $wt_static_voucher_update_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StaticVouchersApi->updateStaticVoucher: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed | ||
wt_static_voucher_update_params | \OpenAPI\Client\Model\WTStaticVoucherUpdateParams |
\OpenAPI\Client\Model\WTStaticVoucher
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]