#usama-escrow

1 messages · Page 1 of 1 (latest)

broken knot
cloud flame
#

thanks pompey for the suggession

broken knot
cloud flame
#

basically i have been in talks with them

broken knot
#

Gotcha, I would keep it up with them, they are the best avenue for this question

cloud flame
#

thankyou but im facing an issue during this thats why im here

#

my scenario is my applocation is the platform where someone is providing services and anyone and can take his services and pay that service provider

#

im using stripe connect api to transfer funds from customer to service providewr

#

and also using scheduled payout

#

@broken knot are you with me

#

?

broken knot
#

So what is the technical question you have at the moment with that flow?

cloud flame
#

my question is im facing some error

#

i wanted to send money from customer to service provider external accoutant

#

im creating payout

#

but faced an error

#

then one of your developers told me that you cannot send money directly to someone's else external bank account

#

so how can i achieve this

broken knot
#

They are correct, you cannot send money direct to a connected account's external account

#

You would send money to the connected account and then later a payout would happen which would send the money to the external account

cloud flame
#

okay

#

im creating charge

#

and on the very next I'm creating transfer

#

but it throws an error that says you don't have sufficient balance

broken knot
#

The funds from charges can take a bit to actually settle on your account

cloud flame
#

okay let me check

#

sir same error is being thrown

merry chasm
#

I'm here now

cloud flame
#

No such external account

merry chasm
#

@cloud flame I think you're jumping ahead in a lot of places

#

that error is self explanatory, does that error msg make it clear what the issue is?

#

I think there is some misunderstanding here on how Connect works

cloud flame
#

sir i'm stuck basically

#

my scenario is my applocation is the platform where someone is providing services and anyone and can take his services and pay that service provider
im using stripe connect api to transfer funds from customer to service providewr
and also using scheduled payout

merry chasm
#

yes I understand but my point is that you're jumping ahead without fundamentally understanding how Connect works

cloud flame
#

okay

merry chasm
#

have you read through all the Connect docs? I cannot explain Connect better than the docs can

#

like having an external account is a basic part of Connect, you have to attach an external bank account to a Connect acct to pay out funds to

#

what Connect acct type are you using?

cloud flame
#

i dont know about the type

#

of the account im using

#

but im in testing

#

mode

#

and creating connect accounts as well

merry chasm
#

ok so first you have to read up and understand how Connect works

#

please start here

#

first step is to understand what account type you should use

#

Connect is hugely complex

#

so it is important you understand the basics of it

#

that will address most of your questions

#

like what an external account is and how you attach it

#

and yes I understand you are testing

#

but you still need to understand what Connect is/does

cloud flame
#

i know how connect works

#

express type account im creating

merry chasm
#

sure and a key part of Express accounts is onboarding an express account with an external bank account or debit card

#

and you have not fully onboarded it, cause it is missing an external account per the error msg

cloud flame
#

that's the key part

#

im creating external bank account of the user

#

and trying to send money usnig that external bank account

merry chasm
#

im creating external bank account of the user

how? Express accounts add their external accounts through the LoginLink aka mini Express Dashboard

did you attach the external account to the Express account?

cloud flame
#

yes

merry chasm
#

can you share the Express Account ID?

cloud flame
#

okay let me do

#

acct_1KBl0tPAOithtHbW

#

here we go

#

^^ is the stripe express account id

merry chasm
#

That is a Custom account

#

btw

#

not Express

cloud flame
#

this.stripeClient.accounts.create({
type: 'express',
country: 'US',
email,
capabilities: {
card_payments: { requested: false },
transfers: { requested: false },
},

  business_type: 'individual',
  external_account: token,
  business_profile: {
    mcc: '7311',
    url: 'http://abc.com',
  },

  tos_acceptance: {
    date: 1440516958,
    ip: '172.0.0.1',
  },
});
merry chasm
#

ok that does have external_accounts but not seeing any requests to create Payouts on this Custom Connect accct

cloud flame
#

^^ is the way to create account

merry chasm
#

well your code might be creating Express accounts but the account ID you shared is Custom

 id: "acct_1KBl0tPAOithtHbW",
 type: "custom"
