Save server setup answers
setup_serverSaves checkout and landing answers (payment provider, landing type and route, checkout domains) for the connected project and returns the reviewed server SDK success-callback contract. Does not install an integration or prove provider support; approval and activation are separate. Requires a connected site.
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": {
"payment_provider": "<payment_provider>",
"landing_type": "<landing_type>",
"backend": "<backend>"
},
"name": "setup_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backend | Yes | where server code runs, as shown by the code (api, server or functions directories, or a separate service) | |
| landing_type | Yes | where the person ends up after paying: a thank-you page, back in the app, nowhere (overlay checkout), or the provider's own screen | |
| landing_route | No | e.g. /checkout/success or /dashboard; applies only to thank_you_page and app_route | |
| landing_marker | No | what marks a purchase in the landing URL, e.g. ?checkout=success; often empty | |
| checkout_domains | No | hostnames checkout lives on, if not the site itself ([] clears what's stored) | |
| payment_provider | Yes | who processes payments, as shown in code (package.json, env vars, webhook routes) |