#sandeepdil

1 messages ยท Page 1 of 1 (latest)

kind pondBOT
prime root
#

Hi there ๐Ÿ‘‹ what is the error being returned?

lofty remnant
#

req id : req_ocSSevUdzsKLon

#

while balance is available in stripe

prime root
lofty remnant
#

it is showing balance

prime root
#

What is the amount for the usd currency in the available hash in those results?

lofty remnant
#

{
object: 'balance',
available: [ { amount: 1587, currency: 'usd', source_types: [Object] } ],
connect_reserved: [ { amount: 0, currency: 'usd' } ],
livemode: true,
pending: [ { amount: 0, currency: 'usd', source_types: [Object] } ]
}

prime root
#

Hm, odd, that seems sufficient. Do you still encounter that error when trying to make the request now? I'm asking as I see the request you referenced is from about a day ago, and am wondering if that error is still being returned.

lofty remnant
#

its 24 October 2023 in usa

request was made on same day

#

about few hours ago

prime root
#

But the request was made on Oct 23 at approximately 3 PM in the timezone you referenced above.

lofty remnant
#

on the time of request, we were having sufficient balance also

prime root
#

Hm, looks like it's specifically mad about you not having a card balance.

lofty remnant
#

if source type is card... which card will be charged ?

prime root
#

Shouldn't be relevant if you aren't processing those type of payments.

lofty remnant
#

if source type is card... which card will be charged ?

prime root
#

None, source_type for Transfers is used to designate which of your available balances to pull from, it isn't associated with processing a payment at the same time.

lofty remnant
#

ok so like if we wanna make a payout from our stripe wallet . what changes we have to made in our current request ?

prime root
#

Just making sure we're aligned, since you mentioned payout in your most recent message but your request was creating a Transfer, are you trying to create a Payout (moving funds from your Stripe account to your bank account) or a Transfer (moving funds from your Platform Account's Stripe Stripe balance to the balance of one of your Connected Account's)?

lofty remnant
#

yes i'm trying to make payment from my stripe balance to connected external bank account

#

{"result":{"object":"balance","available":[{"amount":1587,"currency":"usd","source_types":{"bank_account":1587}}],"connect_reserved":[{"amount":0,"currency":"usd"}],"livemode":true,"pending":[{"amount":0,"currency":"usd","source_types":{"bank_account":0}}]}}

if i will use "source_type" bank_account in "stripe.transfers.create" api... will it deduct money from my available stripe balance or not

prime root
#

Gotcha, then yeah, you'll want to set source_type to bank_account in the Transfer request. Are you planning to accept card payemnts in addition to ACH payments? If so, your Transfer process will need to be able to check what source_type has the available balance and create Transfers using that source_type.

Is this a brand new integration that you've built? I'm asking because I think you're only running into this behavior because it looks like you're using our legacy ACH flow.

lofty remnant
#

yes its new integration. we were integrate stripe 2-3 months ago and still in testing phase

#

also we are accepting ACH payment using bank as well as card

prime root
lofty remnant
#

if we will continue to use legacy approach. will it create any problem ?

prime root
#

You may have to work around odd legacy behavior that we've improved upon in newer versions, like worrying about and dealing with source_type. It also likely means it'll take more effort to add new payment method types in the future if that is something you're considering.

#

But in general, no, the flow still works.

lofty remnant
#

i ask thing question because we are ready to launch this version of our system. In next version we will use your new flow but until that if we can go with legacy. it will be good.

#

as you suggest we just have to provide source_type which has balance in our stripe balance .. right ?

prime root
#

Yup, you'll need to check your balance and ensure you're pulling from a source_type with adequate funds, or make multiple Transfers pulling from a combination of source_types if required.

lofty remnant
#

Gotcha

#

thanks for your valuable support ๐Ÿ™‚