是什么导致 Stripe 的 BAD_REQUEST 处于测试模式:"You cannot use a live bank account number when making transfers or debits in test mode"?

What caused Stripe's BAD_REQUEST in testing mode: "You cannot use a live bank account number when making transfers or debits in test mode"?

当我发送更新现有自定义帐户的请求时,我收到此消息:You cannot use a live bank account number when making transfers or debits in test mode 以及 400 BAD_REQUEST:

"error" => [
      "type" => "invalid_request_error"
      "message" => "You cannot use a live bank account number when making transfers or debits in test mode"
      "param" => "external_account[account_number]"
    ]

查看我发送给Stripe的数据,发现只有在请求体中有这个数据时才会出现这个错误:

"external_account" => array:6 [
    "object" => "bank_account"
    "account_number" => "1212121212"
    "country" => "BE"
    "currency" => "EUR"
    "account_holder_name" => "NAME LASTNAME"
    "account_holder_type" => "company"
  ]

我尝试使用不同的假银行帐号,但没有帮助。成功更新数据的唯一方法是完全避免这种 external_account 数据。

我想知道我是否可以做些什么来让 Stripe 接受它?由于此错误仅在功能测试期间出现。

在测试模式下,Stripe 假定任何不是 their test numbers 明确之一的数字都是潜在的真实帐户。只要使用这些,你应该会很好。

在欧洲 DE89370400440532013000 应该可以做到这一点(德国人)。