The sohopay-examples repository collects small, runnable projects that demonstrate each core flow end to end. Every example ships with a README, works against the sandbox out of the box, and is the fastest way to see a pattern working before you adapt it.
Every example runs in CI against the live sandbox on each commit. If it’s in the repo, it works against the current API.

What’s in the repo

TypeScript and Python variants exist for each example unless the framework implies the language (Express.js, Flask).

Taster: Express.js webhook receiver

The full webhook-express example, inlined. It verifies the HMAC-SHA256 signature, dedupes by event_id, acknowledges fast, and processes asynchronously — the four things every production receiver must do. See the webhooks guide for the why behind each step.
Test it locally by registering the endpoint (use a tunnel like ngrok, or inspect payloads first with webhook.site) and firing a test delivery:

Contributing

The repo accepts pull requests. If you built an integration pattern others would benefit from — a queue-backed receiver, a Next.js route handler, a LangChain tool — open a PR. Examples must pass the CI suite against the sandbox before merging.
Go and CLI examples will land alongside the Go SDK and sohopay CLI, both of which are on the roadmap and not yet shipped.

Next steps

TypeScript SDK

Full method reference and error handling for Node.js.

Python SDK

The same client surface in Python idiom.

Testing Guide

Sandbox test wallets, edge cases, and CI patterns.