create_checkout
Generate a hosted checkout or payment link for a live vendor, returning a payable short link to accept payments, sell products or subscriptions, or send a pay link.
Instructions
Create a hosted checkout / payment link to charge a customer for a live vendor, and return a payable shortLink. The vendor must already be live (go_live). Use after go_live to accept a payment, sell a product or subscription, or send someone a pay link.
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": {
"env": "<env>",
"vendorId": "<vendorId>",
"amount": "<amount>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | Environment the vendor lives in | |
| amount | Yes | Amount in major units, e.g. 50 = £50.00 | |
| currency | No | Default GBP | |
| vendorId | Yes | ||
| reference | No | Your order/invoice reference | |
| access_token | No | The vendor's paas.build access token for this env (returned by go_live). Send it: it will soon be required. |