HomeGuidesAPI ReferenceChangelogPOS PaymentsOnline Payments
Home
Guides

Schemas used in requests/responses of our API:

consumer

ParameterTypeDescriptionConstraintsRequired
namename ObjectCustomer name.
addressaddress ObjectCustomer address.
emailStringEmail provided by customer.
businessNameString(1...35)The name of the purchasing business.
phoneStringCustomer phone number.
genderString(1...2000)Gender of the customer.The possible values are: m, f , or null.
dateOfBirthStringDate of birth of the customer.

name

ParameterTypeDescriptionConstraintsRequired
firstNameString(1...35)Customer first name.
lastNameString(1...35)Customer last name.
middleNameString(1...35)Customer middle name.

address

ParameterTypeDescriptionConstraintsRequired
streetString(1...100)Street.
houseNumberString(1...35)House number.
postalCodeString(1...35)Postal code.
cityString(1...35)City.
countryCodeStringCountry code.ISO 3166-1 country code.
stateString(1...40)State.
additionalDataString(1...35)Any additional address details.

item

ParameterTypeDescriptionConstraintsRequired
codeString(1...50)A code that identifies the item.
nameString(1...50)A human readable name for the item.
descriptionString(1...100)Item description.
unitPriceInt(1...99999999)Unit price (including VAT) of the item, specified in the smallest currency subunit, as for example eurocents.
quantityInt(1...1000000000)The number of items.
vatAmountInt(1...99999999)VAT amount of one unit, specified in the smallest currency subunit, as for example eurocents.
vatRateNumber(0...99.9)Percentage of VAT applied. Only the first decimal value will be taken into account, the rest will be ignored.

action

ParameterTypeDescriptionConstraintsRequired
redirectredirect ObjectNext action to be performed by merchant (or consumer) to complete the payment.

redirect

ParameterTypeDescriptionConstraintsRequired
urlStringURL where consumer should be redirected to by the merchant to perform the payment.

returnUrls

ParameterTypeDescriptionConstraintsRequired
successString(1...2000)Return URL to use when the transaction succeeds.
cancelledString(1...2000)Return URL to use when the transaction is cancelled.
expiredString(1...2000)Return URL to use when the transaction is expired.
failedString(1...2000)Return URL to use when the transaction is failed.

refund

ParameterTypeDescriptionConstraintsRequired
refundedAmountInt(0...99999999)Amount in the smallest currency subunit, as for example eurocents, that has already been refunded.
refundedPendingAmountInt(1...99999999)Amount in the smallest currency subunit, as for example eurocents, that has been requested to be refunded.