Technical Documentations
  • 🇻🇳Vietnamese
    • Tổng quan
    • Đối tác B2B2C
      • Phương thức Webview
        • API Login
        • Yêu cầu bảo mật
        • Place Order
        • API Get Booking Detail
        • API Commit
        • API Check commit result
      • Phương thức SDK
        • API Login
        • Yêu cầu bảo mật
        • Initiate SDK
          • Init IOS SDK
          • Init Android SDK
        • Place order
        • API Commit
        • API Get booking detail
        • API Check commit result
      • Phương thức API
        • API Login
        • Yêu cầu bảo mật
        • ✈️Flight
          • Search API
          • Booking API
        • 🏨Hotel
          • Search API
          • Booking API
          • Cancellation API
        • Payment API
        • Booking Management API
    • Đối tác Corporate Agent (CA)
      • Qui trình tích hợp
      • API Chứng thực
      • Yêu cầu bảo mật
    • Đối tác Affiliate
    • ❓Câu hỏi thường gặp
      • Các status trong luồng booking Gotadi
      • Quy định Test
        • ✈️Vé máy bay
        • 🏨Khách sạn
      • Bộ Testcase dành cho đối tác B2B2C
      • Quy trình hỗ trợ từ CS
      • Danh sách Airlines
  • 🇬🇧English
    • Overview
    • B2B2C Partner
      • Webview method
        • API Login
        • Security Requirements
        • Place Order
        • API Get Booking Detail
        • API Commit
        • API Check commit result
      • SDK method
        • API Login
        • Security Requirments
        • Initiate SDK
          • Init IOS SDK
          • Init Android SDK
        • Place order
        • API Commit
        • API Get booking detail
        • API Check commit result
      • API method
        • Integration process
        • Login API
        • ✈️Flight
          • Search API
          • Booking API
        • 🏨Hotel
          • Search API
          • Booking API
          • Cancellation API
        • Payment API
    • Corporate Agent Partner (CA)
      • Integration Process
      • Authentication API
      • Security Requirements
    • Affiliate Partner
    • ❓FAQ section
      • Booking Statuses in Gotadi's Booking Flow
      • Regulations for Testing
        • ✈️Flight
        • 🏨Hotel
      • CS Support Overall Flow
      • Airlines List
Powered by GitBook
On this page
  • Specification
  • Request
  • Response
  1. English
  2. B2B2C Partner
  3. Webview method

API Check commit result

API Truy vấn kết quả xuất vé/phòng

Specification

  • URL: <API_GATEWAY>/api/partner/query-trans

  • Method: POST

  • Description: API allows partners to query the ticket/room issuance result.

  • Security Requirements: Data must be encrypted and include an electronic signature.

Request

Model
  • key (string, required): Decryption key for the data (already encrypted). Refer to the section "Data Encryption and Electronic Signature Verification" for details on how it is generated.

  • data (string, required): Encrypted data including an electronic signature. Refer to the section "Data Encryption and Electronic Signature Verification" for details on how it is generated.

  • Signature data schema:

    <access_code>|<booking_number>

    Original data schema:

    <access_code>|<booking_number>|<signature>
    • access_code (String, required)

      Access code provided by Gotadi to the Partner.

    • bookingNumber (String, required)

      Reference code used for the booking.đến booking

Example

{
"data": "...",
"key": "..."
}

Response

Model
  • key (String, required): Decryption key for the data (already encrypted). Refer to the section "Data Encryption and Electronic Signature Verification" for decryption instructions.

  • data (String, required): Encrypted data including an electronic signature. Refer to the section "Data Encryption and Electronic Signature Verification" for decryption instructions.

    Signature data schema:

    <access_code>|<booking_number>|<error_code>|<product_type>|<properties>|<return_url>|<total_amount>

    Original data schema:

    <access_code>|<booking_number>|<error_code>|<product_type>|<properties>|<return_url>|<signature>|<total_amount>

    • access_code (String, required): Access code provided by Gotadi to the Partner.

    • booking_number (String, required): Unique reference code for the booking.

    • error_code (String, required): Error code.

    • product_type (String, optional): Product type, with values AIR or HOTEL, corresponding to the purchased product type.

    • properties (String, optional): Additional information returned to the partner in JSON string format.

    • return_url (String, optional): Gotadi’s transaction result page, used if the partner does not build their own final result page.

    • total_amount (Double, required): Total amount to be paid.

Example

{
"data": "...",
"key": "..."
}
PreviousAPI CommitNextSDK method

Last updated 3 months ago

🇬🇧