Validate Nexez checkout
nexez_validate_checkoutDry-run checkout for an exact published offer. Returns validation JSON text with offer readiness or errors and missing requirements. Inspect the offer with nexez_get_page first. Never charges or creates an order; a successful check is not a completed purchase.
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": {
"slug": "<slug>",
"offer": "<offer>"
},
"name": "nexez_validate_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Exact published listing slug returned by discovery, not a full URL. | |
| offer | Yes | Exact offer key from the listing manifest, for example services-0 or products-1. Do not invent an index. | |
| query | No | Optional buyer context | |
| variant | No | Exact variant id from product.variants in nexez_get_page. Required when the product lists variants; do not invent one. | |
| quantity | No | Units to buy for a product offer; defaults to 1. Stay within product.max_per_order and product.stock_count from nexez_get_page. | |
| buyerEmail | No | Optional buyer-provided email for checkout context. Omit when unnecessary; never invent personal details. | |
| buyerReference | No | Optional buyer-provided reference for checkout context; omit if none was supplied. | |
| shippingAddress | No | Required for shipped products: the buyer-provided US address, shared with Nexez only with buyer permission for this validation. Shipping uses product.shipping rates. Never invent an address. | |
| deliveryPostalCode | No | Buyer-provided delivery ZIP for a local delivery product whose product.local_delivery.zips is listed. Omit otherwise. | |
| offerConfiguration | No | Buyer-selected configuration values keyed exactly as defined by the target offer configuration schema from nexez_get_page. Supply required fields for that offer; do not invent values or use a generic schema. |