#raizapp_72606

1 messages · Page 1 of 1 (latest)

hollow badgerBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

median rapids
abstract kite
#

import stripe
stripe.api_key = "my_sk_live_key"

try:
# Make the API call to create a custom account
account_response = stripe.Account.create(
country="NG",
type="custom",
capabilities={
"transfers": {"requested": True},
},
tos_acceptance={"service_agreement": "full"}
)

# Access the properties of the response
account_id = account_response.id
account = account_response

except stripe.error.StripeError as e:
# Handle errors from the Stripe API
print(f"Error: {e}")
error_msg = e.error.message
print(f"Error Message: {error_msg}")

#

I tried this and it still doesn't work

median rapids
#

Is your stripe account based in US?

abstract kite
#

Yes

#

The stripe account is based in US

median rapids
#

"Connected accounts must onboard under the recipient service agreement. That means transfers to recipient accounts take an extra 24 hours to become available in the connected account’s balance."

#

But you stil use full agreeement in the requeset

#

I'd suggest you to go through the doc again

abstract kite
#

I used 'recipient' also