#deepumi_api

1 messages ยท Page 1 of 1 (latest)

kindred ermineBOT
tidal idolBOT
#

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.

kindred ermineBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253528257287159859

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

waxen smelt
#

Welcome back.. you need to not use transfer_data: {destination: "acct_16HxfvHozpwNUrbx", },

#

You need to follow the script you shared with me earlier

quasi ridge
#

in the script it has the destination a/c right sorry.

waxen smelt
#

You need to take that away

#

curl https://api.stripe.com/v1/payment_intents
-u "sk_test_51HMgMoGHtciddFoAUi8dc6pmHxglUf4HKBVS6I02mpvmmX4Nk2nL4skNrcnZyRaL0Rj2TnKw1qes4v1cmFShnTjB00YT2D48jv:"
-H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}"
-d amount=1000
-d currency=usd
-d "automatic_payment_methods[enabled]"=true
-d application_fee_amount=123

quasi ridge
#

but it does not have the payment method id too right?

#

this is what I sent right now.
{
"application_fee_amount": "630",
"transfer_data": {
"destination": "acct_16HxfvHozpwNUrbx"
},
"currency": "usd",
"payment_method": "pm_1PTwa4IcWSSPnlgrX8QkZ2Jx",
"confirm": "true",
"amount": "30000",
"payment_method_types": [
"card"
]
}

waxen smelt
#

You can still the payment method id

#

You can just take the following offf: "transfer_data": {
"destination": "acct_16HxfvHozpwNUrbx"
},

quasi ridge
#

so that means something like below.
{
"application_fee_amount": "630",
"currency": "usd",
"payment_method": "pm_1PTwa4IcWSSPnlgrX8QkZ2Jx",
"confirm": "true",
"amount": "30000",
"payment_method_types": [
"card"
]
}

#

Okay, please stay online, let me make the code change.. and try

#

I am trying now.. need 5 minutes please

#

Got a different error.
No such PaymentMethod: 'pm_1PTwoQIcWSSPnlgrLU2ibvbw'; OAuth key or Stripe-Account header was used but API request was provided with a platform-owned payment method ID. Please ensure that the provided payment method matches the specified account.

#

{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such PaymentMethod: 'pm_1PTwtiIcWSSPnlgrbPg2Gl6Q'; OAuth key or Stripe-Account header was used but API request was provided with a platform-owned payment method ID. Please ensure that the provided payment method matches the specified account.",
"param": "payment_method",
"request_log_url": "https://dashboard.stripe.com/acct_16HxfvHozpwNUrbx/test/logs/req_1l2Ki0L3HbSMJQ?t=1718935702",
"type": "invalid_request_error"
}
}

Learn more about error codes and how to resolve them.

#

Here is the request Id - req_1l2Ki0L3HbSMJQ

waxen smelt
#

-H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}" \

quasi ridge
#

okay, got it.. let me do that as well. Thank you

waxen smelt
#

Sure!

quasi ridge
#

please stay online..

waxen smelt
#

We are here 24/5, no worries.

quasi ridge
#

Thank you so much

#

This is the request ID = "req_mFegiSh6PS5ixK" and test connected account id = "acct_16HxfvHozpwNUrbx"

#

can you please verify this once, that the fee is actual taken from connected account and platform account is getting back the money.

waxen smelt
quasi ridge
#

okay thank you. I just wanted to verify.

waxen smelt
quasi ridge
#

yea good point.

#

I will try that as well. Thanks for your patience and trying to resolve the issue.

waxen smelt
#

Sure!

quasi ridge
#

One question: Once we go through this new approach, we no longer see the actual payments on platform account, payments section. Is it correct?

#

for ex: I made that $500.00, it does shows on connected account, but not on the platform a/c. Is it the default behaivour?

#

I mean the dashboard payments page.

waxen smelt
#

Yes, now the objects belong on the connected accounts, and the fees are deducted there

quasi ridge
#

okay got it.. make sense

#

๐Ÿ™ ๐Ÿ™

#

Thank you again. I think the fix looks good. Now, we want to know if we can transfer the transaction fees I paid on behalf of the connected account back to the platform account using the API."

waxen smelt
quasi ridge
#

Does stripe charge any extra fees when I initiate the transaction from connected accounts to platform accounts?

#

I mean the transfer?

waxen smelt
#

I do not believe so, you can test this in test mode and confirm

quasi ridge
#

okay thank you..

waxen smelt
#

Sure

quasi ridge
#

I have the charge Id.. on our database, is it possible to make an API call to get the other information

waxen smelt
quasi ridge
#

Okay, good to know.

waxen smelt
#

I highly recommend that you review the API references and test these things. It gets fun as you play with these

quasi ridge
#

Sure, I will test first before anything on production. Thanks so much for the info.

#

so if the connected account has insufficient fund to reverse this amount. can we set some option so once the connected account has enough balance, we can get th money

waxen smelt
#

There is not a setting like that, you just need to attempt it again at a later date.

quasi ridge
#

It won't have any negative impact to both connected and platform account correct?

waxen smelt
quasi ridge
#

okay no worries..

#

thank you, can you please leave this chat open.

#

so in case I can continue the converstation, rather than not to start over

waxen smelt
#

This channel is best for a live chat, and although we can leave this open for about 30 minutes we will have to eventually close the tread. You can always ask in dev-help and fill out the form again.

quasi ridge
#

okay got it. make sense. Thank you

#

I will try exploring the List Transfer API

#

now