All URIs are relative to https://api.anddone.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| secureTokenlinksDetailsPost() | POST /secure/tokenlinks/details | This API is used for getting Token Links by TokenLink ID |
| secureTokenlinksExpirationsPost() | POST /secure/tokenlinks/expirations | This API expires the token link. |
| secureTokenlinksListPost() | POST /secure/tokenlinks/list | This API is used for getting all Token Links for Merchant |
| secureTokenlinksPost() | POST /secure/tokenlinks | This API is use to create Secure Token Links |
| secureTokenlinksPut() | PUT /secure/tokenlinks | This API will update the expireIn and paymentType of Token Link. |
secureTokenlinksDetailsPost($xApiKey, $xAppKey, $xVersion, $origin, $secureTokenLinkRequest): \OpenAPI\Client\Model\SecureTokenLinkByIdResponseThis API is used for getting Token Links by TokenLink ID
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecureTokenLinksApi(
// 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()
);
$xApiKey = 'xApiKey_example'; // string | an authorization header
$xAppKey = 'xAppKey_example'; // string | an authorization header
$xVersion = 3.4; // float | x-version
$origin = 'origin_example'; // string | origin
$secureTokenLinkRequest = new \OpenAPI\Client\Model\SecureTokenLinkRequest(); // \OpenAPI\Client\Model\SecureTokenLinkRequest | Secure Token Link Id Request
try {
$result = $apiInstance->secureTokenlinksDetailsPost($xApiKey, $xAppKey, $xVersion, $origin, $secureTokenLinkRequest);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecureTokenLinksApi->secureTokenlinksDetailsPost: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| secureTokenLinkRequest | \OpenAPI\Client\Model\SecureTokenLinkRequest | Secure Token Link Id Request |
\OpenAPI\Client\Model\SecureTokenLinkByIdResponse
No authorization required
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
secureTokenlinksExpirationsPost($xApiKey, $xAppKey, $xVersion, $origin, $secureTokenLinkRequest): \OpenAPI\Client\Model\SecureTokenLinkExpiredResponseThis API expires the token link.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecureTokenLinksApi(
// 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()
);
$xApiKey = 'xApiKey_example'; // string | an authorization header
$xAppKey = 'xAppKey_example'; // string | an authorization header
$xVersion = 3.4; // float | x-version
$origin = 'origin_example'; // string | origin
$secureTokenLinkRequest = new \OpenAPI\Client\Model\SecureTokenLinkRequest(); // \OpenAPI\Client\Model\SecureTokenLinkRequest | Secure Token Link Id Request
try {
$result = $apiInstance->secureTokenlinksExpirationsPost($xApiKey, $xAppKey, $xVersion, $origin, $secureTokenLinkRequest);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecureTokenLinksApi->secureTokenlinksExpirationsPost: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| secureTokenLinkRequest | \OpenAPI\Client\Model\SecureTokenLinkRequest | Secure Token Link Id Request |
\OpenAPI\Client\Model\SecureTokenLinkExpiredResponse
No authorization required
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
secureTokenlinksListPost($xApiKey, $xAppKey, $xVersion, $origin, $email, $status, $phone, $statuses, $title, $paymentDescription, $invoiceNumber, $expiryDate, $fromExpiryDate, $freeTextSearch, $tokenLinkId, $toExpiryDate, $fromDate, $toDate, $startRow, $pageSize, $sortField, $asc): \OpenAPI\Client\Model\TokenLinkResponseThis API is used for getting all Token Links for Merchant
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecureTokenLinksApi(
// 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()
);
$xApiKey = 'xApiKey_example'; // string | an authorization header
$xAppKey = 'xAppKey_example'; // string | an authorization header
$xVersion = 3.4; // float | x-version
$origin = 'origin_example'; // string | origin
$email = 'email_example'; // string | email
$status = 'status_example'; // string | status
$phone = 'phone_example'; // string | phone
$statuses = 'statuses_example'; // string | statuses
$title = 'title_example'; // string | title
$paymentDescription = 'paymentDescription_example'; // string | paymentDescription
$invoiceNumber = 'invoiceNumber_example'; // string | invoiceNumber
$expiryDate = 'expiryDate_example'; // string | expiryDate
$fromExpiryDate = 'fromExpiryDate_example'; // string | fromExpiryDate
$freeTextSearch = 'freeTextSearch_example'; // string | freeTextSearch
$tokenLinkId = 'tokenLinkId_example'; // string | tokenLinkId
$toExpiryDate = 'toExpiryDate_example'; // string | toExpiryDate
$fromDate = 'fromDate_example'; // string | fromDate
$toDate = 'toDate_example'; // string | toDate
$startRow = 56; // int | Set StartRow
$pageSize = 56; // int | Set PageSize
$sortField = 'sortField_example'; // string | Set SortField
$asc = True; // bool | Set Asc
try {
$result = $apiInstance->secureTokenlinksListPost($xApiKey, $xAppKey, $xVersion, $origin, $email, $status, $phone, $statuses, $title, $paymentDescription, $invoiceNumber, $expiryDate, $fromExpiryDate, $freeTextSearch, $tokenLinkId, $toExpiryDate, $fromDate, $toDate, $startRow, $pageSize, $sortField, $asc);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecureTokenLinksApi->secureTokenlinksListPost: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| string | [optional] | ||
| status | string | status | [optional] |
| phone | string | phone | [optional] |
| statuses | string | statuses | [optional] |
| title | string | title | [optional] |
| paymentDescription | string | paymentDescription | [optional] |
| invoiceNumber | string | invoiceNumber | [optional] |
| expiryDate | string | expiryDate | [optional] |
| fromExpiryDate | string | fromExpiryDate | [optional] |
| freeTextSearch | string | freeTextSearch | [optional] |
| tokenLinkId | string | tokenLinkId | [optional] |
| toExpiryDate | string | toExpiryDate | [optional] |
| fromDate | string | fromDate | [optional] |
| toDate | string | toDate | [optional] |
| startRow | int | Set StartRow | [optional] |
| pageSize | int | Set PageSize | [optional] |
| sortField | string | Set SortField | [optional] |
| asc | bool | Set Asc | [optional] |
\OpenAPI\Client\Model\TokenLinkResponse
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
secureTokenlinksPost($xApiKey, $xAppKey, $xVersion, $origin, $tokenLinkSecureRequest): \OpenAPI\Client\Model\SecureTokenLinkResponseThis API is use to create Secure Token Links
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecureTokenLinksApi(
// 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()
);
$xApiKey = 'xApiKey_example'; // string | an authorization header
$xAppKey = 'xAppKey_example'; // string | an authorization header
$xVersion = 3.4; // float | x-version
$origin = 'origin_example'; // string | origin
$tokenLinkSecureRequest = new \OpenAPI\Client\Model\TokenLinkSecureRequest(); // \OpenAPI\Client\Model\TokenLinkSecureRequest | Secure Token Link Request
try {
$result = $apiInstance->secureTokenlinksPost($xApiKey, $xAppKey, $xVersion, $origin, $tokenLinkSecureRequest);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecureTokenLinksApi->secureTokenlinksPost: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| tokenLinkSecureRequest | \OpenAPI\Client\Model\TokenLinkSecureRequest | Secure Token Link Request |
\OpenAPI\Client\Model\SecureTokenLinkResponse
No authorization required
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
secureTokenlinksPut($xApiKey, $xAppKey, $xVersion, $origin, $secureTokenLinkUpdateRequest)This API will update the expireIn and paymentType of Token Link.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecureTokenLinksApi(
// 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()
);
$xApiKey = 'xApiKey_example'; // string | an authorization header
$xAppKey = 'xAppKey_example'; // string | an authorization header
$xVersion = 3.4; // float | x-version
$origin = 'origin_example'; // string | origin
$secureTokenLinkUpdateRequest = new \OpenAPI\Client\Model\SecureTokenLinkUpdateRequest(); // \OpenAPI\Client\Model\SecureTokenLinkUpdateRequest | Secure Token Link Update Request
try {
$apiInstance->secureTokenlinksPut($xApiKey, $xAppKey, $xVersion, $origin, $secureTokenLinkUpdateRequest);
} catch (Exception $e) {
echo 'Exception when calling SecureTokenLinksApi->secureTokenlinksPut: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| secureTokenLinkUpdateRequest | \OpenAPI\Client\Model\SecureTokenLinkUpdateRequest | Secure Token Link Update Request |
void (empty response body)
No authorization required
- Content-Type:
application/json - Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]