Prepare the exact payable total
hip_prepare_paymentResolve the EXACT amount HIP will charge, before any payment authorization is obtained or spent. This does NOT charge anything. Returns subtotal_cents, tax_cents, total_cents, currency, a pricing fingerprint and the authorization types HIP accepts. Tax is calculated by Stripe from the destination, so hip_quote alone is not the payable amount. The returned total is bound to this job's documents, options and recipient: change any of them and payment is refused with QUOTE_STALE until you prepare again. Use this when paying autonomously with a delegated payment authorization; a human paying in a browser does not need it. Commits the job to the autonomous payment rail. The recipient's address is checked with USPS first: ADDRESS_UNVERIFIED (with a hint) means correct it with hip_update_job, or set address_confirmed if the person confirms it is right as it is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_handle | Yes | ||
| buyer_email | No | optional: the buyer's email address. Have It Printed sends its order confirmation there once the payment succeeds. | |
| address_confirmed | No | optional: true only after ADDRESS_UNVERIFIED, when the person confirms the recipient's address is right as it is (Have It Printed checks it again after payment and holds it for a person before anything prints). |