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

# Get Add Fiat Account Widget URL

> This endpoint returns a URL where users can be redirected to connect external fiat payment methods, including credit/debit cards, bank accounts, and SEPA.



## OpenAPI

````yaml /api_reference/onramp.yaml get /payment-methods/widgetUrl
openapi: 3.0.3
info:
  version: '1.0'
  title: Crypto API
  description: Reference for Sardine Crypto API
  contact:
    email: support@sardine.io
    name: Sardine
    url: docs.sardine.io
servers:
  - url: https://api.sandbox.sardine.ai/v1
    description: Sandbox
  - url: https://api.sardine.ai/v1
    description: Prod Server
security: []
paths:
  /payment-methods/widgetUrl:
    get:
      tags:
        - Payment Method
      summary: Get Add Fiat Account Widget URL
      description: >-
        This endpoint returns a URL where users can be redirected to connect
        external fiat payment methods, including credit/debit cards, bank
        accounts, and SEPA.
      operationId: get-fiat-account-widget-url
      parameters:
        - name: userId
          in: query
          description: >-
            The ID of the user for whom the fiat account connection URL is being
            requested
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful response with fiat account connection URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  addFiatAccountUrl:
                    type: string
                    description: URL to redirect the user to connect a fiat payment method
                    format: uri
              examples:
                example-1:
                  value:
                    addFiatAccountUrl: https://connect-fiat.sardine.ai/start?sessionId=xyz789
      security: []
      servers:
        - url: https://api.sandbox.sardine.ai/v1
          description: Sandbox
        - url: https://api.sardine.ai/v1
          description: Prod Server

````