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

# Update a payment link



## OpenAPI

````yaml /swagger.yml put /api/v0/payment-links/{id}
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/payment-links/{id}:
    put:
      tags:
        - Payment Links
      summary: Update a payment link
      operationId: PaymentLinksController_update
      parameters:
        - name: id
          required: true
          in: path
          description: Payment Link ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePaymentLinkDto'
      responses:
        '200':
          description: The payment link has been successfully updated.
        '404':
          description: Payment link not found.
      security:
        - x-client-secret: []
        - x-client-key: []
components:
  schemas:
    UpdatePaymentLinkDto:
      type: object
      properties: {}
  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.

````