#dino_pephanis - person api
1 messages · Page 1 of 1 (latest)
req_LU90VYH7rjPL0d
Ah you can't do that
Look at the api spec to see what you have to provide: https://stripe.com/docs/api/accounts/update#update_account-individual
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I have created a Person object which when I add to a company works
however when I add that same Person object to the individual hash on the Account object I get this error
This is the object that I am pass to the individual. Which I use to create a Person
I understand. The individual parameter doesn't accept a person object. See the API spec I sent
You need to specify the individual fields within "individual"
ah OK
Thanks
I've updated my code and now get a different error
req_RC03hAJUJsTFlX
i am confused
hash
Describes the individual’s relationship to the account```
individual.relationship
hash
Describes the individual’s relationship to the account
Where are you seeing that? Can you link?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You're looking in the wrong spot. You need to look on the endpoint you are calling which is update: https://stripe.com/docs/api/accounts/update#update_account-individual
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
OK