#amadeus-express-create

1 messages · Page 1 of 1 (latest)

tough wagon
topaz glade
#

thank you, I'll try it right now

#

@tough wagon No, I am getting the same error as I was getting when doing the accounts->update(:
Stripe\Exception\InvalidRequestException with message 'You cannot accept the Terms of Service on behalf of Standard and Express connected accounts.'

tough wagon
#

you don't have to pass tos_acceptance in the API at all though

topaz glade
#

what do I need to pass to get transfers capability then?

#

I was checking the requirements on the connected account I can't make payouts to, and I am getting these:
currently_due: [ "external_account", "tos_acceptance.date", "tos_acceptance.ip", ],

tough wagon
#

Hum what are you really trying to do? You started this question with "I want to test transfers"

topaz glade
#

I want to test making transfers to a connected account via UI in my app. Right now, when I am doing it, I get the error message: Your destination account needs to have at least one of the following capabilities enabled: transfers, legacy_payments

tough wagon
#

Do you have an example account I can look at?

topaz glade
#

acct_1Jv8Xc2HrFXqMdIi

#

I successfully tested transfers, but I don't want to do the onboarding manually via Stripe UI each time I seed my app with test data

#

I want to seed it with connect accounts with Enough capabilities to receive transfers

tough wagon
#

hum I'm still lost

topaz glade
#

I mean a Transfer: i.e. transferring the money from the Platfrom to the connected account

#

I see in the docs that I can retrieve the requirements per capability via api, and so I ran it for transfers capability. I am getting the following back:

...
       "currently_due" => [
         "business_type",
         "representative.address.city",
         "representative.address.line1",
         "representative.address.postal_code",
         "representative.dob.day",
         "representative.dob.month",
         "representative.dob.year",
         "representative.first_name",
         "representative.last_name",
         "tos_acceptance.date",
         "tos_acceptance.ip",
       ]
...
#

so this would mean I have to accept tos for the connected account to get transfer capability

tough wagon
#

Can you try completing everything but tos_acceptance?

#

you can pre-fill all of this on Account creation directly

topaz glade
#

will do

topaz glade
#

still setting this up. I need to add the "representative", and seems like I can't do it in one-go on connected account creation, as representative needs to have its own Person object

tough wagon
#

just use individual instead of company to test, that's faster

topaz glade
#

created the individual account now with all requirements other than TOS, still can't make a transfer

#
[
     "id" => "transfers",
     "object" => "capability",
     "account" => "acct_1Jv9xg2EnyQ1YaNb",
     "future_requirements" => [
       "alternatives" => [],
       "current_deadline" => null,
       "currently_due" => [],
       "disabled_reason" => null,
       "errors" => [],
       "eventually_due" => [],
       "past_due" => [],
       "pending_verification" => [],
     ],
     "requested" => true,
     "requested_at" => 1636762757,
     "requirements" => [
       "alternatives" => [],
       "current_deadline" => null,
       "currently_due" => [
         "tos_acceptance.date",
         "tos_acceptance.ip",
       ],
       "disabled_reason" => "requirements.fields_needed",     
       "errors" => [],
       "eventually_due" => [
         "tos_acceptance.date",
         "tos_acceptance.ip",
       ],
       "past_due" => [
         "tos_acceptance.date",
         "tos_acceptance.ip",
       ],
       "pending_verification" => [
         "individual.verification.additional_document",       
         "individual.verification.document",
       ],
     ],
     "status" => "inactive",
   ]
tough wagon
#

Then I don't know I'm sorry

#

Easiest is to create a custom account instead since they behave similarly

topaz glade
#

ok, thanks for your help. I guess there's no way to do it for Express accounts then.

tough wagon
#

I'd recommend reaching out to support to confirm

topaz glade
#

thank you, I sent the question to the support now.