All URIs are relative to https://api.uat.anddone.com
| Method | HTTP request | Description |
|---|---|---|
| SecureEpfMerchantsQuotesPolicyPut | PUT /secure/epf/merchants/quotes/policy | This API is will update the policy number |
| SecureEpfQuotesBookingPut | PUT /secure/epf/quotes/booking | This API will update PFA to book a quote. |
| SecureEpfQuotesCaptureesignPut | PUT /secure/epf/quotes/captureesign | This API will eSign the pfa with insured name. |
| SecureEpfQuotesGeneratePost | POST /secure/epf/quotes/generate | This API is used to Generate Quotes |
| SecureEpfQuotesIntentPost | POST /secure/epf/quotes/intent | This API will return quotes created againsts a payment intent. |
| SecureEpfQuotesPost | POST /secure/epf/quotes | This API will return quote by QuoteKey. |
| SecureEpfRetrievepfaPost | POST /secure/epf/retrievepfa | This API will return PFA for given quoteKey. |
PFPolicyUpdateResponse SecureEpfMerchantsQuotesPolicyPut (string xApiKey, string xAppKey, float xVersion, string origin, PFPolicyUpdateRequestDTO pFPolicyUpdateRequestDTO = null)
This API is will update the policy number
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfMerchantsQuotesPolicyPutExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceApi(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 pFPolicyUpdateRequestDTO = new PFPolicyUpdateRequestDTO(); // PFPolicyUpdateRequestDTO | Signature Request details (optional)
try
{
// This API is will update the policy number
PFPolicyUpdateResponse result = apiInstance.SecureEpfMerchantsQuotesPolicyPut(xApiKey, xAppKey, xVersion, origin, pFPolicyUpdateRequestDTO);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceApi.SecureEpfMerchantsQuotesPolicyPut: " + 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 will update the policy number
ApiResponse<PFPolicyUpdateResponse> response = apiInstance.SecureEpfMerchantsQuotesPolicyPutWithHttpInfo(xApiKey, xAppKey, xVersion, origin, pFPolicyUpdateRequestDTO);
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 SecureEmbeddedPremiumFinanceApi.SecureEpfMerchantsQuotesPolicyPutWithHttpInfo: " + 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 | |
| pFPolicyUpdateRequestDTO | PFPolicyUpdateRequestDTO | Signature Request details | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
| 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]
PFUpdatePFAResponse SecureEpfQuotesBookingPut (string xApiKey, string xAppKey, float xVersion, string origin, PFQuoteBookingRequest pFQuoteBookingRequest)
This API will update PFA to book a quote.
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfQuotesBookingPutExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceApi(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 pFQuoteBookingRequest = new PFQuoteBookingRequest(); // PFQuoteBookingRequest | PFQuoteBooking Request details
try
{
// This API will update PFA to book a quote.
PFUpdatePFAResponse result = apiInstance.SecureEpfQuotesBookingPut(xApiKey, xAppKey, xVersion, origin, pFQuoteBookingRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesBookingPut: " + 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 will update PFA to book a quote.
ApiResponse<PFUpdatePFAResponse> response = apiInstance.SecureEpfQuotesBookingPutWithHttpInfo(xApiKey, xAppKey, xVersion, origin, pFQuoteBookingRequest);
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 SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesBookingPutWithHttpInfo: " + 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 | |
| pFQuoteBookingRequest | PFQuoteBookingRequest | PFQuoteBooking Request details |
No authorization required
- Content-Type: application/json
- Accept: application/json
| 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]
void SecureEpfQuotesCaptureesignPut (string xApiKey, string xAppKey, float xVersion, string origin, PFQuoteEsignRequest pFQuoteEsignRequest = null)
This API will eSign the pfa with insured name.
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfQuotesCaptureesignPutExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceApi(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 pFQuoteEsignRequest = new PFQuoteEsignRequest(); // PFQuoteEsignRequest | PFQuote Request (optional)
try
{
// This API will eSign the pfa with insured name.
apiInstance.SecureEpfQuotesCaptureesignPut(xApiKey, xAppKey, xVersion, origin, pFQuoteEsignRequest);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesCaptureesignPut: " + 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 will eSign the pfa with insured name.
apiInstance.SecureEpfQuotesCaptureesignPutWithHttpInfo(xApiKey, xAppKey, xVersion, origin, pFQuoteEsignRequest);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesCaptureesignPutWithHttpInfo: " + 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 | |
| pFQuoteEsignRequest | PFQuoteEsignRequest | PFQuote Request | [optional] |
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]
List<PFGenerateQuoteResponse> SecureEpfQuotesGeneratePost (string xApiKey, string xAppKey, float xVersion, string origin, QuoteRequest quoteRequest = null)
This API is used to Generate Quotes
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfQuotesGeneratePostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceApi(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 quoteRequest = new QuoteRequest(); // QuoteRequest | Quote Request (optional)
try
{
// This API is used to Generate Quotes
List<PFGenerateQuoteResponse> result = apiInstance.SecureEpfQuotesGeneratePost(xApiKey, xAppKey, xVersion, origin, quoteRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesGeneratePost: " + 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 to Generate Quotes
ApiResponse<List<PFGenerateQuoteResponse>> response = apiInstance.SecureEpfQuotesGeneratePostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, quoteRequest);
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 SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesGeneratePostWithHttpInfo: " + 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 | |
| quoteRequest | QuoteRequest | Quote Request | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
| 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]
List<QuoteResponse> SecureEpfQuotesIntentPost (string xApiKey, string xAppKey, float xVersion, string origin, GetQuoteRequest getQuoteRequest = null)
This API will return quotes created againsts a payment intent.
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfQuotesIntentPostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceApi(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 getQuoteRequest = new GetQuoteRequest(); // GetQuoteRequest | Signature Request details (optional)
try
{
// This API will return quotes created againsts a payment intent.
List<QuoteResponse> result = apiInstance.SecureEpfQuotesIntentPost(xApiKey, xAppKey, xVersion, origin, getQuoteRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesIntentPost: " + 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 will return quotes created againsts a payment intent.
ApiResponse<List<QuoteResponse>> response = apiInstance.SecureEpfQuotesIntentPostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, getQuoteRequest);
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 SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesIntentPostWithHttpInfo: " + 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 | |
| getQuoteRequest | GetQuoteRequest | Signature Request details | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
| 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]
QuoteResponse SecureEpfQuotesPost (string xApiKey, string xAppKey, float xVersion, string origin, GetQuoteKeyRequest getQuoteKeyRequest = null)
This API will return quote by QuoteKey.
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfQuotesPostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceApi(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 getQuoteKeyRequest = new GetQuoteKeyRequest(); // GetQuoteKeyRequest | Signature Request details (optional)
try
{
// This API will return quote by QuoteKey.
QuoteResponse result = apiInstance.SecureEpfQuotesPost(xApiKey, xAppKey, xVersion, origin, getQuoteKeyRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesPost: " + 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 will return quote by QuoteKey.
ApiResponse<QuoteResponse> response = apiInstance.SecureEpfQuotesPostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, getQuoteKeyRequest);
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 SecureEmbeddedPremiumFinanceApi.SecureEpfQuotesPostWithHttpInfo: " + 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 | |
| getQuoteKeyRequest | GetQuoteKeyRequest | Signature Request details | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
| 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]
string SecureEpfRetrievepfaPost (string xApiKey, string xAppKey, float xVersion, string origin, PFRetrievePFARequestDTO pFRetrievePFARequestDTO = null)
This API will return PFA for given quoteKey.
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfRetrievepfaPostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceApi(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 pFRetrievePFARequestDTO = new PFRetrievePFARequestDTO(); // PFRetrievePFARequestDTO | PFRetrieve PFA Request (optional)
try
{
// This API will return PFA for given quoteKey.
string result = apiInstance.SecureEpfRetrievepfaPost(xApiKey, xAppKey, xVersion, origin, pFRetrievePFARequestDTO);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceApi.SecureEpfRetrievepfaPost: " + 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 will return PFA for given quoteKey.
ApiResponse<string> response = apiInstance.SecureEpfRetrievepfaPostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, pFRetrievePFARequestDTO);
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 SecureEmbeddedPremiumFinanceApi.SecureEpfRetrievepfaPostWithHttpInfo: " + 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 | |
| pFRetrievePFARequestDTO | PFRetrievePFARequestDTO | PFRetrieve PFA Request | [optional] |
string
No authorization required
- Content-Type: application/json
- Accept: application/json
| 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]