All URIs are relative to https://api.uat.anddone.com
| Method | HTTP request | Description |
|---|---|---|
| SecureEpfliteQuotesGeneratePost | POST /secure/epflite/quotes/generate | This API is used to generate the quote from the provider. |
| SecureEpfliteQuotesLinkPost | POST /secure/epflite/quotes/link | This API will return quotes created againsts a payment link. |
| SecureEpfliteQuotesPaymentlinksPost | POST /secure/epflite/quotes/paymentlinks | This API is used to create Payment Links |
PFLiteGenerateQuoteResponse SecureEpfliteQuotesGeneratePost (string xApiKey, string xAppKey, float xVersion, string origin, PFLiteSecureQuoteRequest pFLiteSecureQuoteRequest = null)
This API is used to generate the quote from the provider.
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfliteQuotesGeneratePostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecurePremiumFinanceLiteApi(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 pFLiteSecureQuoteRequest = new PFLiteSecureQuoteRequest(); // PFLiteSecureQuoteRequest | PFLite Quote Secure Request details (optional)
try
{
// This API is used to generate the quote from the provider.
PFLiteGenerateQuoteResponse result = apiInstance.SecureEpfliteQuotesGeneratePost(xApiKey, xAppKey, xVersion, origin, pFLiteSecureQuoteRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecurePremiumFinanceLiteApi.SecureEpfliteQuotesGeneratePost: " + 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 the quote from the provider.
ApiResponse<PFLiteGenerateQuoteResponse> response = apiInstance.SecureEpfliteQuotesGeneratePostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, pFLiteSecureQuoteRequest);
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 SecurePremiumFinanceLiteApi.SecureEpfliteQuotesGeneratePostWithHttpInfo: " + 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 | |
| pFLiteSecureQuoteRequest | PFLiteSecureQuoteRequest | PFLite Quote Secure Request details | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 201 | 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<PFLiteQuoteByPaymentLinkResponse> SecureEpfliteQuotesLinkPost (string xApiKey, string xAppKey, float xVersion, string origin, PFLiteGetQuoteRequest pFLiteGetQuoteRequest = null)
This API will return quotes created againsts a payment link.
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfliteQuotesLinkPostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecurePremiumFinanceLiteApi(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 pFLiteGetQuoteRequest = new PFLiteGetQuoteRequest(); // PFLiteGetQuoteRequest | Signature Request details (optional)
try
{
// This API will return quotes created againsts a payment link.
List<PFLiteQuoteByPaymentLinkResponse> result = apiInstance.SecureEpfliteQuotesLinkPost(xApiKey, xAppKey, xVersion, origin, pFLiteGetQuoteRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecurePremiumFinanceLiteApi.SecureEpfliteQuotesLinkPost: " + 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 link.
ApiResponse<List<PFLiteQuoteByPaymentLinkResponse>> response = apiInstance.SecureEpfliteQuotesLinkPostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, pFLiteGetQuoteRequest);
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 SecurePremiumFinanceLiteApi.SecureEpfliteQuotesLinkPostWithHttpInfo: " + 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 | |
| pFLiteGetQuoteRequest | PFLiteGetQuoteRequest | Signature Request details | [optional] |
List<PFLiteQuoteByPaymentLinkResponse>
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]
PaymentLinkResponse SecureEpfliteQuotesPaymentlinksPost (string xApiKey, string xAppKey, float xVersion, string origin, PFLitePaymentLinkRequest pFLitePaymentLinkRequest)
This API is used to create Payment Links
using System.Collections.Generic;
using System.Diagnostics;
using AndDoneSecureClientLibrary.Api;
using AndDoneSecureClientLibrary.Client;
using AndDoneSecureClientLibrary.Model;
namespace Example
{
public class SecureEpfliteQuotesPaymentlinksPostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.uat.anddone.com";
var apiInstance = new SecurePremiumFinanceLiteApi(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 pFLitePaymentLinkRequest = new PFLitePaymentLinkRequest(); // PFLitePaymentLinkRequest | Payment Link Request
try
{
// This API is used to create Payment Links
PaymentLinkResponse result = apiInstance.SecureEpfliteQuotesPaymentlinksPost(xApiKey, xAppKey, xVersion, origin, pFLitePaymentLinkRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecurePremiumFinanceLiteApi.SecureEpfliteQuotesPaymentlinksPost: " + 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 create Payment Links
ApiResponse<PaymentLinkResponse> response = apiInstance.SecureEpfliteQuotesPaymentlinksPostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, pFLitePaymentLinkRequest);
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 SecurePremiumFinanceLiteApi.SecureEpfliteQuotesPaymentlinksPostWithHttpInfo: " + 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 | |
| pFLitePaymentLinkRequest | PFLitePaymentLinkRequest | Payment Link Request |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 201 | 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]