record_order_payment
Record a manual payment on an order that is awaiting payment (payment_status="pending"). Use payment_method="sales_channel" for an order already paid on its storefront (Shopify/WooCommerce/Wix — the channel is the source of payment), or "stripe" for an order taken through ApparelHub's own card flow. This marks the order paid; it does not charge a card.
[#81d42b]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Optional amount for the caller's intent; the recorded amount comes from the order total. | |
| workspace | No | Workspace uuid to scope to (agency accounts). Omit for the Default workspace. | |
| order_uuid | Yes | The order uuid (from list_my_orders). | |
| payment_method | Yes | e.g. "sales_channel" (paid on the storefront) or "stripe" (ApparelHub card flow). |