> ## 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.

# Resolve a (origin, destination, payout, ...) intent for the partner



## OpenAPI

````yaml /raas-widgets/openapi.json post /partner/catalog/resolve
openapi: 3.0.0
info:
  title: RaaS Widgets Partner API
  description: >
    REST API for RaaS Widgets partner integrations. Create magic links for
    embeddable flows, manage end users, track transfer operations, handle CIP
    verification, and configure webhooks for real-time event notifications.


    This specification covers the **Partner-accessible API** only (`X-API-Key`
    against `/partner/*`). Widget and Superadmin APIs are out of scope.


    ## Authentication


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


    ## Environments


    | Environment | Base URL |

    |---|---|

    | Sandbox | `https://api.sandbox.raas-widgets.leapfinancial.com` |
  version: 3.3.0
  contact: {}
servers:
  - url: https://api.sandbox.raas-widgets.leapfinancial.com
    description: Sandbox
security: []
tags:
  - name: Partner - Magic Links
    description: Create, list, and manage magic links for flows
  - name: Partner - Flows
    description: List enabled flows and the full flow catalog
  - 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 - Requests
    description: List and inspect money-request records
  - name: Partner - Deferred Payouts
    description: List, inspect, and cancel deferred payout remittances
  - 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, logo, etc.)
  - name: Partner - Webhooks
    description: Configure webhook endpoints and inspect delivery history
  - name: Partner - Pricing
    description: >-
      Indicative pre-quote summaries (best / worst / averages) for partner
      integrations
paths:
  /partner/catalog/resolve:
    post:
      tags:
        - Partner - Catalog
      summary: Resolve a (origin, destination, payout, ...) intent for the partner
      operationId: PartnerCatalogController_resolve
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveCapabilityRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResolveCapabilityResponseDto'
      security:
        - api-key: []
components:
  schemas:
    ResolveCapabilityRequestDto:
      type: object
      properties:
        originCountryCode:
          type: string
          description: ISO 3166-1 alpha-2 origin country
          example: US
        destinationCountryCode:
          type: string
          description: ISO 3166-1 alpha-2 destination
          example: MX
        payoutMethod:
          type: string
          enum:
            - CASH_PICKUP
            - BANK_ACCOUNT
            - PUSH_TO_CARD
            - MOBILE_WALLET
            - HOME_DELIVERY
        stateCode:
          type: string
        cityCode:
          type: string
        payerCode:
          type: string
        currencyCode:
          type: string
          description: >-
            Optional currency filter. Currency is no longer part of
            `capabilityKey`; this filter narrows down the resolved capability
            when multiple currencies are supported.
        fundingMethod:
          type: string
          enum:
            - DEBIT_CARD
            - CREDIT_CARD
            - ACH
            - RTP
            - WALLET
            - CASH_DEPOSIT
            - BANK_BALANCE
      required:
        - originCountryCode
        - destinationCountryCode
        - payoutMethod
    ResolveCapabilityResponseDto:
      type: object
      properties:
        capabilityKey:
          type: string
        effectiveStatus:
          type: string
          enum:
            - AVAILABLE
            - UNAVAILABLE
        supportedByCorridors:
          type: array
          items:
            $ref: '#/components/schemas/ResolveSupportingCorridorDto'
        unavailableReasons:
          type: array
          items:
            type: string
            enum:
              - PROVIDER_NOT_SUPPORTED
              - PLATFORM_DISABLED
              - PARTNER_DISABLED
              - NO_ENABLED_CORRIDOR_FOR_PARTNER
              - CORRIDOR_SUSPENDED
              - FUNDING_NOT_SUPPORTED
              - MAPPING_REVIEW_REQUIRED
              - NOT_QUOTABLE
              - NO_MATCHING_CAPABILITY
      required:
        - capabilityKey
        - effectiveStatus
        - supportedByCorridors
    ResolveSupportingCorridorDto:
      type: object
      properties:
        corridorCode:
          type: string
        status:
          type: string
        supportedFundingMethods:
          type: array
          items:
            type: string
      required:
        - corridorCode
        - status
        - supportedFundingMethods
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Your partner API key. Use `raas_sandbox_*` keys for the sandbox
        environment and `raas_live_*` keys for production.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.