Carbon Offset Guide

This guide will explain some of the key use cases for the Carbon Offset API and teach you how to offset the emissions from your EasyPost parcel deliveries.

The Carbon Offset API allows you to calculate the carbon emissions from parcel delivery and the price to offset those carbon emissions for that shipment. Then, you can purchase the carbon offset from EasyPost when you buy the shipment. You will use a new "carbon_offset" parameter when creating and purchasing the shipment. All other steps for creating and purchasing a shipment are the same. If you don't know how to create a shipment, we recommend completing our Getting Started Guide before starting our Carbon Offset Guide.

Key Use Cases for the Carbon Offset API

Use Case 1: Pass Through the Cost of Offsetting Carbon Emissions to Your Customers

What's great about the Carbon Offset API is that it is free to use, and you only pay when you purchase carbon offsets. In order to pass on the cost of offsetting carbon emissions to your customers, we have two recommendations:

  1. You can choose to display new options for your customers with the total costs of shipping and the cost to offset carbon emissions and then let your customers choose whether they would like to pay more for carbon-neutral delivery. In this case, you would have a list of shipping options with and without carbon-neutral delivery displayed for your customers. This can be done wherever the list of shipping options is displayed to your customers (i.e. on a checkout page or within your platform). When they elect to purchase the more expensive option that offsets carbon emissions from parcel delivery, you purchase the carbon offsets when purchasing the shipment.

  2. You can choose to update all of your shipping options to include the price of offsetting carbon emissions from parcel delivery. In this case, you would only have a list of shipping options with the carbon-neutral delivery price included, and your customers do not necessarily know you are passing on the costs to them.

Use Case 2: You Purchase the Carbon Offsets for Your Shipments

Purchasing carbon offsets for your shipments can be an immense brand boost that can help to not only improve customer loyalty and customer acquisition metrics, but can also improve checkout page conversion metrics as well. In order to purchase the carbon offsets for your shipments, you would simply set up automation to purchase carbon offsets any time you purchase a shipment (as described in Step 2: Purchasing Carbon Offset for a Shipment below). If you choose this option, be sure to effectively market your eco-friendly success on your website, platform, blogs, checkout pages, and wherever else makes sense for you. Be sure to check out the prebuilt assets we've created for you to market this technology.

How to Offset Carbon Emissions of Your EasyPost Parcel Deliveries

Before You Start

  1. Sign up for an EasyPost account or log in to an existing account.
  2. Grab one of our official client libraries.

If you haven't run through our Getting Started Guide, definitely do that before moving on to this one.

Step 1: Calculating Carbon Offset Prices and Carbon Emissions for a Shipment

It's really simple. Our Carbon Offset API works with any carrier and any destination, including international shipments. When you create a shipment, add a carbon_offset parameter to the shipment and set it as true to see the carbon offset rates returned with the carrier rates. Each returned Rate will have its own carbon_offset object that has a price. You can pass on costs of the carbon offsets to your customers or choose to purchase them directly, as detailed in the Key Use Cases section above.

Adding Carbon Offset to a Shipment
<?php

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

$shipment = $client->shipment->create(
    [
        'to_address' => [
            'name' => 'Dr. Steve Brule',
            'street1' => '179 N Harbor Dr',
            'city' => 'Redondo Beach',
            'state' => 'CA',
            'zip' => '90277',
            'country' => 'US',
            'phone' => '3331114444',
            'email' => 'dr_steve_brule@gmail.com'
        ],
        'from_address' => [
            'name' => 'EasyPost',
            'street1' => '417 Montgomery Street',
            'street2' => '5th Floor',
            'city' => 'San Francisco',
            'state' => 'CA',
            'zip' => '94104',
            'country' => 'US',
            'phone' => '3331114444',
            'email' => 'support@easypost.com'
        ],
        'parcel' => [
            'length' => 20.2,
            'width' => 10.9,
            'height' => 5,
            'weight' => 65.9
        ]
    ],
    null,
    true
);

