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.

consumer

ParameterTypeDescriptionConstraintsRequired
namename ObjectCustomer name.
addressaddress ObjectCustomer address.
emailStringEmail provided by customer.
businessNameString(1...35)Business name.
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 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.

details

ParameterTypeDescriptionConstraintsRequired
merchantCountryStringThe country code where the transaction is processed.ISO 3166-1 alpha-2 country code.
serverUrlStringThe URL to the Mobile Pay Server.
allowedCardNetworksStringThe supported card networks for Payment via Apple Pay.The possible values are: mastercard, visa.
merchantNameStringThe name to display on the the payment sheet.

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.