Created
May 6, 2017 01:21
-
-
Save jake-yeg/8ab894e837c596f7148399028e5b50ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
account = Stripe::Account.retrieve("acct_19Q9DhJ5O9c4mtR7") | |
account.external_accounts.create( | |
external_account: [ | |
object: "bank_account", | |
account_number: 000000000000, | |
currency: 'USD', | |
country: 'US', | |
routing_number: 1111111, | |
... | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! FYI - I had to change the array to a hash ([] -> {}) to get this to work.