Plan
Commercial template for price, cadence, and entitlement rules.
Request early accessDeveloper preview
This page is a developer preview of MonetLayer object relationships, verification rules, and webhook direction. It does not expose a public production API hostname.
Related reading: product lifecycle, settlement proof, reconciliation, and usage-based billing.
API contract preview — not a public production endpoint
https://api.example.monetlayer.dev
Use this only as a contract sketch for early-access discussion. Do not treat it as a live public endpoint.
Quickstart preview
Create plan
Create subscription
Open invoice
Create payment attempt
Receive customer-action requirement
Verify settlement
Receive webhook
Conceptual billing object
{
"invoice_id": "inv_preview",
"amount": {
"raw": "100000",
"decimals": 6,
"formatted": "0.100000",
"currency": "USDC"
},
"collection_method": "customer_initiated",
"payment_status": "requires_action",
"network": "base-sepolia"
}Commercial template for price, cadence, and entitlement rules.
Customer binding to a plan across billing periods.
Amount-due record for a collection period.
Collection attempt with explicit action and verification state.
Requirement for customer wallet confirmation.
Verified onchain receipt evidence bound to billing state.
Access state activated after reconciliation.
Durable merchant-facing state-change event.
Delivery attempt history for a webhook event.
Example response
{
"invoiceId": "inv_preview_example",
"status": "requires_action",
"collectionMethod": "customer_initiated",
"network": "base-sepolia",
"amount": {
"raw": "100000",
"decimals": 6,
"formatted": "0.100000",
"currency": "USDC"
}
}Execution boundary
A provider can submit or observe payment movement. MonetLayer records the billing lifecycle, verifies settlement evidence, reconciles invoice state, activates entitlement, and delivers merchant webhooks.
Billing truth
Payment execution
Customer-action lifecycle
invoice.openpayment.requires_actiontransaction.submittedreceipt.verifiedinvoice.paidentitlement.activewebhook.deliveredWebhook events
invoice.openedCurrent contract direction
payment_attempt.requires_actionCurrent contract direction
settlement.confirmedCurrent contract direction
invoice.paidCurrent contract direction
entitlement.activatedCurrent contract direction
webhook.delivery_succeededProposed contract
webhook.delivery_failedProposed contract
Duplicate webhook processing and historical replay against the same payment evidence must not create conflicting billing state. Exact request headers such as Idempotency-Key are not published here unless verified in the public contract.
Network: Base Sepolia. Chain ID: 84532. Billing asset: USDC. Collection model: Customer initiated. Signature: Required for each demonstrated collection. Product status: Early access / testnet.
Provider support status
| Provider | Current status |
|---|---|
| Mock | Local and staging testing |
| Direct Base | Customer-initiated Base Sepolia |
| StablecoinX Harness | Blocked pending documentation and access |