Authorization#
Monexiaβ’ Gateway uses the industry-standard OAuth 2.0 (Client Credentials Grant) protocol to secure all API communication.Before you can interact with our endpoints, you must obtain a temporary Access Token using your merchant credentials.
π Protect your Credentials#
Your client_secret is a sensitive piece of information. Never share it in public repositories, client-side code, or insecure communication channels.
π Monexia Sandbox Base URL is https://api-uat.transalink.io#
ποΈ The Auth Flow#
All requests to the Monexia API must include an Authorization header containing a valid Bearer Token.
π¦ Step-by-Step Integration#
1. Retrieve your Credentials#
Client ID: Your public identifier.
Client Secret: Your private key (keep this secret!).
2. Obtain an Access Token#
Send a POST request to our identity server.| Endpoint | Method |
|---|
https://auth-uat.transalink.io/connect/token | POST |
{
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"grant_type": "client_credentials",
"scope": "scope"
}
3. Use the Bearer Token#
Once you receive the access_token, include it in every subsequent API request using the Bearer scheme.4. Access Subsequent Endpoints#
Use this as the Base URL for subsequent API requestshttps://api-uat.transalink.io
π₯ Token Expiry & Errors#
| Issue | Reason | Solution |
|---|
401 Unauthorized | Invalid ID or Secret | Double-check your credentials in the dashboard. |
Token Expired | Token duration exceeded | Implement a refresh logic to request a new token. |
403 Forbidden | Valid token, but no permissions | Ensure your account has the correct scopes enabled. |
π Need Help?#
If you're having trouble authenticating, please contact our technical team at sales@monexia.com.Modified atΒ 2026-06-18 12:39:46