#juiceman
1 messages · Page 1 of 1 (latest)
hello
Hello, apologies for the delay here. You can set a number of delay_days on the payout schedule if you want to delay the payout by some additional days https://stripe.com/docs/connect/manage-payout-schedule
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?
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
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Are you using terminal?
terminal as in the terminal in my computer? no
i though it would be a api driven flow
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)?
Ok. Since you are using Express accounts, are you accepting Destination Charges?
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
});
Ok so separate charges and transfers then
Here for refunds: https://stripe.com/docs/connect/charges-transfers#issuing-refunds
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.
so first i have to cancell the transfer, then do a refund?
got it