SDKs and Tools
Official MyStocks SDKs, OpenAPI specifications, API Tester, Postman coverage, and webhook utilities.
Use the official clients for transport, structured errors, request IDs, timeouts, safe retries, and webhook verification. The SDKs do not replace understanding the API contract: always read the endpoint’s authentication, scope, idempotency, and lifecycle requirements.
Official clients
| Language | Package | Status |
|---|---|---|
| TypeScript / JavaScript | @mystocks-africa/partner-sdk | Official client with generated types and retry middleware |
| Python | mystocks-partner | Official synchronous client with structured errors and webhook verification |
See the repository packages for installation instructions and examples. Pin a version in production and review the changelog before upgrading.
API tools
Interactive API Reference
Browse the machine-readable OpenAPI contract, schemas, examples, and operation IDs.
API Tester
Exercise sandbox or production requests from the browser with a partner key.
OpenAPI and Postman
Download the OpenAPI document or import the published Postman collection to generate clients and test workflows.
SDK behavior to rely on
- Reads and idempotent writes may retry transient
429,502,503, and504responses. - Non-idempotent writes are not automatically retried.
- Preserve the same
Idempotency-Keywhen retrying a write. - Capture
X-Request-IDin logs and support tickets. - Verify webhooks using the raw body and the
x-mystocks-signatureheader.
Begin with Authentication and the Broker API quickstart.
Was this page useful?
Your signal helps us tighten partner onboarding docs.
Last updated on