TranSwap Api v1.8.8
Introduction
Why Choose TranSwap?
API Overview
Getting Started with TranSwap API
Steps to Get Started:
1.
Take a moment to go through this guide to gain a complete understanding of our products and API capabilities. A thorough review will save you time and effort in the long run.
2.
We offer a Postman collection that you can download and use to quickly familiarize yourself with how our APIs work. It’s a hands-on way to test different endpoints and see how they fit into your workflows.
3.
For more information on the services we provide and how they can benefit your business, head to our Help Center.
4.
Subscribe to our developer mailing list to stay informed about new features, technical updates, and important changes.
Handling Errors
HTTP Status Codes:
Code | Meaning |
---|---|
200 | OK - Your request was successfully processed. |
201 | Created - A new resource was successfully created. |
400 | Bad Request - There was an issue with the information you provided, such as missing or invalid parameters. |
401 | Unauthorized - Your authentication token is missing or invalid. |
404 | Not Found - The API endpoint you're trying to access does not exist. |
429 | Too Many Requests - You've sent too many requests in a short period of time. Please slow down. |
500 | Internal Server Error - There was an issue on our end. Please try again later. |
503 | Service Unavailable - Our system is currently down for maintenance. Please try again later. |
Pagination Explained
How it Works:
GET
request to retrieve data, you can use the pageSize
query parameter to set how many results you want to receive at once. This parameter has a default value of 10
and a maximum value of 50
. If there are more results available than your pageSize
allows, we include a nextPage
link in the response. You can use this link to retrieve the next set of results.Environments: Sandbox
vs Production
1.
2.
Important Note:
API URLs
Environment | URL |
---|---|
Sandbox (Primary) | https://api.transwap.dev |
Sandbox (Backup) | https://sandbox-apim-ts-asia-sg.developer.azure-api.net |
Production | https://api.transwap.live |
Modified at 2024-09-11 01:41:32