Fairshop Payouts
v0.1.1Matches every order to the payout lines in Shopify Payments, Stripe, PayPal, Amazon, eBay, Etsy…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fairshop_info
Show this pack: pinned model, mode, caps, Auto opt-ins, and the allow/ask/block decision for every tool.
fairshop_inspect_input
Show how a CSV, TSV, Excel, JSON or JSONL file under the root would be read: its format, which export it looks like, which of its columns map to this pack's columns, and what each column holds. Returns column names and shapes only, never cell values. Use it before a tool when a file comes straight from another system.
| Parameter | Type | Description |
|---|---|---|
path * | string | A CSV, TSV, Excel .xlsx, JSON or JSONL file under the root |
as | string | Source kind to read it as (default: every kind this agent declares, best match first) |
sheet | string | integer | Excel sheet name or 0-based index (default: first visible sheet) |
payouts_audit Match orders to payouts
[ALLOW] Match every order to its payout lines by channel. Returns what is missing (to chase), what is still inside the payout window, what to review (paid twice, refunds not yet deducted, fees above your rate, payout lines with no order) and totals by channel.
| Parameter | Type | Description |
|---|---|---|
orders * | string | Orders export under --root (Shopify, WooCommerce, BigCommerce or any CSV/Excel with order number, channel, date, total, refunded, status, payment method) |
payouts * | string | Payout or settlement lines under --root (Shopify Payments, Stripe, PayPal, Amazon, eBay, Etsy or Walmart export), one row per order line in a payout |
as_of | string | Date to measure ages, windows and deadlines from, as YYYY-MM-DD (default today) |
settings | string | Optional settings JSON: payout_days and max_fee_pct per channel, tolerance, skip_statuses, skip_gateways |
payouts_explain Explain one order
[ALLOW] Show one order: expected, received, fees, the payouts it appears in and why it was flagged.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order number (with or without #) or a payout line id from payouts_audit |
orders * | string | Orders export under --root (Shopify, WooCommerce, BigCommerce or any CSV/Excel with order number, channel, date, total, refunded, status, payment method) |
payouts * | string | Payout or settlement lines under --root (Shopify Payments, Stripe, PayPal, Amazon, eBay, Etsy or Walmart export), one row per order line in a payout |
as_of | string | Date to measure ages, windows and deadlines from, as YYYY-MM-DD (default today) |
settings | string | Optional settings JSON: payout_days and max_fee_pct per channel, tolerance, skip_statuses, skip_gateways |
payouts_write_report Write the payouts worklist
[ALLOW] Write payouts.csv (one row per order or payout line, with a blank decision column) and payouts.html (by channel, by finding, every row) into out_dir (default fairshop-out/payouts).
| Parameter | Type | Description |
|---|---|---|
orders * | string | Orders export under --root (Shopify, WooCommerce, BigCommerce or any CSV/Excel with order number, channel, date, total, refunded, status, payment method) |
payouts * | string | Payout or settlement lines under --root (Shopify Payments, Stripe, PayPal, Amazon, eBay, Etsy or Walmart export), one row per order line in a payout |
as_of | string | Date to measure ages, windows and deadlines from, as YYYY-MM-DD (default today) |
out_dir | string | Folder under --root for the report files (default fairshop-out/payouts) |
settings | string | Optional settings JSON: payout_days and max_fee_pct per channel, tolerance, skip_statuses, skip_gateways |
payouts_draft_payout_inquiry Draft a payout inquiry
[ASK] Write drafts/payout_inquiry-<channel>.md listing every order on one channel that was not paid out or was paid short, with the amount missing. Marked DRAFT with the support contact left to confirm. Sending goes through payouts_request_send (one click); a person sends it.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Channel to ask about, as it appears in the files (Shopify, Amazon, Etsy, ...) |
orders * | string | Orders export under --root (Shopify, WooCommerce, BigCommerce or any CSV/Excel with order number, channel, date, total, refunded, status, payment method) |
payouts * | string | Payout or settlement lines under --root (Shopify Payments, Stripe, PayPal, Amazon, eBay, Etsy or Walmart export), one row per order line in a payout |
account | string | Your store or seller id on that channel |
as_of | string | Date to measure ages, windows and deadlines from, as YYYY-MM-DD (default today) |
from | string | Your name and store, for the From line |
out_dir | string | Folder under --root for the files this writes (default fairshop-out/payouts). |
settings | string | Optional settings JSON: payout_days and max_fee_pct per channel, tolerance, skip_statuses, skip_gateways |
payouts_request_send Approve the payout inquiry (one click)
[ASK · binding_send] After one named human click (even in Auto), record that the reviewed payout inquiry draft is approved in payout_inquiry-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. A person on your team acts on it; the agent never does.
| Parameter | Type | Description |
|---|---|---|
draft * | string | Draft path returned by the draft tool |
draft_sha256 * | string | sha256 returned by the draft tool |
accept_open_issues | boolean | Set true, together with a note, to go ahead while open markers or issues remain. Default false (refused while any remain). |
note | string | Why it is fine to go ahead with open issues; required when accept_open_issues is true. Kept in the audit log. |
out_dir | string | Folder under --root for the files this writes (default fairshop-out/payouts). |
to | string | Who it goes to; must match the draft when the draft names someone |
balance_withdraw Balance withdraw
[BLOCK · move_money] Listed so agents can see it is refused. Fairshop Payouts never moves money out of a payment or marketplace balance.
support_case_submit Support case submit
[BLOCK · binding_send] Listed so agents can see it is refused. Fairshop Payouts never opens a case or messages a marketplace or processor; a person sends the reviewed inquiry.