v3

latestOpenAPI 3.1.02026-08-0121336267.1 KB
Draft Quote

Price Quote

Get pricing breakdown and details for a quote.

get/v1/agency/draft_quote/{quote_id}/price

Path parameters

quote_idstring nullable required

Query parameters

include_payment_schedules_breakdownboolean
offer_idstring nullable
policy_idstring nullable

Request body

OR
OR

Example request

{
  "quote_id": "qte_100034386"
}

Response

Successful Response

Example response

{
  "payment_option": {
    "plan": "full",
    "premium_cents": 90003,
    "total_cents": 90003,
    "installments": [
      {
        "due_date": "2021-04-24"
      }
    ],
    "surcharges": [
      {
        "label": "Credit card transaction fee",
        "state": "NY",
        "amount_cents": 200,
        "rate_basis_points": 200,
        "applies_to_payment_method": "credit_card"
      }
    ]
  },
  "payment_options_available": [
    {
      "plan": "full",
      "premium_cents": 90003,
      "total_cents": 90003,
      "installments": [
        {
          "due_date": "2021-04-24"
        }
      ],
      "surcharges": [
        {
          "label": "Credit card transaction fee",
          "state": "NY",
          "amount_cents": 200,
          "rate_basis_points": 200,
          "applies_to_payment_method": "credit_card"
        }
      ]
    }
  ]
}