The sdk.balance resource exposes all nine Balance operations. Use the Balance endpoint reference for the verified request fields, wire responses, scopes, errors, and side-by-side cURL / TypeScript SDK examples.
The pinned SDK source declares older request and response types. Its HTTP client returns the response envelope unchanged. Review the SDK compatibility guidance before relying on those declarations; order-related requests require orderId, and release requires sellerId.
Methods
Retries
For a mutation, call sdk.withIdempotencyKey(key).balance with a persisted UUID v4 for that operation. Reuse that key only for retries of the identical operation. Neither reference nor orderId deduplicates requests. See idempotency behavior and errors.
Sources
The source ledger pins the controller, DTOs, service, middleware, and SDK files used to verify this reference. No SDK or backend implementation is changed by these documentation pages.