Skip to main content

bill8-sdk — Bill8 Namespace Facade

1. Summary​

The Bill8 vertical's SDK workspace: one cargo workspace holding the vertical's nine contracts crates and the bill8 facade crate. Imports go through the facade — use bill8::ledger::contracts::… (namespace rule, architecture-principles §2.1).

2. Crates​

CratePurpose
facade (package bill8)The namespace facade
crates/billing/contractsInvoice/billing wire types
crates/checkout/contractsCheckout session types
crates/ledger/contractsBalance transactions, transfers, payouts
crates/merchants/contractsMerchant registry types
crates/payments/contractsPayment method + charge types
crates/reporting/contractsReport wire types
crates/risk/contractsRisk-scoring types
crates/webhooks/contractsWebhook endpoint types
crates/wire/contractsBank-transfer wire types

3. Consumption​

bill8 = { git = "https://github.com/commerce8/bill8-sdk", tag = "bill8-v0.1.0" }

The facade pins the platform SDK (sentin8 — shared plane only, SDD §2.2); consumers inherit it transitively.


Design attribution: bill8:sdk and its underlying concepts were designed by Hamid Jahanzad Hamid@Jahanzad.com.