Stripe — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the stripe-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:npx -y @mvanhorn/printing-press-library install stripe --cli-only
- Verify:
stripe-pp-cli --version
- Ensure the reported install directory is on
$PATH for the agent/runtime that will invoke this skill.
If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):
go install github.com/mvanhorn/printing-press-library/library/payments/stripe/cmd/stripe-pp-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
When to Use This CLI
Reach for stripe-pp-cli when you need to (1) run analytics across customers/subs/invoices that Stripe's dashboard doesn't expose, (2) script payment ops in a CI/agent loop without daemon processes, (3) reconcile payouts and balance transactions, or (4) feed Stripe state into a non-Stripe system (CRM, accounting, outreach automation).
When NOT to Use This CLI (anti-triggers)
Do not use stripe-pp-cli for:
- Live-mode bulk writes you have not audited. Mutating commands (POST/PUT/PATCH/DELETE) against an
sk_live_... key are blocked by default with a clear error; pass --confirm-live (or set STRIPE_CONFIRM_LIVE=1) once you have audited the invocation. Prefer sk_test_... for development regardless.
- In-person Terminal payments.
terminal resource commands are present but Stripe Terminal SDK is not in scope. Use the Terminal iOS/Android SDK.
- Stripe Issuing card management workflows.
issuing commands are REST passthrough only; spending controls, dispute evidence packages not built. Use the Stripe Dashboard.
- Stripe Tax registration.
tax-rates CRUD only; jurisdiction registration not in scope. Use Stripe Tax in Dashboard.
- Connect platform fan-out across many connected accounts. Single account at a time via
Stripe-Account header. Multi-account loops via external script.
- Local mock-server testing. Use stripe-mock directly via
STRIPE_BASE_URL=http://localhost:12111.
Not Yet Wired (deferred to v0.2)
| Area |
Status |
Workaround |
| Stripe Issuing (full workflow) |
endpoint passthrough only |
Use Stripe Dashboard |
| Stripe Terminal (in-person SDK) |
endpoint passthrough only |
Use Terminal SDK |
| Stripe Tax registration |
tax-rates CRUD only |
Use Stripe Tax in Dashboard |
localstripe mock server |
out of scope |
Use stripe-mock via STRIPE_BASE_URL |
| Connect account fan-out |
single-account at a time |
External script loops |
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Local state that compounds
health — Compute a 0-100 health score for one or many customers from local SQLite, factoring in failed-payment count, dispute history, MRR contribution, subscription status, and account age.
Use this to feed customer-health signals into outreach, dunning, and renewal automation without burning hundreds of API calls per customer.
stripe-pp-cli health cus_xyz --json --select score,failed_payments,mrr_contribution
dunning-queue — List invoices in past_due/uncollectible state ranked by days-overdue, with last failure reason and customer email pulled from the local store.
When deciding which customers to follow up with about failed payments, this beats walking the Stripe dashboard or chaining 4+ API calls per row.
stripe-pp-cli dunning-queue --json --select invoice,customer_email,days_overdue,last_failure_reason
sql — Run read-only SQLite queries against the local Stripe mirror. All synced data lives in a generic 'resources' table — query with json_extract(data, '$.field') and filter by resource_type.
When a one-off question doesn't fit the canned commands, drop into SQL instead of writing a script that hits the API a thousand times.
stripe-pp-cli sql "SELECT json_extract(data,'$.email') AS email, COUNT(*) AS active_subs FROM resources WHERE resource_type='subscriptions' AND json_extract(data,'$.status')='active' GROUP BY json_extract(data,'$.customer') HAVING active_subs > 1" --json
payout-reconcile — Join payouts to balance_transactions to charges to customers from local store; flag missing balance_transactions and mismatches; CSV export.
Use this for end-of-period payout reconciliation against bank statements or accounting systems — replaces the manual CSV-pivot ritual.
stripe-pp-cli payout-reconcile --since 7d --csv
subs-at-risk — List subscriptions whose default payment method's card expires in a window, sorted by current MRR contribution.
Use this monthly to proactively email customers whose card is about to expire — prevents involuntary churn.
stripe-pp-cli subs-at-risk --within 30d --json --select customer_email,mrr,card_exp
metadata-grep — Search every synced resource's metadata bag for a key/value across resource types; returns (resource_type, id, matched_kv) rows.
When integrating Stripe with a CRM via metadata tags, this finds every related resource in one query.
stripe-pp-cli metadata-grep 'crm_id=acme-001' --json
Agent-native plumbing
customer-360 — One-shot dossier: customer profile + active subs + recent invoices + payment methods + recent charges + open disputes + lifetime spend.
Use this as the first command when investigating a customer ticket, support escalation, or churn risk — full context in one call.
stripe-pp-cli customer-360 alice@example.com --json --compact
events-since — Fetch all Events since a cursor, persist new cursor in profile, no daemon. One-shot replacement for stripe-cli's listen daemon.
Use this in cron-driven agent loops to replay only new events since the last run — no daemon to babysit, no missed events.
stripe-pp-cli events-since --type 'invoice.*' --json --select id,type,created,data.object.id
Command Reference
account — Manage account
stripe-pp-cli account — Retrieves the details of an account.
account-links — Manage account links
stripe-pp-cli account-links — Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to...
account-sessions — Manage account sessions
stripe-pp-cli account-sessions — Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to...
accounts — Manage accounts
stripe-pp-cli accounts delete — With Connect, you can delete accounts you manage. Test-mode accounts can be deleted...
stripe-pp-cli accounts get — Returns a list of accounts connected to your platform via Connect. If you’re not a...
stripe-pp-cli accounts get-account — Retrieves the details of an account.
stripe-pp-cli accounts post — With Connect, you can create Stripe accounts for your users. To do this, you’ll...
stripe-pp-cli accounts post-account — Updates a connected account by setting the values of the parameters passed. Any...
apple-pay — Manage apple pay
stripe-pp-cli apple-pay delete-domains-domain — Delete an apple pay domain.
stripe-pp-cli apple-pay get-domains — List apple pay domains.
stripe-pp-cli apple-pay get-domains-domain — Retrieve an apple pay domain.
stripe-pp-cli apple-pay post-domains — Create an apple pay domain.
application-fees — Manage application fees
stripe-pp-cli application-fees get — Returns a list of application fees you’ve previously collected. The application fees are returned in sorted...
stripe-pp-cli application-fees get-id — Retrieves the details of an application fee that your account has collected. The same information is returned...
apps — Manage apps
stripe-pp-cli apps get-secrets — List all secrets stored on the given scope.
stripe-pp-cli apps get-secrets-find — Finds a secret in the secret store by name and scope.
stripe-pp-cli apps post-secrets — Create or replace a secret in the secret store.
stripe-pp-cli apps post-secrets-delete — Deletes a secret from the secret store by name and scope.
balance — Manage balance
stripe-pp-cli balance — Retrieves the current account balance, based on the authentication that was used to make the request. For a...
balance-settings — Manage balance settings
stripe-pp-cli balance-settings get — Retrieves balance settings for a given connected account. Related guide: Making...
stripe-pp-cli balance-settings post — Updates balance settings for a given connected account. Related guide: Making...
balance-transactions — Manage balance transactions
stripe-pp-cli balance-transactions get — Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and...
stripe-pp-cli balance-transactions get-id — Retrieves the balance transaction with the given ID. Note that this endpoint previously used the path...
billing — Manage billing
stripe-pp-cli billing get-alerts — Lists billing active and inactive alerts
stripe-pp-cli billing get-alerts-id — Retrieves a billing alert given an ID
stripe-pp-cli billing get-credit-balance-summary — Retrieves the credit balance summary for a customer.
stripe-pp-cli billing get-credit-balance-transactions — Retrieve a list of credit balance transactions.
stripe-pp-cli billing get-credit-balance-transactions-id — Retrieves a credit balance transaction.
stripe-pp-cli billing get-credit-grants — Retrieve a list of credit grants.
stripe-pp-cli billing get-credit-grants-id — Retrieves a credit grant.
stripe-pp-cli billing get-meters — Retrieve a list of billing meters.
stripe-pp-cli billing get-meters-id — Retrieves a billing meter given an ID.
stripe-pp-cli billing get-meters-id-event-summaries — Retrieve a list of billing meter event summaries.
stripe-pp-cli billing post-alerts — Creates a billing alert
stripe-pp-cli billing post-alerts-id-activate — Reactivates this alert, allowing it to trigger again.
stripe-pp-cli billing post-alerts-id-archive — Archives this alert, removing it from the list view and APIs. This is non-reversible.
stripe-pp-cli billing post-alerts-id-deactivate — Deactivates this alert, preventing it from triggering.
stripe-pp-cli billing post-credit-grants — Creates a credit grant.
stripe-pp-cli billing post-credit-grants-id — Updates a credit grant.
stripe-pp-cli billing post-credit-grants-id-expire — Expires a credit grant.
stripe-pp-cli billing post-credit-grants-id-void — Voids a credit grant.
stripe-pp-cli billing post-meter-event-adjustments — Creates a billing meter event adjustment.
stripe-pp-cli billing post-meter-events — Creates a billing meter event.
stripe-pp-cli billing post-meters — Creates a billing meter.
stripe-pp-cli billing post-meters-id — Updates a billing meter.
stripe-pp-cli billing post-meters-id-deactivate — When a meter is deactivated, no more meter events will be accepted for this meter. You can’t attach a...
stripe-pp-cli billing post-meters-id-reactivate — When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price.
billing-portal — Manage billing portal
stripe-pp-cli billing-portal get-configurations — Returns a list of configurations that describe the functionality of the customer portal.
stripe-pp-cli billing-portal get-configurations-configuration — Retrieves a configuration that describes the functionality of the customer portal.
stripe-pp-cli billing-portal post-configurations — Creates a configuration that describes the functionality and behavior of a PortalSession
stripe-pp-cli billing-portal post-configurations-configuration — Updates a configuration that describes the functionality of the customer portal.
stripe-pp-cli billing-portal post-sessions — Creates a session of the customer portal.
charges — Manage charges
stripe-pp-cli charges get — Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most...
stripe-pp-cli charges get-charge — Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned...
stripe-pp-cli charges get-search — Search for charges you’ve previously created using Stripe’s <a...
stripe-pp-cli charges post — This method is no longer recommended—use the Payment Intents API to...
stripe-pp-cli charges post-charge — Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be...
checkout — Manage checkout
stripe-pp-cli checkout get-sessions — Returns a list of Checkout Sessions.
stripe-pp-cli checkout get-sessions-session — Retrieves a Checkout Session object.
stripe-pp-cli checkout get-sessions-session-line-items — When retrieving a Checkout Session, there is an includable line_items property containing the...
stripe-pp-cli checkout post-sessions — Creates a Checkout Session object.
stripe-pp-cli checkout post-sessions-session — Updates a Checkout Session object. Related guide: Dynamically...
stripe-pp-cli checkout post-sessions-session-expire — A Checkout Session can be expired when it is in one of these statuses: open After it...
climate — Manage climate
stripe-pp-cli climate get-orders — Lists all Climate order objects. The orders are returned sorted by creation date, with the most recently created...
stripe-pp-cli climate get-orders-order — Retrieves the details of a Climate order object with the given ID.
stripe-pp-cli climate get-products — Lists all available Climate product objects.
stripe-pp-cli climate get-products-product — Retrieves the details of a Climate product with the given ID.
stripe-pp-cli climate get-suppliers — Lists all available Climate supplier objects.
stripe-pp-cli climate get-suppliers-supplier — Retrieves a Climate supplier object.
stripe-pp-cli climate post-orders — Creates a Climate order object for a given Climate product. The order will be processed immediately after...
stripe-pp-cli climate post-orders-order — Updates the specified order by setting the values of the parameters passed.
stripe-pp-cli climate post-orders-order-cancel — Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the reservation...
confirmation-tokens — Manage confirmation tokens
stripe-pp-cli confirmation-tokens <confirmation_token> — Retrieves an existing ConfirmationToken object
country-specs — Manage country specs
stripe-pp-cli country-specs get — Lists all Country Spec objects available in the API.
stripe-pp-cli country-specs get-country — Returns a Country Spec for a given Country code.
coupons — Manage coupons
stripe-pp-cli coupons delete — You can delete coupons via the coupon management page of the...
stripe-pp-cli coupons get — Returns a list of your coupons.
stripe-pp-cli coupons get-coupon — Retrieves the coupon with the given ID.
stripe-pp-cli coupons post — You can create coupons easily via the coupon management page...
stripe-pp-cli coupons post-coupon — Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not...
credit-notes — Manage credit notes
stripe-pp-cli credit-notes get — Returns a list of credit notes.
stripe-pp-cli credit-notes get-id — Retrieves the credit note object with the given identifier.
stripe-pp-cli credit-notes get-preview — Get a preview of a credit note without creating it.
stripe-pp-cli credit-notes get-preview-lines — When retrieving a credit note preview, you’ll get a lines property containing the first...
stripe-pp-cli credit-notes post — Issue a credit note to adjust the amount of a finalized invoice. A credit note will first reduce the invoice’s...
stripe-pp-cli credit-notes post-id — Updates an existing credit note.
customer-sessions — Manage customer sessions
stripe-pp-cli customer-sessions — Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to...
customers — Manage customers
stripe-pp-cli customers delete — Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the...
stripe-pp-cli customers get — Returns a list of your customers. The customers are returned sorted by creation date, with the most recent...
stripe-pp-cli customers get-customer — Retrieves a Customer object.
stripe-pp-cli customers get-search — Search for customers you’ve previously created using Stripe’s <a...
stripe-pp-cli customers post — Creates a new customer object.
stripe-pp-cli customers post-customer — Updates the specified customer by setting the values of the parameters passed. Any parameters not provided are...
disputes — Manage disputes
stripe-pp-cli disputes get — Returns a list of your disputes.
stripe-pp-cli disputes get-dispute — Retrieves the dispute with the given ID.
stripe-pp-cli disputes post — When you get a dispute, contacting your customer is always the best first step. If that doesn’t work, you can...
entitlements — Manage entitlements
stripe-pp-cli entitlements get-active — Retrieve a list of active entitlements for a customer
stripe-pp-cli entitlements get-active-id — Retrieve an active entitlement
stripe-pp-cli entitlements get-features — Retrieve a list of features
stripe-pp-cli entitlements get-features-id — Retrieves a feature
stripe-pp-cli entitlements post-features — Creates a feature
stripe-pp-cli entitlements post-features-id — Update a feature’s metadata or permanently deactivate it.
ephemeral-keys — Manage ephemeral keys
stripe-pp-cli ephemeral-keys delete-key — Invalidates a short-lived API key for a given resource.
stripe-pp-cli ephemeral-keys post — Creates a short-lived API key for a given resource.
events — Manage events
stripe-pp-cli events get — List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its...
stripe-pp-cli events get-id — Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the...
exchange-rates — Manage exchange rates
stripe-pp-cli exchange-rates get — [Deprecated] The ExchangeRate APIs are deprecated. Please use the <a...
stripe-pp-cli exchange-rates get-rate-id — [Deprecated] The ExchangeRate APIs are deprecated. Please use the <a...
file-links — Manage file links
stripe-pp-cli file-links get — Returns a list of file links.
stripe-pp-cli file-links get-link — Retrieves the file link with the given ID.
stripe-pp-cli file-links post — Creates a new file link object.
stripe-pp-cli file-links post-link — Updates an existing file link object. Expired links can no longer be updated.
files — Manage files
stripe-pp-cli files get — Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation...
stripe-pp-cli files get-file — Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the...
stripe-pp-cli files post — To upload a file to Stripe, you need to send a request of type multipart/form-data. Include the file...
financial-connections — Manage financial connections
stripe-pp-cli financial-connections get-accounts — Returns a list of Financial Connections Account objects.
stripe-pp-cli financial-connections get-accounts-account — Retrieves the details of an Financial Connections Account.
stripe-pp-cli financial-connections get-accounts-account-owners — Lists all owners for a given Account
stripe-pp-cli financial-connections get-sessions-session — Retrieves the details of a Financial Connections Session
stripe-pp-cli financial-connections get-transactions — Returns a list of Financial Connections Transaction objects.
stripe-pp-cli financial-connections get-transactions-transaction — Retrieves the details of a Financial Connections Transaction
stripe-pp-cli financial-connections post-accounts-account-disconnect — Disables your access to a Financial Connections Account. You will no longer be able to access data...
stripe-pp-cli financial-connections post-accounts-account-refresh — Refreshes the data associated with a Financial Connections Account.
stripe-pp-cli financial-connections post-accounts-account-subscribe — Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the...
stripe-pp-cli financial-connections post-accounts-account-unsubscribe — Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.
stripe-pp-cli financial-connections post-sessions — To launch the Financial Connections authorization flow, create a Session. The session’s...
forwarding — Manage forwarding
stripe-pp-cli forwarding get-requests — Lists all ForwardingRequest objects.
stripe-pp-cli forwarding get-requests-id — Retrieves a ForwardingRequest object.
stripe-pp-cli forwarding post-requests — Creates a ForwardingRequest object.
identity — Manage identity
stripe-pp-cli identity get-verification-reports — List all verification reports.
stripe-pp-cli identity get-verification-reports-report — Retrieves an existing VerificationReport
stripe-pp-cli identity get-verification-sessions — Returns a list of VerificationSessions
stripe-pp-cli identity get-verification-sessions-session — Retrieves the details of a VerificationSession that was previously created. When the session status is...
stripe-pp-cli identity post-verification-sessions — Creates a VerificationSession object. After the VerificationSession is created, display a verification...
stripe-pp-cli identity post-verification-sessions-session — Updates a VerificationSession object. When the session status is requires_input, you can use...
stripe-pp-cli identity post-verification-sessions-session-cancel — A VerificationSession object can be canceled when it is in requires_input <a...
stripe-pp-cli identity post-verification-sessions-session-redact — Redact a VerificationSession to remove all collected information from Stripe. This will redact the...
invoice-payments — Manage invoice payments
stripe-pp-cli invoice-payments get — When retrieving an invoice, there is an includable payments property containing the first handful of those items....
stripe-pp-cli invoice-payments get-invoicepayments — Retrieves the invoice payment with the given ID.
invoice-rendering-templates — Manage invoice rendering templates
stripe-pp-cli invoice-rendering-templates get — List all templates, ordered by creation date, with the most recently created template appearing first.
stripe-pp-cli invoice-rendering-templates get-template — Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the...
invoiceitems — Manage invoiceitems
stripe-pp-cli invoiceitems delete — Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not...
stripe-pp-cli invoiceitems get — Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently...
stripe-pp-cli invoiceitems get-invoiceitem — Retrieves the invoice item with the given ID.
stripe-pp-cli invoiceitems post — Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the...
stripe-pp-cli invoiceitems post-invoiceitem — Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only...
invoices — Manage invoices
stripe-pp-cli invoices delete — Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no...
stripe-pp-cli invoices get — You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by...
stripe-pp-cli invoices get-invoice — Retrieves the invoice with the given ID.
stripe-pp-cli invoices get-search — Search for invoices you’ve previously created using Stripe’s <a...
stripe-pp-cli invoices post — This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you <a...
stripe-pp-cli invoices post-create-preview — At any time, you can preview the upcoming invoice for a subscription or subscription schedule. This will show you...
stripe-pp-cli invoices post-invoice — Draft invoices are fully editable. Once an invoice is finalize...
issuing — Manage issuing
stripe-pp-cli issuing get-authorizations — Returns a list of Issuing Authorization objects. The objects are sorted in descending order by...
stripe-pp-cli issuing get-authorizations-authorization — Retrieves an Issuing Authorization object.
stripe-pp-cli issuing get-cardholders — Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation...
stripe-pp-cli issuing get-cardholders-cardholder — Retrieves an Issuing Cardholder object.
stripe-pp-cli issuing get-cards — Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date,...
stripe-pp-cli issuing get-cards-card — Retrieves an Issuing Card object.
stripe-pp-cli issuing get-disputes — Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation...
stripe-pp-cli issuing get-disputes-dispute — Retrieves an Issuing Dispute object.
stripe-pp-cli issuing get-personalization-designs — Returns a list of personalization design objects. The objects are sorted in descending order by creation date,...
stripe-pp-cli issuing get-personalization-designs-personalization-design — Retrieves a personalization design object.
stripe-pp-cli issuing get-physical-bundles — Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the...
stripe-pp-cli issuing get-physical-bundles-physical-bundle — Retrieves a physical bundle object.
stripe-pp-cli issuing get-tokens — Lists all Issuing Token objects for a given card.
stripe-pp-cli issuing get-tokens-token — Retrieves an Issuing Token object.
stripe-pp-cli issuing get-transactions — Returns a list of Issuing Transaction objects. The objects are sorted in descending order by...
stripe-pp-cli issuing get-transactions-transaction — Retrieves an Issuing Transaction object.
stripe-pp-cli issuing post-authorizations-authorization — Updates the specified Issuing Authorization object by setting the values of the parameters passed....
stripe-pp-cli issuing post-authorizations-authorization-approve — [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the...
stripe-pp-cli issuing post-authorizations-authorization-decline — [Deprecated] Declines a pending Issuing Authorization object. This request should be made within the...
stripe-pp-cli issuing post-cardholders — Creates a new Issuing Cardholder object that can be issued cards.
stripe-pp-cli issuing post-cardholders-cardholder — Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any...
stripe-pp-cli issuing post-cards — Creates an Issuing Card object.
stripe-pp-cli issuing post-cards-card — Updates the specified Issuing Card object by setting the values of the parameters passed. Any...
stripe-pp-cli issuing post-disputes — Creates an Issuing Dispute object. Individual pieces of evidence within the evidence...
stripe-pp-cli issuing post-disputes-dispute — Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any...
stripe-pp-cli issuing post-disputes-dispute-submit — Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required...
stripe-pp-cli issuing post-personalization-designs — Creates a personalization design object.
stripe-pp-cli issuing post-personalization-designs-personalization-design — Updates a card personalization object.
stripe-pp-cli issuing post-tokens-token — Attempts to update the specified Issuing Token object to the status specified.
stripe-pp-cli issuing post-transactions-transaction — Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any...
mandates — Manage mandates
stripe-pp-cli mandates — Retrieves a Mandate object.
payment-attempt-records — Manage payment attempt records
stripe-pp-cli payment-attempt-records get — List all the Payment Attempt Records attached to the specified Payment Record.
stripe-pp-cli payment-attempt-records get-id — Retrieves a Payment Attempt Record with the given ID
payment-intents — Manage payment intents
stripe-pp-cli payment-intents get — Returns a list of PaymentIntents.
stripe-pp-cli payment-intents get-intent — Retrieves the details of a PaymentIntent that has previously been created. You can retrieve a...
stripe-pp-cli payment-intents get-search — Search for PaymentIntents you’ve previously created using Stripe’s <a...
stripe-pp-cli payment-intents post — Creates a PaymentIntent object. After the PaymentIntent is created, attach a payment method and <a...
stripe-pp-cli payment-intents post-intent — Updates properties on a PaymentIntent object without confirming. Depending on which properties you update,...
payment-links — Manage payment links
stripe-pp-cli payment-links get — Returns a list of your payment links.
stripe-pp-cli payment-links get-paymentlinks — Retrieve a payment link.
stripe-pp-cli payment-links post — Creates a payment link.
stripe-pp-cli payment-links post-paymentlinks — Updates a payment link.
payment-method-configurations — Manage payment method configurations
stripe-pp-cli payment-method-configurations get — List payment method configurations
stripe-pp-cli payment-method-configurations get-configuration — Retrieve payment method configuration
stripe-pp-cli payment-method-configurations post — Creates a payment method configuration
stripe-pp-cli payment-method-configurations post-configuration — Update payment method configuration
payment-method-domains — Manage payment method domains
stripe-pp-cli payment-method-domains get — Lists the details of existing payment method domains.
stripe-pp-cli payment-method-domains get-paymentmethoddomains — Retrieves the details of an existing payment method domain.
stripe-pp-cli payment-method-domains post — Creates a payment method domain.
stripe-pp-cli payment-method-domains post-paymentmethoddomains — Updates an existing payment method domain.
payment-methods — Manage payment methods
stripe-pp-cli payment-methods get — Returns a list of all PaymentMethods.
stripe-pp-cli payment-methods get-paymentmethods — Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a...
stripe-pp-cli payment-methods post — Creates a PaymentMethod object. Read the Stripe.j...
stripe-pp-cli payment-methods post-paymentmethods — Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated.
payment-records — Manage payment records
stripe-pp-cli payment-records get-id — Retrieves a Payment Record with the given ID
stripe-pp-cli payment-records post-report-payment — Report a new Payment Record. You may report a Payment Record as it is initialized and later report updates...
payouts — Manage payouts
stripe-pp-cli payouts get — Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The...
stripe-pp-cli payouts get-payout — Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or...
stripe-pp-cli payouts post — To send funds to your own bank account, create a new payout object. Your Stripe balance...
stripe-pp-cli payouts post-payout — Updates the specified payout by setting the values of the parameters you pass. We don’t change parameters that...
plans — Manage plans
stripe-pp-cli plans delete — Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.
stripe-pp-cli plans get — Returns a list of your plans.
stripe-pp-cli plans get-plan — Retrieves the plan with the given ID.
stripe-pp-cli plans post — You can now model subscriptions more flexibly using the Prices API. It replaces the Plans...
stripe-pp-cli plans post-plan — Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left...
prices — Manage prices
stripe-pp-cli prices get — Returns a list of your active prices, excluding inli...
stripe-pp-cli prices get-price — Retrieves the price with the given ID.
stripe-pp-cli prices get-search — Search for prices you’ve previously created using Stripe’s <a...
stripe-pp-cli prices post — Creates a new Price for an existing <a...
stripe-pp-cli prices post-price — Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left...
products — Manage products
stripe-pp-cli products delete-id — Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally,...
stripe-pp-cli products get — Returns a list of your products. The products are returned sorted by creation date, with the most recently...
stripe-pp-cli products get-id — Retrieves the details of an existing product. Supply the unique product ID from either a product creation request...
stripe-pp-cli products get-search — Search for products you’ve previously created using Stripe’s <a...
stripe-pp-cli products post — Creates a new product object.
stripe-pp-cli products post-id — Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be...
promotion-codes — Manage promotion codes
stripe-pp-cli promotion-codes get — Returns a list of your promotion codes.
stripe-pp-cli promotion-codes get-promotioncodes — Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing...
stripe-pp-cli promotion-codes post — A promotion code points to an underlying promotion. You can optionally restrict the code to a specific customer,...
stripe-pp-cli promotion-codes post-promotioncodes — Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design,...
quotes — Manage quotes
stripe-pp-cli quotes get — Returns a list of your quotes.
stripe-pp-cli quotes get-quote — Retrieves the quote with the given ID.
stripe-pp-cli quotes post — A quote models prices and services for a customer. Default options for header,...
stripe-pp-cli quotes post-quote — A quote models prices and services for a customer.
radar — Manage radar
stripe-pp-cli radar delete-value-list-items-item — Deletes a ValueListItem object, removing it from its parent value list.
stripe-pp-cli radar delete-value-lists-value-list — Deletes a ValueList object, also deleting any items contained within the value list. To be deleted,...
stripe-pp-cli radar get-early-fraud-warnings — Returns a list of early fraud warnings.
stripe-pp-cli radar get-early-fraud-warnings-early-fraud-warning — Retrieves the details of an early fraud warning that has previously been created. Please refer to the <a...
stripe-pp-cli radar get-value-list-items — Returns a list of ValueListItem objects. The objects are sorted in descending order by creation...
stripe-pp-cli radar get-value-list-items-item — Retrieves a ValueListItem object.
stripe-pp-cli radar get-value-lists — Returns a list of ValueList objects. The objects are sorted in descending order by creation date
…(truncated)
1---
2name: pp-stripe
3description: "Every Stripe feature, plus a local SQLite mirror with FTS, cross-entity SQL, and analytics no other Stripe tool ships. Trigger phrases: `stripe customer health`, `stripe dunning queue`, `stripe health`, `stripe payout reconcile`, `subs about to expire`, `use stripe-pp-cli`, `run stripe-pp-cli`."
4author: "Chris Rodriguez"
5license: "Apache-2.0"
6argument-hint: "<command> [args] | install cli|mcp"
7allowed-tools: "Read Bash"
8metadata:
9 source: https://skillmd.com/skills/mvanhorn-printing-press-libra/pp-stripe
10 openclaw:
11 requires:
12 bins:
13 - stripe-pp-cli
14 install:
15 - kind: go
16 bins: [stripe-pp-cli]
17 module: github.com/mvanhorn/printing-press-library/library/payments/stripe/cmd/stripe-pp-cli
18---
19<!-- GENERATED FILE — DO NOT EDIT.
20 This file is a verbatim mirror of library/payments/stripe/SKILL.md,
21 regenerated post-merge by tools/generate-skills/. Hand-edits here are
22 silently overwritten on the next regen. Edit the library/ source instead.
23 See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->
24
25# Stripe — Printing Press CLI
26
27## Prerequisites: Install the CLI
28
29This skill drives the `stripe-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:
30
311. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
32 ```bash
33 npx -y @mvanhorn/printing-press-library install stripe --cli-only
34 ```
352. Verify: `stripe-pp-cli --version`
363. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.
37
38If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):
39
40```bash
41go install github.com/mvanhorn/printing-press-library/library/payments/stripe/cmd/stripe-pp-cli@latest
42```
43
44If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.
45
46## When to Use This CLI
47
48Reach for stripe-pp-cli when you need to (1) run analytics across customers/subs/invoices that Stripe's dashboard doesn't expose, (2) script payment ops in a CI/agent loop without daemon processes, (3) reconcile payouts and balance transactions, or (4) feed Stripe state into a non-Stripe system (CRM, accounting, outreach automation).
49
50## When NOT to Use This CLI (anti-triggers)
51
52Do not use stripe-pp-cli for:
53
54- **Live-mode bulk writes you have not audited.** Mutating commands (POST/PUT/PATCH/DELETE) against an `sk_live_...` key are blocked by default with a clear error; pass `--confirm-live` (or set `STRIPE_CONFIRM_LIVE=1`) once you have audited the invocation. Prefer `sk_test_...` for development regardless.
55- **In-person Terminal payments.** `terminal` resource commands are present but Stripe Terminal SDK is not in scope. Use the Terminal iOS/Android SDK.
56- **Stripe Issuing card management workflows.** `issuing` commands are REST passthrough only; spending controls, dispute evidence packages not built. Use the Stripe Dashboard.
57- **Stripe Tax registration.** `tax-rates` CRUD only; jurisdiction registration not in scope. Use Stripe Tax in Dashboard.
58- **Connect platform fan-out across many connected accounts.** Single account at a time via `Stripe-Account` header. Multi-account loops via external script.
59- **Local mock-server testing.** Use [stripe-mock](https://github.com/stripe/stripe-mock) directly via `STRIPE_BASE_URL=http://localhost:12111`.
60
61## Not Yet Wired (deferred to v0.2)
62
63| Area | Status | Workaround |
64|------|--------|-----------|
65| Stripe Issuing (full workflow) | endpoint passthrough only | Use Stripe Dashboard |
66| Stripe Terminal (in-person SDK) | endpoint passthrough only | Use Terminal SDK |
67| Stripe Tax registration | `tax-rates` CRUD only | Use Stripe Tax in Dashboard |
68| `localstripe` mock server | out of scope | Use `stripe-mock` via `STRIPE_BASE_URL` |
69| Connect account fan-out | single-account at a time | External script loops |
70
71## Unique Capabilities
72
73These capabilities aren't available in any other tool for this API.
74
75### Local state that compounds
76- **`health`** — Compute a 0-100 health score for one or many customers from local SQLite, factoring in failed-payment count, dispute history, MRR contribution, subscription status, and account age.
77
78 _Use this to feed customer-health signals into outreach, dunning, and renewal automation without burning hundreds of API calls per customer._
79
80 ```bash
81 stripe-pp-cli health cus_xyz --json --select score,failed_payments,mrr_contribution
82 ```
83- **`dunning-queue`** — List invoices in past_due/uncollectible state ranked by days-overdue, with last failure reason and customer email pulled from the local store.
84
85 _When deciding which customers to follow up with about failed payments, this beats walking the Stripe dashboard or chaining 4+ API calls per row._
86
87 ```bash
88 stripe-pp-cli dunning-queue --json --select invoice,customer_email,days_overdue,last_failure_reason
89 ```
90- **`sql`** — Run read-only SQLite queries against the local Stripe mirror. All synced data lives in a generic 'resources' table — query with json_extract(data, '$.field') and filter by resource_type.
91
92 _When a one-off question doesn't fit the canned commands, drop into SQL instead of writing a script that hits the API a thousand times._
93
94 ```bash
95 stripe-pp-cli sql "SELECT json_extract(data,'$.email') AS email, COUNT(*) AS active_subs FROM resources WHERE resource_type='subscriptions' AND json_extract(data,'$.status')='active' GROUP BY json_extract(data,'$.customer') HAVING active_subs > 1" --json
96 ```
97- **`payout-reconcile`** — Join payouts to balance_transactions to charges to customers from local store; flag missing balance_transactions and mismatches; CSV export.
98
99 _Use this for end-of-period payout reconciliation against bank statements or accounting systems — replaces the manual CSV-pivot ritual._
100
101 ```bash
102 stripe-pp-cli payout-reconcile --since 7d --csv
103 ```
104- **`subs-at-risk`** — List subscriptions whose default payment method's card expires in a window, sorted by current MRR contribution.
105
106 _Use this monthly to proactively email customers whose card is about to expire — prevents involuntary churn._
107
108 ```bash
109 stripe-pp-cli subs-at-risk --within 30d --json --select customer_email,mrr,card_exp
110 ```
111- **`metadata-grep`** — Search every synced resource's metadata bag for a key/value across resource types; returns (resource_type, id, matched_kv) rows.
112
113 _When integrating Stripe with a CRM via metadata tags, this finds every related resource in one query._
114
115 ```bash
116 stripe-pp-cli metadata-grep 'crm_id=acme-001' --json
117 ```
118
119### Agent-native plumbing
120- **`customer-360`** — One-shot dossier: customer profile + active subs + recent invoices + payment methods + recent charges + open disputes + lifetime spend.
121
122 _Use this as the first command when investigating a customer ticket, support escalation, or churn risk — full context in one call._
123
124 ```bash
125 stripe-pp-cli customer-360 alice@example.com --json --compact
126 ```
127- **`events-since`** — Fetch all Events since a cursor, persist new cursor in profile, no daemon. One-shot replacement for stripe-cli's listen daemon.
128
129 _Use this in cron-driven agent loops to replay only new events since the last run — no daemon to babysit, no missed events._
130
131 ```bash
132 stripe-pp-cli events-since --type 'invoice.*' --json --select id,type,created,data.object.id
133 ```
134
135## Command Reference
136
137**account** — Manage account
138
139- `stripe-pp-cli account` — <p>Retrieves the details of an account.</p>
140
141**account-links** — Manage account links
142
143- `stripe-pp-cli account-links` — <p>Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to...
144
145**account-sessions** — Manage account sessions
146
147- `stripe-pp-cli account-sessions` — <p>Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to...
148
149**accounts** — Manage accounts
150
151- `stripe-pp-cli accounts delete` — <p>With <a href='/connect'>Connect</a>, you can delete accounts you manage.</p> <p>Test-mode accounts can be deleted...
152- `stripe-pp-cli accounts get` — <p>Returns a list of accounts connected to your platform via <a href='/docs/connect'>Connect</a>. If you’re not a...
153- `stripe-pp-cli accounts get-account` — <p>Retrieves the details of an account.</p>
154- `stripe-pp-cli accounts post` — <p>With <a href='/docs/connect'>Connect</a>, you can create Stripe accounts for your users. To do this, you’ll...
155- `stripe-pp-cli accounts post-account` — <p>Updates a <a href='/connect/accounts'>connected account</a> by setting the values of the parameters passed. Any...
156
157**apple-pay** — Manage apple pay
158
159- `stripe-pp-cli apple-pay delete-domains-domain` — <p>Delete an apple pay domain.</p>
160- `stripe-pp-cli apple-pay get-domains` — <p>List apple pay domains.</p>
161- `stripe-pp-cli apple-pay get-domains-domain` — <p>Retrieve an apple pay domain.</p>
162- `stripe-pp-cli apple-pay post-domains` — <p>Create an apple pay domain.</p>
163
164**application-fees** — Manage application fees
165
166- `stripe-pp-cli application-fees get` — <p>Returns a list of application fees you’ve previously collected. The application fees are returned in sorted...
167- `stripe-pp-cli application-fees get-id` — <p>Retrieves the details of an application fee that your account has collected. The same information is returned...
168
169**apps** — Manage apps
170
171- `stripe-pp-cli apps get-secrets` — <p>List all secrets stored on the given scope.</p>
172- `stripe-pp-cli apps get-secrets-find` — <p>Finds a secret in the secret store by name and scope.</p>
173- `stripe-pp-cli apps post-secrets` — <p>Create or replace a secret in the secret store.</p>
174- `stripe-pp-cli apps post-secrets-delete` — <p>Deletes a secret from the secret store by name and scope.</p>
175
176**balance** — Manage balance
177
178- `stripe-pp-cli balance` — <p>Retrieves the current account balance, based on the authentication that was used to make the request. For a...
179
180**balance-settings** — Manage balance settings
181
182- `stripe-pp-cli balance-settings get` — <p>Retrieves balance settings for a given connected account. Related guide: <a href='/connect/authentication'>Making...
183- `stripe-pp-cli balance-settings post` — <p>Updates balance settings for a given connected account. Related guide: <a href='/connect/authentication'>Making...
184
185**balance-transactions** — Manage balance transactions
186
187- `stripe-pp-cli balance-transactions get` — <p>Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and...
188- `stripe-pp-cli balance-transactions get-id` — <p>Retrieves the balance transaction with the given ID.</p> <p>Note that this endpoint previously used the path...
189
190**billing** — Manage billing
191
192- `stripe-pp-cli billing get-alerts` — <p>Lists billing active and inactive alerts</p>
193- `stripe-pp-cli billing get-alerts-id` — <p>Retrieves a billing alert given an ID</p>
194- `stripe-pp-cli billing get-credit-balance-summary` — <p>Retrieves the credit balance summary for a customer.</p>
195- `stripe-pp-cli billing get-credit-balance-transactions` — <p>Retrieve a list of credit balance transactions.</p>
196- `stripe-pp-cli billing get-credit-balance-transactions-id` — <p>Retrieves a credit balance transaction.</p>
197- `stripe-pp-cli billing get-credit-grants` — <p>Retrieve a list of credit grants.</p>
198- `stripe-pp-cli billing get-credit-grants-id` — <p>Retrieves a credit grant.</p>
199- `stripe-pp-cli billing get-meters` — <p>Retrieve a list of billing meters.</p>
200- `stripe-pp-cli billing get-meters-id` — <p>Retrieves a billing meter given an ID.</p>
201- `stripe-pp-cli billing get-meters-id-event-summaries` — <p>Retrieve a list of billing meter event summaries.</p>
202- `stripe-pp-cli billing post-alerts` — <p>Creates a billing alert</p>
203- `stripe-pp-cli billing post-alerts-id-activate` — <p>Reactivates this alert, allowing it to trigger again.</p>
204- `stripe-pp-cli billing post-alerts-id-archive` — <p>Archives this alert, removing it from the list view and APIs. This is non-reversible.</p>
205- `stripe-pp-cli billing post-alerts-id-deactivate` — <p>Deactivates this alert, preventing it from triggering.</p>
206- `stripe-pp-cli billing post-credit-grants` — <p>Creates a credit grant.</p>
207- `stripe-pp-cli billing post-credit-grants-id` — <p>Updates a credit grant.</p>
208- `stripe-pp-cli billing post-credit-grants-id-expire` — <p>Expires a credit grant.</p>
209- `stripe-pp-cli billing post-credit-grants-id-void` — <p>Voids a credit grant.</p>
210- `stripe-pp-cli billing post-meter-event-adjustments` — <p>Creates a billing meter event adjustment.</p>
211- `stripe-pp-cli billing post-meter-events` — <p>Creates a billing meter event.</p>
212- `stripe-pp-cli billing post-meters` — <p>Creates a billing meter.</p>
213- `stripe-pp-cli billing post-meters-id` — <p>Updates a billing meter.</p>
214- `stripe-pp-cli billing post-meters-id-deactivate` — <p>When a meter is deactivated, no more meter events will be accepted for this meter. You can’t attach a...
215- `stripe-pp-cli billing post-meters-id-reactivate` — <p>When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price.</p>
216
217**billing-portal** — Manage billing portal
218
219- `stripe-pp-cli billing-portal get-configurations` — <p>Returns a list of configurations that describe the functionality of the customer portal.</p>
220- `stripe-pp-cli billing-portal get-configurations-configuration` — <p>Retrieves a configuration that describes the functionality of the customer portal.</p>
221- `stripe-pp-cli billing-portal post-configurations` — <p>Creates a configuration that describes the functionality and behavior of a PortalSession</p>
222- `stripe-pp-cli billing-portal post-configurations-configuration` — <p>Updates a configuration that describes the functionality of the customer portal.</p>
223- `stripe-pp-cli billing-portal post-sessions` — <p>Creates a session of the customer portal.</p>
224
225**charges** — Manage charges
226
227- `stripe-pp-cli charges get` — <p>Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most...
228- `stripe-pp-cli charges get-charge` — <p>Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned...
229- `stripe-pp-cli charges get-search` — <p>Search for charges you’ve previously created using Stripe’s <a...
230- `stripe-pp-cli charges post` — <p>This method is no longer recommended—use the <a href='/docs/api/payment_intents'>Payment Intents API</a> to...
231- `stripe-pp-cli charges post-charge` — <p>Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be...
232
233**checkout** — Manage checkout
234
235- `stripe-pp-cli checkout get-sessions` — <p>Returns a list of Checkout Sessions.</p>
236- `stripe-pp-cli checkout get-sessions-session` — <p>Retrieves a Checkout Session object.</p>
237- `stripe-pp-cli checkout get-sessions-session-line-items` — <p>When retrieving a Checkout Session, there is an includable <strong>line_items</strong> property containing the...
238- `stripe-pp-cli checkout post-sessions` — <p>Creates a Checkout Session object.</p>
239- `stripe-pp-cli checkout post-sessions-session` — <p>Updates a Checkout Session object.</p> <p>Related guide: <a href='/payments/advanced/dynamic-updates'>Dynamically...
240- `stripe-pp-cli checkout post-sessions-session-expire` — <p>A Checkout Session can be expired when it is in one of these statuses: <code>open</code> </p> <p>After it...
241
242**climate** — Manage climate
243
244- `stripe-pp-cli climate get-orders` — <p>Lists all Climate order objects. The orders are returned sorted by creation date, with the most recently created...
245- `stripe-pp-cli climate get-orders-order` — <p>Retrieves the details of a Climate order object with the given ID.</p>
246- `stripe-pp-cli climate get-products` — <p>Lists all available Climate product objects.</p>
247- `stripe-pp-cli climate get-products-product` — <p>Retrieves the details of a Climate product with the given ID.</p>
248- `stripe-pp-cli climate get-suppliers` — <p>Lists all available Climate supplier objects.</p>
249- `stripe-pp-cli climate get-suppliers-supplier` — <p>Retrieves a Climate supplier object.</p>
250- `stripe-pp-cli climate post-orders` — <p>Creates a Climate order object for a given Climate product. The order will be processed immediately after...
251- `stripe-pp-cli climate post-orders-order` — <p>Updates the specified order by setting the values of the parameters passed.</p>
252- `stripe-pp-cli climate post-orders-order-cancel` — <p>Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the reservation...
253
254**confirmation-tokens** — Manage confirmation tokens
255
256- `stripe-pp-cli confirmation-tokens <confirmation_token>` — <p>Retrieves an existing ConfirmationToken object</p>
257
258**country-specs** — Manage country specs
259
260- `stripe-pp-cli country-specs get` — <p>Lists all Country Spec objects available in the API.</p>
261- `stripe-pp-cli country-specs get-country` — <p>Returns a Country Spec for a given Country code.</p>
262
263**coupons** — Manage coupons
264
265- `stripe-pp-cli coupons delete` — <p>You can delete coupons via the <a href='https://dashboard.stripe.com/coupons'>coupon management</a> page of the...
266- `stripe-pp-cli coupons get` — <p>Returns a list of your coupons.</p>
267- `stripe-pp-cli coupons get-coupon` — <p>Retrieves the coupon with the given ID.</p>
268- `stripe-pp-cli coupons post` — <p>You can create coupons easily via the <a href='https://dashboard.stripe.com/coupons'>coupon management</a> page...
269- `stripe-pp-cli coupons post-coupon` — <p>Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not...
270
271**credit-notes** — Manage credit notes
272
273- `stripe-pp-cli credit-notes get` — <p>Returns a list of credit notes.</p>
274- `stripe-pp-cli credit-notes get-id` — <p>Retrieves the credit note object with the given identifier.</p>
275- `stripe-pp-cli credit-notes get-preview` — <p>Get a preview of a credit note without creating it.</p>
276- `stripe-pp-cli credit-notes get-preview-lines` — <p>When retrieving a credit note preview, you’ll get a <strong>lines</strong> property containing the first...
277- `stripe-pp-cli credit-notes post` — <p>Issue a credit note to adjust the amount of a finalized invoice. A credit note will first reduce the invoice’s...
278- `stripe-pp-cli credit-notes post-id` — <p>Updates an existing credit note.</p>
279
280**customer-sessions** — Manage customer sessions
281
282- `stripe-pp-cli customer-sessions` — <p>Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to...
283
284**customers** — Manage customers
285
286- `stripe-pp-cli customers delete` — <p>Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the...
287- `stripe-pp-cli customers get` — <p>Returns a list of your customers. The customers are returned sorted by creation date, with the most recent...
288- `stripe-pp-cli customers get-customer` — <p>Retrieves a Customer object.</p>
289- `stripe-pp-cli customers get-search` — <p>Search for customers you’ve previously created using Stripe’s <a...
290- `stripe-pp-cli customers post` — <p>Creates a new customer object.</p>
291- `stripe-pp-cli customers post-customer` — <p>Updates the specified customer by setting the values of the parameters passed. Any parameters not provided are...
292
293**disputes** — Manage disputes
294
295- `stripe-pp-cli disputes get` — <p>Returns a list of your disputes.</p>
296- `stripe-pp-cli disputes get-dispute` — <p>Retrieves the dispute with the given ID.</p>
297- `stripe-pp-cli disputes post` — <p>When you get a dispute, contacting your customer is always the best first step. If that doesn’t work, you can...
298
299**entitlements** — Manage entitlements
300
301- `stripe-pp-cli entitlements get-active` — <p>Retrieve a list of active entitlements for a customer</p>
302- `stripe-pp-cli entitlements get-active-id` — <p>Retrieve an active entitlement</p>
303- `stripe-pp-cli entitlements get-features` — <p>Retrieve a list of features</p>
304- `stripe-pp-cli entitlements get-features-id` — <p>Retrieves a feature</p>
305- `stripe-pp-cli entitlements post-features` — <p>Creates a feature</p>
306- `stripe-pp-cli entitlements post-features-id` — <p>Update a feature’s metadata or permanently deactivate it.</p>
307
308**ephemeral-keys** — Manage ephemeral keys
309
310- `stripe-pp-cli ephemeral-keys delete-key` — <p>Invalidates a short-lived API key for a given resource.</p>
311- `stripe-pp-cli ephemeral-keys post` — <p>Creates a short-lived API key for a given resource.</p>
312
313**events** — Manage events
314
315- `stripe-pp-cli events get` — <p>List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its...
316- `stripe-pp-cli events get-id` — <p>Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the...
317
318**exchange-rates** — Manage exchange rates
319
320- `stripe-pp-cli exchange-rates get` — <p>[Deprecated] The <code>ExchangeRate</code> APIs are deprecated. Please use the <a...
321- `stripe-pp-cli exchange-rates get-rate-id` — <p>[Deprecated] The <code>ExchangeRate</code> APIs are deprecated. Please use the <a...
322
323**file-links** — Manage file links
324
325- `stripe-pp-cli file-links get` — <p>Returns a list of file links.</p>
326- `stripe-pp-cli file-links get-link` — <p>Retrieves the file link with the given ID.</p>
327- `stripe-pp-cli file-links post` — <p>Creates a new file link object.</p>
328- `stripe-pp-cli file-links post-link` — <p>Updates an existing file link object. Expired links can no longer be updated.</p>
329
330**files** — Manage files
331
332- `stripe-pp-cli files get` — <p>Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation...
333- `stripe-pp-cli files get-file` — <p>Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the...
334- `stripe-pp-cli files post` — <p>To upload a file to Stripe, you need to send a request of type <code>multipart/form-data</code>. Include the file...
335
336**financial-connections** — Manage financial connections
337
338- `stripe-pp-cli financial-connections get-accounts` — <p>Returns a list of Financial Connections <code>Account</code> objects.</p>
339- `stripe-pp-cli financial-connections get-accounts-account` — <p>Retrieves the details of an Financial Connections <code>Account</code>.</p>
340- `stripe-pp-cli financial-connections get-accounts-account-owners` — <p>Lists all owners for a given <code>Account</code></p>
341- `stripe-pp-cli financial-connections get-sessions-session` — <p>Retrieves the details of a Financial Connections <code>Session</code></p>
342- `stripe-pp-cli financial-connections get-transactions` — <p>Returns a list of Financial Connections <code>Transaction</code> objects.</p>
343- `stripe-pp-cli financial-connections get-transactions-transaction` — <p>Retrieves the details of a Financial Connections <code>Transaction</code></p>
344- `stripe-pp-cli financial-connections post-accounts-account-disconnect` — <p>Disables your access to a Financial Connections <code>Account</code>. You will no longer be able to access data...
345- `stripe-pp-cli financial-connections post-accounts-account-refresh` — <p>Refreshes the data associated with a Financial Connections <code>Account</code>.</p>
346- `stripe-pp-cli financial-connections post-accounts-account-subscribe` — <p>Subscribes to periodic refreshes of data associated with a Financial Connections <code>Account</code>. When the...
347- `stripe-pp-cli financial-connections post-accounts-account-unsubscribe` — <p>Unsubscribes from periodic refreshes of data associated with a Financial Connections <code>Account</code>.</p>
348- `stripe-pp-cli financial-connections post-sessions` — <p>To launch the Financial Connections authorization flow, create a <code>Session</code>. The session’s...
349
350**forwarding** — Manage forwarding
351
352- `stripe-pp-cli forwarding get-requests` — <p>Lists all ForwardingRequest objects.</p>
353- `stripe-pp-cli forwarding get-requests-id` — <p>Retrieves a ForwardingRequest object.</p>
354- `stripe-pp-cli forwarding post-requests` — <p>Creates a ForwardingRequest object.</p>
355
356**identity** — Manage identity
357
358- `stripe-pp-cli identity get-verification-reports` — <p>List all verification reports.</p>
359- `stripe-pp-cli identity get-verification-reports-report` — <p>Retrieves an existing VerificationReport</p>
360- `stripe-pp-cli identity get-verification-sessions` — <p>Returns a list of VerificationSessions</p>
361- `stripe-pp-cli identity get-verification-sessions-session` — <p>Retrieves the details of a VerificationSession that was previously created.</p> <p>When the session status is...
362- `stripe-pp-cli identity post-verification-sessions` — <p>Creates a VerificationSession object.</p> <p>After the VerificationSession is created, display a verification...
363- `stripe-pp-cli identity post-verification-sessions-session` — <p>Updates a VerificationSession object.</p> <p>When the session status is <code>requires_input</code>, you can use...
364- `stripe-pp-cli identity post-verification-sessions-session-cancel` — <p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a...
365- `stripe-pp-cli identity post-verification-sessions-session-redact` — <p>Redact a VerificationSession to remove all collected information from Stripe. This will redact the...
366
367**invoice-payments** — Manage invoice payments
368
369- `stripe-pp-cli invoice-payments get` — <p>When retrieving an invoice, there is an includable payments property containing the first handful of those items....
370- `stripe-pp-cli invoice-payments get-invoicepayments` — <p>Retrieves the invoice payment with the given ID.</p>
371
372**invoice-rendering-templates** — Manage invoice rendering templates
373
374- `stripe-pp-cli invoice-rendering-templates get` — <p>List all templates, ordered by creation date, with the most recently created template appearing first.</p>
375- `stripe-pp-cli invoice-rendering-templates get-template` — <p>Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the...
376
377**invoiceitems** — Manage invoiceitems
378
379- `stripe-pp-cli invoiceitems delete` — <p>Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not...
380- `stripe-pp-cli invoiceitems get` — <p>Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently...
381- `stripe-pp-cli invoiceitems get-invoiceitem` — <p>Retrieves the invoice item with the given ID.</p>
382- `stripe-pp-cli invoiceitems post` — <p>Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the...
383- `stripe-pp-cli invoiceitems post-invoiceitem` — <p>Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only...
384
385**invoices** — Manage invoices
386
387- `stripe-pp-cli invoices delete` — <p>Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no...
388- `stripe-pp-cli invoices get` — <p>You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by...
389- `stripe-pp-cli invoices get-invoice` — <p>Retrieves the invoice with the given ID.</p>
390- `stripe-pp-cli invoices get-search` — <p>Search for invoices you’ve previously created using Stripe’s <a...
391- `stripe-pp-cli invoices post` — <p>This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you <a...
392- `stripe-pp-cli invoices post-create-preview` — <p>At any time, you can preview the upcoming invoice for a subscription or subscription schedule. This will show you...
393- `stripe-pp-cli invoices post-invoice` — <p>Draft invoices are fully editable. Once an invoice is <a href='/docs/billing/invoices/workflow#finalized'>finalize...
394
395**issuing** — Manage issuing
396
397- `stripe-pp-cli issuing get-authorizations` — <p>Returns a list of Issuing <code>Authorization</code> objects. The objects are sorted in descending order by...
398- `stripe-pp-cli issuing get-authorizations-authorization` — <p>Retrieves an Issuing <code>Authorization</code> object.</p>
399- `stripe-pp-cli issuing get-cardholders` — <p>Returns a list of Issuing <code>Cardholder</code> objects. The objects are sorted in descending order by creation...
400- `stripe-pp-cli issuing get-cardholders-cardholder` — <p>Retrieves an Issuing <code>Cardholder</code> object.</p>
401- `stripe-pp-cli issuing get-cards` — <p>Returns a list of Issuing <code>Card</code> objects. The objects are sorted in descending order by creation date,...
402- `stripe-pp-cli issuing get-cards-card` — <p>Retrieves an Issuing <code>Card</code> object.</p>
403- `stripe-pp-cli issuing get-disputes` — <p>Returns a list of Issuing <code>Dispute</code> objects. The objects are sorted in descending order by creation...
404- `stripe-pp-cli issuing get-disputes-dispute` — <p>Retrieves an Issuing <code>Dispute</code> object.</p>
405- `stripe-pp-cli issuing get-personalization-designs` — <p>Returns a list of personalization design objects. The objects are sorted in descending order by creation date,...
406- `stripe-pp-cli issuing get-personalization-designs-personalization-design` — <p>Retrieves a personalization design object.</p>
407- `stripe-pp-cli issuing get-physical-bundles` — <p>Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the...
408- `stripe-pp-cli issuing get-physical-bundles-physical-bundle` — <p>Retrieves a physical bundle object.</p>
409- `stripe-pp-cli issuing get-tokens` — <p>Lists all Issuing <code>Token</code> objects for a given card.</p>
410- `stripe-pp-cli issuing get-tokens-token` — <p>Retrieves an Issuing <code>Token</code> object.</p>
411- `stripe-pp-cli issuing get-transactions` — <p>Returns a list of Issuing <code>Transaction</code> objects. The objects are sorted in descending order by...
412- `stripe-pp-cli issuing get-transactions-transaction` — <p>Retrieves an Issuing <code>Transaction</code> object.</p>
413- `stripe-pp-cli issuing post-authorizations-authorization` — <p>Updates the specified Issuing <code>Authorization</code> object by setting the values of the parameters passed....
414- `stripe-pp-cli issuing post-authorizations-authorization-approve` — <p>[Deprecated] Approves a pending Issuing <code>Authorization</code> object. This request should be made within the...
415- `stripe-pp-cli issuing post-authorizations-authorization-decline` — <p>[Deprecated] Declines a pending Issuing <code>Authorization</code> object. This request should be made within the...
416- `stripe-pp-cli issuing post-cardholders` — <p>Creates a new Issuing <code>Cardholder</code> object that can be issued cards.</p>
417- `stripe-pp-cli issuing post-cardholders-cardholder` — <p>Updates the specified Issuing <code>Cardholder</code> object by setting the values of the parameters passed. Any...
418- `stripe-pp-cli issuing post-cards` — <p>Creates an Issuing <code>Card</code> object.</p>
419- `stripe-pp-cli issuing post-cards-card` — <p>Updates the specified Issuing <code>Card</code> object by setting the values of the parameters passed. Any...
420- `stripe-pp-cli issuing post-disputes` — <p>Creates an Issuing <code>Dispute</code> object. Individual pieces of evidence within the <code>evidence</code>...
421- `stripe-pp-cli issuing post-disputes-dispute` — <p>Updates the specified Issuing <code>Dispute</code> object by setting the values of the parameters passed. Any...
422- `stripe-pp-cli issuing post-disputes-dispute-submit` — <p>Submits an Issuing <code>Dispute</code> to the card network. Stripe validates that all evidence fields required...
423- `stripe-pp-cli issuing post-personalization-designs` — <p>Creates a personalization design object.</p>
424- `stripe-pp-cli issuing post-personalization-designs-personalization-design` — <p>Updates a card personalization object.</p>
425- `stripe-pp-cli issuing post-tokens-token` — <p>Attempts to update the specified Issuing <code>Token</code> object to the status specified.</p>
426- `stripe-pp-cli issuing post-transactions-transaction` — <p>Updates the specified Issuing <code>Transaction</code> object by setting the values of the parameters passed. Any...
427
428**mandates** — Manage mandates
429
430- `stripe-pp-cli mandates` — <p>Retrieves a Mandate object.</p>
431
432**payment-attempt-records** — Manage payment attempt records
433
434- `stripe-pp-cli payment-attempt-records get` — <p>List all the Payment Attempt Records attached to the specified Payment Record.</p>
435- `stripe-pp-cli payment-attempt-records get-id` — <p>Retrieves a Payment Attempt Record with the given ID</p>
436
437**payment-intents** — Manage payment intents
438
439- `stripe-pp-cli payment-intents get` — <p>Returns a list of PaymentIntents.</p>
440- `stripe-pp-cli payment-intents get-intent` — <p>Retrieves the details of a PaymentIntent that has previously been created. </p> <p>You can retrieve a...
441- `stripe-pp-cli payment-intents get-search` — <p>Search for PaymentIntents you’ve previously created using Stripe’s <a...
442- `stripe-pp-cli payment-intents post` — <p>Creates a PaymentIntent object.</p> <p>After the PaymentIntent is created, attach a payment method and <a...
443- `stripe-pp-cli payment-intents post-intent` — <p>Updates properties on a PaymentIntent object without confirming.</p> <p>Depending on which properties you update,...
444
445**payment-links** — Manage payment links
446
447- `stripe-pp-cli payment-links get` — <p>Returns a list of your payment links.</p>
448- `stripe-pp-cli payment-links get-paymentlinks` — <p>Retrieve a payment link.</p>
449- `stripe-pp-cli payment-links post` — <p>Creates a payment link.</p>
450- `stripe-pp-cli payment-links post-paymentlinks` — <p>Updates a payment link.</p>
451
452**payment-method-configurations** — Manage payment method configurations
453
454- `stripe-pp-cli payment-method-configurations get` — <p>List payment method configurations</p>
455- `stripe-pp-cli payment-method-configurations get-configuration` — <p>Retrieve payment method configuration</p>
456- `stripe-pp-cli payment-method-configurations post` — <p>Creates a payment method configuration</p>
457- `stripe-pp-cli payment-method-configurations post-configuration` — <p>Update payment method configuration</p>
458
459**payment-method-domains** — Manage payment method domains
460
461- `stripe-pp-cli payment-method-domains get` — <p>Lists the details of existing payment method domains.</p>
462- `stripe-pp-cli payment-method-domains get-paymentmethoddomains` — <p>Retrieves the details of an existing payment method domain.</p>
463- `stripe-pp-cli payment-method-domains post` — <p>Creates a payment method domain.</p>
464- `stripe-pp-cli payment-method-domains post-paymentmethoddomains` — <p>Updates an existing payment method domain.</p>
465
466**payment-methods** — Manage payment methods
467
468- `stripe-pp-cli payment-methods get` — <p>Returns a list of all PaymentMethods.</p>
469- `stripe-pp-cli payment-methods get-paymentmethods` — <p>Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a...
470- `stripe-pp-cli payment-methods post` — <p>Creates a PaymentMethod object. Read the <a href='/docs/stripe-js/reference#stripe-create-payment-method'>Stripe.j...
471- `stripe-pp-cli payment-methods post-paymentmethods` — <p>Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated.</p>
472
473**payment-records** — Manage payment records
474
475- `stripe-pp-cli payment-records get-id` — <p>Retrieves a Payment Record with the given ID</p>
476- `stripe-pp-cli payment-records post-report-payment` — <p>Report a new Payment Record. You may report a Payment Record as it is initialized and later report updates...
477
478**payouts** — Manage payouts
479
480- `stripe-pp-cli payouts get` — <p>Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The...
481- `stripe-pp-cli payouts get-payout` — <p>Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or...
482- `stripe-pp-cli payouts post` — <p>To send funds to your own bank account, create a new payout object. Your <a href='#balance'>Stripe balance</a>...
483- `stripe-pp-cli payouts post-payout` — <p>Updates the specified payout by setting the values of the parameters you pass. We don’t change parameters that...
484
485**plans** — Manage plans
486
487- `stripe-pp-cli plans delete` — <p>Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.</p>
488- `stripe-pp-cli plans get` — <p>Returns a list of your plans.</p>
489- `stripe-pp-cli plans get-plan` — <p>Retrieves the plan with the given ID.</p>
490- `stripe-pp-cli plans post` — <p>You can now model subscriptions more flexibly using the <a href='#prices'>Prices API</a>. It replaces the Plans...
491- `stripe-pp-cli plans post-plan` — <p>Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left...
492
493**prices** — Manage prices
494
495- `stripe-pp-cli prices get` — <p>Returns a list of your active prices, excluding <a href='/docs/products-prices/pricing-models#inline-pricing'>inli...
496- `stripe-pp-cli prices get-price` — <p>Retrieves the price with the given ID.</p>
497- `stripe-pp-cli prices get-search` — <p>Search for prices you’ve previously created using Stripe’s <a...
498- `stripe-pp-cli prices post` — <p>Creates a new <a href='https://docs.stripe.com/api/prices'>Price</a> for an existing <a...
499- `stripe-pp-cli prices post-price` — <p>Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left...
500
501**products** — Manage products
502
503- `stripe-pp-cli products delete-id` — <p>Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally,...
504- `stripe-pp-cli products get` — <p>Returns a list of your products. The products are returned sorted by creation date, with the most recently...
505- `stripe-pp-cli products get-id` — <p>Retrieves the details of an existing product. Supply the unique product ID from either a product creation request...
506- `stripe-pp-cli products get-search` — <p>Search for products you’ve previously created using Stripe’s <a...
507- `stripe-pp-cli products post` — <p>Creates a new product object.</p>
508- `stripe-pp-cli products post-id` — <p>Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be...
509
510**promotion-codes** — Manage promotion codes
511
512- `stripe-pp-cli promotion-codes get` — <p>Returns a list of your promotion codes.</p>
513- `stripe-pp-cli promotion-codes get-promotioncodes` — <p>Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing...
514- `stripe-pp-cli promotion-codes post` — <p>A promotion code points to an underlying promotion. You can optionally restrict the code to a specific customer,...
515- `stripe-pp-cli promotion-codes post-promotioncodes` — <p>Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design,...
516
517**quotes** — Manage quotes
518
519- `stripe-pp-cli quotes get` — <p>Returns a list of your quotes.</p>
520- `stripe-pp-cli quotes get-quote` — <p>Retrieves the quote with the given ID.</p>
521- `stripe-pp-cli quotes post` — <p>A quote models prices and services for a customer. Default options for <code>header</code>,...
522- `stripe-pp-cli quotes post-quote` — <p>A quote models prices and services for a customer.</p>
523
524**radar** — Manage radar
525
526- `stripe-pp-cli radar delete-value-list-items-item` — <p>Deletes a <code>ValueListItem</code> object, removing it from its parent value list.</p>
527- `stripe-pp-cli radar delete-value-lists-value-list` — <p>Deletes a <code>ValueList</code> object, also deleting any items contained within the value list. To be deleted,...
528- `stripe-pp-cli radar get-early-fraud-warnings` — <p>Returns a list of early fraud warnings.</p>
529- `stripe-pp-cli radar get-early-fraud-warnings-early-fraud-warning` — <p>Retrieves the details of an early fraud warning that has previously been created. </p> <p>Please refer to the <a...
530- `stripe-pp-cli radar get-value-list-items` — <p>Returns a list of <code>ValueListItem</code> objects. The objects are sorted in descending order by creation...
531- `stripe-pp-cli radar get-value-list-items-item` — <p>Retrieves a <code>ValueListItem</code> object.</p>
532- `stripe-pp-cli radar get-value-lists` — <p>Returns a list of <code>ValueList</code> objects. The objects are sorted in descending order by creation date,...
533- `stripe-pp-cli radar get-value-lists-value-list` — <p>Retrieves a <code>ValueList</code> object.</p>
534- `stripe-pp-cli radar post-payment-evaluations` — <p>Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor...
535- `stripe-pp-cli radar post-value-list-items` — <p>Creates a new <code>ValueListItem</code> object, which is added to the specified parent value list.</p>
536- `stripe-pp-cli radar post-value-lists` — <p>Creates a new <code>ValueList</code> object, which can then be referenced in rules.</p>
537- `stripe-pp-cli radar post-value-lists-value-list` — <p>Updates a <code>ValueList</code> object by setting the values of the parameters passed. Any parameters not...
538
539**refunds** — Manage refunds
540
541- `stripe-pp-cli refunds get` — <p>Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds...
542- `stripe-pp-cli refunds get-refund` — <p>Retrieves the details of an existing refund.</p>
543- `stripe-pp-cli refunds post` — <p>When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.</p>...
544- `stripe-pp-cli refunds post-refund` — <p>Updates the refund that you specify by setting the values of the passed parameters. Any parameters that you...
545
546**reporting** — Manage reporting
547
548- `stripe-pp-cli reporting get-report-runs` — <p>Returns a list of Report Runs, with the most recent appearing first.</p>
549- `stripe-pp-cli reporting get-report-runs-report-run` — <p>Retrieves the details of an existing Report Run.</p>
550- `stripe-pp-cli reporting get-report-types` — <p>Returns a full list of Report Types.</p>
551- `stripe-pp-cli reporting get-report-types-report-type` — <p>Retrieves the details of a Report Type. (Certain report types require a <a...
552- `stripe-pp-cli reporting post-report-runs` — <p>Creates a new object and begin running the report. (Certain report types require a <a...
553
554**reviews** — Manage reviews
555
556- `stripe-pp-cli reviews get` — <p>Returns a list of <code>Review</code> objects that have <code>open</code> set to <code>true</code>. The objects...
557- `stripe-pp-cli reviews get-review` — <p>Retrieves a <code>Review</code> object.</p>
558
559**setup-attempts** — Manage setup attempts
560
561- `stripe-pp-cli setup-attempts` — <p>Returns a list of SetupAttempts that associate with a provided SetupIntent.</p>
562
563**setup-intents** — Manage setup intents
564
565- `stripe-pp-cli setup-intents get` — <p>Returns a list of SetupIntents.</p>
566- `stripe-pp-cli setup-intents get-intent` — <p>Retrieves the details of a SetupIntent that has previously been created. </p> <p>Client-side retrieval using a...
567- `stripe-pp-cli setup-intents post` — <p>Creates a SetupIntent object.</p> <p>After you create the SetupIntent, attach a payment method and <a...
568- `stripe-pp-cli setup-intents post-intent` — <p>Updates a SetupIntent object.</p>
569
570**shipping-rates** — Manage shipping rates
571
572- `stripe-pp-cli shipping-rates get` — <p>Returns a list of your shipping rates.</p>
573- `stripe-pp-cli shipping-rates get-token` — <p>Returns the shipping rate object with the given ID.</p>
574- `stripe-pp-cli shipping-rates post` — <p>Creates a new shipping rate object.</p>
575- `stripe-pp-cli shipping-rates post-token` — <p>Updates an existing shipping rate object.</p>
576
577**sigma** — Manage sigma
578
579- `stripe-pp-cli sigma get-scheduled-query-runs` — <p>Returns a list of scheduled query runs.</p>
580- `stripe-pp-cli sigma get-scheduled-query-runs-scheduled-query-run` — <p>Retrieves the details of an scheduled query run.</p>
581
582**sources** — Manage sources
583
584- `stripe-pp-cli sources get` — <p>Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will...
585- `stripe-pp-cli sources post` — <p>Creates a new source object.</p>
586- `stripe-pp-cli sources post-source` — <p>Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be...
587
588**subscription-items** — Manage subscription items
589
590- `stripe-pp-cli subscription-items delete-item` — <p>Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the...
591- `stripe-pp-cli subscription-items get` — <p>Returns a list of your subscription items for a given subscription.</p>
592- `stripe-pp-cli subscription-items get-item` — <p>Retrieves the subscription item with the given ID.</p>
593- `stripe-pp-cli subscription-items post` — <p>Adds a new item to an existing subscription. No existing items will be changed or replaced.</p>
594- `stripe-pp-cli subscription-items post-item` — <p>Updates the plan or quantity of an item on a current subscription.</p>
595
596**subscription-schedules** — Manage subscription schedules
597
598- `stripe-pp-cli subscription-schedules get` — <p>Retrieves the list of your subscription schedules.</p>
599- `stripe-pp-cli subscription-schedules get-schedule` — <p>Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription...
600- `stripe-pp-cli subscription-schedules post` — <p>Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.</p>
601- `stripe-pp-cli subscription-schedules post-schedule` — <p>Updates an existing subscription schedule.</p>
602
603**subscriptions** — Manage subscriptions
604
605- `stripe-pp-cli subscriptions delete-exposed-id` — <p>Cancels a customer’s subscription immediately. The customer won’t be charged again for the subscription....
606- `stripe-pp-cli subscriptions get` — <p>By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions,...
607- `stripe-pp-cli subscriptions get-exposed-id` — <p>Retrieves the subscription with the given ID.</p>
608- `stripe-pp-cli subscriptions get-search` — <p>Search for subscriptions you’ve previously created using Stripe’s <a...
609- `stripe-pp-cli subscriptions post` — <p>Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled...
610- `stripe-pp-cli subscriptions post-exposed-id` — <p>Updates an existing subscription to match the specified parameters. When changing prices or quantities, we...
611
612**tax** — Manage tax
613
614- `stripe-pp-cli tax get-associations-find` — <p>Finds a tax association object by PaymentIntent id.</p>
615- `stripe-pp-cli tax get-calculations-calculation` — <p>Retrieves a Tax <code>Calculation</code> object, if the calculation hasn’t expired.</p>
616- `stripe-pp-cli tax get-calculations-calculation-line-items` — <p>Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.</p>
617- `stripe-pp-cli tax get-registrations` — <p>Returns a list of Tax <code>Registration</code> objects.</p>
618- `stripe-pp-cli tax get-registrations-id` — <p>Returns a Tax <code>Registration</code> object.</p>
619- `stripe-pp-cli tax get-settings` — <p>Retrieves Tax <code>Settings</code> for a merchant.</p>
620- `stripe-pp-cli tax get-transactions-transaction` — <p>Retrieves a Tax <code>Transaction</code> object.</p>
621- `stripe-pp-cli tax get-transactions-transaction-line-items` — <p>Retrieves the line items of a committed standalone transaction as a collection.</p>
622- `stripe-pp-cli tax post-calculations` — <p>Calculates tax based on the input and returns a Tax <code>Calculation</code> object.</p>
623- `stripe-pp-cli tax post-registrations` — <p>Creates a new Tax <code>Registration</code> object.</p>
624- `stripe-pp-cli tax post-registrations-id` — <p>Updates an existing Tax <code>Registration</code> object.</p> <p>A registration cannot be deleted after it has...
625- `stripe-pp-cli tax post-settings` — <p>Updates Tax <code>Settings</code> parameters used in tax calculations. All parameters are editable but none can...
626- `stripe-pp-cli tax post-transactions-create-from-calculation` — <p>Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90...
627- `stripe-pp-cli tax post-transactions-create-reversal` — <p>Partially or fully reverses a previously created <code>Transaction</code>.</p>
628
629**tax-codes** — Manage tax codes
630
631- `stripe-pp-cli tax-codes get` — <p>A list of <a href='https://stripe.com/docs/tax/tax-categories'>all tax codes available</a> to add to Products in...
632- `stripe-pp-cli tax-codes get-id` — <p>Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the...
633
634**tax-ids** — Manage tax ids
635
636- `stripe-pp-cli tax-ids delete-id` — <p>Deletes an existing account or customer <code>tax_id</code> object.</p>
637- `stripe-pp-cli tax-ids get` — <p>Returns a list of tax IDs.</p>
638- `stripe-pp-cli tax-ids get-id` — <p>Retrieves an account or customer <code>tax_id</code> object.</p>
639- `stripe-pp-cli tax-ids post` — <p>Creates a new account or customer <code>tax_id</code> object.</p>
640
641**tax-rates** — Manage tax rates
642
643- `stripe-pp-cli tax-rates get` — <p>Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created...
644- `stripe-pp-cli tax-rates get-taxrates` — <p>Retrieves a tax rate with the given ID</p>
645- `stripe-pp-cli tax-rates post` — <p>Creates a new tax rate.</p>
646- `stripe-pp-cli tax-rates post-taxrates` — <p>Updates an existing tax rate.</p>
647
648**terminal** — Manage terminal
649
650- `stripe-pp-cli terminal delete-configurations-configuration` — <p>Deletes a <code>Configuration</code> object.</p>
651- `stripe-pp-cli terminal delete-locations-location` — <p>Deletes a <code>Location</code> object.</p>
652- `stripe-pp-cli terminal delete-readers-reader` — <p>Deletes a <code>Reader</code> object.</p>
653- `stripe-pp-cli terminal get-configurations` — <p>Returns a list of <code>Configuration</code> objects.</p>
654- `stripe-pp-cli terminal get-configurations-configuration` — <p>Retrieves a <code>Configuration</code> object.</p>
655- `stripe-pp-cli terminal get-locations` — <p>Returns a list of <code>Location</code> objects.</p>
656- `stripe-pp-cli terminal get-locations-location` — <p>Retrieves a <code>Location</code> object.</p>
657- `stripe-pp-cli terminal get-readers` — <p>Returns a list of <code>Reader</code> objects.</p>
658- `stripe-pp-cli terminal get-readers-reader` — <p>Retrieves a <code>Reader</code> object.</p>
659- `stripe-pp-cli terminal post-configurations` — <p>Creates a new <code>Configuration</code> object.</p>
660- `stripe-pp-cli terminal post-configurations-configuration` — <p>Updates a new <code>Configuration</code> object.</p>
661- `stripe-pp-cli terminal post-connection-tokens` — <p>To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe,...
662- `stripe-pp-cli terminal post-locations` — <p>Creates a new <code>Location</code> object. For further details, including which address fields are required in...
663- `stripe-pp-cli terminal post-locations-location` — <p>Updates a <code>Location</code> object by setting the values of the parameters passed. Any parameters not...
664- `stripe-pp-cli terminal post-onboarding-links` — <p>Creates a new <code>OnboardingLink</code> object that contains a redirect_url used for onboarding onto Tap to Pay...
665- `stripe-pp-cli terminal post-readers` — <p>Creates a new <code>Reader</code> object.</p>
666- `stripe-pp-cli terminal post-readers-reader` — <p>Updates a <code>Reader</code> object by setting the values of the parameters passed. Any parameters not provided...
667- `stripe-pp-cli terminal post-readers-reader-cancel-action` — <p>Cancels the current reader action. See <a href='/docs/terminal/payments/collect-card-payment?terminal-sdk-platform...
668- `stripe-pp-cli terminal post-readers-reader-collect-inputs` — <p>Initiates an <a href='/docs/terminal/features/collect-inputs'>input collection flow</a> on a Reader to display...
669- `stripe-pp-cli terminal post-readers-reader-collect-payment-method` — <p>Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation....
670- `stripe-pp-cli terminal post-readers-reader-confirm-payment-intent` — <p>Finalizes a payment on a Reader. See <a href='/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=s...
671- `stripe-pp-cli terminal post-readers-reader-process-payment-intent` — <p>Initiates a payment flow on a Reader. See <a href='/docs/terminal/payments/collect-card-payment?terminal-sdk-platf...
672- `stripe-pp-cli terminal post-readers-reader-process-setup-intent` — <p>Initiates a SetupIntent flow on a Reader. See <a href='/docs/terminal/features/saving-payment-details/save-directl...
673- `stripe-pp-cli terminal post-readers-reader-refund-payment` — <p>Initiates an in-person refund on a Reader. See <a href='/docs/terminal/payments/regional?integration-country=CA#re...
674- `stripe-pp-cli terminal post-readers-reader-set-reader-display` — <p>Sets the reader display to show <a href='/docs/terminal/features/display'>cart details</a>.</p>
675
676**test-helpers** — Manage test helpers
677
678- `stripe-pp-cli test-helpers delete-test-clocks-test-clock` — <p>Deletes a test clock.</p>
679- `stripe-pp-cli test-helpers get-test-clocks` — <p>Returns a list of your test clocks.</p>
680- `stripe-pp-cli test-helpers get-test-clocks-test-clock` — <p>Retrieves a test clock.</p>
681- `stripe-pp-cli test-helpers post-confirmation-tokens` — <p>Creates a test mode Confirmation Token server side for your integration tests.</p>
682- `stripe-pp-cli test-helpers post-customers-customer-fund-cash-balance` — <p>Create an incoming testmode bank transfer</p>
683- `stripe-pp-cli test-helpers post-issuing-authorizations` — <p>Create a test-mode authorization.</p>
684- `stripe-pp-cli test-helpers post-issuing-authorizations-authorization-capture` — <p>Capture a test-mode authorization.</p>
685- `stripe-pp-cli test-helpers post-issuing-authorizations-authorization-expire` — <p>Expire a test-mode Authorization.</p>
686- `stripe-pp-cli test-helpers post-issuing-authorizations-authorization-finalize-amount` — <p>Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated...
687- `stripe-pp-cli test-helpers post-issuing-authorizations-authorization-fraud-challenges-respond` — <p>Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a...
688- `stripe-pp-cli test-helpers post-issuing-authorizations-authorization-increment` — <p>Increment a test-mode Authorization.</p>
689- `stripe-pp-cli test-helpers post-issuing-authorizations-authorization-reverse` — <p>Reverse a test-mode Authorization.</p>
690- `stripe-pp-cli test-helpers post-issuing-cards-card-shipping-deliver` — <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>delivered</code>.</p>
691- `stripe-pp-cli test-helpers post-issuing-cards-card-shipping-fail` — <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>failure</code>.</p>
692- `stripe-pp-cli test-helpers post-issuing-cards-card-shipping-return` — <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>returned</code>.</p>
693- `stripe-pp-cli test-helpers post-issuing-cards-card-shipping-ship` — <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>shipped</code>.</p>
694- `stripe-pp-cli test-helpers post-issuing-cards-card-shipping-submit` — <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>submitted</code>. This...
695- `stripe-pp-cli test-helpers post-issuing-personalization-designs-personalization-design-activate` — <p>Updates the <code>status</code> of the specified testmode personalization design object to <code>active</code>.</p>
696- `stripe-pp-cli test-helpers post-issuing-personalization-designs-personalization-design-deactivate` — <p>Updates the <code>status</code> of the specified testmode personalization design object to <code>inactive</code>.</p>
697- `stripe-pp-cli test-helpers post-issuing-personalization-designs-personalization-design-reject` — <p>Updates the <code>status</code> of the specified testmode personalization design object to <code>rejected</code>.</p>
698- `stripe-pp-cli test-helpers post-issuing-transactions-create-force-capture` — <p>Allows the user to capture an arbitrary amount, also known as a forced capture.</p>
699- `stripe-pp-cli test-helpers post-issuing-transactions-create-unlinked-refund` — <p>Allows the user to refund an arbitrary amount, also known as a unlinked refund.</p>
700- `stripe-pp-cli test-helpers post-issuing-transactions-transaction-refund` — <p>Refund a test-mode Transaction.</p>
701- `stripe-pp-cli test-helpers post-refunds-refund-expire` — <p>Expire a refund with a status of <code>requires_action</code>.</p>
702- `stripe-pp-cli test-helpers post-terminal-readers-reader-present-payment-method` — <p>Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or...
703- `stripe-pp-cli test-helpers post-terminal-readers-reader-succeed-input-collection` — <p>Use this endpoint to trigger a successful input collection on a simulated reader.</p>
704- `stripe-pp-cli test-helpers post-terminal-readers-reader-timeout-input-collection` — <p>Use this endpoint to complete an input collection with a timeout error on a simulated reader.</p>
705- `stripe-pp-cli test-helpers post-test-clocks` — <p>Creates a new test clock that can be attached to new customers and quotes.</p>
706- `stripe-pp-cli test-helpers post-test-clocks-test-clock-advance` — <p>Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to...
707- `stripe-pp-cli test-helpers post-treasury-inbound-transfers-id-fail` — <p>Transitions a test mode created InboundTransfer to the <code>failed</code> status. The InboundTransfer must...
708- `stripe-pp-cli test-helpers post-treasury-inbound-transfers-id-return` — <p>Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The...
709- `stripe-pp-cli test-helpers post-treasury-inbound-transfers-id-succeed` — <p>Transitions a test mode created InboundTransfer to the <code>succeeded</code> status. The InboundTransfer must...
710- `stripe-pp-cli test-helpers post-treasury-outbound-payments-id` — <p>Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable,...
711- `stripe-pp-cli test-helpers post-treasury-outbound-payments-id-fail` — <p>Transitions a test mode created OutboundPayment to the <code>failed</code> status. The OutboundPayment must...
712- `stripe-pp-cli test-helpers post-treasury-outbound-payments-id-post` — <p>Transitions a test mode created OutboundPayment to the <code>posted</code> status. The OutboundPayment must...
713- `stripe-pp-cli test-helpers post-treasury-outbound-payments-id-return` — <p>Transitions a test mode created OutboundPayment to the <code>returned</code> status. The OutboundPayment must...
714- `stripe-pp-cli test-helpers post-treasury-outbound-transfers-outbound-transfer` — <p>Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable,...
715- `stripe-pp-cli test-helpers post-treasury-outbound-transfers-outbound-transfer-fail` — <p>Transitions a test mode created OutboundTransfer to the <code>failed</code> status. The OutboundTransfer must...
716- `stripe-pp-cli test-helpers post-treasury-outbound-transfers-outbound-transfer-post` — <p>Transitions a test mode created OutboundTransfer to the <code>posted</code> status. The OutboundTransfer must...
717- `stripe-pp-cli test-helpers post-treasury-outbound-transfers-outbound-transfer-return` — <p>Transitions a test mode created OutboundTransfer to the <code>returned</code> status. The OutboundTransfer must...
718- `stripe-pp-cli test-helpers post-treasury-received-credits` — <p>Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t...
719- `stripe-pp-cli test-helpers post-treasury-received-debits` — <p>Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t...
720
721**tokens** — Manage tokens
722
723- `stripe-pp-cli tokens get` — <p>Retrieves the token with the given ID.</p>
724- `stripe-pp-cli tokens post` — <p>Creates a single-use token that represents a bank account’s details. You can use this token with any v1 API...
725
726**topups** — Manage topups
727
728- `stripe-pp-cli topups get` — <p>Returns a list of top-ups.</p>
729- `stripe-pp-cli topups get-topup` — <p>Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned...
730- `stripe-pp-cli topups post` — <p>Top up the balance of an account</p>
731- `stripe-pp-cli topups post-topup` — <p>Updates the metadata of a top-up. Other top-up details are not editable by design.</p>
732
733**transfers** — Manage transfers
734
735- `stripe-pp-cli transfers get` — <p>Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with...
736- `stripe-pp-cli transfers get-transfer` — <p>Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation...
737- `stripe-pp-cli transfers post` — <p>To send funds from your Stripe account to a connected account, you create a new transfer object. Your <a...
738- `stripe-pp-cli transfers post-transfer` — <p>Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will...
739
740**treasury** — Manage treasury
741
742- `stripe-pp-cli treasury get-credit-reversals` — <p>Returns a list of CreditReversals.</p>
743- `stripe-pp-cli treasury get-credit-reversals-credit-reversal` — <p>Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the...
744- `stripe-pp-cli treasury get-debit-reversals` — <p>Returns a list of DebitReversals.</p>
745- `stripe-pp-cli treasury get-debit-reversals-debit-reversal` — <p>Retrieves a DebitReversal object.</p>
746- `stripe-pp-cli treasury get-financial-accounts` — <p>Returns a list of FinancialAccounts.</p>
747- `stripe-pp-cli treasury get-financial-accounts-financial-account` — <p>Retrieves the details of a FinancialAccount.</p>
748- `stripe-pp-cli treasury get-financial-accounts-financial-account-features` — <p>Retrieves Features information associated with the FinancialAccount.</p>
749- `stripe-pp-cli treasury get-inbound-transfers` — <p>Returns a list of InboundTransfers sent from the specified FinancialAccount.</p>
750- `stripe-pp-cli treasury get-inbound-transfers-id` — <p>Retrieves the details of an existing InboundTransfer.</p>
751- `stripe-pp-cli treasury get-outbound-payments` — <p>Returns a list of OutboundPayments sent from the specified FinancialAccount.</p>
752- `stripe-pp-cli treasury get-outbound-payments-id` — <p>Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the...
753- `stripe-pp-cli treasury get-outbound-transfers` — <p>Returns a list of OutboundTransfers sent from the specified FinancialAccount.</p>
754- `stripe-pp-cli treasury get-outbound-transfers-outbound-transfer` — <p>Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the...
755- `stripe-pp-cli treasury get-received-credits` — <p>Returns a list of ReceivedCredits.</p>
756- `stripe-pp-cli treasury get-received-credits-id` — <p>Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the...
757- `stripe-pp-cli treasury get-received-debits` — <p>Returns a list of ReceivedDebits.</p>
758- `stripe-pp-cli treasury get-received-debits-id` — <p>Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit...
759- `stripe-pp-cli treasury get-transaction-entries` — <p>Retrieves a list of TransactionEntry objects.</p>
760- `stripe-pp-cli treasury get-transaction-entries-id` — <p>Retrieves a TransactionEntry object.</p>
761- `stripe-pp-cli treasury get-transactions` — <p>Retrieves a list of Transaction objects.</p>
762- `stripe-pp-cli treasury get-transactions-id` — <p>Retrieves the details of an existing Transaction.</p>
763- `stripe-pp-cli treasury post-credit-reversals` — <p>Reverses a ReceivedCredit and creates a CreditReversal object.</p>
764- `stripe-pp-cli treasury post-debit-reversals` — <p>Reverses a ReceivedDebit and creates a DebitReversal object.</p>
765- `stripe-pp-cli treasury post-financial-accounts` — <p>Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default.</p>
766- `stripe-pp-cli treasury post-financial-accounts-financial-account` — <p>Updates the details of a FinancialAccount.</p>
767- `stripe-pp-cli treasury post-financial-accounts-financial-account-close` — <p>Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending...
768- `stripe-pp-cli treasury post-financial-accounts-financial-account-features` — <p>Updates the Features associated with a FinancialAccount.</p>
769- `stripe-pp-cli treasury post-inbound-transfers` — <p>Creates an InboundTransfer.</p>
770- `stripe-pp-cli treasury post-inbound-transfers-inbound-transfer-cancel` — <p>Cancels an InboundTransfer.</p>
771- `stripe-pp-cli treasury post-outbound-payments` — <p>Creates an OutboundPayment.</p>
772- `stripe-pp-cli treasury post-outbound-payments-id-cancel` — <p>Cancel an OutboundPayment.</p>
773- `stripe-pp-cli treasury post-outbound-transfers` — <p>Creates an OutboundTransfer.</p>
774- `stripe-pp-cli treasury post-outbound-transfers-outbound-transfer-cancel` — <p>An OutboundTransfer can be canceled if the funds have not yet been paid out.</p>
775
776**webhook-endpoints** — Manage webhook endpoints
777
778- `stripe-pp-cli webhook-endpoints delete` — <p>You can also delete webhook endpoints via the <a href='https://dashboard.stripe.com/account/webhooks'>webhook...
779- `stripe-pp-cli webhook-endpoints get` — <p>Returns a list of your webhook endpoints.</p>
780- `stripe-pp-cli webhook-endpoints get-webhookendpoints` — <p>Retrieves the webhook endpoint with the given ID.</p>
781- `stripe-pp-cli webhook-endpoints post` — <p>A webhook endpoint must have a <code>url</code> and a list of <code>enabled_events</code>. You may optionally...
782- `stripe-pp-cli webhook-endpoints post-webhookendpoints` — <p>Updates the webhook endpoint. You may edit the <code>url</code>, the list of <code>enabled_events</code>, and the...
783
784
785### Finding the right command
786
787When you know what you want to do but not which command does it, ask the CLI directly:
788
789```bash
790stripe-pp-cli which "<capability in your own words>"
791```
792
793`which` resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code `0` means at least one match; exit code `2` means no confident match — fall back to `--help` or use a narrower query.
794
795## Recipes
796
797
798### Find double-subscribed customers
799
800```bash
801stripe-pp-cli sql 'SELECT json_extract(s.data,"$.customer") AS cid, COUNT(*) AS subs FROM resources s WHERE s.resource_type="subscriptions" AND json_extract(s.data,"$.status")="active" GROUP BY cid HAVING subs > 1' --json
802```
803
804All Stripe data lives in the generic `resources` table; query JSON fields with json_extract.
805
806### Top 10 customers with at-risk PM
807
808```bash
809stripe-pp-cli subs-at-risk --within 30d --limit 10 --json --select customer_email,mrr,card_exp
810```
811
812Email these customers proactively before involuntary churn hits.
813
814### Replay missed events since last cron tick
815
816```bash
817stripe-pp-cli events-since --type 'invoice' --json --select id,type,created,data.object.id
818```
819
820Cursor-driven event tail — one-shot, agent-friendly, persists cursor between runs.
821
822### Reconcile this week's payouts
823
824```bash
825stripe-pp-cli payout-reconcile --since 7d --csv
826```
827
828Joins payout → balance_transactions → charges → customers; flags missing rows.
829
830### Compact customer dossier for agent context
831
832```bash
833stripe-pp-cli customer-360 alice@example.com --json --select customer.email,active_subscriptions,open_disputes,lifetime_spend
834```
835
836Use --select to project deeply-nested fields; saves tokens vs full dossier.
837
838## Auth Setup
839
840Authenticate by exporting `STRIPE_SECRET_KEY=sk_test_...` (recommended) or running `stripe-pp-cli auth set-token <key>` to persist it. Test-mode keys (`sk_test_...`) and live-mode keys (`sk_live_...`) are accepted; this v1 does NOT yet enforce a live-mode write guard, so audit any live invocation before running mutating commands.
841
842Run `stripe-pp-cli doctor` to verify setup.
843
844## Agent Mode
845
846Add `--agent` to any command. Expands to: `--json --compact --no-input --no-color --yes`.
847
848- **Pipeable** — JSON on stdout, errors on stderr
849- **Filterable** — `--select` keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
850
851 ```bash
852 stripe-pp-cli account --agent --select id,name,status
853 ```
854- **Previewable** — `--dry-run` shows the request without sending
855- **Offline-friendly** — sync/search commands can use the local SQLite store when available
856- **Non-interactive** — never prompts, every input is a flag
857- **Explicit retries** — use `--idempotent` only when an already-existing create should count as success, and `--ignore-missing` only when a missing delete target should count as success
858
859### Response envelope
860
861Commands that read from the local store or the API wrap output in a provenance envelope:
862
863```json
864{
865 "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
866 "results": <data>
867}
868```
869
870Parse `.results` for data and `.meta.source` to know whether it's live or local. A human-readable `N results (live)` summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
871
872## Agent Feedback
873
874When you (or the agent) notice something off about this CLI, record it:
875
876```
877stripe-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
878stripe-pp-cli feedback --stdin < notes.txt
879stripe-pp-cli feedback list --json --limit 10
880```
881
882Entries are stored locally at `~/.stripe-pp-cli/feedback.jsonl`. They are never POSTed unless `STRIPE_FEEDBACK_ENDPOINT` is set AND either `--send` is passed or `STRIPE_FEEDBACK_AUTO_SEND=true`. Default behavior is local-only.
883
884Write what *surprised* you, not a bug report. Short, specific, one line: that is the part that compounds.
885
886## Output Delivery
887
888Every command accepts `--deliver <sink>`. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
889
890| Sink | Effect |
891|------|--------|
892| `stdout` | Default; write to stdout only |
893| `file:<path>` | Atomically write output to `<path>` (tmp + rename) |
894| `webhook:<url>` | POST the output body to the URL (`application/json` or `application/x-ndjson` when `--compact`) |
895
896Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
897
898## Named Profiles
899
900A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
901
902```
903stripe-pp-cli profile save briefing --json
904stripe-pp-cli --profile briefing account
905stripe-pp-cli profile list --json
906stripe-pp-cli profile show briefing
907stripe-pp-cli profile delete briefing --yes
908```
909
910Explicit flags always win over profile values; profile values win over defaults. `agent-context` lists all available profiles under `available_profiles` so introspecting agents discover them at runtime.
911
912## Exit Codes
913
914| Code | Meaning |
915|------|---------|
916| 0 | Success |
917| 2 | Usage error (wrong arguments) |
918| 3 | Resource not found |
919| 4 | Authentication required |
920| 5 | API error (upstream issue) |
921| 7 | Rate limited (wait and retry) |
922| 10 | Config error |
923
924## Argument Parsing
925
926Parse `$ARGUMENTS`:
927
9281. **Empty, `help`, or `--help`** → show `stripe-pp-cli --help` output
9292. **Starts with `install`** → ends with `mcp` → MCP installation; otherwise → see Prerequisites above
9303. **Anything else** → Direct Use (execute as CLI command with `--agent`)
931
932## MCP Server Installation
933
9341. Install the MCP server:
935 ```bash
936 go install github.com/mvanhorn/printing-press-library/library/payments/stripe/cmd/stripe-pp-mcp@latest
937 ```
9382. Register with Claude Code:
939 ```bash
940 claude mcp add stripe-pp-mcp -- stripe-pp-mcp
941 ```
9423. Verify: `claude mcp list`
943
944## Direct Use
945
9461. Check if installed: `which stripe-pp-cli`
947 If not found, offer to install (see Prerequisites at the top of this skill).
9482. Match the user query to the best command from the Unique Capabilities and Command Reference above.
9493. Execute with the `--agent` flag:
950 ```bash
951 stripe-pp-cli <command> [subcommand] [args] --agent
952 ```
9534. If ambiguous, drill into subcommand help: `stripe-pp-cli <command> --help`.