Get the insurance fees

This API call is used to calculate the amount of insurance fees.

Building request

This API call is made through the POST protocol with the sending of a single argument. Authentication is required and works with the rules of HTTP basic access authentication.

Arguments

This API call requires sending a single argument:

Entry Data type Description
parcel_value Integer Required Total value of the order in euro cents.

Response informations

The response data contains two informations :

Entry Data type Description
type String Object type called by the API request.
value Integer Amount of insurance fees in euro cents.

Request

curl https://developer.secursus.com/api/parcels/price \
-u your_apiKey:your_secretKey \
-d parcel_value=8000

Response

{
"response": {
"success": true,
"status": "200",
"title": "OK",
"detail": ""
},
"data": {
"type": "price",
"value": 2556
}
}
...
...