0Bit Documentation

Settlement cadence review

Keep 0Base settlement cadence language tied to approved merchant terms.

Settlement cadence review defines when successful payment activity becomes merchant payout activity. Cadence can shape cash-flow expectations, support scripts, reconciliation timing, and finance close. It should be treated as account configuration, not a universal product promise.

0Base availability is account-gated. Build against capabilities, merchant status, environment mode, and settlement settings instead of assuming that every payment method, asset, network, cadence, or refund path is enabled for every merchant.

0Base product docs and API details

These pages are public product guidance for merchant and platform developers. 0Base endpoint-level API pages are not published for partners yet; use this product documentation to understand the workflow, records, and launch boundaries.

End-to-end picture

This flow is intentionally shown as product infrastructure: Payment succeeds -> Ledger pending -> Cadence policy -> Processing -> Paid or failed -> Report close. The merchant application can make the customer experience simple, but the backend should keep each step visible enough for retries, support, and finance closeout.

Production contract

BoundaryWhat to buildWhy it matters
Cadence sourceRead merchant payout settings for instant or batch where enabled.Product copy must match account behavior.
Ledger separationPayment success and payout paid are related but different states.Avoids confusing fulfillment with payout.
Batch periodIf batch is used, define period boundaries and export timing.Finance can close predictable windows.
Instant pathIf instant is enabled, still record ledger state.Instant does not remove audit requirements.
Failure handlingPayout failure should not erase payment success.Recovery belongs in settlement operations.

Status and state handling

StateWhat it meansDeveloper action
PendingLedger row exists or is expected but payout is not complete.Finance keeps open.
ProcessingPayout work is in progress.Do not mark paid.
PaidSettlement ledger reached terminal paid state.Close payout.
FailedSettlement path failed.Investigate and retry according to policy.

Status handling should be strict even when the customer UI is friendly. Store raw 0Base statuses, map them to customer-safe labels at the edge, and keep the merchant order state separate from the payment object state. That separation lets you change customer copy without corrupting reconciliation.

Example implementation record

This is an application-side record shape for settlement cadence review. Keep exact request and response fields aligned with your enabled account contract when 0Base API access is released for your partner account; the point of this record is to keep product, support, and finance joined in your system.

{
  "merchant_id": "mrc_2048",
  "settlement_cadence": "batch",
  "period": "2026-06",
  "ledger_status": "processing",
  "payment_intent_id": "pi_live_456",
  "settlement_id": "set_live_001",
  "finance_state": "open"
}

Operational scenario

A merchant may fulfill goods when payment succeeds, while finance closes cash movement later when settlement ledger rows become paid. Those are two different workflows and both need clean records.

In practice, production 0Base integrations make the happy path fast while keeping exceptions predictable: retries return the same object, delayed notifications can be repaired, expired sessions do not become mystery payments, and finance exports can be traced back to the original merchant order.

Before and after

Before 0BaseWith 0Base
Payment success was described as payout complete.Payment and settlement have separate statuses.
Batch cutoffs were informal.Period boundaries and export timing are documented.
Failed payout looked like failed customer payment.Payout failure is handled in settlement operations.
Finance could not tell instant from batch.Cadence is stored in payout settings and ledger context.

Evidence to keep

EvidenceWhat to store
Payout settings snapshotCadence, settlement currency, rail, update timestamp.
Ledger timelinePending, processing, paid, failed timestamps.
Report periodFrom/to filters, generated timestamp, totals.
Exception logFailed ledger ids, retry owner, support impact.
Merchant communicationWhat payout timing the merchant has been told.

This evidence is what makes the integration supportable at institutional scale. A developer should not need private operational knowledge to answer basic questions such as what the customer saw, which object owns the state, which event announced the change, and which ledger or report row closed the money movement.

Failure modes and recovery

Failure modeRecovery
Cadence changes mid-periodRecord setting history and apply clear period rules.
Payment succeeded but ledger pendingFulfill according to payment policy, keep finance open.
Ledger failedPreserve payment success and route settlement recovery.
Report generated before batch closeLabel as partial/open and regenerate after close.

Recovery should be idempotent and explainable. When the system is uncertain, preserve the current raw status, read the latest object state, attach a support reference, and avoid changing fulfillment or finance state until a trusted terminal condition is present.

API adjacency

API areaUse it for
GET /merchants/{merchantId}/payout_settingsRead current cadence.
PATCH /merchants/{merchantId}/payout_settingsUpdate settings where permitted.
GET /merchants/{merchantId}/settlement_ledgerRead ledger state.
GET /reports/settlementReview settlement report.

For endpoint-level implementation, use the API reference as the source of truth for fields, enums, authentication, idempotency behavior, pagination, and response examples.

Why this matters for merchants and customers

Settlement cadence controls merchant cash-flow expectations. Treating it as account configuration instead of a global promise helps businesses plan operations without confusing payment success with payout completion.

At scale, the value of 0Base is not only that a payment can be created. The value is that the payment can be explained later: what the customer saw, which account capabilities allowed it, which backend state changed, which notification delivered it, and which ledger or report row closed it.

Worked API path

The example below shows the implementation shape for this page. Use merchant-specific capabilities, account settings, and API responses in production; the ids and values here are illustrative.

curl -X GET https://base-api-sandbox.0bit.app/v1/merchants/mrc_test_123/settlement_ledger \
  -H "Authorization: Bearer $OBIT_SECRET_KEY"

Example response shape:

{
  "settlementLedger": [
    {
      "settlementId": "set_test_123",
      "intentId": "pi_test_456",
      "status": "processing",
      "asset": "USDT",
      "cryptoAmount": "96.52000000",
      "settlementCurrency": "USDC",
      "settlementRail": "onchain"
    }
  ],
  "nextCursor": null
}

Implementation checkpoints:

  • Store your merchant reference before calling 0Base.
  • Join ledger rows back to the original payment intent and report period.
  • Record the request id, idempotency key, raw status, and environment.
  • Use webhook and report reads to repair delayed or missed state changes.

Data join map

This join map is the reason 0Base is infrastructure rather than a payment button. A merchant can change checkout UX, support tooling, or finance exports without losing the chain from customer action to backend state and settlement evidence.

Operator runbook

SignalCheck firstAction
Customer reports payment not updatingLook up merchant order id, 0Base object id, raw status, and latest webhook delivery.Read current object state before changing fulfillment.
Webhook delivery failedCheck delivery id, event id, attempts, last error, and handler logs.Fix the handler, replay once, and dedupe by event id.
Finance cannot match a rowCompare client reference, intent id, settlement id, report period, and export row.Move the item to reconciliation queue instead of closing by amount/date.
Payout or ledger status is not finalCheck settlement cadence, ledger status, report period, and payout setting history.Keep finance state open and assign settlement recovery if status is failed.

The runbook should be available to support and finance teams before launch. A developer integration is not complete if only engineering can explain the state of a customer payment.

Developer checklist

  • Do not promise a cadence without account settings.
  • Keep payment status separate from ledger status.
  • Record setting changes.
  • Define batch period boundaries.
  • Test paid and failed ledger states.
  • Make finance exports match cadence policy.

On this page