All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
archivePaymentDesign() | DELETE /v2/payment/design/{id} | Archive payment design |
createPaymentDesign() | POST /v2/payment/design | Create payment design |
fetchAllPaymentDesigns() | GET /v2/payment/design/all | Fetch all active payment designs |
fetchPaymentDesignById() | GET /v2/payment/design/{id} | Fetch payment design |
restorePaymentDesign() | PATCH /v2/payment/design/{id} | Restore payment design |
updatePaymentDesign() | PUT /v2/payment/design/{id} | Update payment design |
archivePaymentDesign($id): \OpenAPI\Client\Model\WTPaymentDesign
Archive payment design
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\PaymentDesignsApi(
// 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->archivePaymentDesign($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PaymentDesignsApi->archivePaymentDesign: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\WTPaymentDesign
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createPaymentDesign($wt_payment_design_create_params): \OpenAPI\Client\Model\WTPaymentDesign
Create payment design
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\PaymentDesignsApi(
// 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_payment_design_create_params = new \OpenAPI\Client\Model\WTPaymentDesignCreateParams(); // \OpenAPI\Client\Model\WTPaymentDesignCreateParams
try {
$result = $apiInstance->createPaymentDesign($wt_payment_design_create_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PaymentDesignsApi->createPaymentDesign: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_payment_design_create_params | \OpenAPI\Client\Model\WTPaymentDesignCreateParams |
\OpenAPI\Client\Model\WTPaymentDesign
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchAllPaymentDesigns($is_archive_included): \OpenAPI\Client\Model\WTPaymentDesign[]
Fetch all active payment designs
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\PaymentDesignsApi(
// 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()
);
$is_archive_included = True; // bool
try {
$result = $apiInstance->fetchAllPaymentDesigns($is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PaymentDesignsApi->fetchAllPaymentDesigns: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
is_archive_included | bool | [optional] |
\OpenAPI\Client\Model\WTPaymentDesign[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchPaymentDesignById($id): \OpenAPI\Client\Model\WTPaymentDesign
Fetch payment design
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\PaymentDesignsApi(
// 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->fetchPaymentDesignById($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PaymentDesignsApi->fetchPaymentDesignById: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\WTPaymentDesign
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restorePaymentDesign($id): \OpenAPI\Client\Model\WTPaymentDesign
Restore payment design
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\PaymentDesignsApi(
// 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->restorePaymentDesign($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PaymentDesignsApi->restorePaymentDesign: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\WTPaymentDesign
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updatePaymentDesign($id, $wt_payment_design_update_params): \OpenAPI\Client\Model\WTPaymentDesign
Update payment design
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\PaymentDesignsApi(
// 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_payment_design_update_params = new \OpenAPI\Client\Model\WTPaymentDesignUpdateParams(); // \OpenAPI\Client\Model\WTPaymentDesignUpdateParams
try {
$result = $apiInstance->updatePaymentDesign($id, $wt_payment_design_update_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PaymentDesignsApi->updatePaymentDesign: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed | ||
wt_payment_design_update_params | \OpenAPI\Client\Model\WTPaymentDesignUpdateParams |
\OpenAPI\Client\Model\WTPaymentDesign
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]