Update routes/hello.py
Browse files- routes/hello.py +4 -1
routes/hello.py
CHANGED
@@ -17,7 +17,10 @@ def create_account(account_data: AccountRequest):
|
|
17 |
type="express",
|
18 |
email=account_data.email,
|
19 |
country="BR",
|
20 |
-
capabilities={
|
|
|
|
|
|
|
21 |
)
|
22 |
return {"account_id": account.id}
|
23 |
except Exception as e:
|
|
|
17 |
type="express",
|
18 |
email=account_data.email,
|
19 |
country="BR",
|
20 |
+
capabilities={
|
21 |
+
"transfers": {"requested": True},
|
22 |
+
"card_payments": {"requested": True} # 🔹 Adicionando essa linha
|
23 |
+
},
|
24 |
)
|
25 |
return {"account_id": account.id}
|
26 |
except Exception as e:
|