Skip to content

[WIP] Fix stripe payout logic for capital extraction#296

Draft
Copilot wants to merge 1 commit intomainfrom
copilot/fix-stripe-payout-logic
Draft

[WIP] Fix stripe payout logic for capital extraction#296
Copilot wants to merge 1 commit intomainfrom
copilot/fix-stripe-payout-logic

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 4, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>import stripe import os stripe.api_key = os.environ.get("STRIPE_LIVE_KEY") def extraer_todo_el_capital(): try: balance = stripe.Balance.retrieve() disponible = balance.available[0].amount if disponible > 0: payout = stripe.Payout.create( amount=disponible, currency="eur", method="instant" ) print(f"SUCCESS|{payout.id}|{disponible/100}") else: print("FAIL|CERO_FONDOS_DISPONIBLES") except Exception as e: print(f"ERROR|{str(e)}") if name == "main": extraer_todo_el_capital()</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tryonyou-app Ready Ready Preview, Comment May 4, 2026 8:44am
tryonyou-pilot Ready Ready Preview, Comment May 4, 2026 8:44am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment