Payment
The following operations are supported. For a formal definition, please review the Service Description.
- CreateCreditCardData
- CreateCreditCardDataForTemp
-
GetAgencyPasPaymentCategory
Description: Gets agency's payment type categories. (eg. cash or credit card)
Parameters Sent
token: Key number given upon login to system
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Payment category returns as dataset -
GetBankCard
Description: Gets bank card information as dataset
Parameters Sent
token: Key number given upon login to system
resNumber: Reservation number of reservation
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Bank card information returns as dataset -
GetBankVPOS
Description: Gets virtual pos information of the bank as dataset
Parameters Sent
token: Key number given upon login to system
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
VPos info types return as dataset -
GetCCType
Description: Gets all credit card types in database as dataset
Parameters Sent
token: Key number given upon login to system
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Credit card types return as dataset -
GetPaymentCategories
Description: Gets all payment categories from database.
Parameters Sent
token: Key number given upon login to system
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Payment type returns as dataset -
GetPaymentInfoForReservation
Description: Gets reservations payment informations as dataset
Parameters Sent
token: Key number given upon login to system
resNumber: Reservation number of reservation
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Payment info returns as dataset -
GetPaymentTypeData
Description: Gets all payment types from database.
Parameters Sent
token: Key number given upon login to system
currency: Currency
catPackID: PriceListNo returns from GetPaymentInfoForReservation method
payDate: Payment date
resBegDate: Reservation beginning
night: Nights
prePerVal: For first time payment this property must be set -1. If payment is not first time, this property must
be set to value which returns from GetPaymentInfoForReservation.
onlyAgencyPayCategory: Sets true or false
onlyCreditCards: If payment will be made by only credit card, true, else false
bankCode: Code of bank
creditCardCode: Code of card
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Payment type returns as dataset -
GetPaymentTypes
Description: Gets all payment types from database.
Parameters Sent
token: Key number given upon login to system
paymentCategory: To get all data you have to empty to paymentCategory
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Payment type returns as dataset -
MakeResPayment
Description: When payment is made from virtual pos, this method writes payment information to tourvisio.
Parameters Sent
token: Key number given upon login to system
leaderCustomerNo = CustNo from GetPaymentInfoForReservation method
payDate = Payment date
payTypeID = payTypeId from GetPaymentTypeData method
payAmount = Amount of payment
ccNumber = Credit card number
ccTypeId = CCTypeID from GetCCType method
ccBank = Bank of credit card from GetPaymentTypeData mehod)
ccHolder = Name on Card
ccExpDate = Expiration date of card. MM.yyyy.
ccSeqNo = CVC no of the card
posType = if set to 0, real pos, if set to 1 vpos.
instalNum = Instalment number
posrefeerence = Reference no returning from pos.
resNumber = Reservation no
comment = Commentary
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Returns true or false -
MakeResPaymentV2
Description: When payment is made from virtual pos, this method writes payment information to tourvisio.
Parameters Sent
token: Key number given upon login to system
leaderCustomerNo = CustNo from GetPaymentInfoForReservation method
payDate = Payment date
payTypeID = payTypeId from GetPaymentTypeData method
payAmount = Amount of payment
ccNumber = Credit card number
ccTypeId = CCTypeID from GetCCType method
ccBank = Bank of credit card from GetPaymentTypeData mehod)
ccHolder = Name on Card
ccExpDate = Expiration date of card. MM.yyyy.
ccSeqNo = CVC no of the card
posType = if set to 0, real pos, if set to 1 vpos.
instalNum = Instalment number
posrefeerence = Reference no returning from pos.
resNumber = Reservation no
comment = Commentary
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Returns true or false