Pay order
Pay an order with a Link wallet token (US and Canada) or with Alipay or WeChat Pay, instead of its payment link.
MCP: pay_order
Usage
fortrip orders pay <orderId> --total <USD decimal> [options]Options
| Flag | Field | Description |
|---|---|---|
<orderId> | orderId | The orderId of the order to pay. |
--token <spt_…> | sharedPaymentToken | Required unless --wallet. The spt_… token the user's Link wallet issued for this order. |
--wallet | method | Pay with Alipay or WeChat Pay instead of a token: prints the WeChat Pay code and both links. |
--total <USD decimal> | total | Required. The total the user approved, exactly as orders get shows it, in USD, e.g. 125.00. |
Output
Compact text on stdout: one line per hotel, offer or order, with its ids, and every note. With --json, the response as JSON on one line.
The JSON is the Order (pay) object. Errors go to stderr with an exit code.