#jmonty-connect-externalaccount
1 messages · Page 1 of 1 (latest)
Hello! The error is accurate: you don't have an object property inside external_account as documented here: https://stripe.com/docs/api/accounts/create#create_account-external_account-object
If you add that you should be able to get past that error message.
So ``` external_account : {
external_account : { // same object only nested ```` ?
that didn't work.
No... a property called object.
Like you have a property called type right now, but there is no such property.
This: type: "bank_account",
That needs to be: object: "bank_account",
object: { type: "bank_account"},
country: "US",
currency: "USD",
routing_number: "110000000",
account_number: "000123456789"
},``` Ok, I'll try this.
No.
Why are you setting object to an object?
It should just be object: "bank_account",
Did that work?
jmonty-connect-externalaccount
It worked, but it says "restricted" in the uI. How can I add a test account and it not say "restricted"?
What have you tried? If you look at the Account in the API afterwards what do you see in requirements for example?
I says: "This account must accept the terms of service. Please record this via the API"
okay so that's the next step!
Since it is a test account, can't I pass something in when I create the account that would work for this?
you can! Have you tried?