Adullam gRPC API Overview
The Adullam gRPC API exposes the same partner capabilities as the REST API over a binary protocol, suited for performance-sensitive or server-to-server integration: authentication, payments, transfers, and account.Why gRPC?
- Lower latency and smaller payloads than JSON over REST.
- Strong typing via Protocol Buffers; generate clients for your language from the
.protofiles. - Streaming support where needed.
Services
Adullam defines four partner-facing gRPC services in the packageofceabstudio.services.adullam.v1:
| Service | Description |
|---|---|
| PartnerAuthenticationService | GetToken, RotateToken |
| PartnerPaymentService | CreatePayment, GetPayment, ListPayments, RefundPayment |
| PartnerTransferService | CreateTransfer, GetTransfer, ListTransfers, ReverseTransfer |
| PartnerAccountService | GetBalance, GetAccount |
Download the v1 partner proto files
Download the Protocol Buffer definitions for the partner API (v1) and use them with the gRPC tooling for your language to generate your own client.| File | Description |
|---|---|
| partner_service.proto | Partner services and messages (auth, payments, transfers, account) |
| common.proto | Shared enums and types (currency, status, channel, pagination) |
protos/v1/). partner_service.proto imports common.proto. It also references buf/validate/validate.proto; for code generation you can use Buf or include the buf validate dependency.
Generate your own client
Use the official gRPC documentation for your language to install the compiler and plugins, then generate client code from the downloaded.proto files:
- gRPC Languages & Frameworks — guides for C++, C#, Dart, Go, Java, Kotlin, Node, Objective-C, PHP, Python, Ruby, Swift, and more.
protoc, add the gRPC plugin for your language, then run something like:
Authentication
Send the access token (obtained via RESTPOST /v1/auth/token or gRPC GetToken) in gRPC metadata using the key authorization:
- Metadata key:
authorization - Value: the token only (no
Bearerprefix)
Support
Need help? Contact us by email (support@adullam.dev), WhatsApp (chat), or Telegram (@adullam_official).