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

# Get current partner settings



## OpenAPI

````yaml /m2m/openapi.json get /partner/settings
openapi: 3.0.0
info:
  title: M2M Partner API
  description: >
    REST API for M2M partner integrations. Create magic links to enable
    cross-border money transfers, manage end users, track transfer operations,
    handle CIP verification, and configure webhooks for real-time event
    notifications.


    ## Authentication


    All endpoints require an API key passed in the `X-API-Key` header. Use
    `m2m_test_*` keys for the sandbox environment.


    ## Environments


    | Environment | Base URL |

    |---|---|

    | Sandbox | `https://m2m-backend-qa.up.railway.app` |
  version: 0.5.3
  contact: {}
servers:
  - url: https://m2m-backend-qa.up.railway.app
    description: Sandbox
security: []
tags:
  - name: Partner - Magic Links
    description: Create, list, and manage magic links for money transfers
  - name: Partner - Users
    description: View and manage end users associated with your partner account
  - name: Partner - Operations
    description: Track money transfer operations and their statuses
  - name: Partner - CIP
    description: Customer Identification Program (CIP) verification management
  - name: Partner - Data Requests
    description: Fulfill data requests for additional user information
  - name: Partner - Settings
    description: Configure partner-level settings (redirect URLs, etc.)
  - name: Partner - Webhooks
    description: Configure webhook endpoints and inspect delivery history
paths:
  /partner/settings:
    get:
      tags:
        - Partner - Settings
      summary: Get current partner settings
      operationId: PartnerSettingsController_getSettings
      parameters: []
      responses:
        '200':
          description: Partner settings retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerSettingsResponseDto'
        '401':
          description: Unauthorized
      security:
        - bearer: []
        - api-key: []
components:
  schemas:
    PartnerSettingsResponseDto:
      type: object
      properties:
        sessionExpiredRedirectUrl:
          type: object
          description: URL to redirect users when their session expires
          example: https://app.example.com/transfer
          nullable: true
      required:
        - sessionExpiredRedirectUrl
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your partner API key. Use `m2m_test_*` keys for the sandbox environment.

````