Skip to content

Create order

Creates the order in Qliro. Send it when you are ready to load Qliro Checkout.

POSThttps://payments.qliro.com/checkout/merchantapi/Orders

Body

application/json
  • MerchantApiKeystringrequired

    Will be provided by Qliro Checkout when setting up merchant account

    Length:0 <= x <= 50

  • MerchantReferencestringrequired

    A string generated by the merchant to identify the order uniquely in their system. Maximum length is 25 characters.

    Length:x >= 1Pattern:^[A-Za-z0-9_|\-]{1,25}$

  • Currencystringrequired

    Three uppercase characters, in accordance with ISO 4217.

    Length:x >= 1

  • Countrystringrequired

    Two upper case characters. In accordance with ISO 3166-1.

    Length:x >= 1

  • Languagestringrequired

    Locale indicative for language & other location-specific details.

    Length:x >= 1

  • MerchantTermsUrlstring, urirequired

    A URL where the customer can find the merchant's terms and conditions.

    Length:x >= 1

  • MerchantIntegrityPolicyUrlstring, uri | null

    A URL where the customer can find the merchant's integrity policy.

  • MerchantConfirmationUrlstring, urirequired

    A URL to where Qliro will redirect the the customer once the payment is completed.

    Length:x >= 1

  • MerchantOrderValidationUrlstring | null

    If specified, Qliro will use this URL to try to validate the order before completing the purchase. Info about authentication for this request can be found below. Should use https.

  • MerchantOrderAvailableShippingMethodsUrlstring | null

    Used if Qliro Checkout should handle the shipping interaction with the customer. This URL will be used to fetch new Shipping Methods when customer information updates. See the Update Shipping Methods section under Notifications. Info about authentication for this request can be found below. Should use https.

  • MerchantOrderManagementStatusPushUrlstring | null

    Qliro will use this URL to send notifications on payment status changes during the order management process, for example when the payment created by MarkItemsAsShipped call becomes successful. This must either be provided in the request or configured for you by Qliro. Info about authentication for this request can be found below. Should use https.

  • MerchantNotificationUrlstring | null

    Qliro will use this URL to send notifications for general status updates. For example if you are using integrated shipping providers (e.g. nShift or Ingrid) or integrated loyalty providers (e.g Voyado) this url will be called when we complete or if we get an error from the provider api:s.

  • MerchantCheckoutStatusPushUrlstring | null

    Qliro will use this URL to send customer checkout status updates. For example when the checkout status switches from OnHold to Completed. This must either be provided in the request or configured for you by Qliro. Info about authentication for this request can be found below. Should use https.

  • MerchantSavedCreditCardPushUrlstring | null

    Qliro will use this URL to send notifications on saved merchant credit card.

  • MerchantOrderAvailableShippingAddressesUrlstring | null

    Used if merchant is willing to provide a list of predefined shipping addresses for customer to choose from. This URL will be used to fetch Available Shipping Addresses when customer information updates. See the Update Shipping Addresses section under Notifications. Info about authentication for this request can be found below. Should use https.

  • PrimaryColorstring | null

    Hex color code to use as primary color in Qliro Checkout.

  • CallToActionColorstring | null

    Hex color code to use as call to action color in Qliro Checkout.

  • CallToActionHoverColorstring | null

    Hex color code to use as call to action hover color in Qliro Checkout. If not provided, the hover color will be a blend between the call to action color and the background color.

  • BackgroundColorstring | null

    Hex color code to use as background color in Qliro Checkout. Only colors with saturation <= 10% are supported. If a color with saturation > 10% is provided, the saturation will be lowered to 10%.

  • CornerRadiusinteger, int32 | null

    A pixel value to be used on corners throughout Qliro Checkout.

    Range:0 <= x <= 1000

  • ButtonCornerRadiusinteger, int32 | null

    A pixel value to be used on corners of buttons throughout Qliro Checkout.

    Range:0 <= x <= 1000

  • OrderItemsobject[]required

    List of items customer added to the cart.

  • CustomerInformationobject | null

    Customer information used to try to identify the customer without user interaction.

  • AvailableShippingMethodsobject[] | null

    Used if Qliro Checkout should handle the shipping interaction with the customer.

  • EnforcedJuridicalTypestring | null

    If specified, only the selected juridical type will be allowed in Qliro Checkout. 'Physical' or 'Company'.

  • MinimumCustomerAgeinteger, int32 | null

    If specified, the customer will have to be at least this old to complete a purchase with Qliro Checkout. This will prevent the customer from authenticating as a company.

    Range:0 <= x <= 2147483647

  • AskForNewsletterSignupboolean | null

    If true, Qliro Checkout will ask the customer if they want to sign up for a newsletter. This will be communicated back in the Get Order response, if the customer completed the purchase.

  • AskForNewsletterSignupCheckedboolean | null

    If true, Qliro Checkout will set signup newsletter as checked. This will be communicated back in the Get Order response, if the customer completed the purchase.

  • AskForNewsletterSignupTextstring | null

    This text will replace the default AskForNewsletterSignup text shown in the checkout. Can contain any letter, digits, space character, comma, ., ?, !, ', " and be at most 50 characters long. It is not allowed to start or end the text with a space character.

  • MerchantProvidedQuestionobject | null

    If used a question will be shown. If any requirements are not met the merchant provided question will be ignored.

  • RequireIdentityVerificationboolean | null

    Defaults to false. If true and the order country is Sweden, the customer will be asked to verify their identity with BankID when completing the purchase.

  • ShippingAdditionalHeaderstring | null

    If submitted, Qliro Checkout will show this text as a sub header below the shipping header. At most 100 characters.

    Length:x <= 300

  • ApplicableFeesobject | null
  • MerchantConstraintNamestring | null

    Enables dynamic filtering of payment channels available in specific orders.

    Length:0 <= x <= 100

  • ShippingConfigurationobject | null

    If you want to show shipping options in Qliro Checkout use this section or provide your own shipping by sending us your own shipping methods url in MerchantOrderAvailableShippingMethodsUrl property

  • LoyaltyConfigurationobject | null

    This property is used for the loyalty module.

  • MerchantProvidedMetadataobject[] | null

    Merchant can send promotion and other information which can be retrieved later using GetOrder call if required. Maximum 30 elements allowed in list.

  • PickupPersonDetailsobject | null

    This property is only relevant to certain merchants. If you are not a merchant who support 3rd party pickup at stores you can ignore this field.

  • PaymentIdstring | null

    This property is used for launching Qliro Checkout with a selected payment method/group. These payment ids can be accessed by POST PaymentOptions request.

  • MerchantCancelUrlstring | null

    This property is used for creating an Cancel Payment link when opening Qliro Checkout as a Payment Link.

Responses

    • OrderIdinteger, int64