Create a checkout link for custom prints
create_checkoutCreates a Stripe Checkout link for one or more custom prints quoted with quote_custom_print, for the person to open and pay in a browser. Nothing is charged by this tool and no order exists until the person pays. Each print is priced again on the server (send checkout_item as quote_custom_print returned it; prices are never taken from the request). Needs the destination ZIP (or country and postal code), since shipping is priced to it. Returns order_link, a drmaker3d.com page that shows the order and opens a fresh payment page, good for 7 days: give the person that. checkout_url is the Stripe page itself, good for two hours. Catalog products, figures, keychains, lithophanes, cake toppers and cookie cutters are bought on their own pages: give the person that page from search_products or print_price_examples.
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": {
"prints": "<prints>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | U.S. ZIP code it ships to. | |
| agent | No | Optional: the name of your agent or service. | |
| No | The person's own email, supplied with permission. Required when the instant-price email gate is enabled; never invent an address. | ||
| prints | Yes | Each print's checkout_item from quote_custom_print. | |
| country | No | Two-letter country code, default US. | |
| postal_code | No | Postal code outside the U.S. |