Skip to main content
POST
Estimate a shipment

Authorizations

Authorization
string
header
required

Your API key, sent as a bearer token. Keep it on your server. See Authentication. A request from a location we refuse gets a 403 with Access denied, whether or not it has a valid key: where you can call from.

Body

application/json
card_ids
string<uuid>[]
required

Card ids from Get vault, cards you hold in the vault. A listed card has to be delisted first.

Required array length: 1 - 10 elements
address
object
required

Your customer's address. Stored only with a shipment, never in logs or on your account.

cover_amount
number

Optional insurance: the dollars of cover, with at most two decimals, from $100 up to max_cover from the estimate. Leave it out and the only cover is what the carrier includes automatically: up to $100 on USPS and UPS labels. Other carriers may include less or none. You carry any loss above your cover.

Required range: 100 <= x <= 10000

Response

The rates.

destination_country
string
required
package_type
string
required

e.g. mailer.

order_value
number
required

Our valuation of the cards

max_cover
number | null
required

The most you can insure: order_value, capped at $10,000. null when the order is worth $100 or less, which can't be insured.

rates
object[]
required
cover_amount
number

The amount you sent. Present only when you sent cover_amount.