#Daniele-retrieve-account

1 messages · Page 1 of 1 (latest)

heady loom
#

Hi 👋 do you have an example of a request where you saw this?

ember berry
#

well yes, even on our own account we can't get the data

#

whilst it's shown in the api doc

#
Stripe\Account Object
(
    [id] => acct_1JpGudGGvSAAHahB
    [object] => account
    [business_profile] => Stripe\StripeObject Object
        (
            [mcc] => 5734
            [name] => Sellix S.R.L.
            [support_address] => Stripe\StripeObject Object
                (
                    [city] => 
                    [country] => 
                    [line1] => 
                    [line2] => 
                    [postal_code] => 
                    [state] => 
                )

            [support_email] => support@sellix.io
            [support_phone] => +15186155323
            [support_url] => https://help.sellix.io
            [url] => https://sellix.io
        )

    [capabilities] => Stripe\StripeObject Object
        (
            [bancontact_payments] => active
            [card_payments] => active
            [cartes_bancaires_payments] => active
            [eps_payments] => active
            [giropay_payments] => active
            [ideal_payments] => active
            [klarna_payments] => active
            [p24_payments] => active
            [sepa_debit_payments] => active
            [sofort_payments] => active
            [transfers] => active
        )

    [charges_enabled] => 1
    [controller] => Stripe\StripeObject Object
        (
            [type] => account
        )

    [country] => IT
    [default_currency] => eur
    [details_submitted] => 1
    [email] => daniele@sellix.io
    [payouts_enabled] => 1
    [settings] => Stripe\StripeObject Object
        (
            [bacs_debit_payments] => Array
                (
                )

            [branding] => Stripe\StripeObject Object
                (
                    [icon] => file_1KqICfGGvSAAHahBb0QSBnoy
                    [logo] => 
                    [primary_color] => #212529
                    [secondary_color] => #2c3e50
                )

            [card_issuing] => Stripe\StripeObject Object
                (
                    [tos_acceptance] => Stripe\StripeObject Object
                        (
                            [date] => 
                            [ip] => 
                        )

                )

            [card_payments] => Stripe\StripeObject Object
                (
                    [statement_descriptor_prefix] => SLLX
                )

            [dashboard] => Stripe\StripeObject Object
                (
                    [display_name] => Sellix Srl
                    [timezone] => Europe/Rome
                )

            [payments] => Stripe\StripeObject Object
                (
                    [statement_descriptor] => SELLIX.IO
                    [statement_descriptor_kana] => 
                    [statement_descriptor_kanji] => 
                )

            [payouts] => Stripe\StripeObject Object
                (
                    [debit_negative_balances] => 1
                    [schedule] => Stripe\StripeObject Object
                        (
                            [delay_days] => 3
                            [interval] => daily
                        )

                    [statement_descriptor] => 
                )

            [sepa_debit_payments] => Array
                (
                )

        )

    [type] => standard
)
#

this is the response shown on Stripe's website

heady loom
#

That hash won't be present when you retrieve your own account. As mentioned in the spec, that field is only possibly present when working with Custom connected accounts in a scenario that leverages Stripe Connect.

ember berry
#

We are using Stripe connect and have connected accounts, but the field is not returned anyway

heady loom
#

Are those Custom accounts that you're working with? And did you set business_type for the account so we know whether to serve the individual or company hash?

#

Actually, apologies, I don't think that last part needs to happen.

ember berry
#

So it would not work with the standard stripe connect accounts?

heady loom
#

No, it is only available for Custom connected accounts. Some fields are only available for particular types of accounts, and when that is the case you'll see a label beside their name in the spec indicating this.
company is an example of one of these fields and is only available for Custom connected accounts, so it has a CUSTOM ONLY tag beside it.

ember berry
#

So currently there is no way to get a connected account's data for the standard connect?

heady loom
#

Likely not. What type of data are you trying to retrieve for the connected account, and what are you trying to accomplish with it?

ember berry
#

Company data for tax related purposes here in Italy, we can offset the VAT on earnings from companies

#

mainly company name + address and country

heady loom
#

Gotcha, no I don't believe that information is available to the platform account when working with Standard connected accounts.