Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

connect onboarding for custom accounts specify country

require 'stripe'
Stripe.api_key = 'sk_test_4eC39HqLyjWDarjtT1zdp7dc'

Stripe::Account.create({
  type: 'custom',
  country: 'US',
  email: 'jenny.rosen@example.com',
  capabilities: {
    card_payments: {requested: true},
    transfers: {requested: true},
  },
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #connect #onboarding #custom #accounts #country
ADD COMMENT
Topic
Name
2+3 =