All URIs are relative to https://api.uat.anddone.com
| 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. |
SecureTokenLinkByIdResponse secureTokenlinksDetailsPost(xApiKey, xAppKey, xVersion, origin, secureTokenLinkRequest)
This API is used for getting Token Links by TokenLink ID
import SecureApi from 'secure_api';
let apiInstance = new SecureApi.SecureTokenLinksApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let secureTokenLinkRequest = new SecureApi.SecureTokenLinkRequest(); // SecureTokenLinkRequest | Secure Token Link Id Request
apiInstance.secureTokenlinksDetailsPost(xApiKey, xAppKey, xVersion, origin, secureTokenLinkRequest, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | String | an authorization header | |
| xAppKey | String | an authorization header | |
| xVersion | Number | x-version | |
| origin | String | origin | |
| secureTokenLinkRequest | SecureTokenLinkRequest | Secure Token Link Id Request |
No authorization required
- Content-Type: application/json
- Accept: application/json
SecureTokenLinkExpiredResponse secureTokenlinksExpirationsPost(xApiKey, xAppKey, xVersion, origin, secureTokenLinkRequest)
This API expires the token link.
import SecureApi from 'secure_api';
let apiInstance = new SecureApi.SecureTokenLinksApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let secureTokenLinkRequest = new SecureApi.SecureTokenLinkRequest(); // SecureTokenLinkRequest | Secure Token Link Id Request
apiInstance.secureTokenlinksExpirationsPost(xApiKey, xAppKey, xVersion, origin, secureTokenLinkRequest, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | String | an authorization header | |
| xAppKey | String | an authorization header | |
| xVersion | Number | x-version | |
| origin | String | origin | |
| secureTokenLinkRequest | SecureTokenLinkRequest | Secure Token Link Id Request |
SecureTokenLinkExpiredResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
TokenLinkResponse secureTokenlinksListPost(xApiKey, xAppKey, xVersion, origin, opts)
This API is used for getting all Token Links for Merchant
import SecureApi from 'secure_api';
let apiInstance = new SecureApi.SecureTokenLinksApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let opts = {
'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, // Number | Set StartRow
'pageSize': 56, // Number | Set PageSize
'sortField': "sortField_example", // String | Set SortField
'asc': true // Boolean | Set Asc
};
apiInstance.secureTokenlinksListPost(xApiKey, xAppKey, xVersion, origin, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | String | an authorization header | |
| xAppKey | String | an authorization header | |
| xVersion | Number | 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 | Number | Set StartRow | [optional] |
| pageSize | Number | Set PageSize | [optional] |
| sortField | String | Set SortField | [optional] |
| asc | Boolean | Set Asc | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
SecureTokenLinkResponse secureTokenlinksPost(xApiKey, xAppKey, xVersion, origin, tokenLinkSecureRequest)
This API is use to create Secure Token Links
import SecureApi from 'secure_api';
let apiInstance = new SecureApi.SecureTokenLinksApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let tokenLinkSecureRequest = new SecureApi.TokenLinkSecureRequest(); // TokenLinkSecureRequest | Secure Token Link Request
apiInstance.secureTokenlinksPost(xApiKey, xAppKey, xVersion, origin, tokenLinkSecureRequest, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | String | an authorization header | |
| xAppKey | String | an authorization header | |
| xVersion | Number | x-version | |
| origin | String | origin | |
| tokenLinkSecureRequest | TokenLinkSecureRequest | Secure Token Link Request |
No authorization required
- Content-Type: application/json
- Accept: application/json
secureTokenlinksPut(xApiKey, xAppKey, xVersion, origin, secureTokenLinkUpdateRequest)
This API will update the expireIn and paymentType of Token Link.
import SecureApi from 'secure_api';
let apiInstance = new SecureApi.SecureTokenLinksApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let secureTokenLinkUpdateRequest = new SecureApi.SecureTokenLinkUpdateRequest(); // SecureTokenLinkUpdateRequest | Secure Token Link Update Request
apiInstance.secureTokenlinksPut(xApiKey, xAppKey, xVersion, origin, secureTokenLinkUpdateRequest, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | String | an authorization header | |
| xAppKey | String | an authorization header | |
| xVersion | Number | x-version | |
| origin | String | origin | |
| secureTokenLinkUpdateRequest | SecureTokenLinkUpdateRequest | Secure Token Link Update Request |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined