Aztec-Calcs Calculation API
The Aztec-Calcs Calculation API runs the calculators of your cobrand from your own servers.
Authentication
Every operation needs a secret API key, sent in the Authorization header as a bearer token, for example Authorization: Bearer sk_test_xxxxxxxx.
Secret keys are for server-to-server use only: never put one in a browser or a mobile app, and never commit one to source control. The key shown here is a placeholder.
Engine version
Every calculate response carries an engine-version stamp: the engineVersion field of the body and the Aztec-Engine-Version response header.
It names the calculation engine version your cobrand is pinned to, so you can reproduce and audit a result. Individual engine versions are not part of this contract.
The inputsUsed field echoes the resolved inputs the calculation ran with, including the defaults applied to any optional input you left out.
Usage note
Educational use only, not financial advice.
Authentication
- HTTP: Bearer Auth
A secret API key, for example sk_test_xxxxxxxx, sent as Authorization: Bearer sk_test_xxxxxxxx. Server-to-server use only.
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |