#abdus-samad_api

1 messages ¡ Page 1 of 1 (latest)

vestal tapirBOT
#

👋 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/1296824296991358996

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

lost dock
#

Hello, that code looks correct from what I can see. Can you send me the ID of a payment intent from a time that you tested this? (pi_1234)

ebon wolf
#

es

#

yes

#

this is the account id of the platform or the owner acct_1Q0SmPBOeYSSiMPG

#

This is the account id of the seller acct_1Q4Q1mPhA6N6Gojy

#

So lets say if a customer buys an item for 100 dollars from seller, i would like 90 dollars to goto acct_1Q4Q1mPhA6N6Gojy and 10 dollars to goto acct_1Q0SmPBOeYSSiMPG

lost dock
#

Gotcha, and when you run the code above for a $100 payment with a $90 application fee, what happens instead?

#

If you have the ID of a payment intent from a time that you did this in test or live mode I can take a closer look

ebon wolf
#

i only see 10 dollars in acct_1Q4Q1mPhA6N6Gojy

#

nothing is getting posted to acct_1Q0SmPBOeYSSiMPG

lost dock
#

If you look at the payments page for acct_1Q0SmPBOeYSSiMPG, can you find the ID of a successful payment and send it here?

ebon wolf
#

i do not see any payment getting posted there

lost dock
#

Oh it looks like both of those are connected accounts

#

acct_1MsWNZBbLC2XC625 is your platform account

ebon wolf
#

ahh ok

lost dock
#

So on the payment that you made, it sounds like $90 is on acct_1MsWNZBbLC2XC625

ebon wolf
#

how do i see that

lost dock
#

If you want funds to also go to acct_1Q0SmPBOeYSSiMPG you can create a separate transfer after that payment

ebon wolf
#

and in my dashboard with test mode on

lost dock
#

acct_1MsWNZBbLC2XC625 should be the account that you see for your full dashboard. If you go to the connect page do you see those other two accounts listed?

ebon wolf
#

this is what i see on profile page

#

So you mean in the example above i should post 10 dollars to acct_1MsWNZBbLC2XC625 and 90 dollars to acct_1Q4Q1mPhA6N6Gojy

#

correct?

lost dock
#

With the example code you send, we automatically take whatever you specify as the application fee from the funds that go to the destination account. So with all that you have sent me so far, it sounds like you used acct_1MsWNZBbLC2XC625 to create a $100 payment intent with a $90 application fee and with acct_1Q4Q1mPhA6N6Gojy as the destination. So now, acct_1MsWNZBbLC2XC625 has 90 and acct_1Q4Q1mPhA6N6Gojy has 10