Access and gates
set_paid_modal_design
Replace the payment MODAL design for a selected_pages offer (FULL REPLACE, not a merge). Takes PaymentModalDesignV1, or {} for Sentway's default. Not GateDesignV1: the modal has no layout family and no form styling. Refused for site-wide offers — use set_paid_access_design. Editor role.
Behaviour
- Effect
- Destructive. It can remove or overwrite existing data.
- Repeat calls
- Idempotent. Repeating the same call produces the same result.
- Plan
- Pro plan required (Paid Access).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| request_id | string | Yes | Unique mutation ID. Reuse only to replay identical arguments. |
| site_id | uuid | Yes | Site UUID from list_sites. |
| offer_id | uuid | Yes | Offer UUID from get_paid_access. |
| design | object | Yes | FULL REPLACEMENT of the payment modal design: PaymentModalDesignV1, not GateDesignV1 (no layout family, no split controls, no form styling). {} clears to Sentway's default. |
Returns
| Name | Type |
|---|---|
| site_id | string |
| offer_id | string |
| idempotency_replay | false |
Using it
set_paid_modal_design is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 56 Sentway tools. See connecting over MCP.