Send letter (charges credit)
send_letterUse this when the user has explicitly confirmed a specific draft letter (recipient, content and total price) and wants it printed and posted. Pays the letter from the user's prepaid credit and releases it to print; it can be cancelled with cancel_letter only until production starts. Only call this after that confirmation and after the user agreed to the Terms (https://printandmailcompany.com/en/legal/terms) and to printing starting immediately (which ends the consumer right of withdrawal once printed). If credit is too low, the result contains a payment link for the user; the assistant cannot pay. Posts paper letters only: no email, fax or parcels. Needs the user's account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true: the user explicitly confirmed sending this letter | |
| letter_id | Yes | ||
| user_accepted_terms | Yes | Must be true: the user agreed to the Terms and to the immediate start of printing |