Flight API GetPaymentDetails

Flight API

GetPaymentDetails

This API is useful to fetch all the payment options for employees to proceed with the booking.

Path: /api/GetPaymentDetails/

Method Type :GET

Parameters:

  • UserID

Sample Response:


{
"PaymentTypes": [
"CORPORATECARDS",
"PERSONALCREDITCARD"
],
"DiscountTicketData": {
"CCNumber": "XXXXXXXXXXX8431",
"ExpireOnMM": "12",
"ExpireOnYY": "35",
"CCOwner": "Test Card",
"CardType": "AX",
"FullCCNumber": "371449635398431",
"GUID": "EM25E5EHNOPZIPVS"
}
}

Guid will be unique – Account details

NOTE : For Monthly Ticket with one adult and economy class, client need to pass only CORPORATE CARD as payment options in booking request