All URIs are relative to https://api.wall.et
| Method | HTTP request | Description |
|---|---|---|
| AcquirePhoneNumber | POST /v2/sms/phoneNumber/acquire | Acquire phone number |
| ArchivePhoneNumber | DELETE /v2/sms/phoneNumber/{phoneNumberID} | Archive phone number |
| FetchBlockedTCPAEntries | GET /v2/sms/phoneNumber/blocked/{phoneNumberID} | Get blocked TCPA entries |
| FetchMerchantPhoneNumbers | GET /v2/merchant/phoneNumbers/all | Get all phone numbers |
| FetchPhoneNumber | GET /v2/merchant/phoneNumber/{phoneNumberID} | Get phone number |
| FetchSMSAgreement | GET /v2/sms/agreement | Get SMS Agreement |
| FetchTCPAFilter | GET /v2/merchant/tcpa/filter/all | Get all TCPA Filters |
| RestorePhoneNumber | PATCH /v2/sms/phoneNumber/{phoneNumberID} | Restore phone number |
| SendPhoneNumberForVerification | PUT /v2/sms/phoneNumber/verification/{phoneNumberID} | Request phone number verification |
| UpdatePhoneNumber | PUT /v2/sms/phoneNumber/{phoneNumberID} | Update phone number |
PhoneNumber AcquirePhoneNumber (WTSMSAcquirePhoneNumber wTSMSAcquirePhoneNumber)
Acquire phone number
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class AcquirePhoneNumberExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
var wTSMSAcquirePhoneNumber = new WTSMSAcquirePhoneNumber(); // WTSMSAcquirePhoneNumber |
try
{
// Acquire phone number
PhoneNumber result = apiInstance.AcquirePhoneNumber(wTSMSAcquirePhoneNumber);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.AcquirePhoneNumber: " + 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
{
// Acquire phone number
ApiResponse<PhoneNumber> response = apiInstance.AcquirePhoneNumberWithHttpInfo(wTSMSAcquirePhoneNumber);
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 PhoneNumbersApi.AcquirePhoneNumberWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| wTSMSAcquirePhoneNumber | WTSMSAcquirePhoneNumber |
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]
PhoneNumber ArchivePhoneNumber (string phoneNumberID)
Archive phone number
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class ArchivePhoneNumberExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
var phoneNumberID = "phoneNumberID_example"; // string |
try
{
// Archive phone number
PhoneNumber result = apiInstance.ArchivePhoneNumber(phoneNumberID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.ArchivePhoneNumber: " + 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
{
// Archive phone number
ApiResponse<PhoneNumber> response = apiInstance.ArchivePhoneNumberWithHttpInfo(phoneNumberID);
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 PhoneNumbersApi.ArchivePhoneNumberWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| phoneNumberID | string |
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]
List<Tcpa> FetchBlockedTCPAEntries (string phoneNumberID)
Get blocked TCPA entries
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class FetchBlockedTCPAEntriesExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
var phoneNumberID = "phoneNumberID_example"; // string |
try
{
// Get blocked TCPA entries
List<Tcpa> result = apiInstance.FetchBlockedTCPAEntries(phoneNumberID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.FetchBlockedTCPAEntries: " + 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
{
// Get blocked TCPA entries
ApiResponse<List<Tcpa>> response = apiInstance.FetchBlockedTCPAEntriesWithHttpInfo(phoneNumberID);
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 PhoneNumbersApi.FetchBlockedTCPAEntriesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| phoneNumberID | string |
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 FetchMerchantPhoneNumbers (bool? isArchiveIncluded = null, bool? isApproved = null)
Get all phone numbers
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class FetchMerchantPhoneNumbersExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
var isArchiveIncluded = true; // bool? | (optional)
var isApproved = true; // bool? | (optional)
try
{
// Get all phone numbers
Object result = apiInstance.FetchMerchantPhoneNumbers(isArchiveIncluded, isApproved);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.FetchMerchantPhoneNumbers: " + 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
{
// Get all phone numbers
ApiResponse<Object> response = apiInstance.FetchMerchantPhoneNumbersWithHttpInfo(isArchiveIncluded, isApproved);
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 PhoneNumbersApi.FetchMerchantPhoneNumbersWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| isArchiveIncluded | bool? | [optional] | |
| isApproved | bool? | [optional] |
Object
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]
PhoneNumber FetchPhoneNumber (string phoneNumberID)
Get phone number
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class FetchPhoneNumberExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
var phoneNumberID = "phoneNumberID_example"; // string |
try
{
// Get phone number
PhoneNumber result = apiInstance.FetchPhoneNumber(phoneNumberID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.FetchPhoneNumber: " + 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
{
// Get phone number
ApiResponse<PhoneNumber> response = apiInstance.FetchPhoneNumberWithHttpInfo(phoneNumberID);
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 PhoneNumbersApi.FetchPhoneNumberWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| phoneNumberID | string |
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 FetchSMSAgreement ()
Get SMS Agreement
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class FetchSMSAgreementExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
try
{
// Get SMS Agreement
Object result = apiInstance.FetchSMSAgreement();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.FetchSMSAgreement: " + 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
{
// Get SMS Agreement
ApiResponse<Object> response = apiInstance.FetchSMSAgreementWithHttpInfo();
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 PhoneNumbersApi.FetchSMSAgreementWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}This endpoint does not need any parameter.
Object
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]
List<Tcpa> FetchTCPAFilter ()
Get all TCPA Filters
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class FetchTCPAFilterExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
try
{
// Get all TCPA Filters
List<Tcpa> result = apiInstance.FetchTCPAFilter();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.FetchTCPAFilter: " + 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
{
// Get all TCPA Filters
ApiResponse<List<Tcpa>> response = apiInstance.FetchTCPAFilterWithHttpInfo();
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 PhoneNumbersApi.FetchTCPAFilterWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}This endpoint does not need any parameter.
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]
PhoneNumber RestorePhoneNumber (string phoneNumberID)
Restore phone number
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class RestorePhoneNumberExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
var phoneNumberID = "phoneNumberID_example"; // string |
try
{
// Restore phone number
PhoneNumber result = apiInstance.RestorePhoneNumber(phoneNumberID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.RestorePhoneNumber: " + 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
{
// Restore phone number
ApiResponse<PhoneNumber> response = apiInstance.RestorePhoneNumberWithHttpInfo(phoneNumberID);
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 PhoneNumbersApi.RestorePhoneNumberWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| phoneNumberID | string |
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]
string SendPhoneNumberForVerification (string phoneNumberID, WTSMSUpdatePhoneNumberConfig wTSMSUpdatePhoneNumberConfig)
Request phone number verification
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class SendPhoneNumberForVerificationExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
var phoneNumberID = "phoneNumberID_example"; // string |
var wTSMSUpdatePhoneNumberConfig = new WTSMSUpdatePhoneNumberConfig(); // WTSMSUpdatePhoneNumberConfig |
try
{
// Request phone number verification
string result = apiInstance.SendPhoneNumberForVerification(phoneNumberID, wTSMSUpdatePhoneNumberConfig);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.SendPhoneNumberForVerification: " + 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
{
// Request phone number verification
ApiResponse<string> response = apiInstance.SendPhoneNumberForVerificationWithHttpInfo(phoneNumberID, wTSMSUpdatePhoneNumberConfig);
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 PhoneNumbersApi.SendPhoneNumberForVerificationWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| phoneNumberID | string | ||
| wTSMSUpdatePhoneNumberConfig | WTSMSUpdatePhoneNumberConfig |
string
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]
PhoneNumber UpdatePhoneNumber (string phoneNumberID, WTSMSUpdatePhoneNumberConfig wTSMSUpdatePhoneNumberConfig)
Update phone number
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class UpdatePhoneNumberExample
{
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 PhoneNumbersApi(httpClient, config, httpClientHandler);
var phoneNumberID = "phoneNumberID_example"; // string |
var wTSMSUpdatePhoneNumberConfig = new WTSMSUpdatePhoneNumberConfig(); // WTSMSUpdatePhoneNumberConfig |
try
{
// Update phone number
PhoneNumber result = apiInstance.UpdatePhoneNumber(phoneNumberID, wTSMSUpdatePhoneNumberConfig);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PhoneNumbersApi.UpdatePhoneNumber: " + 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 phone number
ApiResponse<PhoneNumber> response = apiInstance.UpdatePhoneNumberWithHttpInfo(phoneNumberID, wTSMSUpdatePhoneNumberConfig);
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 PhoneNumbersApi.UpdatePhoneNumberWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| phoneNumberID | string | ||
| wTSMSUpdatePhoneNumberConfig | WTSMSUpdatePhoneNumberConfig |
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]