# Insurance Guide

This guide will teach you how to insure your EasyPost packages. In this example, we will be insuring an item worth $249.99.

When insuring a shipment, you go through the same steps as shipping a package that is not insured, except that you need to add insurance to your shipment. If you don't know how to create a shipment, we recommend completing our Getting Started Guide before starting our Shipping Insurance Guide.

[Content omitted: getting started checklist rendered dynamically. Review the rendered documentation for complete setup steps.]

[Content omitted: related links and resources. Review the rendered documentation for navigation links.]

---

## Step 1: Adding Insurance to a Shipment

It's really simple. After you have created a shipment **and purchased** your postage, you just have to use our "insure" method to purchase insurance. Pass through the dollar value of the contents of the package using the **amount** parameter of the insure method.

To start a claim, simply email us a completed claims form along with a handful of key documents that are listed on the form. You'll receive reimbursement within 10 days. No more waiting periods, hassle or extensive forms.

For insurance related inquiries, email us at insurance@easypost.com.

We process claims within 48 hours of receiving all relevant documentation and payments are made within 10 business days. And unlike most insurance plans, we offer international coverage to virtually every country in the world.

#### Adding Insurance to a Shipment

### Example: POST /shipments/:id/insure

#### cURL

```shell
curl -X POST https://api.easypost.com/v2/shipments/shp_.../insure \
  -u "EASYPOST_API_KEY": \
  -H 'Content-Type: application/json' \
  -d '{
    "amount": "200"
  }'
```

#### Go

```go
package example

import (
	"fmt"

	"github.com/EasyPost/easypost-go/v5"
)

func insure() {
	client := easypost.New("EASYPOST_API_KEY")

	shipment, _ := client.InsureShipment("shp_...", "100.00")

	fmt.Println(shipment)
}
```

#### Java

```java
package shipments;

import com.easypost.exception.EasyPostException;
import com.easypost.model.Shipment;
import com.easypost.service.EasyPostClient;

import java.util.HashMap;

public class Insure {
    public static void main(String[] args) throws EasyPostException {
        EasyPostClient client = new EasyPostClient("EASYPOST_API_KEY");

        HashMap<String, Object> params = new HashMap<String, Object>();
        params.put("amount", 100);

        Shipment shipment = client.shipment.insure("shp_...", params);

        System.out.println(shipment);
    }
}
```

#### C#

```csharp
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using EasyPost;
using Newtonsoft.Json;

namespace EasyPostExamples
{
    public class Examples
    {
        public static async Task Main()
        {
            var client = new EasyPost.Client(new EasyPost.ClientConfiguration("EASYPOST_API_KEY"));

            EasyPost.Models.API.Shipment shipment = await client.Shipment.Insure("shp_...", 200);

            Console.WriteLine(JsonConvert.SerializeObject(shipment, Formatting.Indented));
        }
    }
}
```

#### Node.js

```javascript
const EasyPostClient = require('@easypost/api');

const client = new EasyPostClient('EASYPOST_API_KEY');

(async () => {
  const shipment = await client.Shipment.insure('shp_...', 100);

  console.log(shipment);
})();
```

#### PHP

```php
<?php

$client = new \EasyPost\EasyPostClient('EASYPOST_API_KEY');

$shipment = $client->shipment->insure(
    'shp_...',
    ['amount' => 100]
);

echo $shipment;
```

#### Python

```python
import easypost

client = easypost.EasyPostClient("EASYPOST_API_KEY")

shipment = client.shipment.insure("shp_...", amount=100)

print(shipment)
```

#### Ruby

```ruby
require 'easypost'

client = EasyPost::Client.new(api_key: 'EASYPOST_API_KEY')

shipment = client.shipment.insure('shp_...', amount: 100)

puts shipment
```

[Content omitted: related links and resources. Review the rendered documentation for navigation links.]

---

Congratulations! You've just purchased insurance with EasyPost! Check out our Full Reference API Documentation.

[Content omitted: related links and resources. Review the rendered documentation for navigation links.]