Are you an LLM? You can read better optimized documentation at /resources/actors/payment/commands/create-authorization.md for this page in Markdown format
Command: payment.createAuthorization
Creates a new Authorization.
Body
authorizationNumber | string The natural key for the Authorization. Must be unique within the Payment. |
amount | number The amount to authorize. |
authorizationState | "pending" | "successful" | "failed" (optional) Optional state of the Authorization. Default is "successful". |