如何在 stripe express 入职时预填手机号码、业务类型?

How to prefill Mobile Number, Type of business in stripe express onboarding?

我可以预填手机号码吗?因为我已经预先填写了电子邮件

我可以预填业务类型吗?因为我已经预先填写了国家

无法预填 phone 号码,条带入职快递账户中的业务类型。但是除这些字段外,其他字段正在预填充。 我已经提到: https://stripe.com/docs/api/accounts/update?lang=java 更新帐户 API

    Map<String, Object> addressParams = new HashMap<>();
    addressParams.put("country", "AU");
    if (accountInfo.get("companyAddressLine1") != null)
    addressParams.put("line1", accountInfo.get("companyAddressLine1"));
    if (accountInfo.get("companyAddressLine2") != null)
    addressParams.put("line2", accountInfo.get("companyAddressLine2"));
    if (accountInfo.get("companyAddressCity") != null)
    addressParams.put("city", accountInfo.get("companyAddressCity"));
    if (accountInfo.get("companyAddressState") != null)
    addressParams.put("state", accountInfo.get("companyAddressState"));
    if (accountInfo.get("companyAddressPostalCode") != null)
    addressParams.put("postal_code", accountInfo.get("companyAddressPostalCode"));

    Map<String, Object> companyParams = new HashMap<>();
    companyParams.put("address", addressParams);
    if (accountInfo.get("companyPhone") != null)
    companyParams.put("phone", accountInfo.get("companyPhone"));
    if (accountInfo.get("abnNumber") != null)
    companyParams.put("tax_id", accountInfo.get("abnNumber"));
    if (accountInfo.get("companyName") != null)
    companyParams.put("name", accountInfo.get("companyName"));

    Map<String, Object> businessProfileParams = new HashMap<>();
     businessProfileParams.put("support_address", addressParams);
    businessProfileParams.put("product_description","test");

    Map<String, Object> params = new HashMap<>();
    params.put("business_type", "company");
    if (accountInfo.get("companyEmail") != null)
    params.put("email", accountInfo.get("companyEmail"));
    params.put("business_profile", businessProfileParams);
    params.put("company", companyParams);

    Account updatedAccount = account.update(params);

屏幕截图中的 phone 和电子邮件输入用于快速身份验证,并与帐户上的用户相关联。平台无法预填此用户数据。您使用帐户 API 预先填写的 phone 和电子邮件与此帐户上的 company/business 相关联。

是的,您应该可以预先填写业务类型。我建议 retrieving the connected account 在创建入职 link.

之前验证是否已设置 business_type