Stripe Dashboard whoami (signed-in account)
Report which Stripe Dashboard user this browser is signed in as: the user email. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Stripe Dashboard scripts.
Input
None
Output
evidence requiredloggedIn requiredemail optionalFAQ
Invite team member (Stripe)
Invite someone into a Stripe team by email, with built-in verification. It records the member list and the pending invitations before and after the action, returning invited / verified / collateralChange — proof the right person was added and nobody else moved. Stripe membership is invite-based: the invitee stays pending until they accept, so this reports an invitation, not an active member. The role you ask for is matched against your account's own role list and defaults to the least privileged one; roles your account is not allowed to grant are reported up front with the list of ones it can. Stripe sometimes asks you to confirm your identity before it will apply a team change — when that happens the invitation is refused and this stops with a clear explanation instead of reporting success, so complete that confirmation in the dashboard and run it again. dryRun (default true) fills the form and stops before sending. Requires being signed into Stripe with team permissions. Pair with dashboard.stripe.com/delete_user, which also cancels a pending invite.
Remove team member (Stripe)
Remove a member from a Stripe team by email, or cancel an invitation they never accepted — both cases are handled. It records the member list before and after, returning removed / verified / collateralLoss: proof the right person disappeared and nobody else moved. As a safety guard, the destructive click only fires when the confirmation dialog names the target email. It also reports the person's role and their last sign-in date, which is what reveals access still being used after someone left. dryRun (default true) reaches the confirmation step then backs out. Requires being signed into Stripe with team permissions.
List Stripe customer invoices
List the invoices your Stripe account has issued to its customers, from the signed-in Stripe dashboard: number, status, customer name and email, amount due, total, currency, creation and due dates, and the hosted invoice link. Choose live or test mode and optionally a status (draft, open, paid, uncollectible, void). Returns the first page of the list and says whether more exist. Reports which mode was actually shown, since Stripe opens test mode on accounts not yet activated for live payments.
