#jemen_docs

1 messages ยท Page 1 of 1 (latest)

hidden magnetBOT
#

๐Ÿ‘‹ 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.

timid briarBOT
#

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.

cerulean knoll
#

Hello @hollow roost ๐Ÿ‘‹

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

cerulean knoll
#

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.

hollow roost
#

Was this standard account created by your platform? Or did you use Oauth to connect an existing standard account?

cerulean knoll
#

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.

hollow roost
#

Hang on, let me test something

cerulean knoll
#

Yeah.

#

Just for curiosity, what are you testing?

hollow roost
#

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

cerulean knoll
#

How it differ? ๐Ÿ˜„ So I have to use API to see it? But then, I can't just change anything.

hollow roost
#

What are you trying to change exactly?

#

API should allow customization

cerulean knoll
hollow roost
#

What property are you trying to customize? Can you share an example?

cerulean knoll
#

Using POST https://api.stripe.com/v1/accounts/:id endpoint.

hollow roost
#

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?

cerulean knoll
#

Here is curl:

  --url-query 'business_type=company' \
  --user 'sk_test_...'

cerulean knoll
cerulean knoll
#

OK, so that is weird.

#

I'm even capable to update it when I'm using API.

hollow roost
#

Yeah.. I think this comes down to how Oauth flow has been designed to work.

cerulean knoll
#

So as I can see, API is much more powerful for me.

#

I can just get more from it, rather than in OAuth.

hollow roost
#

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.

cerulean knoll
#

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?

hollow roost
#

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.

cerulean knoll
#

I mean adress or VAT code.

#

Do they have to match in Account details and Business details?

hollow roost
#

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

cerulean knoll
#

I'm talking dashboard settings, yeah.