> ## 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 an account number certificate

> Returns a temporary URL to download the certificate (constancia de cuenta) for a standardized Mexican bank account number (CLABE) as a PDF file. The certificate states the holder's legal name, Mexican tax ID (RFC), fiscal address, and CLABE. It is available for enabled Mexican account numbers in `live` mode only. The URL expires 5 minutes after the request.



## OpenAPI

````yaml reference/main-api.json GET /v2/account_numbers/{id}/certificate
openapi: 3.1.0
info:
  title: fintoc-api
  version: v2026-02-01
servers:
  - url: https://api.fintoc.com
security: []
paths:
  /v2/account_numbers/{id}/certificate:
    get:
      tags:
        - Account numbers
      summary: Get an account number certificate
      description: >-
        Returns a temporary URL to download the certificate (constancia de
        cuenta) for a standardized Mexican bank account number (CLABE) as a PDF
        file. The certificate states the holder's legal name, Mexican tax ID
        (RFC), fiscal address, and CLABE. It is available for enabled Mexican
        account numbers in `live` mode only. The URL expires 5 minutes after the
        request.
      operationId: v2.account-numbers-certificate
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: >-
            Identifier of the account number whose certificate you want to
            download.
      responses:
        '200':
          description: The download URL and expiration of the certificate.
          content:
            application/json:
              examples:
                account_certificate:
                  value:
                    object: account_certificate
                    account_id: acc_31yYL7h9LVPg121AgFtCyJPDsgM
                    account_number_id: acno_32jkR0JJSQtI77ClnTRaH2g3uwh
                    download_url: >-
                      https://storage.example.com/account_certificates/certificate.pdf?signature=2d9a
                    expires_at: '2026-11-09T18:05:00Z'
              schema:
                $ref: '#/components/schemas/account_certificate'
        '400':
          description: The API key is in `test` mode.
          content:
            application/json:
              examples:
                not_supported_mode:
                  value:
                    error:
                      type: invalid_request_error
                      code: not_supported_mode
                      param: mode
                      message: >-
                        Not supported mode: test. Currently, supported modes
                        are: live.
                      doc_url: https://docs.fintoc.com/reference/errors
              schema:
                $ref: '#/components/schemas/error_object'
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_object'
        '404':
          description: >-
            The account number does not exist, belongs to another organization,
            or does not match the mode of the API key used.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_object'
        '422':
          description: >-
            The certificate can't be issued. The message says why, for example
            when the account number is not enabled or the holder's legal
            information is incomplete.
          content:
            application/json:
              examples:
                account_certificate_unavailable:
                  value:
                    error:
                      type: invalid_request_error
                      code: account_certificate_unavailable
                      message: The account number is not enabled
                      doc_url: https://docs.fintoc.com/reference/errors
              schema:
                $ref: '#/components/schemas/error_object'
      security:
        - api_key: []
components:
  schemas:
    account_certificate:
      type: object
      description: >-
        Download details for a constancia de cuenta, the certificate of a
        standardized Mexican bank account number (CLABE).
      properties:
        object:
          type: string
          enum:
            - account_certificate
          description: Type of the object. Always `account_certificate`.
          example: account_certificate
        account_id:
          type: string
          description: Identifier of the account that holds the CLABE.
          example: acc_31yYL7h9LVPg121AgFtCyJPDsgM
        account_number_id:
          type: string
          description: Identifier of the account number (CLABE) the certificate is for.
          example: acno_31yYL5uOb39vzvRIszPhoXYMjt4
        download_url:
          type: string
          description: >-
            Temporary URL to download the certificate as a PDF file. The URL
            expires at `expires_at`. Call the endpoint again to get a new URL.
          example: >-
            https://storage.example.com/account_certificates/certificate.pdf?signature=2d9a
        expires_at:
          type: string
          format: date-time
          description: ISO 8601 datetime in UTC when the download URL expires.
          example: '2026-11-09T18:05:00Z'
      required:
        - object
        - account_id
        - account_number_id
        - download_url
        - expires_at
    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

````