Create merchant payment
Creates a recurring order and starts the purchase on behalf of the customer.
The response only confirms that Qliro received the request. Qliro sends the result in a notification with the OrderId and PaymentTransactionId.
Body
application/jsonRequestIdstring, guidA GUID formatted string used to avoid the same request being executed multiple times. The GUID will be stored for 7 days, and during that time, any requests sent with the same GUID will be denied. https://guidgenerator.com/online-guid-generator.aspx
MerchantApiKeystringrequiredWill be provided by Qliro Checkout when setting up merchant account
Length:0 <= x <= 50
MerchantReferencestringrequiredA 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}$
CurrencystringrequiredThree uppercase characters, in accordance with ISO 4217.
Length:x >= 1
CountrystringrequiredTwo upper case characters. In accordance with ISO 3166-1.
Length:x >= 1
LanguagestringrequiredLocale indicative for language & other location-specific details.
Length:x >= 1
MerchantOrderManagementStatusPushUrlstring | nullQliro will use this URL to send notifications on payment status changes during the order management process
OrderItemsobject[]requiredArray of items in order.
MerchantReferencestringrequiredA string generated by the merchant to identify the order item. The combination of MerchantReference and PricePerItemIncVat is used to uniquely identify the order item. Maximum length is 200 characters.
Length:x >= 1Pattern:^[\p{L}\s(.)'\-_&,\/–+0-9:|]{1,200}$
Descriptionstring | nullA name or description of the order item.
Length:x <= 4000
Typestring | nullCan be 'Product', 'Discount', 'Fee' or 'Shipping'
Quantityinteger, int32The number of these items in the cart.
Range:1 <= x <= 2147483647
PricePerItemIncVatnumber, decimalThe price per item including Value Added Tax. This can be specified with 0, 1 or 2 decimals, e.g. 99, 99.9 or 99.99.
PricePerItemExVatnumber, decimalThe price per item excluding Value Added Tax. This can be specified with 0, 1 or 2 decimals, e.g. 99, 99.9 or 99.99.
VatRatenumber, decimalThe VAT rate for the item. Always specified with 2 decimals, e.g. 25.00 = 2500.
Customerobject | nullCustomer information. Not required for CreditCard payment, required otherwise.
PersonalNumberstring | nullA national identification number to identify the customer. Not required if Physical without personal number, required otherwise.
Length:0 <= x <= 50
VatNumberstring | nullValue added tax number for 'Company' customers.
Length:0 <= x <= 50
Emailstring | nullThe customer's email address
Length:0 <= x <= 255
JuridicalTypestring | null'Physical' or 'Company'. If 'Company', the PersonalNumber parameter will be interpreted as an organization number.
MobileNumberstring | nullThe customer's mobile number.
Length:0 <= x <= 50
BillingAddressobjectrequiredCustomer billing address.
FirstNamestringrequiredThe first name of a physical customer's address.
Length:0 <= x <= 100
LastNamestringrequiredThe Last name of a physical customer's address.
Length:0 <= x <= 100
CompanyNamestring | nullAddress holders company name, only applicable for Company Customers.
Length:0 <= x <= 100
StreetstringrequiredThe street name and number of the address.
Length:0 <= x <= 100
Street2string | nullThe secondary address line for apartment, suite, department, unit, building, floor etc. Used for company customers and for physical customers in the following countries: Australia, Bosnia and Herzegovina, Canada, Croatia, Cyprus, Czech Rebublic, Estonia, France, Greece, Hungary, Iceland, Ireland, Italy, Lithuania, Luxembourg, Macedonia, Malta, Montenegro, Poland, Portugal, Romania, Serbia, Slovakia, Slovenia, Spain, UK, US, Åland.
Length:0 <= x <= 40
PostalCodestringrequiredThe postal code of the address.
Length:0 <= x <= 15
CitystringrequiredThe city of the address.
Length:0 <= x <= 100
CareOfstring | nullUsed if the addressee doesn't have a standard address.
Length:0 <= x <= 100
Areastring | nullThe State/Province/Region of the address. Used in the following countries: Australia, Bosnia and Herzegovina, Canada, Cyprus, Ireland, Italy, Lithuania,Luxembourg, Macedonia, Malta, Montenegro, Romania, US, Åland.
Length:0 <= x <= 100
AreaCodestring | nullGeographical area code in ISO3166-2 format.
Length:0 <= x <= 10
ShippingAddressobject | nullCustomer shipping address. If shipping address not provided billing address will be used as shipping address.
FirstNamestringrequiredThe first name of a physical customer's address.
Length:0 <= x <= 100
LastNamestringrequiredThe Last name of a physical customer's address.
Length:0 <= x <= 100
CompanyNamestring | nullAddress holders company name, only applicable for Company Customers.
Length:0 <= x <= 100
StreetstringrequiredThe street name and number of the address.
Length:0 <= x <= 100
Street2string | nullThe secondary address line for apartment, suite, department, unit, building, floor etc. Used for company customers and for physical customers in the following countries: Australia, Bosnia and Herzegovina, Canada, Croatia, Cyprus, Czech Rebublic, Estonia, France, Greece, Hungary, Iceland, Ireland, Italy, Lithuania, Luxembourg, Macedonia, Malta, Montenegro, Poland, Portugal, Romania, Serbia, Slovakia, Slovenia, Spain, UK, US, Åland.
Length:0 <= x <= 40
PostalCodestringrequiredThe postal code of the address.
Length:0 <= x <= 15
CitystringrequiredThe city of the address.
Length:0 <= x <= 100
CareOfstring | nullUsed if the addressee doesn't have a standard address.
Length:0 <= x <= 100
Areastring | nullThe State/Province/Region of the address. Used in the following countries: Australia, Bosnia and Herzegovina, Canada, Cyprus, Ireland, Italy, Lithuania,Luxembourg, Macedonia, Malta, Montenegro, Romania, US, Åland.
Length:0 <= x <= 100
AreaCodestring | nullGeographical area code in ISO3166-2 format.
Length:0 <= x <= 10
PaymentMethodobjectrequiredPayment method for the specific purchase.
NamestringrequiredCan be ‘CREDITCARDS’ , ‘QLIRO_INVOICE’.
Length:x >= 1
Subtypestring | nullCan be 'INVOICE'. Required only if QLIRO_INVOICE.
SelectedLetterInvoiceOptionboolean | nullIf QLIRO_INVOICE Select True if customers require a letter invoice instead of e-mail. Additional fee may apply to the order. Letter Invoice item with type Fee will be added to the order with price dependent of merchant configuration.
MerchantSavedCreditCardIdstring, guid | nullRequired if CREDITCARDS Will be used to identify customer.
Responses
OrderIdinteger, int64PaymentTransactionsobject[] | nullPaymentTransactionIdinteger, int64StatusInfrastructureConstantsPaymentTransactionStatusValues:0123456
ErrorCodestring | nullUnique error code
ErrorMessagestring | nullDetailed error message
ErrorReferencestring, guidA tracking ID from Qliro Checkout
ErrorCodestring | nullUnique error code
ErrorMessagestring | nullDetailed error message
ErrorReferencestring, guidA tracking ID from Qliro Checkout