ttpos-recharge
Original:🇨🇳 Chinese
Translated
Looks up TTPOS member recharge orders (member top-up orders) through the ttpos CLI, listing them by date range or order number, fetching a single order by uuid, and checking its refundable amount without executing a refund. Use when asked "How many recharge orders were there recently," "recharge order details," or "How much can this recharge be refunded for." Not for regular sales orders (ttpos-order) or member orders (ttpos-member-order).
7installs
Sourcezoneasetech/ttpos-cli
Added on
NPX Install
npx skill4agent add zoneasetech/ttpos-cli ttpos-rechargeTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →ttpos-recharge
First read .
ttpos-sharedQuestions this skill can answer
| Question | Command |
|---|---|
| Recent recharge records | |
| Details of a recharge | |
| How much can this recharge still be refunded for | |
ttpos recharge list
ttpos recharge listbash
ttpos recharge list # 最近 7 天
ttpos recharge list --from YYYY-MM-DD --to YYYY-MM-DD --page 2 --size 100
ttpos recharge list --order-no <订单号> --from YYYY-MM-DD --to YYYY-MM-DD- Query limits: up to 100 records per page, with a maximum date range of 31 days.
--from/--to - If no dates are provided, the default is the most recent 7 days. does not extend the time range; older orders require dates as well. If "not found" appears, check
--order-nofirst.notice - If only is provided,
--fromdefaults to the current date; a date that is too early will exceed 31 days. If only--tois provided,--todefaults to 7 days earlier.--from - Dates are filtered by creation time and cannot be filtered by payment time. The output may differ from the creation time by several days; if the expected order is not found, widen
payment_time.--from - values are 0 for pending payment, 1 for completed, and 2 for canceled;
statuscontains the Chinese description and should be used directly.status_text - Use each item's (string) with
uuidandget. For amounts, userefund-infoandrecharge_amount;gift_amountis an array of strings.payment_methods
ttpos recharge get <uuid>
ttpos recharge get <uuid>data--format tableuuidorder_nomemberstatuscashierrecharge_amountamountcharge_duepayment_timecreate_timegift_amountgift_pointpayment_methodsoperation_logextrattpos recharge refund-info <uuid>
ttpos recharge refund-info <uuid>This only queries information and does not process refunds; this CLI has no refund command. It returns .
refundable_amountrecharge_amountgift_amountgift_pointrecharge_member_infopayment_records- is the
<uuid>fromuuid. An order number or a sales order id cannot be used.recharge list - This command only covers recharge orders. Refundable amounts for sales orders and member orders are not provided in this version; do not substitute this command for them.
See for exit codes.
ttpos help exit-codes