pp-stripe
Original:🇺🇸 English
Translated
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`.
8installs
Added on
NPX Install
npx skill4agent add mvanhorn/printing-press-library pp-stripeTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Stripe — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
stripe-pp-cli- Install via the Printing Press installer:
bash
npx -y @mvanhorn/printing-press install stripe --cli-only - Verify:
stripe-pp-cli --version - Ensure (or
$GOPATH/bin) is on$HOME/go/bin.$PATH
If the install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.3 or newer):
npxbash
go install github.com/mvanhorn/printing-press-library/library/payments/stripe/cmd/stripe-pp-cli@latestIf reports "command not found" after install, the install step did not put the binary on . Do not proceed with skill commands until verification succeeds.
--version$PATHstripe-pp-cli matches the official stripe-cli verb-for-verb and adds what it deliberately omits: a local mirror of customers, subscriptions, invoices, charges, payouts, and events with FTS5 search; cross-entity SQL queries (); and dossier commands (, , , , ). Built for agents — every command is one-shot, one-shot, and emits structured output.
sqlhealthdunning-queuecustomer-360subs-at-riskpayout-reconcileWhen 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 key are blocked by default with a clear error; pass
sk_live_...(or set--confirm-live) once you have audited the invocation. PreferSTRIPE_CONFIRM_LIVE=1for development regardless.sk_test_... - In-person Terminal payments. resource commands are present but Stripe Terminal SDK is not in scope. Use the Terminal iOS/Android SDK.
terminal - Stripe Issuing card management workflows. commands are REST passthrough only; spending controls, dispute evidence packages not built. Use the Stripe Dashboard.
issuing - Stripe Tax registration. CRUD only; jurisdiction registration not in scope. Use Stripe Tax in Dashboard.
tax-rates - Connect platform fan-out across many connected accounts. Single account at a time via header. Multi-account loops via external script.
Stripe-Account - 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 | | Use Stripe Tax in Dashboard |
| out of scope | Use |
| 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
-
— 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.
healthUse this to feed customer-health signals into outreach, dunning, and renewal automation without burning hundreds of API calls per customer.bashstripe-pp-cli health cus_xyz --json --select score,failed_payments,mrr_contribution -
— List invoices in past_due/uncollectible state ranked by days-overdue, with last failure reason and customer email pulled from the local store.
dunning-queueWhen deciding which customers to follow up with about failed payments, this beats walking the Stripe dashboard or chaining 4+ API calls per row.bashstripe-pp-cli dunning-queue --json --select invoice,customer_email,days_overdue,last_failure_reason -
— 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.
sqlWhen 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.bashstripe-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 -
— Join payouts to balance_transactions to charges to customers from local store; flag missing balance_transactions and mismatches; CSV export.
payout-reconcileUse this for end-of-period payout reconciliation against bank statements or accounting systems — replaces the manual CSV-pivot ritual.bashstripe-pp-cli payout-reconcile --since 7d --csv -
— List subscriptions whose default payment method's card expires in a window, sorted by current MRR contribution.
subs-at-riskUse this monthly to proactively email customers whose card is about to expire — prevents involuntary churn.bashstripe-pp-cli subs-at-risk --within 30d --json --select customer_email,mrr,card_exp -
— Search every synced resource's metadata bag for a key/value across resource types; returns (resource_type, id, matched_kv) rows.
metadata-grepWhen integrating Stripe with a CRM via metadata tags, this finds every related resource in one query.bashstripe-pp-cli metadata-grep 'crm_id=acme-001' --json
Agent-native plumbing
-
— One-shot dossier: customer profile + active subs + recent invoices + payment methods + recent charges + open disputes + lifetime spend.
customer-360Use this as the first command when investigating a customer ticket, support escalation, or churn risk — full context in one call.bashstripe-pp-cli customer-360 alice@example.com --json --compact -
— Fetch all Events since a cursor, persist new cursor in profile, no daemon. One-shot replacement for stripe-cli's listen daemon.
events-sinceUse this in cron-driven agent loops to replay only new events since the last run — no daemon to babysit, no missed events.bashstripe-pp-cli events-since --type 'invoice.*' --json --select id,type,created,data.object.id
Command Reference
account — Manage account
- — <p>Retrieves the details of an account.</p>
stripe-pp-cli account
account-links — Manage account links
- — <p>Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to...
stripe-pp-cli account-links
account-sessions — Manage account sessions
- — <p>Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to...
stripe-pp-cli account-sessions
accounts — Manage accounts
- — <p>With <a href='/connect'>Connect</a>, you can delete accounts you manage.</p> <p>Test-mode accounts can be deleted...
stripe-pp-cli accounts delete - — <p>Returns a list of accounts connected to your platform via <a href='/docs/connect'>Connect</a>. If you’re not a...
stripe-pp-cli accounts get - — <p>Retrieves the details of an account.</p>
stripe-pp-cli accounts get-account - — <p>With <a href='/docs/connect'>Connect</a>, you can create Stripe accounts for your users. To do this, you’ll...
stripe-pp-cli accounts post - — <p>Updates a <a href='/connect/accounts'>connected account</a> by setting the values of the parameters passed. Any...
stripe-pp-cli accounts post-account
apple-pay — Manage apple pay
- — <p>Delete an apple pay domain.</p>
stripe-pp-cli apple-pay delete-domains-domain - — <p>List apple pay domains.</p>
stripe-pp-cli apple-pay get-domains - — <p>Retrieve an apple pay domain.</p>
stripe-pp-cli apple-pay get-domains-domain - — <p>Create an apple pay domain.</p>
stripe-pp-cli apple-pay post-domains
application-fees — Manage application fees
- — <p>Returns a list of application fees you’ve previously collected. The application fees are returned in sorted...
stripe-pp-cli application-fees get - — <p>Retrieves the details of an application fee that your account has collected. The same information is returned...
stripe-pp-cli application-fees get-id
apps — Manage apps
- — <p>List all secrets stored on the given scope.</p>
stripe-pp-cli apps get-secrets - — <p>Finds a secret in the secret store by name and scope.</p>
stripe-pp-cli apps get-secrets-find - — <p>Create or replace a secret in the secret store.</p>
stripe-pp-cli apps post-secrets - — <p>Deletes a secret from the secret store by name and scope.</p>
stripe-pp-cli apps post-secrets-delete
balance — Manage balance
- — <p>Retrieves the current account balance, based on the authentication that was used to make the request. For a...
stripe-pp-cli balance
balance-settings — Manage balance settings
- — <p>Retrieves balance settings for a given connected account. Related guide: <a href='/connect/authentication'>Making...
stripe-pp-cli balance-settings get - — <p>Updates balance settings for a given connected account. Related guide: <a href='/connect/authentication'>Making...
stripe-pp-cli balance-settings post
balance-transactions — Manage balance transactions
- — <p>Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and...
stripe-pp-cli balance-transactions get - — <p>Retrieves the balance transaction with the given ID.</p> <p>Note that this endpoint previously used the path...
stripe-pp-cli balance-transactions get-id
billing — Manage billing
- — <p>Lists billing active and inactive alerts</p>
stripe-pp-cli billing get-alerts - — <p>Retrieves a billing alert given an ID</p>
stripe-pp-cli billing get-alerts-id - — <p>Retrieves the credit balance summary for a customer.</p>
stripe-pp-cli billing get-credit-balance-summary - — <p>Retrieve a list of credit balance transactions.</p>
stripe-pp-cli billing get-credit-balance-transactions - — <p>Retrieves a credit balance transaction.</p>
stripe-pp-cli billing get-credit-balance-transactions-id - — <p>Retrieve a list of credit grants.</p>
stripe-pp-cli billing get-credit-grants - — <p>Retrieves a credit grant.</p>
stripe-pp-cli billing get-credit-grants-id - — <p>Retrieve a list of billing meters.</p>
stripe-pp-cli billing get-meters - — <p>Retrieves a billing meter given an ID.</p>
stripe-pp-cli billing get-meters-id - — <p>Retrieve a list of billing meter event summaries.</p>
stripe-pp-cli billing get-meters-id-event-summaries - — <p>Creates a billing alert</p>
stripe-pp-cli billing post-alerts - — <p>Reactivates this alert, allowing it to trigger again.</p>
stripe-pp-cli billing post-alerts-id-activate - — <p>Archives this alert, removing it from the list view and APIs. This is non-reversible.</p>
stripe-pp-cli billing post-alerts-id-archive - — <p>Deactivates this alert, preventing it from triggering.</p>
stripe-pp-cli billing post-alerts-id-deactivate - — <p>Creates a credit grant.</p>
stripe-pp-cli billing post-credit-grants - — <p>Updates a credit grant.</p>
stripe-pp-cli billing post-credit-grants-id - — <p>Expires a credit grant.</p>
stripe-pp-cli billing post-credit-grants-id-expire - — <p>Voids a credit grant.</p>
stripe-pp-cli billing post-credit-grants-id-void - — <p>Creates a billing meter event adjustment.</p>
stripe-pp-cli billing post-meter-event-adjustments - — <p>Creates a billing meter event.</p>
stripe-pp-cli billing post-meter-events - — <p>Creates a billing meter.</p>
stripe-pp-cli billing post-meters - — <p>Updates a billing meter.</p>
stripe-pp-cli billing post-meters-id - — <p>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-deactivate - — <p>When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price.</p>
stripe-pp-cli billing post-meters-id-reactivate
billing-portal — Manage billing portal
- — <p>Returns a list of configurations that describe the functionality of the customer portal.</p>
stripe-pp-cli billing-portal get-configurations - — <p>Retrieves a configuration that describes the functionality of the customer portal.</p>
stripe-pp-cli billing-portal get-configurations-configuration - — <p>Creates a configuration that describes the functionality and behavior of a PortalSession</p>
stripe-pp-cli billing-portal post-configurations - — <p>Updates a configuration that describes the functionality of the customer portal.</p>
stripe-pp-cli billing-portal post-configurations-configuration - — <p>Creates a session of the customer portal.</p>
stripe-pp-cli billing-portal post-sessions
charges — Manage charges
- — <p>Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most...
stripe-pp-cli charges get - — <p>Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned...
stripe-pp-cli charges get-charge - — <p>Search for charges you’ve previously created using Stripe’s <a...
stripe-pp-cli charges get-search - — <p>This method is no longer recommended—use the <a href='/docs/api/payment_intents'>Payment Intents API</a> to...
stripe-pp-cli charges post - — <p>Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be...
stripe-pp-cli charges post-charge
checkout — Manage checkout
- — <p>Returns a list of Checkout Sessions.</p>
stripe-pp-cli checkout get-sessions - — <p>Retrieves a Checkout Session object.</p>
stripe-pp-cli checkout get-sessions-session - — <p>When retrieving a Checkout Session, there is an includable <strong>line_items</strong> property containing the...
stripe-pp-cli checkout get-sessions-session-line-items - — <p>Creates a Checkout Session object.</p>
stripe-pp-cli checkout post-sessions - — <p>Updates a Checkout Session object.</p> <p>Related guide: <a href='/payments/advanced/dynamic-updates'>Dynamically...
stripe-pp-cli checkout post-sessions-session - — <p>A Checkout Session can be expired when it is in one of these statuses: <code>open</code> </p> <p>After it...
stripe-pp-cli checkout post-sessions-session-expire
climate — Manage climate
- — <p>Lists all Climate order objects. The orders are returned sorted by creation date, with the most recently created...
stripe-pp-cli climate get-orders - — <p>Retrieves the details of a Climate order object with the given ID.</p>
stripe-pp-cli climate get-orders-order - — <p>Lists all available Climate product objects.</p>
stripe-pp-cli climate get-products - — <p>Retrieves the details of a Climate product with the given ID.</p>
stripe-pp-cli climate get-products-product - — <p>Lists all available Climate supplier objects.</p>
stripe-pp-cli climate get-suppliers - — <p>Retrieves a Climate supplier object.</p>
stripe-pp-cli climate get-suppliers-supplier - — <p>Creates a Climate order object for a given Climate product. The order will be processed immediately after...
stripe-pp-cli climate post-orders - — <p>Updates the specified order by setting the values of the parameters passed.</p>
stripe-pp-cli climate post-orders-order - — <p>Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the reservation...
stripe-pp-cli climate post-orders-order-cancel
confirmation-tokens — Manage confirmation tokens
- — <p>Retrieves an existing ConfirmationToken object</p>
stripe-pp-cli confirmation-tokens <confirmation_token>
country-specs — Manage country specs
- — <p>Lists all Country Spec objects available in the API.</p>
stripe-pp-cli country-specs get - — <p>Returns a Country Spec for a given Country code.</p>
stripe-pp-cli country-specs get-country
coupons — Manage coupons
- — <p>You can delete coupons via the <a href='https://dashboard.stripe.com/coupons'>coupon management</a> page of the...
stripe-pp-cli coupons delete - — <p>Returns a list of your coupons.</p>
stripe-pp-cli coupons get - — <p>Retrieves the coupon with the given ID.</p>
stripe-pp-cli coupons get-coupon - — <p>You can create coupons easily via the <a href='https://dashboard.stripe.com/coupons'>coupon management</a> page...
stripe-pp-cli coupons post - — <p>Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not...
stripe-pp-cli coupons post-coupon
credit-notes — Manage credit notes
- — <p>Returns a list of credit notes.</p>
stripe-pp-cli credit-notes get - — <p>Retrieves the credit note object with the given identifier.</p>
stripe-pp-cli credit-notes get-id - — <p>Get a preview of a credit note without creating it.</p>
stripe-pp-cli credit-notes get-preview - — <p>When retrieving a credit note preview, you’ll get a <strong>lines</strong> property containing the first...
stripe-pp-cli credit-notes get-preview-lines - — <p>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 - — <p>Updates an existing credit note.</p>
stripe-pp-cli credit-notes post-id
customer-sessions — Manage customer sessions
- — <p>Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to...
stripe-pp-cli customer-sessions
customers — Manage customers
- — <p>Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the...
stripe-pp-cli customers delete - — <p>Returns a list of your customers. The customers are returned sorted by creation date, with the most recent...
stripe-pp-cli customers get - — <p>Retrieves a Customer object.</p>
stripe-pp-cli customers get-customer - — <p>Search for customers you’ve previously created using Stripe’s <a...
stripe-pp-cli customers get-search - — <p>Creates a new customer object.</p>
stripe-pp-cli customers post - — <p>Updates the specified customer by setting the values of the parameters passed. Any parameters not provided are...
stripe-pp-cli customers post-customer
disputes — Manage disputes
- — <p>Returns a list of your disputes.</p>
stripe-pp-cli disputes get - — <p>Retrieves the dispute with the given ID.</p>
stripe-pp-cli disputes get-dispute - — <p>When you get a dispute, contacting your customer is always the best first step. If that doesn’t work, you can...
stripe-pp-cli disputes post
entitlements — Manage entitlements
- — <p>Retrieve a list of active entitlements for a customer</p>
stripe-pp-cli entitlements get-active - — <p>Retrieve an active entitlement</p>
stripe-pp-cli entitlements get-active-id - — <p>Retrieve a list of features</p>
stripe-pp-cli entitlements get-features - — <p>Retrieves a feature</p>
stripe-pp-cli entitlements get-features-id - — <p>Creates a feature</p>
stripe-pp-cli entitlements post-features - — <p>Update a feature’s metadata or permanently deactivate it.</p>
stripe-pp-cli entitlements post-features-id
ephemeral-keys — Manage ephemeral keys
- — <p>Invalidates a short-lived API key for a given resource.</p>
stripe-pp-cli ephemeral-keys delete-key - — <p>Creates a short-lived API key for a given resource.</p>
stripe-pp-cli ephemeral-keys post
events — Manage events
- — <p>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 - — <p>Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the...
stripe-pp-cli events get-id
exchange-rates — Manage exchange rates
- — <p>[Deprecated] The <code>ExchangeRate</code> APIs are deprecated. Please use the <a...
stripe-pp-cli exchange-rates get - — <p>[Deprecated] The <code>ExchangeRate</code> APIs are deprecated. Please use the <a...
stripe-pp-cli exchange-rates get-rate-id
file-links — Manage file links
- — <p>Returns a list of file links.</p>
stripe-pp-cli file-links get - — <p>Retrieves the file link with the given ID.</p>
stripe-pp-cli file-links get-link - — <p>Creates a new file link object.</p>
stripe-pp-cli file-links post - — <p>Updates an existing file link object. Expired links can no longer be updated.</p>
stripe-pp-cli file-links post-link
files — Manage files
- — <p>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 - — <p>Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the...
stripe-pp-cli files get-file - — <p>To upload a file to Stripe, you need to send a request of type <code>multipart/form-data</code>. Include the file...
stripe-pp-cli files post
financial-connections — Manage financial connections
- — <p>Returns a list of Financial Connections <code>Account</code> objects.</p>
stripe-pp-cli financial-connections get-accounts - — <p>Retrieves the details of an Financial Connections <code>Account</code>.</p>
stripe-pp-cli financial-connections get-accounts-account - — <p>Lists all owners for a given <code>Account</code></p>
stripe-pp-cli financial-connections get-accounts-account-owners - — <p>Retrieves the details of a Financial Connections <code>Session</code></p>
stripe-pp-cli financial-connections get-sessions-session - — <p>Returns a list of Financial Connections <code>Transaction</code> objects.</p>
stripe-pp-cli financial-connections get-transactions - — <p>Retrieves the details of a Financial Connections <code>Transaction</code></p>
stripe-pp-cli financial-connections get-transactions-transaction - — <p>Disables your access to a Financial Connections <code>Account</code>. You will no longer be able to access data...
stripe-pp-cli financial-connections post-accounts-account-disconnect - — <p>Refreshes the data associated with a Financial Connections <code>Account</code>.</p>
stripe-pp-cli financial-connections post-accounts-account-refresh - — <p>Subscribes to periodic refreshes of data associated with a Financial Connections <code>Account</code>. When the...
stripe-pp-cli financial-connections post-accounts-account-subscribe - — <p>Unsubscribes from periodic refreshes of data associated with a Financial Connections <code>Account</code>.</p>
stripe-pp-cli financial-connections post-accounts-account-unsubscribe - — <p>To launch the Financial Connections authorization flow, create a <code>Session</code>. The session’s...
stripe-pp-cli financial-connections post-sessions
forwarding — Manage forwarding
- — <p>Lists all ForwardingRequest objects.</p>
stripe-pp-cli forwarding get-requests - — <p>Retrieves a ForwardingRequest object.</p>
stripe-pp-cli forwarding get-requests-id - — <p>Creates a ForwardingRequest object.</p>
stripe-pp-cli forwarding post-requests
identity — Manage identity
- — <p>List all verification reports.</p>
stripe-pp-cli identity get-verification-reports - — <p>Retrieves an existing VerificationReport</p>
stripe-pp-cli identity get-verification-reports-report - — <p>Returns a list of VerificationSessions</p>
stripe-pp-cli identity get-verification-sessions - — <p>Retrieves the details of a VerificationSession that was previously created.</p> <p>When the session status is...
stripe-pp-cli identity get-verification-sessions-session - — <p>Creates a VerificationSession object.</p> <p>After the VerificationSession is created, display a verification...
stripe-pp-cli identity post-verification-sessions - — <p>Updates a VerificationSession object.</p> <p>When the session status is <code>requires_input</code>, you can use...
stripe-pp-cli identity post-verification-sessions-session - — <p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a...
stripe-pp-cli identity post-verification-sessions-session-cancel - — <p>Redact a VerificationSession to remove all collected information from Stripe. This will redact the...
stripe-pp-cli identity post-verification-sessions-session-redact
invoice-payments — Manage invoice payments
- — <p>When retrieving an invoice, there is an includable payments property containing the first handful of those items....
stripe-pp-cli invoice-payments get - — <p>Retrieves the invoice payment with the given ID.</p>
stripe-pp-cli invoice-payments get-invoicepayments
invoice-rendering-templates — Manage invoice rendering templates
- — <p>List all templates, ordered by creation date, with the most recently created template appearing first.</p>
stripe-pp-cli invoice-rendering-templates get - — <p>Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the...
stripe-pp-cli invoice-rendering-templates get-template
invoiceitems — Manage invoiceitems
- — <p>Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not...
stripe-pp-cli invoiceitems delete - — <p>Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently...
stripe-pp-cli invoiceitems get - — <p>Retrieves the invoice item with the given ID.</p>
stripe-pp-cli invoiceitems get-invoiceitem - — <p>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 - — <p>Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only...
stripe-pp-cli invoiceitems post-invoiceitem
invoices — Manage invoices
- — <p>Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no...
stripe-pp-cli invoices delete - — <p>You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by...
stripe-pp-cli invoices get - — <p>Retrieves the invoice with the given ID.</p>
stripe-pp-cli invoices get-invoice - — <p>Search for invoices you’ve previously created using Stripe’s <a...
stripe-pp-cli invoices get-search - — <p>This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you <a...
stripe-pp-cli invoices post - — <p>At any time, you can preview the upcoming invoice for a subscription or subscription schedule. This will show you...
stripe-pp-cli invoices post-create-preview - — <p>Draft invoices are fully editable. Once an invoice is <a href='/docs/billing/invoices/workflow#finalized'>finalize...
stripe-pp-cli invoices post-invoice
issuing — Manage issuing
- — <p>Returns a list of Issuing <code>Authorization</code> objects. The objects are sorted in descending order by...
stripe-pp-cli issuing get-authorizations - — <p>Retrieves an Issuing <code>Authorization</code> object.</p>
stripe-pp-cli issuing get-authorizations-authorization - — <p>Returns a list of Issuing <code>Cardholder</code> objects. The objects are sorted in descending order by creation...
stripe-pp-cli issuing get-cardholders - — <p>Retrieves an Issuing <code>Cardholder</code> object.</p>
stripe-pp-cli issuing get-cardholders-cardholder - — <p>Returns a list of Issuing <code>Card</code> objects. The objects are sorted in descending order by creation date,...
stripe-pp-cli issuing get-cards - — <p>Retrieves an Issuing <code>Card</code> object.</p>
stripe-pp-cli issuing get-cards-card - — <p>Returns a list of Issuing <code>Dispute</code> objects. The objects are sorted in descending order by creation...
stripe-pp-cli issuing get-disputes - — <p>Retrieves an Issuing <code>Dispute</code> object.</p>
stripe-pp-cli issuing get-disputes-dispute - — <p>Returns a list of personalization design objects. The objects are sorted in descending order by creation date,...
stripe-pp-cli issuing get-personalization-designs - — <p>Retrieves a personalization design object.</p>
stripe-pp-cli issuing get-personalization-designs-personalization-design - — <p>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 - — <p>Retrieves a physical bundle object.</p>
stripe-pp-cli issuing get-physical-bundles-physical-bundle - — <p>Lists all Issuing <code>Token</code> objects for a given card.</p>
stripe-pp-cli issuing get-tokens - — <p>Retrieves an Issuing <code>Token</code> object.</p>
stripe-pp-cli issuing get-tokens-token - — <p>Returns a list of Issuing <code>Transaction</code> objects. The objects are sorted in descending order by...
stripe-pp-cli issuing get-transactions - — <p>Retrieves an Issuing <code>Transaction</code> object.</p>
stripe-pp-cli issuing get-transactions-transaction - — <p>Updates the specified Issuing <code>Authorization</code> object by setting the values of the parameters passed....
stripe-pp-cli issuing post-authorizations-authorization - — <p>[Deprecated] Approves a pending Issuing <code>Authorization</code> object. This request should be made within the...
stripe-pp-cli issuing post-authorizations-authorization-approve - — <p>[Deprecated] Declines a pending Issuing <code>Authorization</code> object. This request should be made within the...
stripe-pp-cli issuing post-authorizations-authorization-decline - — <p>Creates a new Issuing <code>Cardholder</code> object that can be issued cards.</p>
stripe-pp-cli issuing post-cardholders - — <p>Updates the specified Issuing <code>Cardholder</code> object by setting the values of the parameters passed. Any...
stripe-pp-cli issuing post-cardholders-cardholder - — <p>Creates an Issuing <code>Card</code> object.</p>
stripe-pp-cli issuing post-cards - — <p>Updates the specified Issuing <code>Card</code> object by setting the values of the parameters passed. Any...
stripe-pp-cli issuing post-cards-card - — <p>Creates an Issuing <code>Dispute</code> object. Individual pieces of evidence within the <code>evidence</code>...
stripe-pp-cli issuing post-disputes - — <p>Updates the specified Issuing <code>Dispute</code> object by setting the values of the parameters passed. Any...
stripe-pp-cli issuing post-disputes-dispute - — <p>Submits an Issuing <code>Dispute</code> to the card network. Stripe validates that all evidence fields required...
stripe-pp-cli issuing post-disputes-dispute-submit - — <p>Creates a personalization design object.</p>
stripe-pp-cli issuing post-personalization-designs - — <p>Updates a card personalization object.</p>
stripe-pp-cli issuing post-personalization-designs-personalization-design - — <p>Attempts to update the specified Issuing <code>Token</code> object to the status specified.</p>
stripe-pp-cli issuing post-tokens-token - — <p>Updates the specified Issuing <code>Transaction</code> object by setting the values of the parameters passed. Any...
stripe-pp-cli issuing post-transactions-transaction
mandates — Manage mandates
- — <p>Retrieves a Mandate object.</p>
stripe-pp-cli mandates
payment-attempt-records — Manage payment attempt records
- — <p>List all the Payment Attempt Records attached to the specified Payment Record.</p>
stripe-pp-cli payment-attempt-records get - — <p>Retrieves a Payment Attempt Record with the given ID</p>
stripe-pp-cli payment-attempt-records get-id
payment-intents — Manage payment intents
- — <p>Returns a list of PaymentIntents.</p>
stripe-pp-cli payment-intents get - — <p>Retrieves the details of a PaymentIntent that has previously been created. </p> <p>You can retrieve a...
stripe-pp-cli payment-intents get-intent - — <p>Search for PaymentIntents you’ve previously created using Stripe’s <a...
stripe-pp-cli payment-intents get-search - — <p>Creates a PaymentIntent object.</p> <p>After the PaymentIntent is created, attach a payment method and <a...
stripe-pp-cli payment-intents post - — <p>Updates properties on a PaymentIntent object without confirming.</p> <p>Depending on which properties you update,...
stripe-pp-cli payment-intents post-intent
payment-links — Manage payment links
- — <p>Returns a list of your payment links.</p>
stripe-pp-cli payment-links get - — <p>Retrieve a payment link.</p>
stripe-pp-cli payment-links get-paymentlinks - — <p>Creates a payment link.</p>
stripe-pp-cli payment-links post - — <p>Updates a payment link.</p>
stripe-pp-cli payment-links post-paymentlinks
payment-method-configurations — Manage payment method configurations
- — <p>List payment method configurations</p>
stripe-pp-cli payment-method-configurations get - — <p>Retrieve payment method configuration</p>
stripe-pp-cli payment-method-configurations get-configuration - — <p>Creates a payment method configuration</p>
stripe-pp-cli payment-method-configurations post - — <p>Update payment method configuration</p>
stripe-pp-cli payment-method-configurations post-configuration
payment-method-domains — Manage payment method domains
- — <p>Lists the details of existing payment method domains.</p>
stripe-pp-cli payment-method-domains get - — <p>Retrieves the details of an existing payment method domain.</p>
stripe-pp-cli payment-method-domains get-paymentmethoddomains - — <p>Creates a payment method domain.</p>
stripe-pp-cli payment-method-domains post - — <p>Updates an existing payment method domain.</p>
stripe-pp-cli payment-method-domains post-paymentmethoddomains
payment-methods — Manage payment methods
- — <p>Returns a list of all PaymentMethods.</p>
stripe-pp-cli payment-methods get - — <p>Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a...
stripe-pp-cli payment-methods get-paymentmethods - — <p>Creates a PaymentMethod object. Read the <a href='/docs/stripe-js/reference#stripe-create-payment-method'>Stripe.j...
stripe-pp-cli payment-methods post - — <p>Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated.</p>
stripe-pp-cli payment-methods post-paymentmethods
payment-records — Manage payment records
- — <p>Retrieves a Payment Record with the given ID</p>
stripe-pp-cli payment-records get-id - — <p>Report a new Payment Record. You may report a Payment Record as it is initialized and later report updates...
stripe-pp-cli payment-records post-report-payment
payouts — Manage payouts
- — <p>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 - — <p>Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or...
stripe-pp-cli payouts get-payout - — <p>To send funds to your own bank account, create a new payout object. Your <a href='#balance'>Stripe balance</a>...
stripe-pp-cli payouts post - — <p>Updates the specified payout by setting the values of the parameters you pass. We don’t change parameters that...
stripe-pp-cli payouts post-payout
plans — Manage plans
- — <p>Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.</p>
stripe-pp-cli plans delete - — <p>Returns a list of your plans.</p>
stripe-pp-cli plans get - — <p>Retrieves the plan with the given ID.</p>
stripe-pp-cli plans get-plan - — <p>You can now model subscriptions more flexibly using the <a href='#prices'>Prices API</a>. It replaces the Plans...
stripe-pp-cli plans post - — <p>Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left...
stripe-pp-cli plans post-plan
prices — Manage prices
- — <p>Returns a list of your active prices, excluding <a href='/docs/products-prices/pricing-models#inline-pricing'>inli...
stripe-pp-cli prices get - — <p>Retrieves the price with the given ID.</p>
stripe-pp-cli prices get-price - — <p>Search for prices you’ve previously created using Stripe’s <a...
stripe-pp-cli prices get-search - — <p>Creates a new <a href='https://docs.stripe.com/api/prices'>Price</a> for an existing <a...
stripe-pp-cli prices post - — <p>Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left...
stripe-pp-cli prices post-price
products — Manage products
- — <p>Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally,...
stripe-pp-cli products delete-id - — <p>Returns a list of your products. The products are returned sorted by creation date, with the most recently...
stripe-pp-cli products get - — <p>Retrieves the details of an existing product. Supply the unique product ID from either a product creation request...
stripe-pp-cli products get-id - — <p>Search for products you’ve previously created using Stripe’s <a...
stripe-pp-cli products get-search - — <p>Creates a new product object.</p>
stripe-pp-cli products post - — <p>Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be...
stripe-pp-cli products post-id
promotion-codes — Manage promotion codes
- — <p>Returns a list of your promotion codes.</p>
stripe-pp-cli promotion-codes get - — <p>Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing...
stripe-pp-cli promotion-codes get-promotioncodes - — <p>A promotion code points to an underlying promotion. You can optionally restrict the code to a specific customer,...
stripe-pp-cli promotion-codes post - — <p>Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design,...
stripe-pp-cli promotion-codes post-promotioncodes
quotes — Manage quotes
- — <p>Returns a list of your quotes.</p>
stripe-pp-cli quotes get - — <p>Retrieves the quote with the given ID.</p>
stripe-pp-cli quotes get-quote - — <p>A quote models prices and services for a customer. Default options for <code>header</code>,...
stripe-pp-cli quotes post - — <p>A quote models prices and services for a customer.</p>
stripe-pp-cli quotes post-quote
radar — Manage radar
- — <p>Deletes a <code>ValueListItem</code> object, removing it from its parent value list.</p>
stripe-pp-cli radar delete-value-list-items-item - — <p>Deletes a <code>ValueList</code> object, also deleting any items contained within the value list. To be deleted,...
stripe-pp-cli radar delete-value-lists-value-list - — <p>Returns a list of early fraud warnings.</p>
stripe-pp-cli radar get-early-fraud-warnings - — <p>Retrieves the details of an early fraud warning that has previously been created. </p> <p>Please refer to the <a...
stripe-pp-cli radar get-early-fraud-warnings-early-fraud-warning - — <p>Returns a list of <code>ValueListItem</code> objects. The objects are sorted in descending order by creation...
stripe-pp-cli radar get-value-list-items - — <p>Retrieves a <code>ValueListItem</code> object.</p>
stripe-pp-cli radar get-value-list-items-item - — <p>Returns a list of <code>ValueList</code> objects. The objects are sorted in descending order by creation date,...
stripe-pp-cli radar get-value-lists - — <p>Retrieves a <code>ValueList</code> object.</p>
stripe-pp-cli radar get-value-lists-value-list - — <p>Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor...
stripe-pp-cli radar post-payment-evaluations - — <p>Creates a new <code>ValueListItem</code> object, which is added to the specified parent value list.</p>
stripe-pp-cli radar post-value-list-items - — <p>Creates a new <code>ValueList</code> object, which can then be referenced in rules.</p>
stripe-pp-cli radar post-value-lists - — <p>Updates a <code>ValueList</code> object by setting the values of the parameters passed. Any parameters not...
stripe-pp-cli radar post-value-lists-value-list
refunds — Manage refunds
- — <p>Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds...
stripe-pp-cli refunds get - — <p>Retrieves the details of an existing refund.</p>
stripe-pp-cli refunds get-refund - — <p>When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.</p>...
stripe-pp-cli refunds post - — <p>Updates the refund that you specify by setting the values of the passed parameters. Any parameters that you...
stripe-pp-cli refunds post-refund
reporting — Manage reporting
- — <p>Returns a list of Report Runs, with the most recent appearing first.</p>
stripe-pp-cli reporting get-report-runs - — <p>Retrieves the details of an existing Report Run.</p>
stripe-pp-cli reporting get-report-runs-report-run - — <p>Returns a full list of Report Types.</p>
stripe-pp-cli reporting get-report-types - — <p>Retrieves the details of a Report Type. (Certain report types require a <a...
stripe-pp-cli reporting get-report-types-report-type - — <p>Creates a new object and begin running the report. (Certain report types require a <a...
stripe-pp-cli reporting post-report-runs
reviews — Manage reviews
- — <p>Returns a list of <code>Review</code> objects that have <code>open</code> set to <code>true</code>. The objects...
stripe-pp-cli reviews get - — <p>Retrieves a <code>Review</code> object.</p>
stripe-pp-cli reviews get-review
setup-attempts — Manage setup attempts
- — <p>Returns a list of SetupAttempts that associate with a provided SetupIntent.</p>
stripe-pp-cli setup-attempts
setup-intents — Manage setup intents
- — <p>Returns a list of SetupIntents.</p>
stripe-pp-cli setup-intents get - — <p>Retrieves the details of a SetupIntent that has previously been created. </p> <p>Client-side retrieval using a...
stripe-pp-cli setup-intents get-intent - — <p>Creates a SetupIntent object.</p> <p>After you create the SetupIntent, attach a payment method and <a...
stripe-pp-cli setup-intents post - — <p>Updates a SetupIntent object.</p>
stripe-pp-cli setup-intents post-intent
shipping-rates — Manage shipping rates
- — <p>Returns a list of your shipping rates.</p>
stripe-pp-cli shipping-rates get - — <p>Returns the shipping rate object with the given ID.</p>
stripe-pp-cli shipping-rates get-token - — <p>Creates a new shipping rate object.</p>
stripe-pp-cli shipping-rates post - — <p>Updates an existing shipping rate object.</p>
stripe-pp-cli shipping-rates post-token
sigma — Manage sigma
- — <p>Returns a list of scheduled query runs.</p>
stripe-pp-cli sigma get-scheduled-query-runs - — <p>Retrieves the details of an scheduled query run.</p>
stripe-pp-cli sigma get-scheduled-query-runs-scheduled-query-run
sources — Manage sources
- — <p>Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will...
stripe-pp-cli sources get - — <p>Creates a new source object.</p>
stripe-pp-cli sources post - — <p>Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be...
stripe-pp-cli sources post-source
subscription-items — Manage subscription items
- — <p>Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the...
stripe-pp-cli subscription-items delete-item - — <p>Returns a list of your subscription items for a given subscription.</p>
stripe-pp-cli subscription-items get - — <p>Retrieves the subscription item with the given ID.</p>
stripe-pp-cli subscription-items get-item - — <p>Adds a new item to an existing subscription. No existing items will be changed or replaced.</p>
stripe-pp-cli subscription-items post - — <p>Updates the plan or quantity of an item on a current subscription.</p>
stripe-pp-cli subscription-items post-item
subscription-schedules — Manage subscription schedules
- — <p>Retrieves the list of your subscription schedules.</p>
stripe-pp-cli subscription-schedules get - — <p>Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription...
stripe-pp-cli subscription-schedules get-schedule - — <p>Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.</p>
stripe-pp-cli subscription-schedules post - — <p>Updates an existing subscription schedule.</p>
stripe-pp-cli subscription-schedules post-schedule
subscriptions — Manage subscriptions
- — <p>Cancels a customer’s subscription immediately. The customer won’t be charged again for the subscription....
stripe-pp-cli subscriptions delete-exposed-id - — <p>By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions,...
stripe-pp-cli subscriptions get - — <p>Retrieves the subscription with the given ID.</p>
stripe-pp-cli subscriptions get-exposed-id - — <p>Search for subscriptions you’ve previously created using Stripe’s <a...
stripe-pp-cli subscriptions get-search - — <p>Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled...
stripe-pp-cli subscriptions post - — <p>Updates an existing subscription to match the specified parameters. When changing prices or quantities, we...
stripe-pp-cli subscriptions post-exposed-id
tax — Manage tax
- — <p>Finds a tax association object by PaymentIntent id.</p>
stripe-pp-cli tax get-associations-find - — <p>Retrieves a Tax <code>Calculation</code> object, if the calculation hasn’t expired.</p>
stripe-pp-cli tax get-calculations-calculation - — <p>Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.</p>
stripe-pp-cli tax get-calculations-calculation-line-items - — <p>Returns a list of Tax <code>Registration</code> objects.</p>
stripe-pp-cli tax get-registrations - — <p>Returns a Tax <code>Registration</code> object.</p>
stripe-pp-cli tax get-registrations-id - — <p>Retrieves Tax <code>Settings</code> for a merchant.</p>
stripe-pp-cli tax get-settings - — <p>Retrieves a Tax <code>Transaction</code> object.</p>
stripe-pp-cli tax get-transactions-transaction - — <p>Retrieves the line items of a committed standalone transaction as a collection.</p>
stripe-pp-cli tax get-transactions-transaction-line-items - — <p>Calculates tax based on the input and returns a Tax <code>Calculation</code> object.</p>
stripe-pp-cli tax post-calculations - — <p>Creates a new Tax <code>Registration</code> object.</p>
stripe-pp-cli tax post-registrations - — <p>Updates an existing Tax <code>Registration</code> object.</p> <p>A registration cannot be deleted after it has...
stripe-pp-cli tax post-registrations-id - — <p>Updates Tax <code>Settings</code> parameters used in tax calculations. All parameters are editable but none can...
stripe-pp-cli tax post-settings - — <p>Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90...
stripe-pp-cli tax post-transactions-create-from-calculation - — <p>Partially or fully reverses a previously created <code>Transaction</code>.</p>
stripe-pp-cli tax post-transactions-create-reversal
tax-codes — Manage tax codes
- — <p>A list of <a href='https://stripe.com/docs/tax/tax-categories'>all tax codes available</a> to add to Products in...
stripe-pp-cli tax-codes get - — <p>Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the...
stripe-pp-cli tax-codes get-id
tax-ids — Manage tax ids
- — <p>Deletes an existing account or customer <code>tax_id</code> object.</p>
stripe-pp-cli tax-ids delete-id - — <p>Returns a list of tax IDs.</p>
stripe-pp-cli tax-ids get - — <p>Retrieves an account or customer <code>tax_id</code> object.</p>
stripe-pp-cli tax-ids get-id - — <p>Creates a new account or customer <code>tax_id</code> object.</p>
stripe-pp-cli tax-ids post
tax-rates — Manage tax rates
- — <p>Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created...
stripe-pp-cli tax-rates get - — <p>Retrieves a tax rate with the given ID</p>
stripe-pp-cli tax-rates get-taxrates - — <p>Creates a new tax rate.</p>
stripe-pp-cli tax-rates post - — <p>Updates an existing tax rate.</p>
stripe-pp-cli tax-rates post-taxrates
terminal — Manage terminal
- — <p>Deletes a <code>Configuration</code> object.</p>
stripe-pp-cli terminal delete-configurations-configuration - — <p>Deletes a <code>Location</code> object.</p>
stripe-pp-cli terminal delete-locations-location - — <p>Deletes a <code>Reader</code> object.</p>
stripe-pp-cli terminal delete-readers-reader - — <p>Returns a list of <code>Configuration</code> objects.</p>
stripe-pp-cli terminal get-configurations - — <p>Retrieves a <code>Configuration</code> object.</p>
stripe-pp-cli terminal get-configurations-configuration - — <p>Returns a list of <code>Location</code> objects.</p>
stripe-pp-cli terminal get-locations - — <p>Retrieves a <code>Location</code> object.</p>
stripe-pp-cli terminal get-locations-location - — <p>Returns a list of <code>Reader</code> objects.</p>
stripe-pp-cli terminal get-readers - — <p>Retrieves a <code>Reader</code> object.</p>
stripe-pp-cli terminal get-readers-reader - — <p>Creates a new <code>Configuration</code> object.</p>
stripe-pp-cli terminal post-configurations - — <p>Updates a new <code>Configuration</code> object.</p>
stripe-pp-cli terminal post-configurations-configuration - — <p>To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe,...
stripe-pp-cli terminal post-connection-tokens - — <p>Creates a new <code>Location</code> object. For further details, including which address fields are required in...
stripe-pp-cli terminal post-locations - — <p>Updates a <code>Location</code> object by setting the values of the parameters passed. Any parameters not...
stripe-pp-cli terminal post-locations-location - — <p>Creates a new <code>OnboardingLink</code> object that contains a redirect_url used for onboarding onto Tap to Pay...
stripe-pp-cli terminal post-onboarding-links - — <p>Creates a new <code>Reader</code> object.</p>
stripe-pp-cli terminal post-readers - — <p>Updates a <code>Reader</code> object by setting the values of the parameters passed. Any parameters not provided...
stripe-pp-cli terminal post-readers-reader - — <p>Cancels the current reader action. See <a href='/docs/terminal/payments/collect-card-payment?terminal-sdk-platform...
stripe-pp-cli terminal post-readers-reader-cancel-action - — <p>Initiates an <a href='/docs/terminal/features/collect-inputs'>input collection flow</a> on a Reader to display...
stripe-pp-cli terminal post-readers-reader-collect-inputs - — <p>Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation....
stripe-pp-cli terminal post-readers-reader-collect-payment-method - — <p>Finalizes a payment on a Reader. See <a href='/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=s...
stripe-pp-cli terminal post-readers-reader-confirm-payment-intent - — <p>Initiates a payment flow on a Reader. See <a href='/docs/terminal/payments/collect-card-payment?terminal-sdk-platf...
stripe-pp-cli terminal post-readers-reader-process-payment-intent - — <p>Initiates a SetupIntent flow on a Reader. See <a href='/docs/terminal/features/saving-payment-details/save-directl...
stripe-pp-cli terminal post-readers-reader-process-setup-intent - — <p>Initiates an in-person refund on a Reader. See <a href='/docs/terminal/payments/regional?integration-country=CA#re...
stripe-pp-cli terminal post-readers-reader-refund-payment - — <p>Sets the reader display to show <a href='/docs/terminal/features/display'>cart details</a>.</p>
stripe-pp-cli terminal post-readers-reader-set-reader-display
test-helpers — Manage test helpers
- — <p>Deletes a test clock.</p>
stripe-pp-cli test-helpers delete-test-clocks-test-clock - — <p>Returns a list of your test clocks.</p>
stripe-pp-cli test-helpers get-test-clocks - — <p>Retrieves a test clock.</p>
stripe-pp-cli test-helpers get-test-clocks-test-clock - — <p>Creates a test mode Confirmation Token server side for your integration tests.</p>
stripe-pp-cli test-helpers post-confirmation-tokens - — <p>Create an incoming testmode bank transfer</p>
stripe-pp-cli test-helpers post-customers-customer-fund-cash-balance - — <p>Create a test-mode authorization.</p>
stripe-pp-cli test-helpers post-issuing-authorizations - — <p>Capture a test-mode authorization.</p>
stripe-pp-cli test-helpers post-issuing-authorizations-authorization-capture - — <p>Expire a test-mode Authorization.</p>
stripe-pp-cli test-helpers post-issuing-authorizations-authorization-expire - — <p>Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated...
stripe-pp-cli test-helpers post-issuing-authorizations-authorization-finalize-amount - — <p>Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a...
stripe-pp-cli test-helpers post-issuing-authorizations-authorization-fraud-challenges-respond - — <p>Increment a test-mode Authorization.</p>
stripe-pp-cli test-helpers post-issuing-authorizations-authorization-increment - — <p>Reverse a test-mode Authorization.</p>
stripe-pp-cli test-helpers post-issuing-authorizations-authorization-reverse - — <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>delivered</code>.</p>
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>failure</code>.</p>
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>returned</code>.</p>
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>shipped</code>.</p>
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>submitted</code>. This...
stripe-pp-cli test-helpers post-issuing-cards-card-shipping-submit - — <p>Updates the <code>status</code> of the specified testmode personalization design object to <code>active</code>.</p>
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>inactive</code>.</p>
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>rejected</code>.</p>
stripe-pp-cli test-helpers post-issuing-personalization-designs-personalization-design-reject - — <p>Allows the user to capture an arbitrary amount, also known as a forced capture.</p>
stripe-pp-cli test-helpers post-issuing-transactions-create-force-capture - — <p>Allows the user to refund an arbitrary amount, also known as a unlinked refund.</p>
stripe-pp-cli test-helpers post-issuing-transactions-create-unlinked-refund - — <p>Refund a test-mode Transaction.</p>
stripe-pp-cli test-helpers post-issuing-transactions-transaction-refund - — <p>Expire a refund with a status of <code>requires_action</code>.</p>
stripe-pp-cli test-helpers post-refunds-refund-expire - — <p>Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or...
stripe-pp-cli test-helpers post-terminal-readers-reader-present-payment-method - — <p>Use this endpoint to trigger a successful input collection on a simulated reader.</p>
stripe-pp-cli test-helpers post-terminal-readers-reader-succeed-input-collection - — <p>Use this endpoint to complete an input collection with a timeout error on a simulated reader.</p>
stripe-pp-cli test-helpers post-terminal-readers-reader-timeout-input-collection - — <p>Creates a new test clock that can be attached to new customers and quotes.</p>
stripe-pp-cli test-helpers post-test-clocks - — <p>Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to...
stripe-pp-cli test-helpers post-test-clocks-test-clock-advance - — <p>Transitions a test mode created InboundTransfer to the <code>failed</code> status. The InboundTransfer must...
stripe-pp-cli test-helpers post-treasury-inbound-transfers-id-fail - — <p>Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The...
stripe-pp-cli test-helpers post-treasury-inbound-transfers-id-return - — <p>Transitions a test mode created InboundTransfer to the <code>succeeded</code> status. The InboundTransfer must...
stripe-pp-cli test-helpers post-treasury-inbound-transfers-id-succeed - — <p>Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable,...
stripe-pp-cli test-helpers post-treasury-outbound-payments-id - — <p>Transitions a test mode created OutboundPayment to the <code>failed</code> status. The OutboundPayment must...
stripe-pp-cli test-helpers post-treasury-outbound-payments-id-fail - — <p>Transitions a test mode created OutboundPayment to the <code>posted</code> status. The OutboundPayment must...
stripe-pp-cli test-helpers post-treasury-outbound-payments-id-post - — <p>Transitions a test mode created OutboundPayment to the <code>returned</code> status. The OutboundPayment must...
stripe-pp-cli test-helpers post-treasury-outbound-payments-id-return - — <p>Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable,...
stripe-pp-cli test-helpers post-treasury-outbound-transfers-outbound-transfer - — <p>Transitions a test mode created OutboundTransfer to the <code>failed</code> status. The OutboundTransfer must...
stripe-pp-cli test-helpers post-treasury-outbound-transfers-outbound-transfer-fail - — <p>Transitions a test mode created OutboundTransfer to the <code>posted</code> status. The OutboundTransfer must...
stripe-pp-cli test-helpers post-treasury-outbound-transfers-outbound-transfer-post - — <p>Transitions a test mode created OutboundTransfer to the <code>returned</code> status. The OutboundTransfer must...
stripe-pp-cli test-helpers post-treasury-outbound-transfers-outbound-transfer-return - — <p>Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t...
stripe-pp-cli test-helpers post-treasury-received-credits - — <p>Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t...
stripe-pp-cli test-helpers post-treasury-received-debits
tokens — Manage tokens
- — <p>Retrieves the token with the given ID.</p>
stripe-pp-cli tokens get - — <p>Creates a single-use token that represents a bank account’s details. You can use this token with any v1 API...
stripe-pp-cli tokens post
topups — Manage topups
- — <p>Returns a list of top-ups.</p>
stripe-pp-cli topups get - — <p>Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned...
stripe-pp-cli topups get-topup - — <p>Top up the balance of an account</p>
stripe-pp-cli topups post - — <p>Updates the metadata of a top-up. Other top-up details are not editable by design.</p>
stripe-pp-cli topups post-topup
transfers — Manage transfers
- — <p>Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with...
stripe-pp-cli transfers get - — <p>Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation...
stripe-pp-cli transfers get-transfer - — <p>To send funds from your Stripe account to a connected account, you create a new transfer object. Your <a...
stripe-pp-cli transfers post - — <p>Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will...
stripe-pp-cli transfers post-transfer
treasury — Manage treasury
- — <p>Returns a list of CreditReversals.</p>
stripe-pp-cli treasury get-credit-reversals - — <p>Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the...
stripe-pp-cli treasury get-credit-reversals-credit-reversal - — <p>Returns a list of DebitReversals.</p>
stripe-pp-cli treasury get-debit-reversals - — <p>Retrieves a DebitReversal object.</p>
stripe-pp-cli treasury get-debit-reversals-debit-reversal - — <p>Returns a list of FinancialAccounts.</p>
stripe-pp-cli treasury get-financial-accounts - — <p>Retrieves the details of a FinancialAccount.</p>
stripe-pp-cli treasury get-financial-accounts-financial-account - — <p>Retrieves Features information associated with the FinancialAccount.</p>
stripe-pp-cli treasury get-financial-accounts-financial-account-features - — <p>Returns a list of InboundTransfers sent from the specified FinancialAccount.</p>
stripe-pp-cli treasury get-inbound-transfers - — <p>Retrieves the details of an existing InboundTransfer.</p>
stripe-pp-cli treasury get-inbound-transfers-id - — <p>Returns a list of OutboundPayments sent from the specified FinancialAccount.</p>
stripe-pp-cli treasury get-outbound-payments - — <p>Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the...
stripe-pp-cli treasury get-outbound-payments-id - — <p>Returns a list of OutboundTransfers sent from the specified FinancialAccount.</p>
stripe-pp-cli treasury get-outbound-transfers - — <p>Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the...
stripe-pp-cli treasury get-outbound-transfers-outbound-transfer - — <p>Returns a list of ReceivedCredits.</p>
stripe-pp-cli treasury get-received-credits - — <p>Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the...
stripe-pp-cli treasury get-received-credits-id - — <p>Returns a list of ReceivedDebits.</p>
stripe-pp-cli treasury get-received-debits - — <p>Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit...
stripe-pp-cli treasury get-received-debits-id - — <p>Retrieves a list of TransactionEntry objects.</p>
stripe-pp-cli treasury get-transaction-entries - — <p>Retrieves a TransactionEntry object.</p>
stripe-pp-cli treasury get-transaction-entries-id - — <p>Retrieves a list of Transaction objects.</p>
stripe-pp-cli treasury get-transactions - — <p>Retrieves the details of an existing Transaction.</p>
stripe-pp-cli treasury get-transactions-id - — <p>Reverses a ReceivedCredit and creates a CreditReversal object.</p>
stripe-pp-cli treasury post-credit-reversals - — <p>Reverses a ReceivedDebit and creates a DebitReversal object.</p>
stripe-pp-cli treasury post-debit-reversals - — <p>Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default.</p>
stripe-pp-cli treasury post-financial-accounts - — <p>Updates the details of a FinancialAccount.</p>
stripe-pp-cli treasury post-financial-accounts-financial-account - — <p>Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending...
stripe-pp-cli treasury post-financial-accounts-financial-account-close - — <p>Updates the Features associated with a FinancialAccount.</p>
stripe-pp-cli treasury post-financial-accounts-financial-account-features - — <p>Creates an InboundTransfer.</p>
stripe-pp-cli treasury post-inbound-transfers - — <p>Cancels an InboundTransfer.</p>
stripe-pp-cli treasury post-inbound-transfers-inbound-transfer-cancel - — <p>Creates an OutboundPayment.</p>
stripe-pp-cli treasury post-outbound-payments - — <p>Cancel an OutboundPayment.</p>
stripe-pp-cli treasury post-outbound-payments-id-cancel - — <p>Creates an OutboundTransfer.</p>
stripe-pp-cli treasury post-outbound-transfers - — <p>An OutboundTransfer can be canceled if the funds have not yet been paid out.</p>
stripe-pp-cli treasury post-outbound-transfers-outbound-transfer-cancel
webhook-endpoints — Manage webhook endpoints
- — <p>You can also delete webhook endpoints via the <a href='https://dashboard.stripe.com/account/webhooks'>webhook...
stripe-pp-cli webhook-endpoints delete - — <p>Returns a list of your webhook endpoints.</p>
stripe-pp-cli webhook-endpoints get - — <p>Retrieves the webhook endpoint with the given ID.</p>
stripe-pp-cli webhook-endpoints get-webhookendpoints - — <p>A webhook endpoint must have a <code>url</code> and a list of <code>enabled_events</code>. You may optionally...
stripe-pp-cli webhook-endpoints post - — <p>Updates the webhook endpoint. You may edit the <code>url</code>, the list of <code>enabled_events</code>, and the...
stripe-pp-cli webhook-endpoints post-webhookendpoints
Finding the right command
When you know what you want to do but not which command does it, ask the CLI directly:
bash
stripe-pp-cli which "<capability in your own words>"which02--helpRecipes
Find double-subscribed customers
bash
stripe-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' --jsonAll Stripe data lives in the generic table; query JSON fields with json_extract.
resourcesTop 10 customers with at-risk PM
bash
stripe-pp-cli subs-at-risk --within 30d --limit 10 --json --select customer_email,mrr,card_expEmail these customers proactively before involuntary churn hits.
Replay missed events since last cron tick
bash
stripe-pp-cli events-since --type 'invoice' --json --select id,type,created,data.object.idCursor-driven event tail — one-shot, agent-friendly, persists cursor between runs.
Reconcile this week's payouts
bash
stripe-pp-cli payout-reconcile --since 7d --csvJoins payout → balance_transactions → charges → customers; flags missing rows.
Compact customer dossier for agent context
bash
stripe-pp-cli customer-360 alice@example.com --json --select customer.email,active_subscriptions,open_disputes,lifetime_spendUse --select to project deeply-nested fields; saves tokens vs full dossier.
Auth Setup
Authenticate by exporting (recommended) or running to persist it. Test-mode keys () and live-mode keys () are accepted; this v1 does NOT yet enforce a live-mode write guard, so audit any live invocation before running mutating commands.
STRIPE_SECRET_KEY=sk_test_...stripe-pp-cli auth set-token <key>sk_test_...sk_live_...Run to verify setup.
stripe-pp-cli doctorAgent Mode
Add to any command. Expands to: .
--agent--json --compact --no-input --no-color --yes-
Pipeable — JSON on stdout, errors on stderr
-
Filterable —keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
--selectbashstripe-pp-cli account --agent --select id,name,status -
Previewable —shows the request without sending
--dry-run -
Offline-friendly — sync/search commands can use the local SQLite store when available
-
Non-interactive — never prompts, every input is a flag
-
Explicit retries — useonly when an already-existing create should count as success, and
--idempotentonly when a missing delete target should count as success--ignore-missing
Response envelope
Commands that read from the local store or the API wrap output in a provenance envelope:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}Parse for data and to know whether it's live or local. A human-readable summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
.results.meta.sourceN results (live)Agent Feedback
When you (or the agent) notice something off about this CLI, record it:
stripe-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
stripe-pp-cli feedback --stdin < notes.txt
stripe-pp-cli feedback list --json --limit 10Entries are stored locally at . They are never POSTed unless is set AND either is passed or . Default behavior is local-only.
~/.stripe-pp-cli/feedback.jsonlSTRIPE_FEEDBACK_ENDPOINT--sendSTRIPE_FEEDBACK_AUTO_SEND=trueWrite what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
Output Delivery
Every command accepts . 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:
--deliver <sink>| Sink | Effect |
|---|---|
| Default; write to stdout only |
| Atomically write output to |
| POST the output body to the URL ( |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
Named Profiles
A 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.
stripe-pp-cli profile save briefing --json
stripe-pp-cli --profile briefing account
stripe-pp-cli profile list --json
stripe-pp-cli profile show briefing
stripe-pp-cli profile delete briefing --yesExplicit flags always win over profile values; profile values win over defaults. lists all available profiles under so introspecting agents discover them at runtime.
agent-contextavailable_profilesExit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 4 | Authentication required |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
Argument Parsing
Parse :
$ARGUMENTS- Empty, , or
help→ show--helpoutputstripe-pp-cli --help - Starts with → ends with
install→ MCP installation; otherwise → see Prerequisites abovemcp - Anything else → Direct Use (execute as CLI command with )
--agent
MCP Server Installation
- Install the MCP server:
bash
go install github.com/mvanhorn/printing-press-library/library/payments/stripe/cmd/stripe-pp-mcp@latest - Register with Claude Code:
bash
claude mcp add stripe-pp-mcp -- stripe-pp-mcp - Verify:
claude mcp list
Direct Use
- Check if installed: If not found, offer to install (see Prerequisites at the top of this skill).
which stripe-pp-cli - Match the user query to the best command from the Unique Capabilities and Command Reference above.
- Execute with the flag:
--agentbashstripe-pp-cli <command> [subcommand] [args] --agent - If ambiguous, drill into subcommand help: .
stripe-pp-cli <command> --help