Skip to main content
This is a task-oriented guide, not the canonical API reference. Use it to see several RevoEngine capabilities working together, then follow the links to the field-by-field and generated references.
This guide implements a payment-style reservation flow. A caller submits an existing order. RevoEngine authenticates the workload, validates the request, prevents duplicate processing, locks the relevant rows, reserves the balance, writes a transaction record, and returns an operationId that an operator can follow through the platform. The example deliberately stores money in minor units (1250 means 12.50) and reads the amount, account, and currency from the governed orders Table. A caller cannot replace those trusted values in the request body.

Protect the command

A service account, least-privilege access, a JSON request guard, and an idempotency key bound the public operation.

Commit one state change

A serializable transaction locks the order and balance, then writes the balance, order state, and ledger entry together.

Prove what happened

The response, structured logs, Job History, Table audit, and Trace share stable business and platform identifiers.

1. Model order state

Create the records and validate the reservation command.

2. Reserve an order

Implement the reservation Component and its HTTP Endpoint.

3. Settle the order

Run external settlement as durable background work.

4. Verify and investigate

Exercise failure paths and follow one order through its evidence.

Explore the behavior

Architecture

The synchronous boundary reserves funds and records the pending settlement. Job submission follows the database commit. If the handoff loses its receipt, a repeat of the same command can resume it using the ledger. The Job uses the transaction ID as the provider idempotency key, then records settlement and saves a restricted receipt.

What this one workflow demonstrates

The same platform model also covers realtime delivery, scheduled and event-driven work, SDK/CLI workflows, custom Node.js, frontend integrations, and governed AI. Those areas have their own guides and references instead of being forced into this sample.

Before you begin

You need permission to create or update Components, Endpoints, Job templates, JSON Validator Components, and Tables. For production, create a dedicated service account such as payments-runtime and grant it only the roles and restricted-resource membership required by this workflow.
Do not put provider credentials, complete request bodies, card data, or unrestricted customer records in Component source, Endpoint metadata, logs, or Job input. Store secrets in Secrets and retain only the identifiers needed to investigate an operation.

Reference, architecture, and operations

Database runtime reference

Search exact signatures for transactions, row reads and writes, idempotency, Jobs, logs, and operation IDs.

Database definitions

Configure field types, constraints, indexes, references, audit, and access boundaries.

Endpoint configuration

Review every route, validation, runtime, response, and retention option.

Identity and access

Configure users, service accounts, Groups, Permissions, API keys, and resource ACLs.

Jobs

Understand execution limits, retries, concurrency, long-running work, and history.

Traces and correlation

Investigate a distributed operation without collecting secrets.

HTTP integrations

Integrate JSON APIs, multipart forms, SSE, byte streams, callbacks, and Storage transfers.
Last modified on November 11, 2026