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

# Payment Link Details



## OpenAPI

````yaml openapi.json get /payment-link/details
openapi: 3.0.0
info:
  title: Monieswitch API Reference
  version: 1.0.0
  description: ''
servers: []
security:
  - bearerAuth: []
paths:
  /payment-link/details:
    parameters: []
    get:
      tags:
        - Payment Link
      summary: Payment Link Details
      parameters:
        - name: paymentLinkID
          in: query
          required: false
          example: 9137d72c-34be-4728-ba14-619c9dbdab71
          schema:
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              type: object
            example: {}
      responses:
        '200':
          headers:
            Content-Security-Policy:
              schema:
                type: string
              example: >-
                default-src 'self';base-uri 'self';font-src 'self' https:
                data:;form-action 'self';frame-ancestors 'self';img-src 'self'
                data:;object-src 'none';script-src 'self';script-src-attr
                'none';style-src 'self' https:
                'unsafe-inline';upgrade-insecure-requests
            Cross-Origin-Opener-Policy:
              schema:
                type: string
              example: same-origin
            Cross-Origin-Resource-Policy:
              schema:
                type: string
              example: same-origin
            Origin-Agent-Cluster:
              schema:
                type: string
              example: '?1'
            Referrer-Policy:
              schema:
                type: string
              example: no-referrer
            Strict-Transport-Security:
              schema:
                type: string
              example: max-age=15552000; includeSubDomains
            X-Content-Type-Options:
              schema:
                type: string
              example: nosniff
            X-DNS-Prefetch-Control:
              schema:
                type: string
              example: 'off'
            X-Download-Options:
              schema:
                type: string
              example: noopen
            X-Frame-Options:
              schema:
                type: string
              example: SAMEORIGIN
            X-Permitted-Cross-Domain-Policies:
              schema:
                type: string
              example: none
            X-XSS-Protection:
              schema:
                type: integer
              example: '0'
            Access-Control-Allow-Origin:
              schema:
                type: string
              example: '*'
            Access-Control-Allow-Credentials:
              schema:
                type: boolean
              example: 'true'
            Content-Type:
              schema:
                type: string
              example: application/json; charset=utf-8
            Content-Length:
              schema:
                type: integer
              example: '527'
            ETag:
              schema:
                type: string
              example: W/"20f-Yvzxabg8ute8jWJ55NMu2W8phiY"
            Vary:
              schema:
                type: string
              example: Accept-Encoding
            Date:
              schema:
                type: string
              example: Tue, 21 Nov 2023 14:01:52 GMT
            Connection:
              schema:
                type: string
              example: keep-alive
            Keep-Alive:
              schema:
                type: string
              example: timeout=5
          description: Payment Link Details
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: boolean
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      email:
                        type: string
                        format: email
                      logo:
                        type: string
                        format: uri
                      link:
                        type: string
                        format: uri
                      bearer:
                        type: string
                      hasPaid:
                        type: boolean
                      status:
                        type: string
                      amount:
                        type: integer
                      reference:
                        type: string
                      createdAt:
                        type: string
                        format: date-time
                      webhookURL:
                        nullable: true
                      merchantId:
                        type: string
                      amountType:
                        type: string
                      callbackURL:
                        nullable: true
                      isOneTimeUse:
                        type: boolean
                      subaccountId:
                        nullable: true
                      description:
                        type: string
                        format: style
                      supportCard:
                        type: boolean
                      phoneNumber:
                        nullable: true
                      extraFields:
                        nullable: true
                      supportBankTransfer:
                        type: boolean
                      transaction:
                        nullable: true
                      charges:
                        type: number
                      payableAmount:
                        type: integer
              example:
                status: true
                message: Operation is successful
                data:
                  id: 14340e69-d632-46c0-abb0-afc7d486f24e
                  name: XIAOMI REDMI DONATION
                  email: access2emma@gmail.com
                  logo: >-
                    https://d1hhqx6q67lhms.cloudfront.net/Ck2jHba7OzcBAbvsbt9Dxj2iF_Background-Image-2x.jpg
                  link: http://localhost:3001/65j83QBEcCVGFlVQxIOLvlxhwn2rsn
                  bearer: account
                  hasPaid: false
                  status: ACTIVE
                  amount: 3700
                  reference: GZhxwXkeCYmSGno4Rdy6fn1ixgEhIa
                  createdAt: '2025-08-05T20:21:14.826Z'
                  webhookURL: null
                  merchantId: 3aed8fe9-2c60-48fe-bea4-71ea8c8f3c84
                  amountType: FIXED
                  callbackURL: null
                  isOneTimeUse: false
                  subaccountId: null
                  description: |-
                    XIAOMI REDMI A5 - 6.88 3GB RAM/64GB ROM -- Ocean Blue

                    Processor : UNI
                  supportCard: true
                  phoneNumber: null
                  extraFields: null
                  supportBankTransfer: true
                  transaction: null
                  charges: 112.9
                  payableAmount: 3700
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````