acedatacloud_pay_order
Create a payment session for an order to start checkout. Set confirm=true to initiate payment, with options for payment method and client surface.
Instructions
Create a payment session. Requires confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to create payment state. | |
| pay_way | No | Payment method. | Stripe |
| surface | No | Client surface affecting hosted payment flow. | pc |
| order_id | Yes | Order UUID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |