code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Account.create(
    type="custom",
    country="US",
    email="jenny.rosen@example.com",
    capabilities={
      "card_payments": {"requested": True},
      "transfers": {"requested": True},
    },
  )
  '''Response {
    "id": "acct_1032D82eZvKYlo2C",
    "object": "account",
    "business_profile": {
      "mcc": null,
      "name": "Stripe.com",
      "product_description": null,
      "support_address": null,
      "support_email": null,
      "support_phone": null,
      "support_url": null,
      "url": null
    },
    "business_type": null,
    "capabilities": {
      "card_payments": {
        "requested": true
      },
      "transfers": {
        "requested": true
      }
    },
    "charges_enabled": false,
    "controller": {
      "type": "account"
    },
    "country": "US",
    "created": 1385798567,
    "default_currency": "usd",
    "details_submitted": false,
    "email": "jenny.rosen@example.com",
    "external_accounts": {
      "object": "list",
      "data": [],
      "has_more": false,
      "url": "/v1/accounts/acct_1032D82eZvKYlo2C/external_accounts"
    },
    "future_requirements": {
      "alternatives": [],
      "current_deadline": null,
      "currently_due": [],
      "disabled_reason": null,
      "errors": [],
      "eventually_due": [],
      "past_due": [],
      "pending_verification": []
    },
    "metadata": {},
    "payouts_enabled": false,
    "requirements": {
      "alternatives": [],
      "current_deadline": null,
      "currently_due": [
        "business_profile.mcc",
        "business_profile.product_description",
        "business_profile.support_phone",
        "business_profile.url",
        "business_type",
        "external_account",
        "person_8UayFKIMRJklog.first_name",
        "person_8UayFKIMRJklog.last_name",
        "tos_acceptance.date",
        "tos_acceptance.ip"
      ],
      "disabled_reason": "requirements.past_due",
      "errors": [],
      "eventually_due": [
        "business_profile.mcc",
        "business_profile.product_description",
        "business_profile.support_phone",
        "business_profile.url",
        "business_type",
        "external_account",
        "person_8UayFKIMRJklog.first_name",
        "person_8UayFKIMRJklog.last_name",
        "tos_acceptance.date",
        "tos_acceptance.ip"
      ],
      "past_due": [
        "business_profile.mcc",
        "business_profile.product_description",
        "business_profile.support_phone",
        "business_profile.url",
        "business_type",
        "external_account",
        "person_8UayFKIMRJklog.first_name",
        "person_8UayFKIMRJklog.last_name",
        "tos_acceptance.date",
        "tos_acceptance.ip"
      ],
      "pending_verification": []
    },
    "settings": {
      "bacs_debit_payments": {},
      "branding": {
        "icon": null,
        "logo": null,
        "primary_color": null,
        "secondary_color": null
      },
      "card_issuing": {
        "tos_acceptance": {
          "date": null,
          "ip": null
        }
      },
      "card_payments": {
        "decline_on": {
          "avs_failure": true,
          "cvc_failure": false
        },
        "statement_descriptor_prefix": null,
        "statement_descriptor_prefix_kanji": null,
        "statement_descriptor_prefix_kana": null
      },
      "dashboard": {
        "display_name": "Stripe.com",
        "timezone": "US/Pacific"
      },
      "payments": {
        "statement_descriptor": null,
        "statement_descriptor_kana": null,
        "statement_descriptor_kanji": null
      },
      "payouts": {
        "debit_negative_balances": true,
        "schedule": {
          "delay_days": 7,
          "interval": "daily"
        },
        "statement_descriptor": null
      },
      "sepa_debit_payments": {}
    },
    "tos_acceptance": {
      "date": null,
      "ip": null,
      "user_agent": null
    },
    "type": "custom"
  }'''
nl: Create an accountWith Connect, you can create Stripe accounts for your users.
  To do this, you’ll first need to register your platform.Parameters type required The type of Stripe account to create. May be one of custom, express or standard. country optional default is your own country The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you’re creating an account is legally represented in Canada, you would use CA as the country for the account being created. Available countries include Stripe’s global markets as well as countries where cross-border payouts are supported. email optional The email address of the account holder. This is only to make the account easier to identify to you. Stripe only emails Custom accounts with your consent. capabilities required for Custom accounts Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. Show child parameters business_type optional enum The business type.Possible enum valuesindividual company non_profit government_entity US only company optional dictionary Information about the company or business. This field is available for any business_type.Show child parameters individual optional dictionary Information about the person represented by the account. This field is null unless business_type is set to individual.Show child parameters metadata optional dictionary Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata. tos_acceptance optional dictionary Details on the account’s acceptance of the Stripe Services Agreement.Show child parametersMore parametersExpand all  account_token optional   business_profile optional dictionary   default_currency optional   documents optional dictionary   external_account optional dictionary   settings optional dictionary ReturnsReturns an Account object if the call succeeds