Reputation: 357
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 ?
Upvotes: 2
Views: 3987
Reputation: 56
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.
Upvotes: 0
Reputation: 2810
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
Upvotes: 8