Save credit card
This request returns an HTML snippet, the same way Create order does. When the customer registers the new credit card and the payment succeeds, Qliro redirects the customer to your MerchantConfirmationUrl.
Registering the card token can take some time, depending on the card provider. When it is done, Qliro sends the saved card details in a push notification to your MerchantSavedCreditCardPushUrl.
Body
application/jsonMerchantApiKeystringrequiredWill 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
MerchantSavedCreditCardPushUrlstringrequiredQliro will use this URL to send notifications on saved merchant credit card.
Length:x >= 1
MerchantConfirmationUrlstring, uri | nullA URL to where Qliro will redirect the the customer once the payment is completed.
CustomerobjectrequiredCustomer information used to try to identify the customer without user interaction.
PersonalNumberstring | nullA national identification number to identify the customer.
Length:0 <= x <= 50
VatNumberstring | nullValue added tax number for Company use.
Length:0 <= x <= 50
EmailstringrequiredThe customer's email address
Length:0 <= x <= 255
JuridicalTypestringrequired'Physical' or 'Company'. If 'Company', the PersonalNumber parameter will be interpreted as an organization number.
Length:x >= 1
MobileNumberstringrequiredThe customer's mobile number
Length:0 <= x <= 50
PostalCodestring | nullThe customer’s postal code
Length:0 <= x <= 15
Responses
OrderIdinteger, int64OrderForRegistrationTokenHtmlSnippetstring | null
ErrorCodestring | nullUnique error code
DetailedErrorMessagestring | nullDetailed error message
ErrorReferencestring, guidA tracking ID from Qliro Checkout
ErrorCodestring | nullUnique error code
DetailedErrorMessagestring | nullDetailed error message
ErrorReferencestring, guidA tracking ID from Qliro Checkout