Actions59
- Document Actions
- Client Actions
- Supplier Actions
- Item (Catalog) Actions
- Expense Actions
- Payment Actions
- Transaction (עסקה) Actions
- Recurring Payment (הוראת קבע) Actions
- Retainer (ריטיינר) Actions
- Accounting Actions
- Business Actions
Payment → Create Payment Form
AI-generatedSummary
Create a hosted payment form that charges a customer using the selected payment method and, after successful payment, automatically issues the chosen document type. Configure the amount directly or calculate it from income lines and VAT, then use the returned form details to direct the customer to checkout.
Inputs
- Document Type to Auto-Issue (required) — Required document type issued after successful payment: tax invoice + receipt (320), receipt (400), or donation receipt (405).
- Description (required) — Required internal description, such as an order number.
- Amount and VAT (required) — Amount is the total the customer pays. When Auto-Compute Amount is off, provide this amount; when it is on, the node computes the amount from Income Lines using VAT Type and VAT Rate, overriding Amount. VAT Rate is shown for auto-computation and defaults to 0.18.
- Currency — ISO 4217 currency code for the charge; defaults to ILS.
- Language — Language for the hosted checkout page and issued document: Hebrew (default) or English.
- VAT Type — Specifies whether income line prices are before VAT (0), include VAT (1, default), or are VAT-exempt (2).
- Plugin ID (required) — Payment processor UUID. The UI description points to Document → Get Info (type 320) → paymentPlugins[0].id for discovery.
- Payment Method Group (required) — Payment method offered on checkout: credit card (100, default), Bit (120), Apple Pay (150), or Google Pay (160).
- Max Payments — Number of payments; defaults to 1 for a single charge, and values above 1 specify installments.
- Client (JSON) — Client object as JSON. The UI describes passing {"id":"
"} for an existing client or name and emails to create one. - Income Lines (JSON Array) — Array of line items with description, quantity, price, currency, and vatType. Used as the basis for automatic amount computation when enabled.
- Success URL — Optional URL for redirecting the customer after successful payment.
- Failure URL — Optional URL for redirecting the customer after failed or cancelled payment.
- Notify URL (server-to-server) — Optional webhook URL Morning will POST the issued document to using form-urlencoded data; the UI suggests using the Morning Trigger node to receive it.
- Custom Correlation Key — Optional order key returned in the webhook as external_data, for matching the payment to your order.
- Request Options — Optional HTTP request settings, including batching, SSL certificate validation behavior, proxy, and timeout.
Output shape
A response from the Morning payment form API, typically containing hosted checkout details.
The provided source pack contains only signatures for the operation implementation, so the exact response fields and shape cannot be confirmed.