create

This block is part of the mollie group and was last modified in core v10.4.28.

create v10.4.28

Creates a mollie order.

In pins 13 + flow
  • flow
    flow
  • connection required
    mollieconnection
  • amount required
    number

    amount in cents (e.g. 100.00EUR is 10000)

  • currency required
    value

    EUR

  • number required
    value

    e.g. 16785

  • locale required
    value

    Allows you to preset the language to be used in the hosted payment pages shown to the consumer. e.g. nl_NL

  • billing address required
    addressmollieconnection

    The billing address this order is part of.

  • shipping address
    addressmollieconnection

    If no shipping address is given, the billing address will be the shipping address.

  • lines required
    linesmollieconnection

    The lines that makes this order, make sure sum of total_amount is equal to the given amount.

  • redirect url required
    value

    The URL your customer will be redirected to after the payment process.

  • webhook url
    value

    Set the webhook URL, where we will send order status changes to.

  • method
    array<value>

    Normally, a payment method screen is shown. However, when using this parameter, you can choose a specific payment method and your customer will skip the selection screen and is sent directly to the chosen payment method.

  • payment
    object

    Any payment specific properties (for example, the dueDate for bank transfer payments) can be passed here.

  • meta data
    object

    Meta data for this payment (e.g. guid of order)

Out pins 8 + flow
  • flow
    flow
  • connection
    mollieconnection
  • success
    condition
  • order
    object
  • metadata
    object
  • id
    value
  • status
    value
  • checkout
    value
  • error
    value

A typical wiring for create: a function trigger starts the flow; number feeds the amount pin; value feeds the currency pin; value feeds the number pin; value feeds the locale pin; template feeds the billing_address pin; template feeds the lines pin; value feeds the redirect_url pin; the flow out pin feeds debug.

Studio canvas example for the create block: typical wiring for create.

Version history

Introduced in v10.4.28.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
Back to mollie Return to the main group to view all sub-groups Back to orders Return to the group to view all blocks within this group