Before You Start — Set Your Base URL#
All API endpoints in this documentation use a variable called {{baseUrl}} as a placeholder for the server address. You must set this variable once before running any API call.| Environment | Base URL |
|---|
| Test (TST) | https://tstcardsapi.artha.money |
| Production (PRD) | To be configured — contact your administrator |
Step-by-Step: Setting the Base URL#
Step 1 — Open the Products Endpoint#
Click on the Products endpoint from the left sidebar.
Step 2 — Click on {{baseUrl}}#
In the request URL bar at the top, you will see the URL prefixed with {{baseUrl}}, like this:GET {{baseUrl}} /api/v1/Products
Click directly on the {{baseUrl}} text in the URL bar. A Personal Variables popup will appear.
Step 3 — Set the Value#
In the Personal Variables dialog:1.
You will see a variable named baseUrl already listed.
2.
Click the empty Value field next to baseUrl.
3.
Enter the environment URL you want to test against:
https://tstcardsapi.artha.money
For PRD (once available):To be configured — contact your administrator
💡 These values are stored locally in your browser and will not be synced to the cloud. You will need to set this once per browser/device. To switch environments, simply repeat this step with the new URL.
Step 4 — Run the API#
Once the base URL is set, click the ▶ Run button (play button on the right side of the URL bar) to execute the request.The full resolved URL will look like:GET https://tstcardsapi.artha.money/api/v1/Products
To be configured — contact your administrator
Switching Between TST and PRD#
To switch environments, just update the {{baseUrl}} value:1.
Click {{baseUrl}} in the Products endpoint URL bar.
2.
Clear the current value and enter the new environment URL.
4.
All endpoints will now resolve against the new base URL automatically.
✅ Tip — Use GET {{baseUrl}}/api/v1/Products as a quick sanity check after switching environments. A successful 200 OK response confirms your base URL is correctly set.
⚠️ Production Caution — Always confirm you intend to run against PRD before switching. API calls in production affect live data.
Environment Summary#
| Environment | Variable | Value |
|---|
| Test | {{baseUrl}} | https://tstcardsapi.artha.money |
| Production | {{baseUrl}} | To be configured — contact your administrator |
Quick Checklist#
Before running any API, confirm the following:
Troubleshooting#
| Issue | Fix |
|---|
URL still shows {{baseUrl}} unresolved | Re-open the variable dialog, ensure the value is saved and not empty |
401 Unauthorized | Confirm your credentials or token are correct in the request headers |
404 Not Found | Double-check path parameters like {customerId} are replaced with actual IDs |
| Connection refused / timeout | Confirm you are on the correct network and the server is reachable |
| Accidentally ran on PRD | Contact your administrator immediately to review the affected records |
Modified at 2026-02-18 17:31:55