mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
[stripe] bank account creation requires object: "bank_account" (#37956)
This commit is contained in:
Vendored
+5
@@ -6801,6 +6801,11 @@ declare namespace Stripe {
|
||||
}
|
||||
|
||||
interface ISourceCreationOptions {
|
||||
/**
|
||||
* The type of payment source. Should be "bank_account".
|
||||
*/
|
||||
object: "bank_account";
|
||||
|
||||
/**
|
||||
* The account number for the bank account in string form.
|
||||
* Must be a checking account.
|
||||
|
||||
@@ -639,6 +639,7 @@ stripe.customers.createSource(
|
||||
"cus_5rfJKDJkuxzh5Q",
|
||||
{
|
||||
source: {
|
||||
object: 'bank_account',
|
||||
country: 'US',
|
||||
currency: 'USD',
|
||||
account_holder_name: 'Account Holder',
|
||||
@@ -656,6 +657,7 @@ stripe.customers.createSource(
|
||||
"cus_5rfJKDJkuxzh5Q",
|
||||
{
|
||||
source: {
|
||||
object: 'bank_account',
|
||||
country: 'US',
|
||||
currency: 'USD',
|
||||
account_holder_name: 'Account Holder',
|
||||
|
||||
Reference in New Issue
Block a user