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

# Create Paylink Payment

> Create a payment for a specific paylink. Does not require authentication.



## OpenAPI

````yaml POST /transactions/payment/paylink
openapi: 3.0.3
info:
  title: OraFi Merchant API
  description: Seamless crypto payments API for merchants
  version: 1.0.0
  contact:
    name: OraFi Support
    email: support@orafi.app
servers:
  - url: https://api.orafi.app/v1
    description: Production server
  - url: http://localhost:3000/v1
    description: Local development server
security: []
tags:
  - name: Paylinks
    description: Paylink management endpoints
  - name: Payments
    description: Payment creation and verification endpoints
  - name: Customers
    description: Customer management endpoints
  - name: Transactions
    description: Transaction retrieval and payout endpoints
  - name: Refunds
    description: Refund management endpoints
  - name: Webhooks
    description: Webhook registration and management
  - name: Profile
    description: Business profile settings
  - name: Settlements
    description: Settlement account management
  - name: Fiat
    description: Fiat-related endpoints
  - name: Business
    description: Business mode and settings
  - name: Notifications
    description: Notification preferences
  - name: Subscriptions
    description: Subscription plans and customer subscriptions
paths:
  /transactions/payment/paylink:
    post:
      tags:
        - Payments
      summary: Create paylink payment
      description: >-
        Create a payment for a specific paylink. Does not require
        authentication.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                paylinkId:
                  description: The paylink ID
                  type: string
                  example: paylink_123
                customer:
                  type: object
                  properties:
                    fullname:
                      type: string
                      example: John Doe
                    email:
                      type: string
                      format: email
                      example: john@example.com
                  required:
                    - fullname
                    - email
              required:
                - paylinkId
                - customer
      responses:
        '201':
          description: Paylink payment created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Payment created successfully
                  data:
                    type: object
                    properties:
                      transaction:
                        type: object
                        properties:
                          mode:
                            type: string
                            enum:
                              - live
                              - test
                          amount:
                            type: number
                          currency:
                            type: string
                          id:
                            type: string
                          network:
                            type: string
                            enum:
                              - SUI
                          amountInUSDC:
                            type: number
                          profile:
                            type: object
                            properties:
                              id:
                                type: string
                              businessName:
                                type: string
                              user:
                                type: object
                                properties:
                                  email:
                                    type: string
                          payment:
                            type: object
                            nullable: true
                            properties:
                              id:
                                type: string
                              subscriptionId:
                                type: string
                                nullable: true
                              redirectUrl:
                                type: string
                                nullable: true
                      checkoutUrl:
                        type: string
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  responses:
    BadRequest:
      description: Bad request - Invalid input or validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              message:
                type: string
                example: Validation error message

````