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

# Get a setup intent

> Retrieves the setup intent with the given `id`. The setup intent must belong to your organization and match the `live` or `test` mode of the API key used.

**`v2`** · Base URL `https://api.fintoc.com/v2`


## OpenAPI

````yaml reference/fintoc-api-v2.json GET /setup_intents/{id}
openapi: 3.1.0
info:
  title: fintoc-api-v2
  version: v2026-02-01
servers:
  - url: https://api.fintoc.com/v2
security: []
paths:
  /setup_intents/{id}:
    get:
      tags:
        - Setup intents
      summary: Get a setup intent
      description: >-
        Retrieves the setup intent with the given `id`. The setup intent must
        belong to your organization and match the `live` or `test` mode of the
        API key used.
      operationId: setup-intents-get
      parameters:
        - name: id
          in: path
          description: Unique identifier of the setup intent to retrieve.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The setup intent with the given `id`.
          content:
            application/json:
              examples:
                setup_intent:
                  value:
                    id: seti_2cKoy3PEXAuvkr4ofXC1KdMvCgZ
                    object: setup_intent
                    status: failed
                    error_reason: invalid_card
              schema:
                $ref: '#/components/schemas/setup_intent'
        '404':
          description: >-
            The setup intent does not exist, belongs to another organization, or
            does not match the mode of the API key used.
          content:
            application/json:
              examples:
                missing_setup_intent:
                  value:
                    error:
                      type: invalid_request_error
                      code: missing_resource
                      param: id
                      message: 'No such setup_intent: seti_nonexistent'
                      doc_url: https://docs.fintoc.com/reference/errors
              schema:
                $ref: '#/components/schemas/error_object'
      security:
        - api_key: []
components:
  schemas:
    setup_intent:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the setup intent.
          example: seti_xL9mPq2RkV3WnDQG
        object:
          const: setup_intent
          description: Type of the object. Always `setup_intent`.
        error_reason:
          type:
            - string
            - 'null'
          enum:
            - null
            - login_invalid_credentials
            - login_credentials_locked
            - authorization_timeout
            - mfa_authorization_timeout
            - mfa_unavailable
            - bank_connection_error
            - bank_not_available
            - password_change_required
            - request_timeout
            - subscription_intent_expired
            - account_type_not_permitted
            - internal_error
            - user_left
            - card_declined
            - invalid_card_credentials
            - invalid_card
            - authentication_failed
            - insufficient_funds
          description: >-
            Error code describing why the latest setup attempt failed. `null`
            until an attempt fails and when the setup succeeds.
          example: invalid_card
        status:
          type: string
          enum:
            - created
            - started
            - waiting_for_retry
            - succeeded
            - failed
          description: >-
            Lifecycle status of the setup intent. One of `created`, `started`,
            `waiting_for_retry`, `succeeded`, or `failed`.
          example: failed
      required:
        - id
        - object
        - error_reason
        - status
    error_object:
      type: object
      properties:
        error:
          type: object
          description: Details of the error that caused the request to fail.
          properties:
            code:
              type: string
              description: >-
                Machine-readable code identifying the specific error, for
                example `invalid_api_key`. Not returned by every error.
              example: invalid_api_key
            doc_url:
              type: string
              description: >-
                URL of a documentation page with more details about the error.
                Not returned by every error.
              example: https://docs.fintoc.com/reference/errors
            message:
              type: string
              description: Human-readable message describing the error.
              example: 'Invalid API Key: invalid-*oken'
            param:
              type:
                - string
                - 'null'
              description: >-
                Name of the request parameter that caused the error. `null` when
                the error cannot be tied to a single parameter, and not returned
                by every error.
              example: amount
            type:
              type: string
              description: >-
                Category of the error, for example `invalid_request_error`,
                `authentication_error`, or `api_error`.
              example: invalid_request_error
          required:
            - type
            - message
  securitySchemes:
    api_key:
      type: apiKey
      name: Authorization
      in: header

````