stripe api create custom account code example
Example: connect onboarding for custom accounts specify country
require 'stripe'
Stripe.api_key = 'sk_test_4eC39HqLyjWDarjtT1zdp7dc'
Stripe::Account.create({
type: 'custom',
country: 'US',
email: '[email protected]',
capabilities: {
card_payments: {requested: true},
transfers: {requested: true},
},
})