All URIs are relative to https://api.uat.anddone.com
| Method | HTTP request | Description |
|---|---|---|
| SecureTokensActivationsDelete | DELETE /secure/tokens/activations | This API is used for deactivating merchant token securely |
| SecureTokensDetailsPost | POST /secure/tokens/details | This API is used for getting details of Merchant Token by Token link. |
void SecureTokensActivationsDelete (string xApiKey, string xAppKey, float xVersion, string origin, TokenRequest tokenRequest)
This API is used for deactivating merchant token securely
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureTokensActivationsDeleteExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecureTokenManagementApi(config);
var xApiKey = "xApiKey_example"; // string | an authorization header
var xAppKey = "xAppKey_example"; // string | an authorization header
var xVersion = 8.14D; // float | x-version
var origin = "origin_example"; // string | origin
var tokenRequest = new TokenRequest(); // TokenRequest | secure merchant token request
try
{
// This API is used for deactivating merchant token securely
apiInstance.SecureTokensActivationsDelete(xApiKey, xAppKey, xVersion, origin, tokenRequest);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureTokenManagementApi.SecureTokensActivationsDelete: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// This API is used for deactivating merchant token securely
apiInstance.SecureTokensActivationsDeleteWithHttpInfo(xApiKey, xAppKey, xVersion, origin, tokenRequest);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureTokenManagementApi.SecureTokensActivationsDeleteWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| tokenRequest | TokenRequest | secure merchant token request |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SecureMerchantTokenShortResponse SecureTokensDetailsPost (string xApiKey, string xAppKey, float xVersion, string origin, SecureTokenLinkRequest secureTokenLinkRequest)
This API is used for getting details of Merchant Token by Token link.
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureTokensDetailsPostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecureTokenManagementApi(config);
var xApiKey = "xApiKey_example"; // string | an authorization header
var xAppKey = "xAppKey_example"; // string | an authorization header
var xVersion = 8.14D; // float | x-version
var origin = "origin_example"; // string | origin
var secureTokenLinkRequest = new SecureTokenLinkRequest(); // SecureTokenLinkRequest | Secure Token Link Id Request
try
{
// This API is used for getting details of Merchant Token by Token link.
SecureMerchantTokenShortResponse result = apiInstance.SecureTokensDetailsPost(xApiKey, xAppKey, xVersion, origin, secureTokenLinkRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureTokenManagementApi.SecureTokensDetailsPost: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// This API is used for getting details of Merchant Token by Token link.
ApiResponse<SecureMerchantTokenShortResponse> response = apiInstance.SecureTokensDetailsPostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, secureTokenLinkRequest);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureTokenManagementApi.SecureTokensDetailsPostWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| secureTokenLinkRequest | SecureTokenLinkRequest | Secure Token Link Id Request |
SecureMerchantTokenShortResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]