#jemen_docs
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/1262420001294651423
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- jemen_docs, 5 hours ago, 27 messages
- jemen_docs, 3 days ago, 119 messages
- jemen_docs, 3 days ago, 49 messages
Hello @hollow roost ๐
Hello
Can you share more about the request you're making and the response you're getting? What API are you calling? An example would help
I'm calling endpoint
GET /v1/accounts/:id, and I'm getting:
{
"id": "some_id",
"object": "account",
"capabilities": {
"bancontact_payments": "inactive",
"blik_payments": "inactive",
"card_payments": "inactive",
"cartes_bancaires_payments": "inactive",
"eps_payments": "inactive",
"ideal_payments": "inactive",
"klarna_payments": "inactive",
"link_payments": "inactive",
"p24_payments": "inactive",
"transfers": "inactive"
},
"charges_enabled": false,
"country": "CZ",
"created": 1721032500,
"default_currency": "czk",
"details_submitted": true,
"future_requirements": {
"alternatives": [],
"current_deadline": null,
"currently_due": [],
"disabled_reason": null,
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"payouts_enabled": true,
"requirements": {
"alternatives": [],
"current_deadline": null,
"currently_due": [],
"disabled_reason": "under_review",
"errors": [],
"eventually_due": [
"individual.verification.document"
],
"past_due": [],
"pending_verification": []
},
"settings": {
"bacs_debit_payments": {
"display_name": null,
"service_user_number": null
},
"branding": {
"icon": null,
"logo": null,
"primary_color": null,
"secondary_color": null
},
"card_issuing": {
"tos_acceptance": {
"date": null,
"ip": null
}
},
"card_payments": {
"decline_on": {
"avs_failure": false,
"cvc_failure": false
...
},
"type": "standard"
}
Missing business_profile
Inside business profile settings, I can clearly see, it is there.
Was this standard account created by your platform? Or did you use Oauth to connect an existing standard account?
I've created it using platform.
No...
OAuth
Or both?
I'll explain
I've created account on Stripe. Afterwards, I used Oauth and somehow connect those to in Onboarding view.
What would be normal procedure to get bussiness_profile in response?
I'm getting it, when I'm using Oauth and skipping the form. But then, I can't adjust anything.
I mean in test mode.
Hang on, let me test something
So I tested stripe account creation via the API versus the account just signing up via the dashboard + using OAuth to connect.
I do see business_profile in the response if I create the account using the API.
I suspect we don't expose business_profile for existing Standard Accounts to the Platform as that is sensitive data
How it differ? ๐ So I have to use API to see it? But then, I can't just change anything.
I'm 99% sure the difference is due to platform controls
https://docs.stripe.com/connect/platform-controls-for-stripe-dashboard-accounts
Stripe accounts that sign up directly with Stripe versus through your platform have different set of permissions
What are you trying to change exactly?
API should allow customization
I think, that is not true in test mode.
What property are you trying to customize? Can you share an example?
I'd like to change business_type:
I'm gettting:
{
"error": {
"message": "Only live keys can access this method.",
"request_log_url": "https://dashboard.stripe.com/test/logs/...",
"type": "invalid_request_error"
}
}
Using POST https://api.stripe.com/v1/accounts/:id endpoint.
Can you share the full request object you're sending to the API?
Like I can create a test standard account just fine with
type: 'standard',
business_type: 'individual'
}```
Are you trying to update an existing account?
Here is curl:
--url-query 'business_type=company' \
--user 'sk_test_...'
Yes.
You were right, with API. I'm capable to do it.
OK, so that is weird.
I'm even capable to update it when I'm using API.
Yeah.. I think this comes down to how Oauth flow has been designed to work.
So as I can see, API is much more powerful for me.
I can just get more from it, rather than in OAuth.
Oauth really just allows you to connect to existing Stripe accounts. If that's something your platform needs then there's no workaround to it.
The flow you'd use, really just depends on your usecase.
But, there is one thing, I'm very interested in. Account details and Business details, do they have to be the same.
We want to be sure, our customer doesn't lie to us.
Because, we can't get Account details in response, right?
What sort of information exactly? With Standard accounts, Stripe handles verification and onboarding so connected account owners would have to provide a lot of details before they can process payments.
I mean adress or VAT code.
Do they have to match in Account details and Business details?
Are you referring to any specific fields on the dashboard? If so, I'm not sure what that maps to on Account object.
My understanding is that there's no separate Tax/VAT ID field on account object. There should only be a single field.
https://docs.stripe.com/api/accounts
I'm talking dashboard settings, yeah.