echo $shipment;
Response to Adding Carbon Offset
{
  "created_at": "2023-07-10T17:29:51Z",
  "is_return": false,
  "messages": [],
  "mode": "test",
  "options": {
    "currency": "USD",
    "payment": {
      "type": "SENDER"
    },
    "date_advance": 0
  },
  "reference": null,
  "status": "unknown",
  "tracking_code": null,
  "updated_at": "2023-07-10T17:29:52Z",
  "batch_id": null,
  "batch_status": null,
  "batch_message": null,
  "customs_info": {
    "id": "cstinfo_3ced3c21acbe4d7c97d80563426466f4",
    "object": "CustomsInfo",
    "created_at": "2023-07-10T17:29:51Z",
    "updated_at": "2023-07-10T17:29:51Z",
    "contents_explanation": "",
    "contents_type": "merchandise",
    "customs_certify": true,
    "customs_signer": "Steve Brule",
    "eel_pfc": "NOEEI 30.37(a)",
    "non_delivery_option": "return",
    "restriction_comments": null,
    "restriction_type": "none",
    "mode": "test",
    "declaration": null,
    "customs_items": [
      {
        "id": "cstitem_cd3206de7e60412d8a1c5331d0e6260a",
        "object": "CustomsItem",
        "created_at": "2023-07-10T17:29:51Z",
        "updated_at": "2023-07-10T17:29:51Z",
        "description": "T-shirt",
        "hs_tariff_number": "123456",
        "origin_country": "US",
        "quantity": 1,
        "value": "10.0",
        "weight": 5.0,
        "code": "123",
        "mode": "test",
        "manufacturer": null,
        "currency": null,
        "eccn": null,
        "printed_commodity_identifier": null
      }
    ]
  },
  "from_address": {
    "id": "adr_609f0edb1f4711ee89653cecef1b359e",
    "object": "Address",
    "created_at": "2023-07-10T17:29:51+00:00",
    "updated_at": "2023-07-10T17:29:51+00:00",
    "name": "EasyPost",
    "company": null,
    "street1": "417 Montgomery Street",
    "street2": "5th Floor",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94104",
    "country": "US",
    "phone": "4153334445",
    "email": "support@easypost.com",
    "mode": "test",
    "carrier_facility": null,
    "residential": null,
    "federal_tax_id": null,
    "state_tax_id": null,
    "verifications": {}
  },
  "insurance": null,
  "order_id": null,
  "parcel": {
    "id": "prcl_e0b5c177be934e0ea0988747fd972e66",
    "object": "Parcel",
    "created_at": "2023-07-10T17:29:51Z",
    "updated_at": "2023-07-10T17:29:51Z",
    "length": 20.2,
    "width": 10.9,
    "height": 5.0,
    "predefined_package": null,
    "weight": 65.9,
    "mode": "test"
  },
  "postage_label": null,
  "rates": [
    {
      "id": "rate_ef07644f6cfc4e69b7d03cad108773ff",
      "object": "Rate",
      "created_at": "2023-07-10T17:29:52Z",
      "updated_at": "2023-07-10T17:29:52Z",
      "mode": "test",
      "service": "Priority",
      "carrier": "USPS",
      "rate": "7.47",
      "currency": "USD",
      "retail_rate": "14.05",
      "retail_currency": "USD",
      "list_rate": "10.27",
      "list_currency": "USD",
      "billing_type": "easypost",
      "delivery_days": 2,
      "delivery_date": null,
      "delivery_date_guaranteed": false,
      "est_delivery_days": 2,
      "shipment_id": "shp_afd3b386dff940b88a521ef42bb67ef1",
      "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e",
      "carbon_offset": {
        "object": "CarbonOffset",
        "grams": 154,
        "price": "0.11",
        "currency": "USD"
      }
    },
    {
      "id": "rate_2d1075bb37044e0d85b4c813c620ee65",
      "object": "Rate",
      "created_at": "2023-07-10T17:29:52Z",
      "updated_at": "2023-07-10T17:29:52Z",
      "mode": "test",
      "service": "GroundAdvantage",
      "carrier": "USPS",
      "rate": "8.92",
      "currency": "USD",
      "retail_rate": "8.92",
      "retail_currency": "USD",
      "list_rate": "8.92",
      "list_currency": "USD",
      "billing_type": "easypost",
      "delivery_days": null,
      "delivery_date": null,
      "delivery_date_guaranteed": false,
      "est_delivery_days": null,
      "shipment_id": "shp_afd3b386dff940b88a521ef42bb67ef1",
      "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e",
      "carbon_offset": {
        "object": "CarbonOffset",
        "grams": 154,
        "price": "0.11",
        "currency": "USD"
      }
    },
    {
      "id": "rate_992b27e562594bdd968b1d951073e1b0",
      "object": "Rate",
      "created_at": "2023-07-10T17:29:52Z",
      "updated_at": "2023-07-10T17:29:52Z",
      "mode": "test",
      "service": "First",
      "carrier": "USPS",
      "rate": "8.92",
      "currency": "USD",
      "retail_rate": "8.92",
      "retail_currency": "USD",
      "list_rate": "8.92",
      "list_currency": "USD",
      "billing_type": "easypost",
      "delivery_days": 3,
      "delivery_date": null,
      "delivery_date_guaranteed": false,
      "est_delivery_days": 3,
      "shipment_id": "shp_afd3b386dff940b88a521ef42bb67ef1",
      "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e",
      "carbon_offset": {
        "object": "CarbonOffset",
        "grams": 154,
        "price": "0.11",
        "currency": "USD"
      }
    },
    {
      "id": "rate_1f38a0d7777f4a13a610c6684179ab13",
      "object": "Rate",
      "created_at": "2023-07-10T17:29:52Z",
      "updated_at": "2023-07-10T17:29:52Z",
      "mode": "test",
      "service": "Express",
      "carrier": "USPS",
      "rate": "46.85",
      "currency": "USD",
      "retail_rate": "54.20",
      "retail_currency": "USD",
      "list_rate": "46.85",
      "list_currency": "USD",
      "billing_type": "easypost",
      "delivery_days": null,
      "delivery_date": null,
      "delivery_date_guaranteed": false,
      "est_delivery_days": null,
      "shipment_id": "shp_afd3b386dff940b88a521ef42bb67ef1",
      "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e",
      "carbon_offset": {
        "object": "CarbonOffset",
        "grams": 154,
        "price": "0.11",
        "currency": "USD"
      }
    }
  ],
  "refund_status": null,
  "scan_form": null,
  "selected_rate": null,
  "tracker": null,
  "to_address": {
    "id": "adr_609d2c911f4711ee9971ac1f6bc53342",
    "object": "Address",
    "created_at": "2023-07-10T17:29:51+00:00",
    "updated_at": "2023-07-10T17:29:51+00:00",
    "name": "Dr. Steve Brule",
    "company": null,
    "street1": "179 N Harbor Dr",
    "street2": null,
    "city": "Redondo Beach",
    "state": "CA",
    "zip": "90277",
    "country": "US",
    "phone": "8573875756",
    "email": "dr_steve_brule@gmail.com",
    "mode": "test",
    "carrier_facility": null,
    "residential": null,
    "federal_tax_id": null,
    "state_tax_id": null,
    "verifications": {}
  },
  "usps_zone": 4,
  "return_address": {
    "id": "adr_609f0edb1f4711ee89653cecef1b359e",
    "object": "Address",
    "created_at": "2023-07-10T17:29:51+00:00",
    "updated_at": "2023-07-10T17:29:51+00:00",
    "name": "EasyPost",
    "company": null,
    "street1": "417 Montgomery Street",
    "street2": "5th Floor",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94104",
    "country": "US",
    "phone": "4153334445",
    "email": "support@easypost.com",
    "mode": "test",
    "carrier_facility": null,
    "residential": null,
    "federal_tax_id": null,
    "state_tax_id": null,
    "verifications": {}
  },
  "buyer_address": {
    "id": "adr_609d2c911f4711ee9971ac1f6bc53342",
    "object": "Address",
    "created_at": "2023-07-10T17:29:51+00:00",
    "updated_at": "2023-07-10T17:29:51+00:00",
    "name": "Dr. Steve Brule",
    "company": null,
    "street1": "179 N Harbor Dr",
    "street2": null,
    "city": "Redondo Beach",
    "state": "CA",
    "zip": "90277",
    "country": "US",
    "phone": "8573875756",
    "email": "dr_steve_brule@gmail.com",
    "mode": "test",
    "carrier_facility": null,
    "residential": null,
    "federal_tax_id": null,
    "state_tax_id": null,
    "verifications": {}
  },
  "forms": [],
  "fees": [],
  "id": "shp_afd3b386dff940b88a521ef42bb67ef1",
  "object": "Shipment"
}

