#dhaval_api

1 messages ยท Page 1 of 1 (latest)

broken pendantBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1384873572157362338

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

glad mist
#

๐Ÿ‘‹ happy to help

silver vortex
#

How many days stripe hold fund for connected account for available?
can we control them from our platform?

#

i want to make sure that stripe will hold fund for 7 days then after they available that fund for payout untill that not. is this possible?

glad mist
silver vortex
#

i am using
PaymentIntentCreateParams nzParams = PaymentIntentCreateParams.builder()
.setAmount(50000L) // e.g. $20.00
.setCurrency("NZD")
.setReceiptEmail("pmodi@asite.com")
.setPaymentMethod("pm_card_visa") // Use test card or collected method
.setConfirm(true) // auto-confirm
.setOffSession(true)
.setOnBehalfOf("acct_1RawtPB3twVHcr9Q")// if you're charging without active user session
.setTransferData(
PaymentIntentCreateParams.TransferData.builder()
.setDestination("acct_1RawtPB3twVHcr9Q") // funds go here
.build()
)
.setApplicationFeeAmount(2500L) // platform keeps $5 fee (optional)
.build();

    PaymentIntent nzIntent = PaymentIntent.create(nzParams);

is this possible with this code?

#

i have create standard connected account so that user also can modified this delay right?

glad mist
#

but in that case you should be using Direct Charges not Destination with on_behalf_of

#

otherwise you should create Express accounts

silver vortex
glad mist
silver vortex
#

So, this will hold connected account money?

glad mist
#

no

#

but this is the appropriate type of charges for Standard accounts

silver vortex
#

but my problem is connected account should not withdrawal their money for at least 7 days due to refund process

#

Map<String, Object> params = new HashMap<String, Object>();
params.put("payment_method_types", paymentMethodTypes);
params.put("amount", totalChargeInt);
params.put("currency", String.valueOf(orderItemsObject.getVariable().get("currency_code")));
String description = orderItemsObject.getPurchaserDetails() != null
? (orderItemsObject.getPurchaserDetails().getfName() + " "
+ orderItemsObject.getPurchaserDetails().getlName() + ", "
+ orderItemsObject.getPurchaserDetails().getOrganization())
: "";
params.put("description", description);
params.put("metadata", metadata);
params.put("application_fee_amount", (int)(orderItemsObject.getApplicationFees() * currencyUnitInt));

RequestOptions requestOptions = RequestOptions.builder().setStripeAccount(String.valueOf(orderItemsObject.getVariable().get("acc_stripe_id"))).build();
PaymentIntent intent = PaymentIntent.create(params, requestOptions);

resultMap.put("client_secret", intent.getClientSecret());

and this code also suitable for connected account payment right?

knotty haven
#

Hi there ๐Ÿ‘‹ I'm jumping in as my teammate needed to step away.

Can you tell me a bit more about where the funds would be held in your ideal scenario? Are you wanting to hold those funds in your Platform account, or let the funds go to the Connected Account's balance but not have those funds paid out as soon as they've settled?

silver vortex
#

Are you wanting to hold those funds in your Platform account, or let the funds go to the Connected Account's balance but not have those funds paid out as soon as they've settled?

Yes

knotty haven
#

Which one? Do you want the funds to be held in your Platform balance, or in your Connected Account's balance?

silver vortex
#

want to hold in connected account balance

#

connected account type is standard

knotty haven
#

Then you'll want to take a look at the doc my teammate shared initially, which provides instructions for how to modify the payout schedule for a Connected Account. In doing so you can adjust delay_days to change how long funds are held before they're paid out:
https://docs.stripe.com/connect/manage-payout-schedule

However, you're dealing with Standard Connected Account, so those uesrs have full access to their own Stripe dashboard and can change their account settings. So they'll be able to modify their payout schedule settings themselves as well.

silver vortex
knotty haven
#

Depends on the country of the account

silver vortex
#

And one more question my platform account in UK and connected account in NZ so is there any conversion charge for that and where i can see that charge ?

knotty haven
#

Are you referring to a currency conversion, and it's associated fees? If so, that depends on several factors. It depends on what currency you use for your presentment currency and the settlement currency of the account where the funds are settling (which will be the Connected Account if you're using Direct Charges).

silver vortex
#

can i able to get that fee from paymentIntent id if the fee was cut?

knotty haven
#

Yes, sort of. You use the Payment Intent to find the associated Charge object (in the latest_charge field), then find the Balance Transaction for that Charge (in the balance_transaction field).

Then the Balance Transaction object has a fee and fee_details hash that you can inspect for details on the Stripe fees assessed.

silver vortex
#

ok.

but with standard account fix delay is not possible in direct charges right?

knotty haven
#

Correct, the Connected Accounts will be able to override the settings you set up for them.

silver vortex
#

so in alternet i have do payment in my platform then i have to transfer that money into connected account right?

#

is this possible when i am getting payment in platform at that time i also take application fee?

#

and when i take payment in platform stripe fee will cut from that amount only right?

#

bcz i have to cut stripe fee from connected account not from platform

knotty haven
#

I'd suggest looking at our Separate Charges & Transfers flow:
https://docs.stripe.com/connect/separate-charges-and-transfers

Payments are processed on your Platform account, then you have control over when you transfer those funds to your Connected Accounts.
You also have control over how much you transfer to them, so you can keep your application fee and the associated Stripe processing fees (if that's legally permitted where you're operating).

I'd suggest using that charge flow with only Express or Custom accounts though, things get wonky if you try to use that with Standard accounts.