All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
fetchActiveVouchers() | GET /v2/customer/vouchers/active | Fetch active static vouchers |
fetchAllVouchers() | GET /v2/customer/vouchers/all | Fetch all static vouchers |
fetchExpiredVouchers() | GET /v2/customer/vouchers/expired | Fetch expired static vouchers |
fetchRedeemedVouchers() | GET /v2/customer/vouchers/redeemed | Fetch redeemed static vouchers |
fetchRefundedVouchers() | GET /v2/customer/vouchers/refunded | Fetch refunded static vouchers |
fetchUpcomingVouchers() | GET /v2/customer/vouchers/upcoming | Fetch upcoming static vouchers |
fetchWalletViewsForSession() | GET /v2/customer/walletViews/session/{id} | Fetch Wallet Views for Session |
searchByMemberID() | POST /v2/customer/search/memberID | Find members with memberID |
searchByPhoneNumber() | POST /v2/customer/search/phoneNumber | Find members with phone number |
fetchActiveVouchers($member_id, $cell_phone_number): \OpenAPI\Client\Model\StaticVoucher[]
Fetch active static vouchers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\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()
);
$member_id = 'member_id_example'; // string
$cell_phone_number = 'cell_phone_number_example'; // string
try {
$result = $apiInstance->fetchActiveVouchers($member_id, $cell_phone_number);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->fetchActiveVouchers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
member_id | string | [optional] | |
cell_phone_number | string | [optional] |
\OpenAPI\Client\Model\StaticVoucher[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchAllVouchers($member_id, $cell_phone_number): \OpenAPI\Client\Model\StaticVoucher[]
Fetch all static vouchers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\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()
);
$member_id = 'member_id_example'; // string
$cell_phone_number = 'cell_phone_number_example'; // string
try {
$result = $apiInstance->fetchAllVouchers($member_id, $cell_phone_number);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->fetchAllVouchers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
member_id | string | [optional] | |
cell_phone_number | string | [optional] |
\OpenAPI\Client\Model\StaticVoucher[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchExpiredVouchers($member_id, $cell_phone_number): \OpenAPI\Client\Model\StaticVoucher[]
Fetch expired static vouchers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\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()
);
$member_id = 'member_id_example'; // string
$cell_phone_number = 'cell_phone_number_example'; // string
try {
$result = $apiInstance->fetchExpiredVouchers($member_id, $cell_phone_number);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->fetchExpiredVouchers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
member_id | string | [optional] | |
cell_phone_number | string | [optional] |
\OpenAPI\Client\Model\StaticVoucher[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchRedeemedVouchers($member_id, $cell_phone_number): \OpenAPI\Client\Model\StaticVoucher[]
Fetch redeemed static vouchers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\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()
);
$member_id = 'member_id_example'; // string
$cell_phone_number = 'cell_phone_number_example'; // string
try {
$result = $apiInstance->fetchRedeemedVouchers($member_id, $cell_phone_number);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->fetchRedeemedVouchers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
member_id | string | [optional] | |
cell_phone_number | string | [optional] |
\OpenAPI\Client\Model\StaticVoucher[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchRefundedVouchers($member_id, $cell_phone_number): \OpenAPI\Client\Model\StaticVoucher[]
Fetch refunded static vouchers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\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()
);
$member_id = 'member_id_example'; // string
$cell_phone_number = 'cell_phone_number_example'; // string
try {
$result = $apiInstance->fetchRefundedVouchers($member_id, $cell_phone_number);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->fetchRefundedVouchers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
member_id | string | [optional] | |
cell_phone_number | string | [optional] |
\OpenAPI\Client\Model\StaticVoucher[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchUpcomingVouchers($member_id, $cell_phone_number): \OpenAPI\Client\Model\StaticVoucher[]
Fetch upcoming static vouchers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\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()
);
$member_id = 'member_id_example'; // string
$cell_phone_number = 'cell_phone_number_example'; // string
try {
$result = $apiInstance->fetchUpcomingVouchers($member_id, $cell_phone_number);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->fetchUpcomingVouchers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
member_id | string | [optional] | |
cell_phone_number | string | [optional] |
\OpenAPI\Client\Model\StaticVoucher[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchWalletViewsForSession($id): \OpenAPI\Client\Model\WalletPageView[]
Fetch Wallet Views for Session
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\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()
);
$id = 'id_example'; // string
try {
$result = $apiInstance->fetchWalletViewsForSession($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->fetchWalletViewsForSession: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string |
\OpenAPI\Client\Model\WalletPageView[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
searchByMemberID($wt_customer_search_by_member_id): mixed
Find members with memberID
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\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()
);
$wt_customer_search_by_member_id = new \OpenAPI\Client\Model\WTCustomerSearchByMemberID(); // \OpenAPI\Client\Model\WTCustomerSearchByMemberID
try {
$result = $apiInstance->searchByMemberID($wt_customer_search_by_member_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->searchByMemberID: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_customer_search_by_member_id | \OpenAPI\Client\Model\WTCustomerSearchByMemberID |
mixed
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
searchByPhoneNumber($wt_customer_search_by_phone_number): mixed
Find members with phone number
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\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()
);
$wt_customer_search_by_phone_number = new \OpenAPI\Client\Model\WTCustomerSearchByPhoneNumber(); // \OpenAPI\Client\Model\WTCustomerSearchByPhoneNumber
try {
$result = $apiInstance->searchByPhoneNumber($wt_customer_search_by_phone_number);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerApi->searchByPhoneNumber: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_customer_search_by_phone_number | \OpenAPI\Client\Model\WTCustomerSearchByPhoneNumber |
mixed
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]