#juiceman

1 messages · Page 1 of 1 (latest)

neon quailBOT
sudden ore
#

hello

neon quailBOT
vernal vortex
#

Is that what you are looking for or are you asking about keeping some funds on hand in general in case of disputes or payouts?

sudden ore
#

I dont think so,

let me explain

#

its a platform where people can sell items to one another.

when a user buys a item, 80% of the sale goes to the seller, 20% goes to the platform.

the buyer should have 10 days to approve or disapprove the transaction.

the seller has added their bank information and created a stripe account such as this one acct_1MjlOA4EIoSAbTHz

so i need to stop the transfer if possible

gleaming pollen
#

Once payment is made, the way to "stop" the transfer of funds so to speak would be to issue a refund

#

There's not really another good way

sudden ore
gleaming pollen
#

Are you using terminal?

sudden ore
#

terminal as in the terminal in my computer? no

#

i though it would be a api driven flow

gleaming pollen
#

You linked the in-person payment terminal flow

#

So assumed you were using terminal

#

Are you accepting in person payments via Stripe Terminal?

#

Or is this online payments? Also what type of Connect accounts do you have (Express, Standard, or Custom)?

sudden ore
#

express

#

online payment i think. "terminal' does not sound familiar

gleaming pollen
#

Ok. Since you are using Express accounts, are you accepting Destination Charges?

sudden ore
#

this is how i create a charge and transfer the money to the other account:
charge = await stripe.paymentIntents.create({
customer: stripeUserId,
amount: amount,
currency: "usd",
payment_method: campaignCreatorCardToken, // buyer
confirm: true,
description: Campaign id is${campaignId}. Campaign name is ${description}
});

    // // from the charge, give 80% of it to the seller
    const transfer = await stripe.transfers.create({
        amount: charge.amount * .80,
        currency: "usd",
        source_transaction: charge.latest_charge,
        destination: channelOwnerStripeBankAccount.stripeBankId, // seller stripe
    });
gleaming pollen
#

Ok so separate charges and transfers then

sudden ore
#

so i have to cancell the transfer?
Charges created on your platform can be refunded using your platform’s secret key. However, refunding a charge has no impact on any associated transfers.

gleaming pollen
#

You can reverse the transfer

#

Covered in the doc I sent

sudden ore
#

so first i have to cancell the transfer, then do a refund?

gleaming pollen
#

No

#

You refund then reverse the transfer

sudden ore
#

got it