Prepare the exact payable total
hip_prepare_paymentStep 1 of paying on your own, with no person at a checkout page: call it after hip_quote and before hip_complete_payment. Resolve 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_handle": "<job_handle>"
},
"name": "hip_prepare_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_handle | Yes | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. | |
| 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, no longer needed: accepted for compatibility and ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||