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

# Create payment link

> Developer API operation for POST /dev/v1/payment-links.



## OpenAPI

````yaml /openapi.json post /dev/v1/payment-links
openapi: 3.0.3
info:
  title: Shoppex Developer API
  description: Mintlify-compatible Developer API reference for Shoppex.
  version: 1.0.0
  contact:
    name: Shoppex Support
    email: support@shoppex.io
    url: https://shoppex.io
servers:
  - url: https://api.shoppex.io
security:
  - bearerAuth: []
paths:
  /dev/v1/payment-links:
    post:
      tags:
        - Payment Links
      summary: Create payment link
      description: Developer API operation for POST /dev/v1/payment-links.
      operationId: postDevV1Payment-links
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              example:
                name: Spring sale
                type: FIXED_PRICE
                status: true
                price: '19.99'
                currency: USD
                gateways: stripe
                products_ids: ''
                discount_code_allowed: false
                customer_address_required: false
                customer_phone_required: false
                show_confirmation_page: false
          multipart/form-data:
            schema:
              type: object
              example:
                name: Spring sale
                type: FIXED_PRICE
                status: true
                price: '19.99'
                currency: USD
                gateways: stripe
                products_ids: ''
                discount_code_allowed: false
                customer_address_required: false
                customer_phone_required: false
                show_confirmation_page: false
          text/plain:
            schema:
              type: object
              example:
                name: Spring sale
                type: FIXED_PRICE
                status: true
                price: '19.99'
                currency: USD
                gateways: stripe
                products_ids: ''
                discount_code_allowed: false
                customer_address_required: false
                customer_phone_required: false
                show_confirmation_page: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    additionalProperties: true
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                example:
                  data:
                    payment_link:
                      uniqid: plink_1
                      name: Spring sale
                      is_active: true
                      show_confirmation_page: false
                      url: https://checkout.shoppex.io/pay/plink_1
      deprecated: false
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Use your Shoppex API key in the Authorization header.

````