curl --request POST \
--url https://sandbox-api.fletch.co/insurance/pet/quote-checkout \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'X-API-VERSION: YOUR_API_VERSION' \
--header 'content-type: application/json' \
--data '{"quote_id": "string", "partner_id": "string"}'
{
"200": {},
"400": {},
"401": {}
}Pet insurance API
Quote Checkout
Get a checkout URL that opens the Fletch quote screen.
POST
https://sandbox-api.fletch.co
/
insurance
/
pet
/
quote-checkout
curl --request POST \
--url https://sandbox-api.fletch.co/insurance/pet/quote-checkout \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'X-API-VERSION: YOUR_API_VERSION' \
--header 'content-type: application/json' \
--data '{"quote_id": "string", "partner_id": "string"}'
{
"200": {},
"400": {},
"401": {}
}Call this endpoint after the create quote ID endpoint. The endpoint returns a checkout URL. The URL opens the Fletch quote screen.
Headers and parameters
Body
Unique for each partner. Write to info@fletch.co if not received yet.
curl --request POST \
--url https://sandbox-api.fletch.co/insurance/pet/quote-checkout \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'X-API-VERSION: YOUR_API_VERSION' \
--header 'content-type: application/json' \
--data '{"quote_id": "string", "partner_id": "string"}'