postgrid_estimate_cost
Estimate mailing costs for letters and checks before sending. Input type, page count, color, quantity, and mailing class to calculate postage using PostGrid's rate table.
Instructions
Estimate the cost of sending a letter or check without making an API call. Uses PostGrid's published rate table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type: 'letter' or 'cheque' | |
| color | No | Color printing (default: false, letters only) | |
| quantity | No | Number of items to send (default: 1) | |
| pageCount | No | Number of pages (default: 1, letters only) | |
| mailingClass | No | Mailing class: 'first_class', 'standard_class', 'certified', 'certified_return_receipt' (letters only) |