Skip to main content

Convert a quote to an order

POST 

/v1/quotes/accept

Create an order from a quotation

Request

Body

    ref stringrequired

    The ref of the quotation to convert to order

    asset_ref string

    Meta field for this order. Will be included in webhooks

    customer_ref string

    the ref of the customer who owns this order, this would have been supplied when creating the customer

    policy_start_date date

    the start date of the intended policy coverage

    payment_type string

    Possible values: [wallet, web_link, card]

    Default value: wallet

    How you would like to pay for the product.

    attachments integer[]

    Upload a valid driver's license

    child_partner_id string

    The child partner key to create the order for the child partner

Responses

OK

Schema
    order object
    id integer
    asset_ref string
    product_price float
    partner_commission float
    amount_due float
    currency string
    payment_instructions object
    message string
    success boolean
    payment_gateway_charge float
Loading...