Skip to content
Partner API Docs

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

LanguagePackageStatus
TypeScript / JavaScript@mystocks-africa/partner-sdkOfficial client with generated types and retry middleware
Pythonmystocks-partnerOfficial 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

SDK behavior to rely on

  • Reads and idempotent writes may retry transient 429, 502, 503, and 504 responses.
  • Non-idempotent writes are not automatically retried.
  • Preserve the same Idempotency-Key when retrying a write.
  • Capture X-Request-ID in logs and support tickets.
  • Verify webhooks using the raw body and the x-mystocks-signature header.

Begin with Authentication and the Broker API quickstart.

Was this page useful?

Your signal helps us tighten partner onboarding docs.

Last updated on

On this page