'STRIPE "Cannot accept the Terms of Service on behalf of Standard and Express connected accounts"
I am using stripe and I have connected an express account. I have updated the contented account information but it is still restricted as It said I have to accept tos ( terms of service) ni order to enable all functions. The api i am using to update is returning me this error
"message": "You cannot accept the Terms of Service on behalf of Standard and Express connected accounts.", "type": "invalid_request_error",
I have followed the link stipeupdate
How do I resolve this issue ?
Solution 1:[1]
Based on the link you posted it seems that you are trying to run the code below:
const account = await stripe.accounts.update(
'{{CONNECTED_STRIPE_ACCOUNT_ID}}',
{
tos_acceptance: {
date: Math.floor(Date.now() / 1000),
ip: request.connection.remoteAddress, // Assumes you're not using a proxy
},
}
);
The error is explicit. You can't run that code unless the onboarding account is Custom... not Express or Standard
Solution 2:[2]
Stripe do not provide such API service till now where we can create standard or express account with accepted terms and services and fully enabled to use.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | chris |
| Solution 2 | Mohsin Sunasara |
