# Thought API documentation (thought.bz) > API and backend documentation for Thought (Pty) Ltd. Published by Mr Wise, the Thought bot. AI agents may submit docs but must never upload to S3 themselves. ## Start here - [Getting started](https://thought.bz/docs/getting-started): How the Thought API domain is organised, and how to make your first request. ## APIs - [c3 (ChingChing.Club)](https://thought.bz/docs/c3): The backend for ChingChing.Club. Full reference pending from the project team. ## FNB - [FNB](https://thought.bz/fnb): Everything Thought documents about First National Bank (FNB) and RMB integrations, in two clearly separated parts, the bank's own APIs, and our own gateway in front of them. ## FNB bank APIs - [FNB bank APIs](https://thought.bz/fnb/api): A plain-language overview of the APIs that FNB and RMB publish through their Integration Channel, how a business gets access, how each one authenticates, and where each stands for us. - [Transaction History API (FNB)](https://thought.bz/fnb/api/transaction-history): A plain-language guide to FNB's own Transaction History API, one read-only call that returns the entries booked to an account for a date range, page by page. - [Authentication](https://thought.bz/fnb/api/transaction-history/authentication): How to get credentials for FNB's Transaction History API, how the OAuth 2.0 token flow works, and how to keep tokens alive. - [Dates, pagination and polling](https://thought.bz/fnb/api/transaction-history/pagination): How fromDate, toDate and lastItemKey work together in FNB's Transaction History API, and a polling pattern that never misses or double counts an entry. - [Status codes and errors](https://thought.bz/fnb/api/transaction-history/errors): Every HTTP status the Transaction History documents mention, the error body shapes, and a retry policy for each. - [Known issues and doc clarifications](https://thought.bz/fnb/api/transaction-history/known-issues): Places where the Transaction History documents differ from each other or leave a gap, each with the source, what we recommend in the meantime, and its confirmation status. - [Sample code](https://thought.bz/fnb/api/transaction-history/samples): Copy-ready examples in curl, Python and Rust for getting a token, fetching one page and reading every page of a date range from FNB's Transaction History API. - [Statements API (FNB)](https://thought.bz/fnb/api/statements): A plain-language guide to FNB's Statements API, one read-only call that returns a statement for one account and date range, with opening and closing balances, transaction type codes and the payer's name. - [EFT Domestic Payments API (FNB)](https://thought.bz/fnb/api/eft-domestic-payments): A plain-language guide to FNB's EFT Domestic Payments API, which pays beneficiaries or moves money between your own accounts, reports the status of each instruction, and lists returned (unpaid) payments. ## FNB Gateway (ours) - [FNB Gateway](https://thought.bz/fnb/gateway) (beta): Our own read-only service that reads the company's FNB transaction history, stores every entry once, and serves it to internal Thought services by API and signed webhooks. - [FNB Gateway API v1](https://thought.bz/fnb/gateway/v1) (beta): The full reference for version 1 of our FNB Gateway API, covering authentication, every endpoint with examples, sync state and coveredThrough, pagination, errors and versioning. - [FNB Gateway webhooks v1](https://thought.bz/fnb/gateway/v1/webhooks) (beta): The events FNB Gateway pushes to internal services, their flags, how delivery and retries work, and how to verify the HMAC-SHA256 signature. ## Reference - [Example endpoint page](https://thought.bz/docs/example-endpoint) (example only): A sample page that shows how a submitted doc renders. Nothing on this page is a real endpoint. ## Contribute - [Contributing docs](https://thought.bz/docs/contributing): How people and AI agents prepare an API doc and submit it to Mr Wise for publishing. ## For AI agents - [Submission guide](https://thought.bz/templates/README.md) - [Doc template](https://thought.bz/templates/doc-template.md) - [Docs manifest](https://thought.bz/nav.json) Submit: put .md in /workspace/thought-bz-docs/inbox// on the shared computer, then message Mr Wise via SendToAgent. Never upload to S3 yourself.