...
The method will return the operation result.
Variables to send:
Parameter | Data type | Description | ||
Request | Text | updateToken | Mandatory | |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory | |
TransactionToken | Token | Transaction token as accepted from the createToken. | Mandatory | |
PaymentAmount | money | Transaction amount, up to 2 decimal | Optional | |
| money | Transaction | Optional | |
CompanyRef | Text | Company reference number | Optional | |
CustomerEmail | Text | E-mail of the customer to send the link | Optional | |
CustomerFirstName | Text | Customer name | Optional | |
CustomerLastName | Text | Customer last name | Optional | |
CustomerAddress | Text | Customer address | Optional | |
CustomerCity | Text | Customer city | Optional | |
CustomerCountry | ISO code | Customer country ISO 2 letter code | Optional | |
CustomerDialCode | ISO code | Customer country ISO 2 letter code | Optional | |
CustomerPhone | Number | Customer Phone number | Optional | |
CustomerZip | Text | Customer zip code | Optional | |
CompanyAccRef | Text | Internal accounting reference number | Optional | |
UserToken | Token | To define who created the transaction | Optional | |
AdditionalFields | JSON | XML (String) | Additional Airlines transaction props | Optional |
| Number | ptl time to add | Optional | |
| Text | ptl type (hour, minute) | Optional |
Additional Airlines Fields Prams:
...
No
...
Parameter
...
DPO tag name
...
1
...
Ticket Type
...
TravTransTypeCd
...
Mandatory
...
2
...
Document Type
...
DocTypeCd
...
Optional
...
3
...
IATA Carrier Code
...
ATACarrierCd
...
Mandatory
...
4
...
IATA Travel Agency Number
...
IATAAgcyNbr
...
Optional
...
5
...
Ticket Carrier Name
...
TktCarrierNm
...
Mandatory
...
6
...
Ticket Issuer City Name
...
TktIssCityNm
...
Optional
...
7
...
Number of Passengers
...
PassCnt
...
Mandatory
...
8
...
Conjunction Ticket Indicator
...
ConjTktInd
...
Mandatory
...
9
...
Electronic Ticket Indicator
...
ElecTktInd
...
Optional
...
10
...
Exchanged/Original Ticket No.
...
ExchTktNbr
...
Mandatory
...
11
...
Segment IATA Carrier Code
...
SegIATACarrierCd
...
Optional
...
12
...
Fare Basis Text
...
FareBasisTxt
...
Mandatory
...
13
...
service class code
...
ServClassCd
...
Mandatory
...
14
...
Flight Number
...
Additional Airline Fields Prams:
Parameter | Data type | Description | Is Mandatory |
TicketType DocumentType DateIssued IATACarrierCode IATATravelAgencyNbr TicketCarrierName TicketIssuerCityName PassengerCount ConjTicketIndicator ElecTicketIndicator TicketNumber FlightLegDetails Travelers | Text Text DateTime Text Text Text Text Numeric Text Text Text XML (String) XML (String) | Ticket Type Document Type Date Issued IATA Carrier Code IATA Travel Agency Number Ticket Carrier Name Ticket Issuer City Name Number of Passengers Conjunction Ticket Indicator Electronic Ticket Indicator Exchanged/Original Ticket No or PNR Flight Leg Details Traveler Details | Optional Optional Mandatory Mandatory Optional Optional Optional Optional Optional Optional Mandatory Optional Optional |
Traveler Details Prams:
Parameter | Data type | Description | Is Mandatory |
TravelerFirstName | Text | First name | Mandatory |
TravelerLastName | Text | Last name | Mandatory |
TravelerPhone | Text | Phone number | Optional |
TravelerPhonePrefix | Numeric | Phone number prefix (without +) | Optional |
TravelerDateOfBirth | DateTime | Traveler Date Of Birth | Optional |
TravelerCountryCode | Text | Traveler Country Code | Optional |
Flight Leg Details Prams:
Parameter | Data type | Description | Is Mandatory |
FlightDescription | Text | The description of the payment made | Mandatory |
FlightType | Number | Service type number according to the options accepted from DPO | Mandatory |
FightDate | DateTime | Service date of the booked service | Mandatory |
FlightFrom | Text | 3 letters departure airport code | Mandatory |
FightTo | Text | 3 letters destination airport code | Mandatory |
FlightRef | Text | Service Reference | Optional |
CarrierCode | Text | IATA carrier code | Mandatory |
ServiceClass | Text | Service Class | Mandatory |
FlightNumber | Text | Flight Number | Mandatory |
FareBasisCode | Text | Fare Basis Code | Mandatory |
StopOverCode | Text | Stop Over Code | Mandatory |
Action updateToken Available For Transaction statuses
...
|
Respond:
The server will respond for the updateToken request according to the following results:
Parameter | Data type | Description |
Code | 3 digits code | A code will be sent with the result of the request |
Explanation | Text | Free text of the result |
ExtraInfo | Text | Free text of the result (Info error details) |
Response codes:
Code | Explanation |
000 | Token been updated |
999 | Custom error message |
804 | Error in XML |
950 | Request missing transaction level mandatory fields |
955 | Request missing transaction level mandatory additional fields |
...