#peter_40675

1 messages · Page 1 of 1 (latest)

warm compassBOT
topaz vector
#

Hi there!

#

What's the issue exactly?

humble citrus
#

i mean how to refund from partilcular connected accounts? (bank accounts)

#

using apis

topaz vector
humble citrus
#

thanks but i haven't charge id

#

i'm creating bank for connect accounts, and now we payout users., than now how can refund from this payout user

topaz vector
#

Wait. Do you want to refund a payment, reverse a transfer, or cancel a payout?

humble citrus
#

i want to refund

topaz vector
humble citrus
#

yes but i haven't charge id

topaz vector
#

What do you have?

humble citrus
#

account id

topaz vector
#

What are you trying to do? I still don't understand.

humble citrus
#

first thing i have some balance in connected accounts, now i want to refund from this account

#

Like this assume some balance and want to refund from DishantTest user

topaz vector
#

Again, what are you trying to do?

  1. Do you want to refund a payment? Meaning a end user send you money, but you want to send them back their money?
  2. Do you want to reverse a transfer? Meaning you sent money to a connected account, but now you want the money back in the platform account?
  3. Do you want to cancel a payout? Meaning a connected account got money from their Stripe balance to their bank account, and you want to move back that money in the connected account or platform account?
  4. Something else?
#

Each think I listed above is very different, so you have to clearly explain which one you are trying to do.

humble citrus
#

yes this one
Do you want to refund a payment? Meaning a end user send you money, but you want to send them back their money?

topaz vector
#

In this case you have a Charge ID or a PaymentIntent ID. Can you share it here?

humble citrus
#

okay but its working for connected accounts?
only payout user which amount go into connected accounts

#

const paymentIntent = await stripe.paymentIntents.create({
amount: '37',
currency: request.currency,
application_fee_amount: request.application_fee_amount,
transfer_data: {
destination: request.account_id,
},
confirm: true,
payment_method: method_id,
customer: request.customer_id,
capture_method: 'manual',
description: 'Ineed',
statement_descriptor: 'Ineed',
statement_descriptor_suffix: 'Ineed',
setup_future_usage: 'off_session',
confirmation_method: 'automatic',
use_stripe_sdk: 'true',
});

topaz vector
#

okay but its working for connected accounts?
Yes you can refund a PaymentIntent on a connected account. I explaind to you at the very beginning how to do this.

humble citrus
#

yes please

topaz vector
#

Can you share the PaymentIntent ID you want to refund (pi_xxx)? or Charge ID (ch_xxx)?

humble citrus
#

pi_3NlUgLGcbCus1tTb0eYVjmAZ -- this one

topaz vector
humble citrus
#

okay thanks