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

# Create a stablecoin conversion



## OpenAPI

````yaml /swagger.yml post /api/v0/transfers/stablecoin-conversion
openapi: 3.0.0
info:
  title: Devdraft AI Payment & Business Management API
  description: >-

    A comprehensive payment processing and business management API that enables
    seamless integration of cryptocurrency and traditional payment methods.
        
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.devdraft.ai
    description: Production Server
security: []
tags: []
paths:
  /api/v0/transfers/stablecoin-conversion:
    post:
      tags:
        - Transfers
      summary: Create a stablecoin conversion
      operationId: TransferController_createStablecoinConversion
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateStablecoinConversionDto'
      responses:
        '201':
          description: The conversion has been successfully created.
        '400':
          description: Bad Request - Invalid input
        '404':
          description: Not Found - Bridge wallet not found
      security:
        - x-client-secret: []
        - x-client-key: []
components:
  schemas:
    CreateStablecoinConversionDto:
      type: object
      properties:
        walletId:
          type: string
          description: The ID of the bridge wallet to use
        sourceNetwork:
          type: string
          description: The source network
        sourceCurrency:
          type: string
          description: The source currency
        destinationCurrency:
          type: string
          description: The destination currency
        amount:
          type: number
          description: The amount to convert
      required:
        - walletId
        - sourceNetwork
        - sourceCurrency
        - destinationCurrency
        - amount
  securitySchemes:
    x-client-secret:
      type: apiKey
      in: header
      name: x-client-secret
      description: >-
        Your secret API key. Keep this secure and never expose it in client-side
        code.
    x-client-key:
      type: apiKey
      in: header
      name: x-client-key
      description: Your unique client API key. Obtain this from your Devdraft AI dashboard.

````