#prabhaw-soti-ebpearls_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ 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/1212427379960447027
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ 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. Thank you for your patience!
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- prabhawsotiebpearls_19934, 6 days ago, 17 messages
- prabhawsotiebpearls_19934, 6 days ago, 4 messages
Hello, taking a step back, is this all happening to build your own custom onboarding page rather than using Stripe's hosted onboarding page? Our page should be able to automatically collect these details for you, so it is definitely worth considering if you have not already
If you want to keep looking at this error specifically, can you send me the text of your code that is getting this error and the text of the full error message that you are getting back?
if(body.isCompany){
const res = await this.stripeService.stripe.accounts.create({
type: 'custom',
business_profile: {
mcc: '8299',
product_description: 'Sell and buy animal.',
},
country: 'au',
company:{
registration_number:body.acn,
},
capabilities: {
card_payments: {
requested: true,
},
transfers: {
requested: true,
},
},
account_token: body.connect_tok,
});
in am creating account for company and while i sne token from frontend and put connect_token i get this error ::: Parameter 'company' cannot be used in conjunction with an account token. To set this field create a token with the desired changes. Pass the token with 'account_token' in a request without setting 'company'
Have you tried making that call without setting company?
like individual account is ok it's creating account ( my quesion is i don't need account_type or not )
I think you can specify business_type: 'company' but the API error you are getting is saying you can't upload the document and also specify
registration_number:body.acn,
}, ```
so i should remove company:{
registration_number:body.acn,
},
registration_number is required while creating company account but ios sdk don't have option to set it while createing token
It looks like registration_number is supported by the API. What version of the iOS SDK are you using? It is possible that that param was added in a later version https://docs.stripe.com/api/tokens/create_account#create_account_token-account-company-registration_number
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 don't know which version is user but you can tell me which version should be used so that i will consider with ios dev
Can you show me your iOS code for this? I am having trouble looking this up in our SDK reference