Industry-Specific Fields for Amex Direct
Travel/cruise industry parameters
The following parameters may be sent with the travel/cruise industry type:
Travel package(required) Specifies whether the travel package includes a flight reservation, car rental, both flight and car, or neither. Must be one of the following four values:
flight
,
car
, flight_and_car
, other
Departure date(optional) Date of departure, in the format
2000-12-15
Lodging check-in date(optional) Date of lodging check in in the format
2000-12-15
Lodging check-out date(optional) Date of lodging check out, in the format
2000-12-15
Lodging name(optional) Name of the lodging, with a maximum of 20 characters
Example
- C#
var request = new TransactionRequest {
Amount = 100.00M,
CreditCard = new TransactionCreditCardRequest {
Number = "4111111111111111",
ExpirationDate = "05/2022",
},
Industry = new IndustryRequest {
IndustryType = TransactionIndustryType.TRAVEL_AND_CRUISE,
IndustryData = new IndustryDataRequest {
TravelPackage = "flight",
DepartureDate = "2000-07-22",
LodgingCheckInDate = "2000-07-22",
LodgingCheckOutDate = "2000-07-25",
LodgingName = "Royal Caribbean"
}
}
};
Result<transaction> result = gateway.Transaction.Sale(request);
Lodging industry parameters
The following parameters may be sent with the lodging industry type:
Folio number(required) Folio number assigned to the itemized statement assigned to this stay. Alphanumeric with a maximum of 12 charactersCheck in date
(required) Date of lodging check in, in the format
2000-12-15
Check out date(required) Date of lodging check out, in the format
2000-12-15
Room rate(optional) The daily room rate, in the same format as the transaction amount. This field is optional
Example
- C#
var request = new TransactionRequest {
Amount = 100.00M,
CreditCard = new TransactionCreditCardRequest {
Number = "4111111111111111",
ExpirationDate = "05/2022",
},
Industry = new IndustryRequest {
IndustryType = TransactionIndustryType.LODGING,
IndustryData = new IndustryDataRequest {
FolioNumber = "ABC123",
CheckInDate = "2000-12-22",
CheckOutDate = "2000-12-25",
RoomRate = "10.00"
}
}
};
Result<transaction> result = gateway.Transaction.Sale(request);