# Get BNPL Payment Methods

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/orders/{orderId}/bnpl-options:
    get:
      summary: Get BNPL Payment Methods
      deprecated: false
      description: >-

        :::highlight purple 📌

        Use this API to retrieve the available BNPL (Buy Now, Pay Later) payment
        methods supported by EnKash. This allows you to display eligible
        financing options to users during checkout, enhancing flexibility and
        conversion.

        :::
      operationId: bnplOptions
      tags:
        - Payment Gateway/APIs - Payment Gateway /Order
        - order-controller
      parameters:
        - name: orderId
          in: path
          description: EnKash orderId, received in response of create order API
          required: true
          schema:
            type: string
        - name: mobile
          in: query
          description: Customer mobile number used for order creation
          required: false
          schema:
            type: string
            pattern: '[6-9][0-9]{9}'
        - name: Authorization
          in: header
          description: Token generated with your Access key and secret key
          required: true
          example: ''
          schema:
            type: string
        - name: merchantAccessKey
          in: header
          description: The access key generated for your account
          required: true
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ApplicationResponsePayLaterPaymentModeResponse
          headers: {}
          x-apidog-name: OK
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  response_code:
                    type: integer
                    description: Application-level status code
                  response_message:
                    type: string
                    description: High-level description of the error.
                  payload:
                    type: string
                    description: Contains detailed error information.
                required:
                  - response_code
                  - response_message
                  - payload
                x-apidog-orders:
                  - response_code
                  - response_message
                  - payload
                  - 01KJTHG2PYAGMT9WCRBND6A4CA
                x-apidog-ignore-properties: []
              example:
                response_code: 158
                response_message: Your order has been expired.
                payload: Your order has been expired.
          headers: {}
          x-apidog-name: Bad Request
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  response_code:
                    type: integer
                    description: Application-level status code
                  response_message:
                    type: string
                    description: High-level description of the error.
                  payload:
                    type: string
                    description: Contains detailed error information.
                required:
                  - response_code
                  - response_message
                  - payload
                x-apidog-orders:
                  - response_code
                  - response_message
                  - payload
                x-apidog-ignore-properties: []
              example:
                response_code: 1
                response_message: Access is denied
                payload: Access is denied
          headers: {}
          x-apidog-name: Invalid Access Key
        '504':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
              example: |-
                <html>
                <head><title>504 Gateway Time-out</title></head>
                <body>
                <center><h1>504 Gateway Time-out</h1></center>
                </body>
                </html>
          headers: {}
          x-apidog-name: Bad Gateway
        x-400:Invalid order Id:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  response_code:
                    type: integer
                    description: Application-level status code
                  response_message:
                    type: string
                    description: High-level description of the error.
                  payload:
                    type: string
                    description: Contains detailed error information.
                required:
                  - response_code
                  - response_message
                  - payload
                x-apidog-orders:
                  - response_code
                  - response_message
                  - payload
                x-apidog-ignore-properties: []
              example:
                response_code: 157
                response_message: Invalid OrderId
                payload: Invalid OrderId
          headers: {}
          x-apidog-name: Invalid order Id
      security: []
      x-apidog-folder: Payment Gateway/APIs - Payment Gateway /Order
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-8990251-run
components:
  schemas:
    ApplicationResponsePayLaterPaymentModeResponse:
      type: object
      properties:
        response_code:
          type: integer
          format: int32
          description: Application-level status code
        response_message:
          type: string
          description: High-level status description.
        payload:
          type: object
          properties:
            paymentModes:
              type: object
              properties:
                name:
                  type: string
                  description: Name of the payment option
                code:
                  type: string
                  description: Code of the payment option
              x-apidog-orders:
                - name
                - code
              description: >-
                List of supported payment options for the mobile number given on
                the order
              x-apidog-ignore-properties: []
            bnplPaymentOptionId:
              type: string
              description: >-
                BNPL payment option Id to be passed in Submit Payment Detail API
                in case of paymentMode is PAY_LATER
          x-apidog-orders:
            - paymentModes
            - bnplPaymentOptionId
          required:
            - paymentModes
            - bnplPaymentOptionId
          x-apidog-ignore-properties: []
      x-apidog-orders:
        - response_code
        - response_message
        - payload
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
