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



## OpenAPI

````yaml openapi.json get /payment-link/status
openapi: 3.0.0
info:
  title: Monieswitch API Reference
  version: 1.0.0
  description: ''
servers: []
security:
  - bearerAuth: []
paths:
  /payment-link/status:
    parameters: []
    get:
      tags:
        - Payment Link
      summary: Payment Link Status
      parameters:
        - name: link
          in: query
          required: false
          example: 9an7AOFAvJAUy8VqhD5QdHFywyW2YZ
          schema:
            type: integer
      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: '556'
            ETag:
              schema:
                type: string
              example: W/"22c-lptsW5a2iVh6cwOK7qxLd9PqlsM"
            Vary:
              schema:
                type: string
              example: Accept-Encoding
            Date:
              schema:
                type: string
              example: Wed, 22 Nov 2023 11:50:54 GMT
            Connection:
              schema:
                type: string
              example: keep-alive
            Keep-Alive:
              schema:
                type: string
              example: timeout=5
          description: Payment Link Status
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: boolean
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      publicKey:
                        type: string
                      mode:
                        type: string
                      name:
                        type: string
                      link:
                        type: string
                        format: uri
                      logo:
                        nullable: true
                      email:
                        type: string
                        format: email
                      amount:
                        type: integer
                      bearer:
                        type: string
                      status:
                        type: string
                      channel:
                        type: string
                      reference:
                        type: string
                      amountType:
                        type: string
                      merchantId:
                        type: string
                      subaccountId:
                        nullable: true
                      phoneNumber:
                        nullable: true
                      description:
                        type: string
                        format: style
                      supportCard:
                        type: boolean
                      customerName:
                        nullable: true
                      callbackURL:
                        nullable: true
                      supportBankTransfer:
                        type: boolean
                      extraFields:
                        type: array
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                            required:
                              type: boolean
                            label:
                              type: string
                            name:
                              type: string
                            placeholder:
                              type: string
                            order:
                              type: integer
                      createdAt:
                        type: string
                        format: date-time
                      merchant:
                        type: object
                        properties:
                          id:
                            type: string
                          logo:
                            nullable: true
                          businessName:
                            type: string
                      charges:
                        type: integer
                      payableAmount:
                        type: integer
              example:
                status: true
                message: Operation is successful
                data:
                  id: 53261194-09ac-45ce-b752-a203e53cb0c3
                  publicKey: testing
                  mode: SANDBOX
                  name: XIAOMI REDMI DONATION
                  link: http://localhost:3001/KhBsmQ7kkVgK5qYib4iU3k8QSYH0HtHCbMy1
                  logo: null
                  email: access2emma@gmail.com
                  amount: 2000
                  bearer: account
                  status: ACTIVE
                  channel: API
                  reference: z4E5GNAP4hNkJpdKwVvm4GLS9AShANWMQYKC
                  amountType: FIXED
                  merchantId: 3aed8fe9-2c60-48fe-bea4-71ea8c8f3c84
                  subaccountId: null
                  phoneNumber: null
                  description: |-
                    XIAOMI REDMI A5 - 6.88 3GB RAM/64GB ROM -- Ocean Blue

                    Processor : UNI
                  supportCard: false
                  customerName: null
                  callbackURL: null
                  supportBankTransfer: true
                  extraFields:
                    - type: input
                      required: true
                      label: Name
                      name: name
                      placeholder: Enter Name
                      order: 1
                    - type: input
                      name: email
                      required: false
                      label: Email
                      placeholder: Enter email
                      order: 2
                  createdAt: '2025-05-28T12:01:18.685Z'
                  merchant:
                    id: 3aed8fe9-2c60-48fe-bea4-71ea8c8f3c84
                    logo: null
                    businessName: Kimpembe
                  charges: 34
                  payableAmount: 2000
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````