Appearance
TA Payment Options
TA payments options only used for Tropics Booking System Selling Companies.
Table
All properties listed with [setup-required], please contact us to prepare for your integration
✔ - Required Field
❖ - Optional Field
INFO
All the properties accepts these special charecters (space) - + _ / , . ' ( )# except tripName. tripName accepts an extra charecter &.
| Property | Credit Aggrement | Other TA Options |
|---|---|---|
sellingCompany [setup-required] Allowed: Alpha MAX: 100 Char A unique brand identifier code. | ✔ | ✔ |
agencyId Allowed: Numeric MAX: 100 Char A unique brand identifier code. | ✔ | ✔ |
transactionInfo.transactionId Allowed: Alphanumeric MAX: 100 Char A unique identifer of your choice to reference this transaction. | ✔ | ✔ |
transactionInfo.amount Allowed: Numeric (2dp) MAX: 10 Char Transaction total amount. | ✔ | ✔ |
transactionInfo.currency Allowed: Alpha (ISO 4217) MAX: 3 Char Transaction currency, please use ISO currency codes. | ✔ | ✔ |
transactionInfo.tripName Allowed: Alpha MAX: 200 Char Name of the trip listed in the booking. | ||
transactionInfo.bookingType Allowed: Alpha MAX: 2 Char Who's entering the card details? 'TA' (Travel Agent) or 'CD' (Customer Direct), defaults to 'CD'. | ✔ | ✔ |
transactionInfo.cardTypes Allowed: Alpha MAX: 150 Char Comma separated list of accepted card types, defaults to 'VISA,MASTERCARD,AMEX,DISCOVER,DINERS'. | ||
transactionInfo.selectedCardType Allowed: Alpha MAX: 100 Char Pre select accepted card Type [Only use for AU selling company]. | ||
transactionInfo.firstName Allowed: Alpha MAX: 100 Char Customer first name. | ||
transactionInfo.lastName Allowed: Alpha MAX: 100 Char Customer last name. | ||
transactionInfo.email Allowed: Alpha (email) MAX: 100 Char Customer email. | ||
transactionInfo.addressLine1 Allowed: Alphanumeric MAX: 100 Char Customer billing address line 1. | ||
transactionInfo.addressLine2 Allowed: Alphanumeric MAX: 100 Char Customer billing address line 2. | ||
transactionInfo.addressCity Allowed: Alphanumeric MAX: 100 Char Customer billing address city. | ||
transactionInfo.addressState Allowed: Alpha (ISO 3166-2) MAX: 3 Char Customer billing address state code. | ||
transactionInfo.addressStateName Allowed: Alpha MAX: 100 Char Customer billing address state name. | ||
transactionInfo.addressCountry Allowed: Alpha (ISO 3166-1 alpha-2) MAX: 2 Char Customer billing address country code. | ||
transactionInfo.addressCountryName Allowed: Alpha MAX: 100 Char Customer billing address country name. | ||
transactionInfo.addressPostalCode Allowed: Alphanumeric MAX: 100 Char Customer billing address postal/zip code. | ||
transactionInfo.comments Allowed: Alpha MAX: 200 Char Any relevant comments to add to the booking update with this payment (Tropics only). |
Example
Note: If you wish to make a test payment without an existing booking, we recommend using our reserved transaction ID A000001; this will bypass all Tropics booking validation checks
See below for typical example payload requesting all payment options:
js
let options = {
"sellingCompany": "CHUSAS",
"agencyId": "123456",
"transactionInfo": {
"transactionId": "A000001",
"amount": "100.30",
"currency": "USD",
"tripName": "Test Payment Tour",
"bookingType": "CD",
"cardTypes": "VISA,MASTERCARD,MAESTRO,AMEX,DINERS,DISCOVER",
"selectedCardType": "VISA",
"firstName": "Jamie",
"lastName": "Gill",
"email": "test@example.com",
"addressLine1": "12010 Rockaway Beach Blvd",
"addressLine2": "",
"addressCity": "Rockaway Park",
"addressState": "NY",
"addressCountry": "US",
"addressPostalCode": "11694",
"comments": "This is a payment gateway test payment"
}
}