mhlb_init_checkout
Initiate checkout to preview order summary, totals, taxes, applied credits, and payment methods without charging. Confirm to proceed.
Instructions
Start checkout for the cart: returns the order summary, totals, taxes, applied credits and the available payment methods. This does NOT charge anything — it is the read step before mhlb_checkout. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). NOTE: this write is UNVERIFIED — its request shape was derived from the web app’s compiled API client but has not been exercised against a live account. Inspect the confirmation preview before approving it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderIds | Yes | Ids of the orders to pay for, from mhlb_get_cart. | |
| couponCode | No | Coupon code to apply to this checkout. | |
| checkoutType | No | Payment method type, as mhlb_init_checkout reports it. Omit to let the server default. | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. | |
| giftCardCode | No | Gift card code to apply to this checkout. | |
| schoolDonations | No | School donation selections, as returned by mhlb_init_checkout. |