Make Your First Request
Use destination search to verify credentials, signing, and the sandbox environment.
Use /search/destination as the first integration check after you have implemented signing.
Prerequisites
- Your sandbox application is active and authorized for G-Link Hotel API.
- The App Key belongs to the sandbox environment.
- Your server clock is synchronized.
- You generate a new timestamp and nonce for every call.
Request steps
- Build the JSON request body using the fields defined in the Query destination API Reference page.
- Calculate
BODY_SHA256from the exact raw UTF-8 body. - Build and sign the canonical string using the full path
/openapi/v1/glink/search/destination. - Send the request with all required
X-OP-*headers. - Verify both the HTTP response and the business
code. A successful request hascode: SUCCESS.
Troubleshooting checklist
- Check the signed path includes
/openapi/v1/glink. - Confirm the raw JSON bytes used for SHA256 are identical to the sent body.
- Do not reuse the nonce when retrying.
- Retain
request_idandtrace_idfrom unsuccessful responses for support.
The ReadMe API Explorer does not generate the dynamic
X-OP-Signvalue. Run signed calls from your server, SDK, or a Postman pre-request script.
Updated 1 day ago
Did this page help you?