# SDKs

OpenAPI first. Generate a client in any language.

The OpenAPI contract is the source of truth for the API. Generate a client from it in any language. It covers tokens, discovery, account reads, errors and request IDs.

- **OpenAPI**: Request access for the specification, then generate a client with your usual tooling.

## Language SDKs

**Designed.** TypeScript, Python and Go SDKs are designed. They will be generated from the same contract, so they won't drift from it.

- **TypeScript**: For services and agent frameworks.
- **Python**: For data, finance and agent workflows.
- **Go**: For high-volume services.

_Illustrative example._

```
import { Insimbi } from "@insimbi/sdk";
const insimbi = new Insimbi({ token: process.env.INSIMBI_TOKEN });
const pay = await insimbi.payments.create(
  { merchant_account_id, amount: "182.40", currency: "USD", source },
  { idempotencyKey: "order-1042" });
const ticket = await insimbi.tickets.get(pay.ticket_id);
console.log(ticket.lines); // each line cites its rule
```
