> ## 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 payment method mandate document

> Returns a temporary URL to download the signed mandate contract of a `mx_direct_debit` payment method. The payment method must belong to your organization and match the mode (`live` or `test`) of the API key used. The contract is available regardless of the mandate status, including while the mandate is `pending`. The URL expires 5 minutes after the request. The API never returns the consumer's identity documents.



## OpenAPI

````yaml reference/main-api.json GET /v2/payment_methods/{id}/mandate_document
openapi: 3.1.0
info:
  title: fintoc-api
  version: v2026-02-01
servers:
  - url: https://api.fintoc.com
security: []
paths:
  /v2/payment_methods/{id}/mandate_document:
    get:
      tags:
        - Payment methods
      summary: Get a payment method mandate document
      description: >-
        Returns a temporary URL to download the signed mandate contract of a
        `mx_direct_debit` payment method. The payment method must belong to your
        organization and match the mode (`live` or `test`) of the API key used.
        The contract is available regardless of the mandate status, including
        while the mandate is `pending`. The URL expires 5 minutes after the
        request. The API never returns the consumer's identity documents.
      operationId: v2.payment-methods-mandate-document
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: >-
            Identifier of the payment method whose mandate contract you want to
            download.
      responses:
        '200':
          description: >-
            The download URL, filename, and expiration of the signed mandate
            contract.
          content:
            application/json:
              examples:
                payment_method_mandate_document:
                  value:
                    download_url: >-
                      https://storage.example.com/mandates/contract.pdf?signature=2d9a
                    expires_at: '2026-10-04T12:05:00Z'
                    filename: contract.pdf
              schema:
                $ref: '#/components/schemas/payment_method_mandate_document'
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              examples:
                invalid_api_key:
                  value:
                    error:
                      type: authentication_error
                      code: invalid_api_key
                      message: 'Invalid API Key: invalid-*oken'
              schema:
                $ref: '#/components/schemas/error_object'
        '404':
          description: >-
            The payment method does not exist, belongs to another organization,
            or its mode does not match the mode of the API key.
          content:
            application/json:
              examples:
                payment_method_not_found:
                  value:
                    error:
                      type: invalid_request_error
                      code: missing_resource
                      param: id
                      message: 'No such payments/payment_method: pm_nonexistent'
                      doc_url: https://docs.fintoc.com/reference/errors
              schema:
                $ref: '#/components/schemas/error_object'
        '422':
          description: >-
            The payment method is not a `mx_direct_debit` payment method, or
            Fintoc has no mandate contract stored for it.
          content:
            application/json:
              examples:
                mandate_document_not_available:
                  value:
                    error:
                      type: invalid_request_error
                      code: invalid_payment_method_state
                      param: payment_method
                      message: >-
                        Payment method pm_4eFgHiJkLmNoPqRs has no mandate
                        contract
                      doc_url: https://docs.fintoc.com/reference/errors
              schema:
                $ref: '#/components/schemas/error_object'
      security:
        - api_key: []
components:
  schemas:
    payment_method_mandate_document:
      type: object
      description: Download details for the signed mandate contract of a payment method.
      properties:
        download_url:
          type: string
          description: >-
            Temporary URL to download the signed mandate contract as a file. The
            URL expires at `expires_at`. Call the endpoint again to get a new
            URL.
          example: https://storage.example.com/mandates/contract.pdf?signature=2d9a
        expires_at:
          type: string
          format: date-time
          description: ISO 8601 datetime in UTC when the download URL expires.
          example: '2026-10-04T12:05:00Z'
        filename:
          type: string
          description: Name of the signed mandate contract file.
          example: contract.pdf
      required:
        - download_url
        - expires_at
        - filename
    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

````