#jmonty-connect-externalaccount

1 messages · Page 1 of 1 (latest)

solid vesselBOT
soft pasture
#

If you add that you should be able to get past that error message.

white mason
#

So ``` external_account : {
external_account : { // same object only nested ```` ?

#

that didn't work.

soft pasture
#

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",

white mason
#
        object: { type: "bank_account"},
        country: "US",
        currency: "USD",
        routing_number: "110000000",
        account_number: "000123456789"
      },```  Ok, I'll try this.
soft pasture
#

No.

#

Why are you setting object to an object?

#

It should just be object: "bank_account",

#

Did that work?

solid vesselBOT
wind hatch
#

jmonty-connect-externalaccount

white mason
#

It worked, but it says "restricted" in the uI. How can I add a test account and it not say "restricted"?

wind hatch
#

What have you tried? If you look at the Account in the API afterwards what do you see in requirements for example?

white mason
#

I says: "This account must accept the terms of service. Please record this via the API"

wind hatch
#

okay so that's the next step!

white mason
#

Since it is a test account, can't I pass something in when I create the account that would work for this?

wind hatch
#

you can! Have you tried?

white mason
#

I'm searching in the docs.

#

.. is see it. Thanks!