Booking | GetBookingPayments
Get available payment method.
Notice:
Product Scope : TechHub, FareMarket
2, Only agent balance payment is supported currently.
POST
/flight/booking
Parameter
Field | Mandatory | Type | Scope | Description |
---|---|---|---|---|
action | required |
String | GetBookingPayments | |
key | required |
String | API security key applied from AeroHub | |
signature | required |
String | Refer to Guideline to generate. | |
timestamp | required |
Int | The ‘timestamp’ field should be a 10-digit Unix timestamp in seconds, used for encryption and data verification. | |
version | optional |
String | API version information, e.g. 3.0.0 | |
request | required |
Object | ||
sessionId | required |
String | SessionId: generated from AirPricing |
Request_Example:
{ "action": "GetBookingPayments", "key": "2uksweq87xOvP", "signature": "QTIzve3ZP7oyfwqeqehlS4aAqHgSyAml0x0zM6k=", "timestamp": 1685116516, "request": { "sessionId": "a2aae1fc3qaaaa4107a419f4ae713a7" } }
Response
Field | Type | Description |
---|---|---|
status | Number | 0 for success, others for failure, please refer to status error appendix for detail |
msg | String | Return message, maximum 64 char |
payments | Object[] | |
chargeFee | String | fee charges from airline by specific scenario. |
code | String | Payment Type: AAG: AeroHub payment account CAG: customized account set up by customer. CC: credit card. |
currency | String | currency set up from each airline payment account. |
desc | String | Payment description |
Success-Response:
{ "status": 0, "msg": "Success", "payments": [ { "chargeFee": 0, "code": "AAG", "currency": "USD", "desc": "AeroHub Pay" } ], "contentStatus": 0, "contentMsg": "Success" }
Status Code
Name | Description |
---|---|
1000 | General system error |
1001 | Request parameters or part of parameters missing |
1002 | Invalid Action |
1003 | API request timeout, please request again |
1004 | Invalid request parameter |
1005 | Service system error |
1006 | System busy, please try again |
1101 | Authentication fail, wrong signature |
1102 | Account disabled, please contact with account administrator |
Error-Response
{ "status": 1000, "msg": "Letslfy flight internal error" }
Author:admin Create time:2023-05-24 16:08
Last editor:AeroHub Update time:2025-06-05 14:30
Last editor:AeroHub Update time:2025-06-05 14:30