我正在研究Stripe,但是我没有找到任何{strong>按国家/地区的银行帐户格式的API,例如https://stripe.com/docs/connect/payouts#formats,我需要手动创建它吗!下面是我正在说的是哪种数据的有线检查 json数据示例
static
上面的示例是针对三个国家/地区的,我希望所有国家/地区都这样做,所以我需要靠自己做。我不能从stripe获得此功能吗,请提前帮助我,我不使用 stripe connect 快递和标准帐户,我使用 stripe connect 自定义帐户>
答案 0 :(得分:1)
{{1}}
答案 1 :(得分:0)
这是我问题的答案,我正在向所有在stackoverflow上有条纹连接和有条纹经验的开发人员询问这个问题
<?php
$country_iban=[
"AT"=>["field1"=>["placeholder"=>"AT611904300235473201","name"=>"IBAN"]],
"BE"=>["field1"=>["placeholder"=>"BE12345678912345","name"=>"IBAN"]],
"DK"=>["field1"=>["placeholder"=>"DK5000400440116243","name"=>"IBAN"]],
"EE"=>["field1"=>["placeholder"=>"","name"=>"IBAN"]],
"FI"=>["field1"=>["placeholder"=>"FI2112345600000785","name"=>"IBAN"],],
"FR"=>["field1"=>["placeholder"=>"FR1420041010050500013M02606","name"=>"IBAN"],],
"DE"=>["field1"=>["placeholder"=>"DE89370400440532013000","name"=>"IBAN"]],
"GI"=>["field1"=>["placeholder"=>"","name"=>"IBAN"]],
"IE"=>["field1"=>["placeholder"=>"IE29AIBK93115212345678","name"=>"IBAN"]],
"IT"=>["field1"=>["placeholder"=>"IT60X0542811101000000123456","name"=>"IBAN"]],
"LU"=>["field1"=>["placeholder"=>"LU280019400644750000","name"=>"IBAN"]],
"NL"=>["field1"=>["placeholder"=>"NL39RABO0300065264","name"=>"IBAN"]],
"NO"=>["field1"=>["placeholder"=>"NO9386011117947","name"=>"IBAN"]],
"PT"=>["field1"=>["placeholder"=>"PT50123443211234567890172","name"=>"IBAN"]],
"ES"=>["field1"=>["placeholder"=>"ES9121000418450200051332","name"=>"IBAN"]],
"SE"=>["field1"=>["placeholder"=>"SE3550000000054910000003","name"=>"IBAN"]],
"CH"=>["field1"=>["placeholder"=>"CH9300762011623852957","name"=>"IBAN"]],
"ES"=>["field1"=>["placeholder"=>"DK5000400440116243","name"=>"IBAN"]],
"GB"=>["field1"=>["placeholder"=>"GB82WEST12345698765432","name"=>"IBAN"]],
];
$currencies_by_country=[
"chf"=>["field1"=>["placeholder"=>"CH9300762011623852957","name"=>"IBAN"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"dkk"=>["field1"=>["placeholder"=>"DK5000400440116243","name"=>"IBAN"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"eur"=>[$country_iban],
"gbp"=>["field1"=>["placeholder"=>"12-34-56","name"=>"Sort Code"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"nok"=>["field1"=>["placeholder"=>"NO9386011117947","name"=>"IBAN"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"sek"=>["field1"=>["placeholder"=>"SE3550000000054910000003","name"=>"IBAN"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"usd"=>["field1"=>["placeholder"=>"111000000","name"=>"Routing Number"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
];
return [
"AU"=>[
"field1"=>["placeholder"=>"123456","name"=>"BSB"],
"field2"=>["name"=>"Account Number","placeholder"=>""]],
"AT"=>[$currencies_by_country],
"BE"=>[$currencies_by_country],
"CA"=>[],
"DK"=>[$currencies_by_country],
"EE"=>[$currencies_by_country],
"FI"=>[$currencies_by_country],
"FR"=>[$currencies_by_country],
"DE"=>[
"field1"=>["placeholder"=>"123","name"=>"Bank code"],
"field2"=>["placeholder"=>"456","name"=>"Branch code"],
"field3"=>["placeholder"=>"123456","name"=>"Account number"]],
"HK"=>[$currencies_by_country],
"IE"=>[$currencies_by_country],
"IT"=>[$currencies_by_country],
"LU"=>[$currencies_by_country],
"NL"=>[$currencies_by_country],
"NO"=>[$currencies_by_country],
"PT"=>[$currencies_by_country],
"SG"=>[
"field1"=>["placeholder"=>"123","name"=>"Bank code"],
"field2"=>["placeholder"=>"456","name"=>"Branch code"],
"field3"=>["placeholder"=>"123456","name"=>"Account number"]
],
"ES"=>[$currencies_by_country],
"SE"=>[$currencies_by_country],
"CH"=>[$currencies_by_country],
"GB"=>[
"chf"=>["field1"=>["placeholder"=>"CH9300762011623852957","name"=>"IBAN"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"dkk"=>["field1"=>["placeholder"=>"DK5000400440116243","name"=>"IBAN"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"eur"=>[$country_iban],
"gbp"=>["field1"=>["placeholder"=>"12-34-56","name"=>"Sort Code"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"nok"=>["field1"=>["placeholder"=>"NO9386011117947","name"=>"IBAN"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"sek"=>["field1"=>["placeholder"=>"SE3550000000054910000003","name"=>"IBAN"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
"usd"=>["field1"=>["placeholder"=>"111000000","name"=>"Routing Number"],"field2"=>["name"=>"Account Number","placeholder"=>""]],
],
"US"=>[
"field1"=>["placeholder"=>"111000000","name"=>"Routing Number"],"field2"=>["name"=>"Account Number","placeholder"=>""]
]
]
?>