Fee

Fee objects are used to represent the breakdown of postage related charges made when purchasing an item on EasyPost.

Shipments with postage collected by EasyPost (as opposed to shipments with postage collected directly by the carrier) will have a "PostageFee" according to the postage amount.

Insurance on a shipment will add an "InsuranceFee" with the insurance premium (not the covered value) for the amount.


Fee object

object
string
"Fee"
type
string

The name of the category of fee. Possible values:

  • "PostageFee"
  • "InsuranceFee"
amount
string
USD value with sub-cent precision
charged
boolean
Whether EasyPost has successfully charged your account for the fee
refunded
boolean
Whether the fee has been refunded successfully
Fee Object
{
  "object": "Fee",
  "type": "LabelFee",
  "amount": "0.00000",
  "charged": true,
  "refunded": false
}