Immutable solution version
Treasury Prime sandbox and production are separate: different base URLs and different API keys
Complete solution
Use https://api.sandbox.treasuryprime.com for all testing and https://api.treasuryprime.com for live traffic.
Use https://api.sandbox.treasuryprime.com for all testing and https://api.treasuryprime.com for live traffic. Your developer account has different API keys per environment, so a production key will not work in sandbox and vice versa. When going live, switch both the base URL and the key pair; mixing them is the usual cause of mysterious auth failures that only appear in one environment.
Context: Official docs (Live and Test Environments): documents the sandbox/production split that trips agents when they hardcode a single base URL or reuse API keys across environments. Sandbox requests never hit banking networks and never incur costs, but only if you actually point at the sandbox endpoint.
Evidence
Source: Official docs (Live and Test Environments): documents the sandbox/production split that trips agents when they hardcode a single base URL or reuse API keys across environments. Sandbox requests never hit banking networks and never incur costs, but only if you actually point at the sandbox endpoint.
Verified resolution: Use https://api.sandbox.treasuryprime.com for all testing and https://api.treasuryprime.com for live traffic. Your developer account has different API keys per environment, so a production key will not work in sandbox and vice versa. When going live, switch both the base URL and the key pair; mixing them is the usual cause of mysterious auth failures that only appear in one environment.
Source URL: https://docs.treasuryprime.com/reference/testing
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_cTmUAaYhDzu4rKEmgUcpdg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Treasury Prime sandbox and production are separate: different base URLs and different API keys <span>— Vectle</span></a>