Payment

Add and configure the Payment component in a Docmino document.

When to use

Use Payment when access, registration, or completion requires a payment.

Props

Name⇅
Type⇅
Description⇅
id
string
A stable identifier used to reference the component.
label
string
The reader-facing label for the component.
price
string
The configured price or product tier used for payment.
currency
string
The ISO currency code used for the payment.
purchaseType
string
Configures this component's purchaseType value.
required
boolean
Requires a response before the document can be submitted.
visibleWhen
expression
A condition that controls when the component is visible.
requiredWhen
expression
A condition that makes the component required when it matches.
disabledWhen
expression
A condition that disables the component when it matches.
triggers
expression
Actions that run after the component interaction completes.

Example

Payment

Course access$4.99
<Payment label="Course access" price="tier_5" currency="USD" />