PATCH
/
v2
/
insurance_contracts
/
{id}
curl --request PATCH \
  --url https://thirdparty.qonto.com/v2/insurance_contracts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "insurance_contract": {
    "name": "ProLiability Plan 2024",
    "contract_id": "12345",
    "origin": "insurance_hub",
    "provider_slug": "axa",
    "type": "business_liability",
    "status": "active",
    "troubleshooting_url": "https://patner.com/troubleshoot",
    "service_url": "https://partner.com/service",
    "expiration_date": "2025-12-31",
    "start_date": "2024-12-31",
    "renewal_date": "2025-12-31",
    "payment_frequency": "month",
    "price": {
      "value": "99.99",
      "currency": "EUR"
    }
  }
}'
{
"insurance_contract": {
"id": "888e4567-e89b-12d3-a456-426614174123",
"name": "ProLiability Plan 2024",
"contract_id": "12345",
"origin": "insurance_hub",
"provider_slug": "axa",
"type": "business_liability",
"status": "active",
"troubleshooting_url": "https://patner.com/troubleshoot",
"service_url": "https://partner.com/service",
"expiration_date": "2025-12-31",
"start_date": "2024-12-31",
"renewal_date": "2025-12-31",
"payment_frequency": "month",
"price": {
"value": "99.99",
"currency": "EUR"
}
}
}

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Path Parameters

id
string
required

UUID of the insurance contract to update

Body

application/json

JSON payload containing the fields to update.

The body is of type object.

Response

200
application/json

Returns the updated insurance contract.

The response is of type object.