Fairshop Processor Reserves

v0.1.0
io.github.fpavia111-creator/fairshop-processor-reserves Checked 3 hours ago Published 3 days ago

Tracks reserves and holds in Stripe, PayPal and Shopify balance exports against the reserve terms…

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.

ParameterTypeDescription
path *stringA CSV, TSV, Excel .xlsx, JSON or JSONL file under the root
asstringSource kind to read it as (default: every kind this agent declares, best match first)
sheetstring | integerExcel sheet name or 0-based index (default: first visible sheet)

reserves_audit Track reserves and holds

[ALLOW] Match every reserve or dispute hold to its releases and work out what is still held, what is overdue, what is due soon and which holds are above your terms.

ParameterTypeDescription
balance *stringBalance or activity export under --root (Stripe balance transactions, PayPal activity, Shopify Payments): date, processor, type, amount, reference, release date
as_ofstringDate to measure ages, windows and deadlines from, as YYYY-MM-DD (default today)
termsstringOptional reserve terms JSON: percent and days per processor from your own notice, grace_days, upcoming_days, dispute_days

reserves_explain Explain one hold

[ALLOW] Show one hold: amount, released, still held, expected release and findings.

ParameterTypeDescription
balance *stringBalance or activity export under --root (Stripe balance transactions, PayPal activity, Shopify Payments): date, processor, type, amount, reference, release date
hold *stringHold reference or id from reserves_audit
as_ofstringDate to measure ages, windows and deadlines from, as YYYY-MM-DD (default today)
termsstringOptional reserve terms JSON: percent and days per processor from your own notice, grace_days, upcoming_days, dispute_days

reserves_write_report Write the processor-reserves worklist

[ALLOW] Write processor-reserves.csv and .html (every hold still held or flagged, by processor) and release-dates.ics into out_dir (default fairshop-out/reserves).

ParameterTypeDescription
balance *stringBalance or activity export under --root (Stripe balance transactions, PayPal activity, Shopify Payments): date, processor, type, amount, reference, release date
as_ofstringDate to measure ages, windows and deadlines from, as YYYY-MM-DD (default today)
out_dirstringFolder under --root for the report files (default fairshop-out/reserves)
termsstringOptional reserve terms JSON: percent and days per processor from your own notice, grace_days, upcoming_days, dispute_days

reserves_draft_release_inquiry Draft a release inquiry

[ASK] Write drafts/release_inquiry-<processor>.md listing overdue releases and long-open dispute holds of one processor. Marked DRAFT. Sending goes through reserves_request_send (one click); a person sends it.

ParameterTypeDescription
balance *stringBalance or activity export under --root (Stripe balance transactions, PayPal activity, Shopify Payments): date, processor, type, amount, reference, release date
processor *stringProcessor to write to (Stripe, PayPal, Shopify, ...)
accountstringYour account id with the processor
as_ofstringDate to measure ages, windows and deadlines from, as YYYY-MM-DD (default today)
fromstringYour name and business
out_dirstringFolder under --root for the files this writes (default fairshop-out/reserves).
termsstringOptional reserve terms JSON: percent and days per processor from your own notice, grace_days, upcoming_days, dispute_days

reserves_request_send Approve the release inquiry (one click)

[ASK · binding_send] After one named human click (even in Auto), record that the reviewed release inquiry draft is approved in release_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.

ParameterTypeDescription
draft *stringDraft path returned by the draft tool
draft_sha256 *stringsha256 returned by the draft tool
accept_open_issuesbooleanSet true, together with a note, to go ahead while open markers or issues remain. Default false (refused while any remain).
notestringWhy it is fine to go ahead with open issues; required when accept_open_issues is true. Kept in the audit log.
out_dirstringFolder under --root for the files this writes (default fairshop-out/reserves).
tostringWho it goes to; must match the draft when the draft names someone

balance_transfer Balance transfer

[BLOCK · move_money] Listed so agents can see it is refused. Fairshop Processor Reserves never moves money between balances or to a bank.

payout_schedule_change Payout schedule change

[BLOCK · go_live] Listed so agents can see it is refused. Fairshop Processor Reserves never changes payout or reserve settings at a processor.