#cade-invoice-ach
1 messages · Page 1 of 1 (latest)
You can control this on https://stripe.com/docs/api/invoices/create#create_invoice-payment_settings-payment_method_types
cade-invoice-ach
Is this just an option that i set?
const invoice = await stripe.invoices.create({
customer: stripeCustomerId,
collection_method: 'send_invoice',
days_until_due: 0,
auto_advance: true,
description: "Pay by Card",
metadata: {
projectId: projectId,
paymentType: paymentType,
submittedBy: submittedBy,
},
});
const invoiceItem = await stripe.invoiceItems.create({
customer: stripeCustomerId,
amount: amount,
currency: 'usd',
description: description,
invoice: invoice.id,
});
That's a parameter you put in your code as a developer yes
kind of. That's not what the parameter I linked you to is called so you would carefully look at that doc first
(please no picture of code)
payment_settings: {
payment_method_types: ['ach_debit'],
},
Just making sure this is correct? Weve had issues with this one
you want us_bank_account instead of ach_debit but yes otherwise