#roanex_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1387548265498673242
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
@spice canyon is this a new integration? Because you are using Custom accounts but doing Direct Charges which is the wrong integration path. You should be using Destination Charges instead: https://stripe.com/docs/connect/destination-charges
But the issue here is likely that the connected account is missing the us_bank_account_payments Capability. I recommend reading https://docs.stripe.com/connect/account-capabilities
I set it up about a year ago or more
$account = $stripe->accounts->create([
'type' => 'custom',
'country' => 'US',
'email' => $email,
'business_type' => 'company',
'company' => [
'name' => $businessNameField,
'phone' => $phone,
'structure' => $businessTypeField,
'address' => [
'line1' => $addressField,
'line2' => '',
'city' => $cityField,
'state' => $stateField,
'postal_code' => $zipField,
'country' => 'US',
],
'tax_id' => $einField,
],
'settings' => [
'payments' => ['statement_descriptor' => $company_name .' Payroll'],
'payouts' => [
'statement_descriptor' => $company_name .' Payroll',
'schedule' => ['interval' => 'manual'],
],
],
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
'bank_transfer_payments' => ['requested' => true],
'tax_reporting_us_1099_k' => ['requested' => true],
'tax_reporting_us_1099_misc' => ['requested' => true],
'us_bank_account_ach_payments' => ['requested' => true],
],
'tos_acceptance' => [
'date' => time(),
'ip' => $_SERVER['REMOTE_ADDR'],
],
'business_profile' => [
'url' => 'https://roanex.com',
'support_url' => 'https://roanex.com',
'mcc' => '4789',
],
// 'external_account' => [
// 'object' => 'bank_account',
// 'country' => 'US',
// 'currency' => 'usd',
// 'routing_number' => $routingNumber,
// 'account_number' => $accountNumber,
// 'account_holder_name' => $fname . ' ' . $lname,
// 'account_holder_type' => 'company', // For company type accounts
// ],
]); this is the code I use to create the account
Sure but is the Capability active?
Like retrieving it in the API and check the capabilities property
it shows ACH direct debit, is that the same?
also shows US Bank Transfer payments
top right
Do you have a link where I can get information about checking the capabilities in the API?
never mind about the link, I found it