Step 2: Purchasing Carbon Offset for a Shipment

Once you're ready to purchase the shipment and you've made a decision to purchase the carbon offset as well, set the carbon_offset parameter to true again when you purchase the shipment.

Purchasing Carbon Offset on a Shipment
<?php

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

$shipment = $client->shipment->retrieve('shp_...');

$boughtShipment = $client->shipment->buy(
    $shipment->id,
    [
        'rate'      => $shipment->lowestRate(),
        'insurance' => 249.99
    ],
    true
);

echo $boughtShipment;
Response to Purchasing Carbon Offset
{
  "created_at": "2023-07-10T17:29:53Z",
  "is_return": false,
  "messages": [],
  "mode": "test",
  "options": {
    "currency": "USD",
    "payment": {
      "type": "SENDER"
    },
    "date_advance": 0
  },
  "reference": null,
  "status": "unknown",
  "tracking_code": "9405500105440232838607",
  "updated_at": "2023-07-10T17:29:55Z",
  "batch_id": null,
  "batch_status": null,
  "batch_message": null,
  "customs_info": {
    "id": "cstinfo_c4daaab774984ac592444a0061c781f0",
    "object": "CustomsInfo",
    "created_at": "2023-07-10T17:29:53Z",
    "updated_at": "2023-07-10T17:29:53Z",
    "contents_explanation": "",
    "contents_type": "merchandise",
    "customs_certify": true,
    "customs_signer": "Steve Brule",
    "eel_pfc": "NOEEI 30.37(a)",
    "non_delivery_option": "return",
    "restriction_comments": null,
    "restriction_type": "none",
    "mode": "test",
    "declaration": null,
    "customs_items": [
      {
        "id": "cstitem_a0822940d1f0421a9b6670d4381753b2",
        "object": "CustomsItem",
        "created_at": "2023-07-10T17:29:53Z",
        "updated_at": "2023-07-10T17:29:53Z",
        "description": "T-shirt",
        "hs_tariff_number": "123456",
        "origin_country": "US",
        "quantity": 1,
        "value": "10.0",
        "weight": 5.0,
        "code": "123",
        "mode": "test",
        "manufacturer": null,
        "currency": null,
        "eccn": null,
        "printed_commodity_identifier": null
      }
    ]
  },
  "from_address": {
    "id": "adr_616ebeab1f4711eea60bac1f6bc539ae",
    "object": "Address",
    "created_at": "2023-07-10T17:29:53+00:00",
    "updated_at": "2023-07-10T17:29:53+00:00",
    "name": "EasyPost",
    "company": null,
    "street1": "417 Montgomery Street",
    "street2": "5th Floor",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94104",
    "country": "US",
    "phone": "4153334445",
    "email": "support@easypost.com",
    "mode": "test",
    "carrier_facility": null,
    "residential": null,
    "federal_tax_id": null,
    "state_tax_id": null,
    "verifications": {}
  },
  "insurance": null,
  "order_id": null,
  "parcel": {
    "id": "prcl_b9d13559b82f47e5ab55f4c3e976a6b8",
    "object": "Parcel",
    "created_at": "2023-07-10T17:29:53Z",
    "updated_at": "2023-07-10T17:29:53Z",
    "length": 20.2,
    "width": 10.9,
    "height": 5.0,
    "predefined_package": null,
    "weight": 65.9,
    "mode": "test"
  },
  "postage_label": {
    "object": "PostageLabel",
    "id": "pl_baa95bd674b54650a1a25a8fab69a3cc",
    "created_at": "2023-07-10T17:29:55Z",
    "updated_at": "2023-07-10T17:29:55Z",
    "date_advance": 0,
    "integrated_form": "none",
    "label_date": "2023-07-10T17:29:55Z",
    "label_resolution": 300,
    "label_size": "4x6",
    "label_type": "default",
    "label_file_type": "image/png",
    "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20230710/e695109f6dc0174d2581fd37634db7f7dc.png",
    "label_pdf_url": null,
    "label_zpl_url": null,
    "label_epl2_url": null,
    "label_file": null
  },
  "rates": [
    {
      "id": "rate_4da9c6d82c09432b9f7572d9c2450dec",
      "object": "Rate",
      "created_at": "2023-07-10T17:29:53Z",
      "updated_at": "2023-07-10T17:29:53Z",
      "mode": "test",
      "service": "Priority",
      "carrier": "USPS",
      "rate": "7.47",
      "currency": "USD",
      "retail_rate": "14.05",
      "retail_currency": "USD",
      "list_rate": "10.27",
      "list_currency": "USD",
      "billing_type": "easypost",
      "delivery_days": 2,
      "delivery_date": null,
      "delivery_date_guaranteed": false,
      "est_delivery_days": 2,
      "shipment_id": "shp_90e86b79219e438f9b7aa0892dd51da9",
      "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e",
      "carbon_offset": {
        "object": "CarbonOffset",
        "grams": 154,
        "price": "0.11",
        "currency": "USD"
      }
    },
    {
      "id": "rate_3c9d05495bc74c5cb8ee688443ef86b9",
      "object": "Rate",
      "created_at": "2023-07-10T17:29:53Z",
      "updated_at": "2023-07-10T17:29:53Z",
      "mode": "test",
      "service": "GroundAdvantage",
      "carrier": "USPS",
      "rate": "8.92",
      "currency": "USD",
      "retail_rate": "8.92",
      "retail_currency": "USD",
      "list_rate": "8.92",
      "list_currency": "USD",
      "billing_type": "easypost",
      "delivery_days": null,
      "delivery_date": null,
      "delivery_date_guaranteed": false,
      "est_delivery_days": null,
      "shipment_id": "shp_90e86b79219e438f9b7aa0892dd51da9",
      "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e",
      "carbon_offset": {
        "object": "CarbonOffset",
        "grams": 154,
        "price": "0.11",
        "currency": "USD"
      }
    },
    {
      "id": "rate_6227e0be87184dd6bfc3be0f59fe569c",
      "object": "Rate",
      "created_at": "2023-07-10T17:29:53Z",
      "updated_at": "2023-07-10T17:29:53Z",
      "mode": "test",
      "service": "First",
      "carrier": "USPS",
      "rate": "8.92",
      "currency": "USD",
      "retail_rate": "8.92",
      "retail_currency": "USD",
      "list_rate": "8.92",
      "list_currency": "USD",
      "billing_type": "easypost",
      "delivery_days": 3,
      "delivery_date": null,
      "delivery_date_guaranteed": false,
      "est_delivery_days": 3,
      "shipment_id": "shp_90e86b79219e438f9b7aa0892dd51da9",
      "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e",
      "carbon_offset": {
        "object": "CarbonOffset",
        "grams": 154,
        "price": "0.11",
        "currency": "USD"
      }
    },
    {
      "id": "rate_52a880007bde460f891fe87ecfc2e781",
      "object": "Rate",
      "created_at": "2023-07-10T17:29:54Z",
      "updated_at": "2023-07-10T17:29:54Z",
      "mode": "test",
      "service": "Express",
      "carrier": "USPS",
      "rate": "46.85",
      "currency": "USD",
      "retail_rate": "54.20",
      "retail_currency": "USD",
      "list_rate": "46.85",
      "list_currency": "USD",
      "billing_type": "easypost",
      "delivery_days": null,
      "delivery_date": null,
      "delivery_date_guaranteed": false,
      "est_delivery_days": null,
      "shipment_id": "shp_90e86b79219e438f9b7aa0892dd51da9",
      "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e",
      "carbon_offset": {
        "object": "CarbonOffset",
        "grams": 154,
        "price": "0.11",
        "currency": "USD"
      }
    }
  ],
  "refund_status": null,
  "scan_form": null,
  "selected_rate": {
    "id": "rate_4da9c6d82c09432b9f7572d9c2450dec",
    "object": "Rate",
    "created_at": "2023-07-10T17:29:55Z",
    "updated_at": "2023-07-10T17:29:55Z",
    "mode": "test",
    "service": "Priority",
    "carrier": "USPS",
    "rate": "7.47",
    "currency": "USD",
    "retail_rate": "14.05",
    "retail_currency": "USD",
    "list_rate": "10.27",
    "list_currency": "USD",
    "billing_type": "easypost",
    "delivery_days": 2,
    "delivery_date": null,
    "delivery_date_guaranteed": false,
    "est_delivery_days": 2,
    "shipment_id": "shp_90e86b79219e438f9b7aa0892dd51da9",
    "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"
  },
  "tracker": {
    "id": "trk_d7c98516f41241a3adfefa7b3b5dbd8e",
    "object": "Tracker",
    "mode": "test",
    "tracking_code": "9405500105440232838607",
    "status": "unknown",
    "status_detail": "unknown",
    "created_at": "2023-07-10T17:29:55Z",
    "updated_at": "2023-07-10T17:29:55Z",
    "signed_by": null,
    "weight": null,
    "est_delivery_date": null,
    "shipment_id": "shp_90e86b79219e438f9b7aa0892dd51da9",
    "carrier": "USPS",
    "tracking_details": [],
    "fees": [],
    "carrier_detail": null,
    "public_url": "https://track.easypost.com/djE6dHJrX2Q3Yzk4NTE2ZjQxMjQxYTNhZGZlZmE3YjNiNWRiZDhl"
  },
  "to_address": {
    "id": "adr_616b0b911f4711ee89b13cecef1b359e",
    "object": "Address",
    "created_at": "2023-07-10T17:29:53+00:00",
    "updated_at": "2023-07-10T17:29:54+00:00",
    "name": "DR. STEVE BRULE",
    "company": null,
    "street1": "179 N HARBOR DR",
    "street2": null,
    "city": "REDONDO BEACH",
    "state": "CA",
    "zip": "90277-2506",
    "country": "US",
    "phone": "8573875756",
    "email": "DR_STEVE_BRULE@GMAIL.COM",
    "mode": "test",
    "carrier_facility": null,
    "residential": false,
    "federal_tax_id": null,
    "state_tax_id": null,
    "verifications": {
      "zip4": {
        "success": true,
        "errors": [],
        "details": null
      },
      "delivery": {
        "success": true,
        "errors": [],
        "details": {
          "latitude": 33.8436,
          "longitude": -118.39177,
          "time_zone": "America/Los_Angeles"
        }
      }
    }
  },
  "usps_zone": 4,
  "return_address": {
    "id": "adr_616ebeab1f4711eea60bac1f6bc539ae",
    "object": "Address",
    "created_at": "2023-07-10T17:29:53+00:00",
    "updated_at": "2023-07-10T17:29:53+00:00",
    "name": "EasyPost",
    "company": null,
    "street1": "417 Montgomery Street",
    "street2": "5th Floor",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94104",
    "country": "US",
    "phone": "4153334445",
    "email": "support@easypost.com",
    "mode": "test",
    "carrier_facility": null,
    "residential": null,
    "federal_tax_id": null,
    "state_tax_id": null,
    "verifications": {}
  },
  "buyer_address": {
    "id": "adr_616b0b911f4711ee89b13cecef1b359e",
    "object": "Address",
    "created_at": "2023-07-10T17:29:53+00:00",
    "updated_at": "2023-07-10T17:29:54+00:00",
    "name": "DR. STEVE BRULE",
    "company": null,
    "street1": "179 N HARBOR DR",
    "street2": null,
    "city": "REDONDO BEACH",
    "state": "CA",
    "zip": "90277-2506",
    "country": "US",
    "phone": "8573875756",
    "email": "DR_STEVE_BRULE@GMAIL.COM",
    "mode": "test",
    "carrier_facility": null,
    "residential": false,
    "federal_tax_id": null,
    "state_tax_id": null,
    "verifications": {
      "zip4": {
        "success": true,
        "errors": [],
        "details": null
      },
      "delivery": {
        "success": true,
        "errors": [],
        "details": {
          "latitude": 33.8436,
          "longitude": -118.39177,
          "time_zone": "America/Los_Angeles"
        }
      }
    }
  },
  "forms": [],
  "fees": [
    {
      "object": "Fee",
      "type": "LabelFee",
      "amount": "0.00000",
      "charged": true,
      "refunded": false
    },
    {
      "object": "Fee",
      "type": "PostageFee",
      "amount": "7.47000",
      "charged": true,
      "refunded": false
    },
    {
      "object": "Fee",
      "type": "CarbonOffsetFee",
      "amount": "0.11000",
      "charged": true,
      "refunded": false
    }
  ],
  "id": "shp_90e86b79219e438f9b7aa0892dd51da9",
  "object": "Shipment"
}

Congratulations! You've just purchased a carbon offset with EasyPost! Check out our Full Reference API Documentation for more details.