#device - stripe-cli charge
1 messages · Page 1 of 1 (latest)
Hello there, Happy to help
could you share the command that you launch using stripe-cli ?
Thanks! Give me a few minutes to look into this.
I've managed to reproduce the same error, investigating...
As a workaround you can use
https://stripe.com/docs/cli/post
stripe post /v1/charges \
-d amount=6000 \
-d currency=eur \
-d on_behalf_of=acct_... \
-d customer=cus_... \
-d description="..."
Thanks
Juste for information charge API is legacy, you should instead use PaymentIntents:
https://stripe.com/docs/api/payment_intents/create
Hey
I am trying to list the payment_methods of one of my customers as described in the documentation but I am unable to do so
it's stripe payment_methods list --customer=cus_xxx --type=card
yep looks wrong!
I would like to know why, even though I created a payment intent with a on_behalf_of field set to one of my connected accounts, when I confirmed the payment intent, the money from the customer arrived on the platform's balance not on the connected account's balance
that's how it works
on_behalf_of has nothing to do with where the money ends up in Stripe balances. If you're using a Destination charge, with or without on_behalf_of, the funds are added to the platform's balance(minus whatever transfer you specify for the connected account).
on_behalf_of is for other details like the statement descriptor the customer sees. https://stripe.com/docs/connect/destination-charges#settlement-merchant
Is it possible for the money to end up in the connected account's balance?
We are using custom accounts
how much of the money?
i.e. you charge the customer $100. What do you want to happen and who gets what and who pays the Stripe fee(let's say it's $4) ?
I want to connected account to get all the money, and the connected account to pay the stripe fee
then why don't you use Direct Charges for example? If the above is really what you want, then you'd simply use Standard accounts with Direct Charges. https://stripe.com/docs/connect/enable-payment-acceptance-guide is exactly that(just don't take any application_fee )
also how does your business make any money in this model?
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!