#winston_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1428840788015448184
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
i need help
Hi
@scarlet salmon if you have an issue that requires developer support, please create a new thread. Thanks!
sorry i just dont know how to do that im trying to fix things and it keeps sending me everywhere and idk what im doing lowky i just need help with some transactions
If you need help with transactions please reach out to support@stripe.com.
@grizzled condor sorry about that.
I'll have to double check to make sure the docs are not out of date. Based on the error being returned the relevant options are incorporated_non_profit, registered_charity
It's okay
The thing is that when I provide incorporated_non_profit for a Canadian non profit account, I get this error:
message: "'incorporated_non_profit' is not a valid structure in the country CA and under the business type 'non_profit'.",
so, I went to the API docs to see what the valid types were, and saw that for Canada it's either registered_charity or nil, in this case I need to send nil, but when I send nil I get:
message: 'Invalid company[structure]: must be one of government_instrumentality, governmental_unit, incorporated_non_profit, registered_charity, incorporated_partnership, limited_liability_partnership, multi_member_llc, private_company, private_corporation, private_partnership, public_company, public_corporation, public_partnership, single_member_llc, sole_proprietorship, tax_exempt_government_instrumentality, unincorporated_association, unincorporated_non_profit, unincorporated_partnership, free_zone_llc, sole_establishment, free_zone_establishment, or llc',
Interesting. Let me double check on my end.
Ok, I was able to replicate.
Let me reach out internally.
Okay, I'll stand by
Ok, as I expected the docs are not correct. What they meant to say is to not pass structure in this case.
So company should look like this:
company: {
address: {
city: "Toronto",
line1: "CN Tower, 290 Bremner Blvd",
line2: "200",
postal_code: "07008",
state: "ON",
},
directors_provided: "true",
name: "Big Boss Farm",
owners_provided: "true",
phone: "+17788258000",
tax_id: "*********",
},
Okay, would I be able to pass it as null?
Just don't pass company.structure at all.
Let me double check if you can pass null
Just confirmed, you can pass company.structure: null and it should work.
okay, thank you so much! i'll be testing it out