#roanex_api

1 messages ¡ Page 1 of 1 (latest)

maiden hillBOT
#

👋 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.

flint aurora
spice canyon
#

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

flint aurora
#

Sure but is the Capability active?

#

Like retrieving it in the API and check the capabilities property

spice canyon
#

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

maiden hillBOT