habulaj commited on
Commit
9d32818
·
verified ·
1 Parent(s): f97ef52

Update routes/hello.py

Browse files
Files changed (1) hide show
  1. routes/hello.py +12 -2
routes/hello.py CHANGED
@@ -17,10 +17,20 @@ def create_account(account_data: AccountRequest):
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:
 
17
  type="express",
18
  email=account_data.email,
19
  country="BR",
20
+ business_type="individual",
21
+ business_profile={
22
+ "mcc": "5699",
23
+ "name": "Stylists Platform",
24
+ "product_description": "We connect stylists with clients through subscriptions.",
25
+ "support_email": "[email protected]"
26
+ },
27
  capabilities={
28
+ "transfers": {"requested": True},
29
+ "card_payments": {"requested": True}
30
  },
31
+ requirements={
32
+ "currently_due": ["individual.id_number"], # 🔹 Requests CPF/CNPJ during onboarding
33
+ }
34
  )
35
  return {"account_id": account.id}
36
  except Exception as e: