#ivaylo_api

1 messages ยท Page 1 of 1 (latest)

vocal flameBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247150388851773530

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

shell snow
#

As per the error, please write in to support via the URL above. We cannot enable that functionality here

vernal bloom
#

Got it! Thanks

#

In the chat there?

shell snow
#

Or just request card_payments too and it should work (why are you omitting that?)

shell snow
vernal bloom
#

Hmm not sure what card_payments is. I will check

shell snow
vernal bloom
#

I want the user to be able to receive payments from me ๐Ÿค”

shell snow
#

Then transfers is sufficient in that case. If you want just that that capability though, you platform needs to be granted access

vernal bloom
#

Hmm

#
#

This is ow we are creating it now and it works ๐Ÿค”

shell snow
#

Yes, because if you omit the capabilities parameter we'll request the defaults which includes card_payments

vernal bloom
#

I'm processing ๐Ÿ˜„ โณ

#

So for the non US accounts we should do:

stripe.Account.create(
  type='express',
  metadata={
      'owner_id': owner.id,
  }
  capabilities={"transfers": {"requested": True}},
  tos_acceptance={"service_agreement": "recipient"},
)
#

And that way we should be able to send them money ๐Ÿค”

#

For US customers we should just do:

shell snow
vernal bloom
#

The US ones?

#

Or both US and none US

vocal flameBOT
shell snow
#

The request were you omit capabilities

vernal bloom
#

Ok so the default value of capabilities is {"card_payments": {"requested": True}},

#

If you skip it this is the default?

deep surge
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

vernal bloom
#

Sure ๐Ÿ‘

#

Let me try to put some more context.
We are using stripe connect to pay our vendors. It is working grat. Now we have some non US vendors and we receive the following error trying to pay them:

Error transferring funds to account acct_1Og7qDFbibtdqwHZ: Request req_IUQesy59kafd8j: Funds can't be sent to accounts located in IT when the account is under the `full` service agreement. To learn more, see https://stripe.com/docs/connect/service-agreement-types.

The accounts that we create are created in this way:

account = stripe.Account.create(
    type='express',
    metadata={
        'owner_id': owner.id,
    }
)
#

Now we are thinking to start creathing the non USA users in this way:

stripe.Account.create(
  type='express',
  metadata={
      'owner_id': owner.id,
  }
  tos_acceptance={"service_agreement": "recipient"},
)
#

And we receive the following error:

Request req_svreJ68TVoFvG1: Your platform needs approval for accounts to have requested the `transfers` capability without the `card_payments` capability. If you would like to request transfers without card_payments, please contact us via https://support.stripe.com/contact.
deep surge
#

Got it, thanks!
Have you tried requesting both card_payments and transfers?

vernal bloom
#

Nope

#

I'm not sure what card_payments and transfers are

deep surge
#

These are capabilities - features that you request to be enabled for your connected account.