#sagar.sonar-accounts
1 messages ยท Page 1 of 1 (latest)
$cust = $stripe->accounts->create([
'type' => 'custom',
'country' => 'US',
'email' => 'mahendra.singh@yopmail.com',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
['bank_account' => [
'country' => 'US',
'currency' => 'USD',
'account_holder_name' => 'Mahendra Singh',
'account_holder_type' => 'individual',
'routing_number' => '110000000',
'account_number' => '000123456789',
]
],
'business_type' => 'individual',
'individual' => [
'address' => [
'line1' => 'address_full_match',
'city' => 'Houston',
'state' => 'TX',
'country' => 'US',
'postal_code' => '77032',
],
'ssn_last_4' => '0000',
'dob' => [
'day' => '01',
'month' => '01',
'year' => '1901'
],
'email' => 'mahendra.singh@yopmail.com',
'first_name' => 'Mahendra',
'last_name' => 'Singh',
'gender' => 'male',
'phone' => '0000000000',
],
'tos_acceptance' => [
'date' => '1651125323',
'ip' => '182.72.173.68',
'service_agreement' => 'full',
'user_agent' => 'null'
],
'settings' => [
'payouts' => [
'schedule' => [ 'interval' => 'manual' ]
]
]
]);
This is the api that I am using for create
could you please give me a couple of minutes so I could take a look
sure
you can find a guide on how to create test custom accounts here https://stripe.com/docs/connect/testing#creating-accounts
let me know if you need any more help
@strange frost , I am trying to add this industry and product description through the api
is there any key available for this?
for the product description you could use this field https://stripe.com/docs/api/accounts/object#account_object-business_profile-product_description
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
it's the same but you should take a look at this https://stripe.com/docs/api/accounts/create#create_account-business_profile-product_description instead
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
for the industry type
you can use the mcc field https://stripe.com/docs/api/accounts/create#create_account-business_profile-mcc
here's a list of the accepted values https://stripe.com/docs/connect/setting-mcc#list