maton stripe payment create
Create a payment intent (amount in cents, e.g. 1999 = $19.99)
maton stripe payment create [flags]
Options
-
--amount <string> - Amount in cents (required)
-
--confirm - Immediately confirm the payment intent
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--currency <string> - Three-letter currency code (required, e.g. usd)
-
--customer <string> - Customer ID to associate
-
--description <string> - Description of the payment
-
--dry-run - Print the request that would be sent without executing it
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-q,--jq <expression>- Filter JSON output using a jq expression
-
--metadata <stringArray> - Metadata key=value pair (repeatable)
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--payment-method <string> - Payment method ID to attach
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton stripe payment create --amount 1999 --currency usd
$ maton stripe payment create --amount 5000 --currency usd --customer cus_123 --confirm