ledger001)
dryRun: When true, validates the transaction without persisting it. Useful for testing Numscript logic before committing. (e.g., true)
Idempotency-Key: A unique key to ensure the request is processed exactly once. If you retry a request with the same key, the original transaction is returned instead of creating a duplicate. (e.g., tx-abc-123)
force: When true, allows accounts to go negative (overdraft). By default, transactions fail if a source account has insufficient funds.
script for Numscript or postings for explicit transfers. See examples above.The access token received from the authorization server in the OAuth 2.0 flow.
Use an idempotency key
Name of the ledger.
"ledger001"
Set the dryRun mode. dry run mode doesn't add the logs to the database or publish a message to the message broker.
true
Disable balance checks when passing postings
true
The request body must contain at least one of the following objects:
postings: suitable for simple transactionsscript: enabling more complex transactions with Numscript{ "admin": "true" }The numscript runtime used to execute the script. Uses "machine" by default, unless the "--experimental-numscript-interpreter" feature flag is passed.
experimental-interpreter, machine "ref:001"
OK