#dadahumpa_connect-payments-apis

1 messages ยท Page 1 of 1 (latest)

old jacinthBOT
#

๐Ÿ‘‹ 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/1356263039984472075

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

frosty glen
#

There is anyone?

granite wagon
#

Hi, I'm currently helping multiple developers.

If you're looking to have the transferred occur at the creation of of the payment, you'd want to use this flow: https://docs.stripe.com/connect/destination-charges?platform=web&ui=elements

You pass the destination account id, and Stripe create the transfer for you.

After you review the document, let me know what specific questions you may have.

frosty glen
#

Yes but I don't have custom access to checkout, isn't there a way to set this up by default in my connect stripe account?

granite wagon
#

What integration are you using?

frosty glen
#

A checkout of a saas, and they use stripe api keys

granite wagon
#

Stripe Checkout?

#

Can you try that please? You can use your test api key to test this flow.

frosty glen
#

You don't understand, it's not my platform but it's from a saas I think they use stripe elements but I have no way to go and touch that code

granite wagon
#

Ah, you'd then need to reach out to the platform that owns this. This channel is dedicated for developers who have access to their code.

frosty glen
#

Is there no way to do it inside stripe to set it up?

granite wagon
#

I'm unsure what you mean by that but I can't go it and make those changes, no.

frosty glen
#

Once I receive the payment made by payment intent from this saas platform, the only way I can tell stripe to transfer the funds is through transfers right?
But in that case I have to wait for the time to have the money available on the balance?

old jacinthBOT
granite wagon
frosty glen
#

So I get a payment intent, once I complete checkout I immediately make this api call maybe I get a serve through webhooks and the funds are immediately moved to connect account?

#

And I don't have to wait the 3 to 7 days for receipt of payment and available fund on the account?

granite wagon
#

No, you pass the source_transaction and you do not need to wait days to make the request. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available.

frosty glen
#

Where should I put source_transaction, to payment to payment id?

granite wagon
old jacinthBOT
#

dadahumpa_connect-flows

frosty glen
#

I could create a wrapped that does this by wrapping an event like payment success

granite wagon
#

I'm unsure what you mean by that

#

You can listen to events to get the charge id sure

frosty glen
#

What is the api I can call to see if there are accounts connected to stripe?

wheat ravine
#

Hi there ๐Ÿ‘‹ jumping in as my teammate needs to step away. Can you elaborate on what you're asking there? All Stripe accounts are connected to Stripe, so I'm not sure I'm grasping what you're trying to ask.

frosty glen
#

Hi toby, Would like to know from you, what is the api key that allows me to see all the connect accounts connected with my account?

wheat ravine
frosty glen
#

ok, try one second i think there are bug on my connect

#

Ok i have make this call and recive {
"object:" list,
"data": [],
"has_more": false,
"url": /v1/accounts
}

wheat ravine
#

Sounds like you don't have any Connected Accounts then.

frosty glen
#

I have so many payment reporting acct_ and id of connect

wheat ravine
#

If you had a Connected Account, that list endpoint would return it, unless you're making the request in the wrong mode (testmode vs livemode) or something.

frosty glen
#

No its, live

#

and the account is live

#

I have the same error when i got on specific payment id

wheat ravine
frosty glen
#

If I do /v1/charges the api call, and in the response I have:

transfer_data: {
amount: null,
destination: acct_*
}

This money went to a connect?

wheat ravine
#

To a Connected Account, yes, probably, if the Charge succeeded.

frosty glen
#

ok and if i made /v1/accounts i get this:

{
"object:" list,
"data": [],
"has_more": false,
"url": /v1/accounts
}

wheat ravine
#

Then the Account you're making the request from doesn't have any Connected Accounts.

wheat ravine
#

It could be that you had a Connected Account, but that it has since been deauthorized from your Platform. Or that you're looking at a Charge from one Stripe Account but are then making that request to list Accounts from a different Stripe Account.

#

Do you have more details that you can share? I don't really understand what you're trying to ask about. Do you have the Charge ID?

frosty glen
#

Yes I can try to turn it over to you

#

what id you want?

wheat ravine
#

Do you have the Charge ID?

frosty glen
#

yep one moment

#

ch_3NNwOfFRdMtCwm390972fqED

wheat ravine
#

I'm not able to find any Charge object with that ID.

frosty glen
#

What id you want?

wheat ravine
#

Can you double check it's correct, including case as those IDs are case-sensitive?

frosty glen
#

Now?

wheat ravine
#

That Charge didn't succeed, and is also from nearly 2 years ago.

The Connected Account it was made for is no longer connected to your Platform.

frosty glen
#

But it was disconnected, the connection was standard?

wheat ravine
#

I don't understand what you're trying to ask. Can you try to rephrase that, preferrably in the terms of the Stripe ecosystem?

frosty glen
#

No I say, the account that was connected that is now gone in what connection was it express, custom or standard?

#

And the other question I had was, was the payment moved directly to the connect from the intent or was it done with the transaction later?

wheat ravine
#

It was a Standard Connected Account.

frosty glen
#

Yes but I would like to understand the flow better.
What it had to do in the case of success when it was done.
Was the payment sent directly to the connect?

wheat ravine
frosty glen
#

Ok, Okay, I saw that there is a transfer group what would that be?

wheat ravine
old jacinthBOT
frosty glen
#

is it possible to know if a payment intent was created from an api or from the dashboard in short the origin?

trim nexus
#

Hi ๐Ÿ‘‹

I'm taking over as my colleague needs to go.

frosty glen
#

Ok thank you

trim nexus
#

Can you describe the context? Where are you reviewing the PaymentIntent?

frosty glen
#

I make this, /v1/payment_intents/pi_3NNwOfFRdMtCwm390GQb13SX

now?

trim nexus
#

Unfortunately that payment intent ID does not appear to be valid

#

Nope

frosty glen
#

i corret again sorry

trim nexus
frosty glen
#

I not found

#

I would like to understand if possible where this payment was generated from, meaning ok the method but whether from the dashboard, api or other

trim nexus
#

There is not a property on the Payment Intent object that will tell you that. But I'm asking you to provide an example I can review so we can potentially find another solution.