# Payment Request

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/payment:
    post:
      summary: Payment Request
      deprecated: false
      description: ''
      tags:
        - Accounts Payable/APIs - Accounts Payable /Payment
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentInitiateRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  response_code:
                    type: integer
                  response_message:
                    type: string
                  payload:
                    type: string
                required:
                  - response_code
                  - response_message
                  - payload
                x-apidog-orders:
                  - response_code
                  - response_message
                  - payload
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Accounts Payable/APIs - Accounts Payable /Payment
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-18880652-run
components:
  schemas:
    PaymentInitiateRequest:
      required:
        - paymentIds
        - paymentType
      type: object
      properties:
        paymentIds:
          type: array
          items:
            type: string
        paymentType:
          type: string
          enum:
            - INVOICE
            - GST
            - UTILITY
            - RENTAL
            - CONSENT_TRANSACTION
            - COLLECTION_INVOICE
            - ADVANCE_PAYMENT
        urn:
          type: string
        accountNo:
          type: string
        seamlessBanking:
          type: boolean
        frontendVersion:
          type: boolean
        otpReferenceNumber:
          type: string
        otp:
          pattern: ^[0-9]{6}$
          type: string
        partialPayment:
          type: boolean
        amount:
          type: number
        paymentRemarks:
          type: string
      x-apidog-orders:
        - paymentIds
        - paymentType
        - urn
        - accountNo
        - seamlessBanking
        - frontendVersion
        - otpReferenceNumber
        - otp
        - partialPayment
        - amount
        - paymentRemarks
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
