> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroclick.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an onboarding link

> Creates or reuses the authenticated organization's hosted onboarding account and returns a single-use onboarding URL. The optional country sets where a newly created payout account is based (ISO 3166-1 alpha-2, default US); it cannot be changed after creation and is ignored when an account already exists.



## OpenAPI

````yaml https://api.zeroclick.io/openapi.json post /v1/stripe-connect/account-link
openapi: 3.0.0
info:
  title: ZeroClick API
  description: >-
    REST API for managing ZeroClick sellers, services, pricing, usage, and
    analytics. Authenticate with an API key from the ZeroClick dashboard.
  version: 1.0.0
servers:
  - url: https://api.zeroclick.io
security:
  - bearerAuth: []
tags:
  - name: API keys
  - name: Sellers
  - name: Services
  - name: Meters
  - name: Plans
  - name: Plan meter prices
  - name: Usage
  - name: Analytics
  - name: Agentify
  - name: Stripe Connect
  - name: Sandbox
  - name: Organizations
  - name: Users
paths:
  /v1/stripe-connect/account-link:
    post:
      tags:
        - Stripe Connect
      summary: Create an onboarding link
      description: >-
        Creates or reuses the authenticated organization's hosted onboarding
        account and returns a single-use onboarding URL. The optional country
        sets where a newly created payout account is based (ISO 3166-1 alpha-2,
        default US); it cannot be changed after creation and is ignored when an
        account already exists.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              nullable: true
              type: object
              properties:
                country:
                  type: string
                  enum:
                    - US
                    - CA
                    - GB
                    - AT
                    - BE
                    - BG
                    - CH
                    - CY
                    - CZ
                    - DE
                    - DK
                    - EE
                    - ES
                    - FI
                    - FR
                    - GI
                    - GR
                    - HK
                    - HR
                    - HU
                    - IE
                    - IT
                    - LI
                    - LT
                    - LU
                    - LV
                    - MT
                    - MX
                    - NL
                    - 'NO'
                    - PL
                    - PT
                    - RO
                    - SE
                    - SI
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    format: uri
                required:
                  - url
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                      - organization_required
                      - organization_permission_required
                      - auth_type_not_allowed
                      - stripe_connect_account_not_found
                      - stripe_connect_delete_restricted
                      - stripe_connect_not_configured
                      - seller_not_found
                required:
                  - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                      - organization_required
                      - organization_permission_required
                      - auth_type_not_allowed
                      - stripe_connect_account_not_found
                      - stripe_connect_delete_restricted
                      - stripe_connect_not_configured
                      - seller_not_found
                required:
                  - error
                additionalProperties: false
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                      - organization_required
                      - organization_permission_required
                      - auth_type_not_allowed
                      - stripe_connect_account_not_found
                      - stripe_connect_delete_restricted
                      - stripe_connect_not_configured
                      - seller_not_found
                required:
                  - error
                additionalProperties: false
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                      - organization_required
                      - organization_permission_required
                      - auth_type_not_allowed
                      - stripe_connect_account_not_found
                      - stripe_connect_delete_restricted
                      - stripe_connect_not_configured
                      - seller_not_found
                required:
                  - error
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key created in the ZeroClick dashboard under Settings → API keys.
        Keys start with `zc_`. Send them as `Authorization: Bearer zc_...`.

````