#glassglaze

1 messages · Page 1 of 1 (latest)

wide cloudBOT
hardy saddle
#

👋 happy to help

#

you can't just add the transfers capability you need to also include the card_payments capability to the newly created account

#
account = stripe.Account.create(
    type='express',
    country="PL",
    email="jenny.rosen@example.com",
    capabilities={
        "transfers": {"requested": True},
        "card_payments": {"requested": True},
    },
    tos_acceptance={"service_agreement": "recipient"}
)
lilac warren
#

but recipient service agreement doesn't allow card_payments, does it?

#

I've got:

InvalidRequestError: Request req_sVBq4lL5UCzFEe: You cannot request any capability other than `transfers` for accounts that are under the `recipient` service agreement. For more information on recipient service agreements, see https://stripe.com/docs/connect/service-agreement-types#recipient.
hardy saddle
#

yes you're right, you should probably contact https://support.stripe.com/?contact=true to see whether your platform is eligible of creating recipient service agreement accounts

lilac warren
#

ok, thank you a lot)

could I ask you one more question?
If we are talking about cross-border payouts, they seems to be destination charges. Is it possible to make separate payment and transfer in that case? I mean, could we:

  1. charge a customer and store money on our platform account
  2. to make payout to the connected account after some time

examples in the documentation present those two actions in one step:

paymentIntent = stripe.PaymentIntent.create(
    amount=1099,
    currency='eur',
    customer=customer['id'],
    automatic_payment_methods={
      'enabled': True,
    },
    application_fee_amount=123,
    transfer_data={
      'destination': '{{CONNECTED_ACCOUNT_ID}}'
    },
)
hardy saddle
#

AFAIK yes you could

lilac warren
#

thank you a lot for your help)