0Bit Documentation

Stablecoin checkout review

Review stablecoin checkout wording, assets, networks, and settlement assumptions before launch.

Stablecoin checkout review ensures that a merchant can safely present crypto payment options without implying unsupported chains, instant finality, universal settlement, or fixed economics that the account is not approved to use. Stablecoin checkout is powerful because it can reduce cross-border payment friction, but only when capability, status, and reconciliation are precise.

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: Merchant capability -> Asset and network choice -> Exact amount -> Customer payment -> Confirmations/status -> Settlement record. 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
Capabilities firstRead payment methods, crypto currencies, networks, min/max amounts, and settlement currencies.Prevents unavailable stablecoin options.
Amount disciplineCreate exact amount objects with clear expiration and status.Reduces underpayment and overpayment handling.
Network disciplineShow only enabled networks and confirmation expectations.Prevents customer funds from being sent incorrectly.
Finality disciplineDo not fulfill from transaction detection alone.Stablecoin payments still need status handling.
Settlement disciplineSeparate customer payment asset from merchant settlement preference.Finance can understand exposure and payout asset.

Status and state handling

StateWhat it meansDeveloper action
DisplayedStablecoin option is visible after capability check.Merchant may show it.
DetectedPayment signal exists.Show pending.
ConfirmingWaiting for required confirmations or processing.Do not fulfill unless policy allows.
SucceededTerminal success.Fulfill and reconcile.

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 stablecoin checkout readiness. 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",
  "payment_method": "crypto_wallet",
  "customer_asset": "USDT",
  "network": "capability_network",
  "amount": "250.00",
  "intent_status": "confirming",
  "settlement_currency": "USDC",
  "fulfillment_state": "pending_final_status"
}

Operational scenario

A global merchant may want stablecoin checkout because customers can pay from many markets without card acceptance constraints. The integration must still be strict: display only capability-backed networks, keep exact amount instructions, and reconcile from the payment object and ledger.

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
Stablecoin meant any chain/address was acceptable.Stablecoin options are constrained by merchant capability.
Detected payment triggered shipment.Terminal success triggers shipment.
Settlement asset was assumed to match payment asset.Settlement currency is read from settings/capabilities.
Customer copy promised no delays.Copy explains pending, confirming, succeeded, failed, and expired states.

Evidence to keep

EvidenceWhat to store
Capability snapshotActive payment method, asset, network, min/max amount, confirmations.
Instruction snapshotAmount, crypto currency, network, expiry, payment object id.
Status trailDetected, confirming, processing, succeeded/failed timestamps.
Settlement preferenceRequested settlement currency/rail and account settings.
Support packetPayment hash where available, intent id, deposit address id, event id.

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
Wrong network selectedBlock in UI and never issue unsupported instructions.
UnderpaymentKeep order pending and follow merchant recovery policy.
OverpaymentRecord evidence and route to support/refund policy where enabled.
Volatility or conversion state unclearUse raw status and quote/amount fields; do not invent a final value.

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 /capabilities/payment_methodsStablecoin payment method coverage.
GET /capabilities/networksNetwork coverage and confirmations.
POST /payment_intentsExact payment object.
POST /payment_intents/{intentId}/deposit_addressDeposit-address style record where enabled.

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

Stablecoin checkout can make cross-border customer payments more accessible, but only if the integration is precise about asset, network, amount, expiry, confirmation state, and settlement records.

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 POST https://base-api-sandbox.0bit.app/v1/payment_intents \
  -H "Authorization: Bearer $OBIT_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: ord_100045:base:v1" \
  -d '
{
    "amount": "89.00",
    "currency": "EUR",
    "cryptoCurrency": "USDT",
    "clientReference": "ord_100045",
    "settlementCurrency": "USDC",
    "settlementRail": "onchain"
}'

Example response shape:

{
  "intentId": "pi_test_456",
  "status": "requires_payment",
  "amount": "89.00",
  "currency": "EUR",
  "cryptoCurrency": "USDT",
  "clientReference": "ord_100045",
  "settlementCurrency": "USDC",
  "settlementRail": "onchain"
}

Implementation checkpoints:

  • Store your merchant reference before calling 0Base.
  • Attach the returned object id to the same business record.
  • 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.
Customer paid but order is still pendingCheck raw intent status, deposit-address status, confirmations, and latest report row.Keep fulfillment pending until terminal success or documented manual review.

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

  • Read capabilities at session start.
  • Do not hard-code networks from examples.
  • Store payment instructions exactly as shown.
  • Wait for trusted final state before fulfillment.
  • Expose pending states honestly.
  • Include stablecoin flows in launch review.

On this page