Allow a site to frame my checkout
swop_register_embed_originAllow ONE website to display the linked account's Swop checkout inside a frame. This is a security setting: only registered origins can ever frame the checkout, so a leaked API key still cannot put it on someone else's site. Give a bare origin — scheme and host only, https (http allowed for localhost), no wildcards, no path. Confirm the exact origin with the user first.
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": {
"origin": "<origin>"
},
"name": "swop_register_embed_origin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | A note to recognise it later | |
| origin | Yes | Bare origin, e.g. https://acme.com |