octopus payment order create
octopus payment order create
Create (initiate) a payment order
Synopsis
Initiate a new payment order for a given scenario.
Inputs are passed as key=value pairs. Amount is in raw/minor units.
octopus payment order create [flags]
Examples
octopus payment order create --scenario cash-out --input amount=10000 --tenant acme-bank
octopus pay order create --scenario cash-in --input amount=50000 --input customer=ac_01jxyz... --tenant acme-bank
octopus pay order create --scenario cash-out --input amount=10000 -o json --tenant acme-bank
Options
--external-ref string External reference for idempotency tracking
-h, --help help for create
--input stringArray Input as key=value (repeatable)
--meta stringArray Metadata as key=value (repeatable)
--scenario string Payment scenario name (required)
Options inherited from parent commands
-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output
SEE ALSO
- octopus payment order - Manage payment orders