#tamil-selvan_api
1 messages ยท Page 1 of 1 (latest)
๐ 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/1262327063436853288
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
The accounts will accept TOS as they pass through Connect onboarding. Why are you updating it yourself?
Thank you. I am justing doing in it the test connected account. Is it not possible?
Just for testing. Once testing done, I will ask the product seller to do this. Before that I need to tell them the steps. Thats why. ๐
No, as the error message suggests. You can also go through hosted Connect onboarding in Test mode.
Oh, Okay. What I need to do? Sorry if you don't mind, can you instruct me, how to do it correctly.
Are you following any Stripe Connect guide right now?
Yes
stripe account_links create
--account='{{CONNECTED_ACCOUNT_ID}}'
--refresh-url="https://example.com/reauth"
--return-url="https://example.com/return"
--type=account_onboarding
Is it this?
Correct
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
I have created account_links for my connected account. Still payouts and transfers are not active.
Showing tos is required. When I do tos through API, it is failing.
{
"error": {
"code": "oauth_not_supported",
"message": "This application does not have the required permissions for the parameter 'tos_acceptance' on account 'xxxxxxx'.",
"type": "invalid_request_error"
}
}
Can you help on this?
would you mind sharing the request ID? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_C0UEWLRbtvMLRW
taking a look
you need to enable OAuth for Express in your settings https://dashboard.stripe.com/test/settings/connect/onboarding-options/oauth
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I'm already enabled do I need to wait for some time to see the result. It is showing same error when doing this
stripe accounts update $ACCT -d "tos_acceptance[date]"=1609798905 -d "tos_acceptance[ip]"="8.8.8.8"
{
"error": {
"code": "oauth_not_supported",
"message": "This application does not have the required permissions for the parameter 'tos_acceptance' on account 'xxxxx'.",
"request_log_url": "https://dashboard.stripe.com/acct_1PciHeQulsA00js4/test/logs/req_SvdAhb1i1tYbPh?t=1721034670",
"type": "invalid_request_error"
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
oh sorry not at all
I've missed responding to you
it has been a bit busy and chaotic the last couple of minutes here on discord
I'm checking your account settings to see
give me a moment please
Thanks
ok so you don't really have the ability to enable OAuth for Express (this is a deprecated feature anyway and we only still offer it for people who haven't migrated yet)
I think the better way to do so is instead of passing the account ID to stripe accounts update .... you would have to pass it as a Stripe-Account Header
with --stripe-account $ACCT
would you mind trying that?
I might be wrong though, since this is an Express Account not a Custom account ๐ฆ but let's start by testing that and see what happens
I'm using Stripe CLI.
stripe accounts update --stripe-account=$ACCT -d "tos_acceptance[date]"=1721034549 -d "tos_acceptance[ip]"="8.8.8.8"
Is it correct?
let's try it yes
stripe accounts update --stripe-account=$ACCT -d "tos_acceptance[date]"=1721034549 -d "tos_acceptance[ip]"="8.8.8.8"
also tried this one
stripe accounts update -d stripe-account=$ACCT -d "tos_acceptance[date]"=1721034549 -d "tos_acceptance[ip]"="8.8.8.8"
But showing this error
stripe accounts update requires exactly 1 positional argument. See stripe accounts update --help for supported flags and usage
yes I was asking my colleagues and apparently this needs to be done during onboarding which is done using either Account Links or through embedded connect components
so it's impossible to do it using the API
for transfer to connected account is the required one. From there I need to transfer to a seller bank account. Just asking will it be feasible for this setup. On boarding is not that much required for me. Do you suggest what is required in connected account?
I will be using transfer or destination in the checkout to the connected account id.
you will always need to onboard your connected accounts regardless of what service agreement your using
This step is blocking me for 3 days to get client approval. If I get a solution, it will be better.
Do I need to give checkbox to accept terms of service during checkout? That one will be the TOS acceptance? If I am wrong please correct me
no the tos here is not related to the end customer