Launch Sale — 20% off all plugins. Limited time only.

WP-CLI commands

Refinery Payouts ships with a set of WP-CLI commands for processing orders, retrying failed transfers, and inspecting the log from the command line. Useful for backfilling, reconciliation, and automation.

Listing transfers

Show recent transfer log entries:

wp refinery-payouts logs list
wp refinery-payouts logs list --status=failed
wp refinery-payouts logs list --order=12345
wp refinery-payouts logs list --format=json

Processing an order

Manually run the payout pipeline for a specific WooCommerce order. Useful if a transfer was missed (for example, when the plugin was inactive at payment time).

wp refinery-payouts process <order_id>

The command respects the same idempotency flag the automatic flow uses — already-processed orders are skipped unless you pass --force.

Retrying a failed transfer

Re-attempt a single failed transfer log entry by its log ID:

wp refinery-payouts retry <log_id>

Reversing a transfer

Manually reverse a transfer (full or partial). Useful when WooCommerce-side refund reversals are disabled or you need to issue a discretionary clawback.

wp refinery-payouts reverse <log_id>
wp refinery-payouts reverse <log_id> --amount=25.00

Listing transfer accounts

wp refinery-payouts accounts list
wp refinery-payouts accounts list --setup-pending

Re-syncing an account from Stripe

Pull the latest charges_enabled and capability flags from Stripe and update the Transfer Account post:

wp refinery-payouts accounts sync <post_id>

Connection check

Verify the plugin can authenticate with Stripe in the active mode:

wp refinery-payouts ping

Output formats

All list commands accept --format=table|csv|json|yaml for piping into other tools. For example, to dump every failed transfer in the last week as JSON:

wp refinery-payouts logs list --status=failed --since="7 days ago" --format=json

Grow Your Store Smarter

One email a week with plugin updates, revenue tactics, and strategies top WooCommerce stores use to scale.

By subscribing, you agree to our Privacy Policy. Unsubscribe anytime.

Item added to cart.
0 items - $0.00