Schemas used in requests/responses of our API:

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.

consumerInRequest

ParameterTypeDescriptionConstraintsRequired
givenNameString(1...35)Customer given name.
middleNameString(1...35)Customer middle name.
familyNameString(1...35)Customer family name.
emailStringEmail provided by customer.
genderString(1...2000)Gender of the customer.The possible values are: m, f , or null.
addressaddressInRequest ObjectCustomer address.
phoneStringCustomer phone number.
dateOfBirthStringDate of birth of the customer.

addressInRequest

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

consumer

ParameterTypeDescriptionConstraintsRequired
givenNameString(1...35)Customer given name.
middleNameString(1...35)Customer middle name.
familyNameString(1...35)Customer family name.
emailStringEmail provided by customer.
genderString(1...2000)Gender of the customer.The possible values are: m, f , or null.
addressaddress ObjectCustomer address.
phoneStringCustomer phone number.
dateOfBirthStringDate of birth of the customer.

address

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

orderItem

ParameterTypeDescriptionConstraintsRequired
codeString(1...50)A code that identifies the item.
nameString(1...50)A human readable name for the item.
descriptionString(1...100)Additional 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.

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.

payment

ParameterTypeDescriptionConstraintsRequired
idString(36)Payment unique identifier.
typeStringThe type of payment. The possible values are: bancontact, creditcard, ideal, paypal, giropay.
statusStringOPEN - Payment has been created. This is the initial status.
SUCCESS - Payment has succeeded.
CANCELLED - Payment has not succeeded; cancelled by the consumer.
EXPIRED - Payment has not succeeded; expired.
FAILURE - Payment has not succeeded; unknown reason.
AUTHORIZED - Payment is authorized.
PENDING - Payment could not be completed yet; waiting for something.
CHARGEBACK - Payment chargeback was created.
createdAtString(RFC3339)Creation time.ISO 8601 date and time.