The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
tos_acceptance for non US
Steven Teyecdd9e7a504d
diff --git a/apps/web/lib/stripe/create-connected-account.ts b/apps/web/lib/stripe/create-connected-account.tsindex 79de08e864..218da191f9 100644--- a/apps/web/lib/stripe/create-connected-account.ts+++ b/apps/web/lib/stripe/create-connected-account.ts@@ -31,6 +31,9 @@ export const createConnectedAccount = async ({requested: true,},},+ ...(country !== "US" && {+ tos_acceptance: { service_agreement: "recipient" },+ }),});} catch (error) {throw new Error(