【问题标题】:Create and validate Express account from API in Stripe从 Stripe 中的 API 创建和验证 Express 帐户
【发布时间】:2021-08-04 18:21:48
【问题描述】:

当我从仪表板添加一个 Express 帐户时,它已启用,可以进行测试,但是当我想从 API 创建一个帐户时,我无法激活它,我做错了什么?谢谢!

new AccountService().Create(new AccountCreateOptions
{
    Email = email,
    Country = "US",
    Type = "express",
    BusinessType = "individual",
    Individual = new AccountIndividualOptions
    {
        Phone = phone,
        FirstName = name,
        LastName = name,
        Dob = new DobOptions
        {
            Day = 1,
            Month = 1,
            Year = 2000
        },
        SsnLast4 = ssnLast4, // "0000"
        Verification = new AccountIndividualVerificationOptions
        {
            Document = new AccountIndividualVerificationDocumentOptions
            {
                Back = CreateFile(formFile).Id, //success.png
                Front = CreateFile(formFile).Id //success.png
            }
        }
    },
    BusinessProfile = new AccountBusinessProfileOptions
    {
        ProductDescription = "A dummy description"
    },
    ExternalAccount = new AnyOf<string, AccountBankAccountOptions, AccountCardOptions>(new AccountBankAccountOptions
    {
        Country = "US",
        Currency = "usd",
        AccountHolderName = name,
        RoutingNumber = "110000000",
        AccountNumber = "000123456789",
        AccountHolderType = "individual"
    }),
    TosAcceptance = new AccountTosAcceptanceOptions
    {
        ServiceAgreement = "full"
    },
    Capabilities = new AccountCapabilitiesOptions
    {
        Transfers = new AccountCapabilitiesTransfersOptions
        {
            Requested = true
        },
    },
});

【问题讨论】:

    标签: c# stripe-payments


    【解决方案1】:

    Stripe 帐户的所有者必须先接受 Stripe 的服务条款,然后才能激活帐户。最好的选择是在您收集完所有信息后让他们通过 Connect Onboarding:https://stripe.com/docs/connect/connect-onboarding

    上面写着自定义帐户,但它现在适用于所有类型,只会让您的客户“认领”他们的帐户并将其与电子邮件地址和电话号码相关联并接受服务条款。

    【讨论】:

      猜你喜欢
      • 2021-03-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-28
      • 2017-12-16
      • 2020-06-10
      • 2021-11-09
      • 2017-09-30
      相关资源
      最近更新 更多