#

look up the account yourself

#

in your Dashboard and see for yourself

#

just pointing out, I understand your code is trying to create Express accts but what you linked me was a Custom acct

#

so I think you're creating Payouts on a different acct

#

retrieve the account ID acct_1KBl0tPAOithtHbW

#

and see the response you get back

cloud flame
#

okay let me check

#

but how can i achieve the usecase that i wanted to

merry chasm
#

first, let's narrow down to one account ID.

either Custom or Express account, that has an external account and Balance added to it.

#

that is the right scenario to be able to create a Payout

cloud flame
#

when we create a charge. Doesn't it instantly move to the admin account?

merry chasm
#

no

#

it takes time to settle

#

but

#

you can use a special card token which settles instantly

#

that skips settlement time and settles instantly

cloud flame
#

im using transfer API to transfer to send amount to connected account

merry chasm
#

yes that is instant, so you create a Charge on Platform using that^ PaymentMethod, then create a Transfer

cloud flame
#

okay let me check

#

No such external account: 'ba_1KBlr0PAOithtHbWZ37o9ynH'

#

still

merry chasm
cloud flame
#

let me tell you

#

sir ecternal bank account with id ba_1KBlr0PAOithtHbWZ37o9ynH exist

merry chasm
#

please share a request ID

#

that helps me debug and investigate

#

my hunch is that you are making the API request on the wrong Connect account

#

so yes ba_1KBlr0PAOithtHbWZ37o9ynH exists, but not on the Connect account you're paying out to

cloud flame
#

okay

#

request id means?

#

my api key

merry chasm
#

no

#

when you make an API request, it returns a request id like req_123

#

that I can look up on my end

#

and see what parameters you passed to the API

cloud flame
#

req_rPMMmbpxwdF43i

merry chasm
#

great! do you have the request ID for the request that returned an error too?

the one about "no external acct" one

#

but looking, I can probably find it

cloud flame
#

let me check

#

req_B1WR3TB95pKH8y

#

here it is

merry chasm
#

nice, loking

#

here is the error

https://dashboard.stripe.com/test/logs/req_rPMMmbpxwdF43i -> you transfered 10c to the Connect acct

https://dashboard.stripe.com/test/logs/req_B1WR3TB95pKH8y -> you tried to pay out $85

the error is self explanatory no?

You have insufficient funds in your Stripe account for this transfer. Your card balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance)

you are paying out much more than you have in your Connect acct balance?

This event https://dashboard.stripe.com/test/events/evt_1KC6PQPAOithtHbWImiW3CH3
tells me that Connect account only has 50 cents of available balance and you're trying to pay out way more than that

cloud flame
#

okay let me do

#

okay sir thanks that was really helpful

#

im trying to create the scheduled payout

merry chasm
#

no problem, glad to help!

cloud flame
#

and one more question please

#

im trying to achieve a scheduled payout

#

and I'm transferring funds from connected account to connected account bank account

#

with some delay days

#

but on my dashboard

#

im not seing any delay in the payout

#

@merry chasm are you with me?

#

you can check in the picture that the funds are directly available

#

@merry chasm ?

languid elbow
#

Hello! @merry chasm had to step away for a bit. Looking at the screenshot I see a delay of 2 days shown there, is that the delay you're trying to use?

cloud flame
#

im setting the delay of 8 days

languid elbow
#

Where are you setting that delay?

cloud flame
#

while updating the account

cloud flame
#

using the same

#

await this.stripeClient.accounts.update(stripeAccountId, {
settings: {
payouts: { schedule: { interval: 'daily', delay_days: 8 } },
},
});

languid elbow
#

If you fetch the account using the API do you see that setting set to what you expect?

cloud flame
#

my question is

#

how can I check the amount is transferred to the one's account successfully on my admin dashboard

languid elbow
#

Meaning the Stripe Dashboard or a dashboard you're building on your end?

cloud flame
#

stripe dashboard

#

since I'm seeing the transferred amount in my connected account

#

but i am talking about amount transferred to itrs external bank account

languid elbow
#

Is that what you were looking for?

cloud flame
#

yes