All URIs are relative to https://api.wall.et
| Method | HTTP request | Description |
|---|---|---|
| GenerateAndroidKeystore | POST /v2/wallet/android/keystore | Generate Android TWA signing keystore |
| SaveMerchantCreditPaymentDesign | PUT /v2/wallet/merchantCredit/paymentDesign | Update payment design for merchant credits |
| SaveWalletRecord | PUT /v2/wallet | Update wallet record |
WTAndroidKeystoreResponse GenerateAndroidKeystore (bool? regenerate = null)
Generate Android TWA signing keystore
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class GenerateAndroidKeystoreExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.wall.et";
// create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new WalletConfigurationApi(httpClient, config, httpClientHandler);
var regenerate = true; // bool? | (optional)
try
{
// Generate Android TWA signing keystore
WTAndroidKeystoreResponse result = apiInstance.GenerateAndroidKeystore(regenerate);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling WalletConfigurationApi.GenerateAndroidKeystore: " + 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
{
// Generate Android TWA signing keystore
ApiResponse<WTAndroidKeystoreResponse> response = apiInstance.GenerateAndroidKeystoreWithHttpInfo(regenerate);
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 WalletConfigurationApi.GenerateAndroidKeystoreWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| regenerate | bool? | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Object SaveMerchantCreditPaymentDesign (SaveMerchantCreditPaymentDesignRequest saveMerchantCreditPaymentDesignRequest)
Update payment design for merchant credits
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class SaveMerchantCreditPaymentDesignExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.wall.et";
// create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new WalletConfigurationApi(httpClient, config, httpClientHandler);
var saveMerchantCreditPaymentDesignRequest = new SaveMerchantCreditPaymentDesignRequest(); // SaveMerchantCreditPaymentDesignRequest |
try
{
// Update payment design for merchant credits
Object result = apiInstance.SaveMerchantCreditPaymentDesign(saveMerchantCreditPaymentDesignRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling WalletConfigurationApi.SaveMerchantCreditPaymentDesign: " + 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
{
// Update payment design for merchant credits
ApiResponse<Object> response = apiInstance.SaveMerchantCreditPaymentDesignWithHttpInfo(saveMerchantCreditPaymentDesignRequest);
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 WalletConfigurationApi.SaveMerchantCreditPaymentDesignWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| saveMerchantCreditPaymentDesignRequest | SaveMerchantCreditPaymentDesignRequest |
Object
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Object SaveWalletRecord (WTWalletConfigurationSaveWalletRecord wTWalletConfigurationSaveWalletRecord)
Update wallet record
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class SaveWalletRecordExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.wall.et";
// create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new WalletConfigurationApi(httpClient, config, httpClientHandler);
var wTWalletConfigurationSaveWalletRecord = new WTWalletConfigurationSaveWalletRecord(); // WTWalletConfigurationSaveWalletRecord |
try
{
// Update wallet record
Object result = apiInstance.SaveWalletRecord(wTWalletConfigurationSaveWalletRecord);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling WalletConfigurationApi.SaveWalletRecord: " + 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
{
// Update wallet record
ApiResponse<Object> response = apiInstance.SaveWalletRecordWithHttpInfo(wTWalletConfigurationSaveWalletRecord);
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 WalletConfigurationApi.SaveWalletRecordWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| wTWalletConfigurationSaveWalletRecord | WTWalletConfigurationSaveWalletRecord |
Object
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]