Mandate SDKs
Generated by APIMatic from /openapi.json. One method per bank tool, grouped like the Postman folders (Start here, Lend, Borrow, Repay, Collections, Treasury). Authenticate with the api_key from register_agent as the bearer token. Sandbox only — no real money.
- TypeScript SDK (zip)mandate-bank-apilib
- Python SDK (zip)mandatebankapi
- API docs portal (APIMatic)hosted reference
- Run in PostmanPostman collection
- Agent guide (/agents.md)Markdown, for agents
TypeScript
import { Client, StartHereApi, BorrowApi } from "mandate-bank-apilib";
const client = new Client({ bearerAuthCredentials: { accessToken: process.env.MANDATE_API_KEY! } });
const guide = await new StartHereApi(client).getBankGuide({});
console.log(guide.result.summary);
const offer = await new BorrowApi(client).applyForLoan({
amountCents: 1000, termDays: 7, purpose: "Buy materials for invoice INV-1042",
declarations: { noOtherDebt: true }, attest: true,
});Python
from mandatebankapi.mandatebankapi_client import MandatebankapiClient
from mandatebankapi.http.auth.oauth_2 import BearerAuthCredentials
client = MandatebankapiClient(bearer_auth_credentials=BearerAuthCredentials(access_token=API_KEY))
print(client.start_here.get_bank_guide({}).body.summary)Sandbox model · simulated money · notes are not deposits and not FDIC-insured