1

我正在使用 Stripe Connect 将资金转入第三方银行账户。

我在 Stripe Connect 中创建了托管账户,并将银行账户详细信息链接到该账户。

在使用 SSN 号码验证帐户时,我收到以下错误。

致命错误:未捕获的异常“Stripe\Error\InvalidRequest”与消息“收到未知参数:personal_id_number_provided,ssn_last_4_provided”

代码:

$account = \Stripe\Account::retrieve("acct_xxxxx");
$account->legal_entity->business_name = "Gowri Sankar";
$account->legal_entity->dob = array('day'=>05,'month'=>06,'year'=>1990);
$account->legal_entity->first_name = 'Gowri';
$account->legal_entity->last_name = 'Sankar';
$account->legal_entity->personal_address = array('city'=>'San Clemente','country'=>'US','line1'=>'100', 'line2'=>'Avenida Presidio', 'postal_code'=>'92672','state'=>'CA');

//These two lines gives error
$account->legal_entity->personal_id_number_provided = '8547';
$account->legal_entity->ssn_last_4_provided = true;


$account->legal_entity->type = 'individual';
$account->tos_acceptance->date = time();
$account->tos_acceptance->ip = $_SERVER['REMOTE_ADDR'];
$account->save();

我正在使用条纹 PHP API。
请有任何建议。

4

1 回答 1

4

很确定您现在已经弄清楚了,但是这两个参数无效。正确的参数应该是ssn_last_4. 尝试运行:

$account->legal_entity->ssn_last_4 = '8547';

或者(主要针对国际客户):

$account->legal_entity->personal_id_number = '8547';

根据文档

于 2016-01-06T09:24:13.783 回答