```<payment_url>?key=<encrypted_key>?data=<encrypted_data>```*Signature data schema:*``` <access_code>|<booking_number>|<product_type>|<total_amount>```*Original data schema:*```<access_code>|<booking_number>|<product_type>|<signature>|<total_amount>```- access_code (String, required) !!! quote "" Access code provided by Gotadi to Partners.- bookingNumber (String, optional) !!! quote "" Code used to refer to booking- product_type (String, optional) !!! quote "" Type of product, whose value is AIR or HOTEL corresponding to the type of product purchased- total_amount (String, optional) !!! quote "" Total payment amount- payment_url (String, required) !!! quote "" URL navigate to payment page- encrypted_key (String, required) !!! quote "" Key decrypts (encrypted) data. How to decrypt refer to the section: Encryption of transmission data and digital signature authentication
- encrypted_data (String, required) !!! quote "" Data with digital signature (encrypted). How to decrypt refer to the section: Encryption of transmission data and digital signature authentication
duration (integer, optional),
errors (Array[Error], optional),
infos (Array[Info], optional),
success (boolean, optional),
textMessage (string, optional)
Payment Recording and Booking Commit API
POST: /api/partner/commit
Yêu cầu commit booking được cập nhật đầy đủ thông tin và hoàn tất thanh toán
Chú ý
Security requirements: Encrypt data and include a digital signature
Request: Does not require encryption and includes a digital signature
Response: Part of the response data is required to be encrypted and accompanied by a digital signature
Request Body
Model
Model
key (string, required),
Data decrypted key. How to decrypt refer to the section: Encryption of transmission data and digital signature authentication
data (string, required),
Data with digital signature (encrypted). How to decrypt refer to the section: Encryption of transmission data and digital signature authentication