Insert payment question
editor_insertPaymentQuestionInsert a payment question. Use when the form must collect a payment at submit time (tickets, fees, orders). Charging requires a Stripe connection on the workspace — the element inserts without one but cannot process payments until connected. amount is a number, e.g. {amount:25, currency:"usd"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | NodeId to insert after. Use $prev to chain. Omitting appends to end (usually wrong). | |
| title | Yes | Question title | |
| amount | No | Payment amount in the major unit (e.g. 19.99 USD) | |
| formId | Yes | Form ID to insert into | |
| currency | No | Currency code, 3-letter ISO-4217 (e.g. USD, EUR, JPY). Lowercase accepted; stored uppercase. | |
| isHidden | No | Start hidden (the target of a `show` rule). | |
| parentId | No | Parent node ID to insert into (e.g., column1) | |
| position | No | Position among siblings: inside parentId when given, else at the top level ('first' = top of the form, e.g. a title). Not combinable with after. | |
| required | No | Whether question is required. Default: true. Pass false to make the field optional. |