Skip to main content

Embedded Premium Finance

POST Generate Premium Finance Quote

The POST Generate Premium Finance Quote method requests a premium finance quote for one or more insurance policies. This API accepts key details such as the merchant ID, payment intent ID, policy information, and insured details. It returns details for the generated quote that include the financed amount, down payment, total installments, payment schedule, and a quoteKey that can be used to generate a payment link or initiate the eSign process. This method also returns a batchId which can be used to initialize AndDoneJS with the premium finance option.

Versions: The POST Generate Quote method is supported identically in AndDone API versions 2.1, 2.2 and 2.3.

API Endpoint
https://api.uat.anddone.com/secure/epf/quotes/generate
API Data Details
URI secure/epf/quotes/generate
Method POST
Authorization API Key Authorization
Authorization
x-api-key API key {env_merchantAccessKey}
Request Headers
x-app-key Merchant ID or App Key {env_merchantId}
x-version API version
Origin URL or IP address provided to AndDone as an allowed origin.
Content-Type application/json

Request Parameters

Field Name Data Type Mandatory Field Length Description

Body Request Example (JSON)

    
    

Response Parameters

Body Response Example (JSON)