@fickle heart pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hi, I am trying to send a payment from a bank account using us_bank_account, to another bank account, my flow is the following, I first create the payment intent, if it goes though then I use webhoks to transfer it to the correct connected account and then a payout, I get the following error: Fatal error: Uncaught Error sending request to Stripe: (Status 400) (Request req_QhcWSVTIPRHG0Q) The payment method type "us_bank_account" is invalid. Please ensure the provided type is activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any
Related Request ID(s)
I tried check payment methods in the connected account and it shows the following active capabilities: Card payments, Tax reporting (US 1099-K), Tax reporting (US 1099-MISC), Transfers, US Bank Transf
What have you already attempted?
I am using:
$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'
What are you working on?
I am working on a transportation management system, trying to allow fleet managers to pay their drivers