Correspondents integrate with the t-0 Network in two ways: through the SDK, or by implementing the protocols directly. Both use the Connect RPC framework, which supports gRPC and REST/JSON encoding.

You will implement client-side calls to network services and server-side endpoints that receive network callbacks. All communication uses cryptographic signatures for authentication and integrity verification.

The SDK is the fastest integration path. It handles request signing, signature verification, and key management, so you can focus on your business logic. We recommend running it inside a standalone adapter service that sits between your system and the t-0 Network, keeping integration concerns isolated from your existing codebase and making SDK updates straightforward to roll out. You can run a single command to scaffold a pre-configured project, ready to deploy. Available for Go, TypeScript, Python, Java, and C# on GitHub, along with per-language documentation.

API Endpoints

  • Production: https://api.t-0.network
  • Sandbox: https://api-sandbox.t-0.network

Idempotency and Request Safety

All network methods specify idempotency levels for safe retry behavior and duplicate prevention. See Idempotency for the full reliability contract and provider implementation requirements.

Protocol Implementation Approach

If you need full control or cannot use the SDK, implement the Connect RPC protocol directly. You manage both client-side and server-side aspects, including cryptographic operations.

gRPC Protocol Implementation

gRPC uses binary encoding for high-throughput, strongly-typed communication. It is well suited for high-volume payment processing.

Generate client and server stubs from the provided protocol buffer definitions. network.proto defines the NetworkService interface you call; provider.proto defines the ProviderService interface you implement to receive callbacks.

Pay attention to connection management for long-lived streaming connections. Implement retry logic and circuit breaker patterns for network interruptions.

gRPC tooling covers most programming languages and fits well in microservices architectures. Strongly-typed interfaces enforce clear API contracts and catch integration errors at compile time.

REST/JSON Protocol Implementation

REST/JSON offers broader compatibility and human-readable messages, making it easier to debug and monitor. It suits providers with existing REST-based architectures.

The Connect RPC framework generates REST endpoints for each gRPC service method. Both protocols share the same functionality. JSON message formats follow the protocol buffer JSON mapping specification, so gRPC and REST implementations stay consistent.

Handle HTTP status codes, error responses, and content negotiation in your implementation. REST’s stateless model simplifies load balancing and horizontal scaling.