Submit job (spends money)
click2mail_submit_jobWRITE, SPENDS MONEY, NOT REVERSIBLE: submit a draft job for printing and USPS mailing. This charges postage and printing to the account (User Credit = prepaid balance, or Invoice) and the physical mail is sent to every recipient. Before calling: read click2mail_get_job_cost and click2mail_get_credit, and get the user's explicit go-ahead for this job and amount. confirm must be true. Cancellation is only possible for Invoice jobs, before processing starts. POST /molpro/jobs/{id}/submit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Click2Mail job id (a draft). | |
| confirm | Yes | Must be true: the user approved submitting this job and its cost. | |
| billing_type | Yes | "User Credit" charges the prepaid balance; "Invoice" bills the account. Card payments are not supported here. |