# Payment Modes Details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/merchant-payment-mode/details:
    get:
      summary: Payment Modes Details
      deprecated: false
      description: >-
        Get detailed list of all payment modes and subtypes and their status.

        In case of Cards, bankcode refers to CardScheme (eg. VISA,MASTERCARD
        etc)
      tags:
        - Payment Gateway/APIs - Payment Gateway /Authorization
      parameters:
        - name: merchantDetailid
          in: query
          description: Only for Partner Users
          required: false
          schema:
            type: string
        - 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:
                type: object
                properties:
                  response_code:
                    type: integer
                    description: Status code of the API response.
                    x-apidog-mock: '0'
                  response_message:
                    type: string
                    description: Human-readable message describing the response status
                    x-apidog-mock: SUCCESS
                  payload:
                    type: object
                    properties:
                      card:
                        type: object
                        properties:
                          active:
                            type: boolean
                            description: >-
                              Indicates whether card payment mode is enabled for
                              the merchant
                          prepaid:
                            type: object
                            properties:
                              active:
                                type: boolean
                                description: Indicates if prepaid cards are enabled.
                              bankCodes:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      description: >-
                                        Internal system code representing the
                                        bank/network/wallet.
                                    active:
                                      type: boolean
                                      description: >-
                                        Indicates whether this specific
                                        bank/network is enabled.
                                    name:
                                      type: string
                                      description: Display name of the bank/network/wallet
                                  x-apidog-orders:
                                    - code
                                    - active
                                    - name
                                description: List of supported card networks for prepaid.
                            required:
                              - active
                              - bankCodes
                            x-apidog-orders:
                              - active
                              - bankCodes
                            description: Configuration for prepaid cards.
                          credit:
                            type: object
                            properties:
                              active:
                                type: boolean
                                description: indicates if credit cards are enabled
                              bankCodes:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      description: >-
                                        Internal system code representing the
                                        bank/network/wallet.
                                    active:
                                      type: boolean
                                      description: >-
                                        Indicates whether this specific
                                        bank/network is enabled.
                                    name:
                                      type: string
                                      description: Display name of the bank/network/wallet
                                  x-apidog-orders:
                                    - code
                                    - active
                                    - name
                                description: List of supported card networks for credit.
                            required:
                              - active
                              - bankCodes
                            x-apidog-orders:
                              - active
                              - bankCodes
                            description: Configuration for credit cards.
                          debit:
                            type: object
                            properties:
                              active:
                                type: boolean
                                description: Indicates if debit cards are enabled.
                              bankCodes:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      description: >-
                                        Internal system code representing the
                                        bank/network/wallet.
                                    active:
                                      type: boolean
                                      description: >-
                                        Indicates whether this specific
                                        bank/network is enabled.
                                    name:
                                      type: string
                                      description: Display name of the bank/network/wallet
                                  x-apidog-orders:
                                    - code
                                    - active
                                    - name
                                description: List of supported card networks for debit.
                            required:
                              - active
                              - bankCodes
                            x-apidog-orders:
                              - active
                              - bankCodes
                            description: Configuration for debit cards.
                          corporate:
                            type: object
                            properties:
                              active:
                                type: boolean
                                description: Indicates if corporate cards are enabled.
                              bankCodes:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      description: >-
                                        Internal system code representing the
                                        bank/network/wallet.
                                    active:
                                      type: boolean
                                      description: >-
                                        Indicates whether this specific
                                        bank/network is enabled.
                                    name:
                                      type: string
                                      description: Display name of the bank/network/wallet
                                  x-apidog-orders:
                                    - code
                                    - active
                                    - name
                                description: >-
                                  List of supported card networks for corporate
                                  cards.
                            required:
                              - active
                              - bankCodes
                            x-apidog-orders:
                              - active
                              - bankCodes
                            description: Configuration for corporate cards.
                          upi_credit_card:
                            type: object
                            properties:
                              active:
                                type: boolean
                                description: >-
                                  Indicates if UPI credit card payments are
                                  enabled
                              bankCodes:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      description: >-
                                        Internal system code representing the
                                        bank/network/wallet.
                                    active:
                                      type: boolean
                                      description: >-
                                        Indicates whether this specific
                                        bank/network is enabled.
                                    name:
                                      type: string
                                      description: Display name of the bank/network/wallet
                                  x-apidog-orders:
                                    - code
                                    - active
                                    - name
                                description: >-
                                  List of supported card networks (may be empty
                                  if inactive).
                            required:
                              - active
                              - bankCodes
                            x-apidog-orders:
                              - active
                              - bankCodes
                            description: Configuration for UPI-linked credit cards.
                        required:
                          - active
                          - prepaid
                          - credit
                          - debit
                          - corporate
                          - upi_credit_card
                        x-apidog-orders:
                          - active
                          - prepaid
                          - credit
                          - debit
                          - corporate
                          - upi_credit_card
                        description: Contains card payment configuration details.
                      netbanking:
                        type: object
                        properties:
                          active:
                            type: boolean
                            description: Indicates whether netbanking is enabled.
                          retail:
                            type: object
                            properties:
                              active:
                                type: boolean
                                description: Indicates if retail netbanking is enabled.
                              bankCodes:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      description: >-
                                        Internal system code representing the
                                        bank/network/wallet.
                                    active:
                                      type: boolean
                                      description: >-
                                        Indicates whether this specific
                                        bank/network is enabled.
                                    name:
                                      type: string
                                      description: Display name of the bank/network/wallet
                                  x-apidog-orders:
                                    - code
                                    - active
                                    - name
                                description: List of supported retail banks
                            required:
                              - active
                              - bankCodes
                            x-apidog-orders:
                              - active
                              - bankCodes
                            description: Configuration for retail netbanking users.
                          corporate:
                            type: object
                            properties:
                              active:
                                type: boolean
                                description: Indicates if corporate netbanking is enabled
                              bankCodes:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      description: >-
                                        Internal system code representing the
                                        bank/network/wallet.
                                    active:
                                      type: boolean
                                      description: >-
                                        Indicates whether this specific
                                        bank/network is enabled.
                                    name:
                                      type: string
                                      description: Display name of the bank/network/wallet
                                  x-apidog-orders:
                                    - code
                                    - active
                                    - name
                                description: List of supported corporate banks
                            required:
                              - active
                              - bankCodes
                            x-apidog-orders:
                              - active
                              - bankCodes
                            description: >-
                              Configuration for corporate netbanking (CIB –
                              Corporate Internet Banking)
                        required:
                          - active
                          - retail
                          - corporate
                        x-apidog-orders:
                          - active
                          - retail
                          - corporate
                        description: Configuration for netbanking payments.
                      wallet:
                        type: object
                        properties:
                          active:
                            type: boolean
                            description: Indicates whether wallet payments are enabled.
                          bankCodes:
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Internal system code representing the
                                    bank/network/wallet.
                                active:
                                  type: boolean
                                  description: >-
                                    Indicates whether this specific bank/network
                                    is enabled.
                                name:
                                  type: string
                                  description: Display name of the bank/network/wallet
                              x-apidog-orders:
                                - code
                                - active
                                - name
                            description: List of supported wallets
                        required:
                          - active
                          - bankCodes
                        x-apidog-orders:
                          - active
                          - bankCodes
                        description: Configuration for wallet-based payments
                      upi:
                        type: boolean
                        description: UPI payment mode is enabled.
                    required:
                      - card
                      - netbanking
                      - wallet
                      - upi
                    x-apidog-orders:
                      - card
                      - netbanking
                      - wallet
                      - upi
                    description: Contains available payment modes and their configurations.
                required:
                  - response_code
                  - response_message
                  - payload
                x-apidog-orders:
                  - response_code
                  - response_message
                  - payload
              example:
                response_code: 0
                response_message: Success
                payload:
                  card:
                    active: true
                    prepaid:
                      active: true
                      bankCodes:
                        - code: MASTERCARD
                          active: true
                          name: MASTERCARD
                        - code: VISA
                          active: true
                          name: VISA
                        - code: RUPAY
                          active: true
                          name: RUPAY
                        - code: DINERS
                          active: true
                          name: DINERS
                    credit:
                      active: true
                      bankCodes:
                        - code: MASTERCARD
                          active: true
                          name: MASTERCARD
                        - code: VISA
                          active: true
                          name: VISA
                        - code: RUPAY
                          active: true
                          name: RUPAY
                        - code: DINERS
                          active: true
                          name: DINERS
                    debit:
                      active: true
                      bankCodes:
                        - code: MASTERCARD
                          active: true
                          name: MASTERCARD
                        - code: VISA
                          active: true
                          name: VISA
                        - code: RUPAY
                          active: true
                          name: RUPAY
                        - code: DINERS
                          active: true
                          name: DINERS
                    corporate:
                      active: true
                      bankCodes:
                        - code: MASTERCARD
                          active: true
                          name: MASTERCARD
                        - code: VISA
                          active: true
                          name: VISA
                        - code: RUPAY
                          active: true
                          name: RUPAY
                        - code: DINERS
                          active: true
                          name: DINERS
                    upi_credit_card:
                      active: false
                      bankCodes: []
                  netbanking:
                    active: true
                    retail:
                      active: true
                      bankCodes:
                        - code: NB002
                          active: true
                          name: Airtel Payments Bank
                        - code: NB007
                          active: true
                          name: Axis Bank
                        - code: NB009
                          active: true
                          name: Bandhan Bank
                        - code: NB010
                          active: true
                          name: Bank of Baharin and Kuwait
                        - code: NB011
                          active: true
                          name: Bank of Baroda
                        - code: NB013
                          active: true
                          name: Bank of India
                        - code: NB014
                          active: true
                          name: Bank of Maharashtra
                        - code: NB015
                          active: true
                          name: Canara Bank
                        - code: NB016
                          active: true
                          name: Catholic Syrian Bank
                        - code: NB017
                          active: true
                          name: Central Bank of India
                        - code: NB019
                          active: true
                          name: City Union Bank
                        - code: NB021
                          active: true
                          name: Cosmos Bank
                        - code: NB022
                          active: true
                          name: DBS Bank
                        - code: NB023
                          active: true
                          name: DCB
                        - code: NB024
                          active: true
                          name: Deutsche Bank
                        - code: NB025
                          active: true
                          name: Dhanlaxmi Bank
                        - code: NB026
                          active: true
                          name: Federal Bank
                        - code: NB027
                          active: true
                          name: HDFC Bank
                        - code: NB028
                          active: true
                          name: ICICI Bank
                        - code: NB030
                          active: true
                          name: IDBI Bank
                        - code: NB031
                          active: true
                          name: IDFC First Bank
                        - code: NB032
                          active: true
                          name: Indian Bank
                        - code: NB033
                          active: true
                          name: Indian Overseas Bank
                        - code: NB034
                          active: true
                          name: Indusind Bank
                        - code: NB035
                          active: true
                          name: Jammu & Kashmir Bank
                        - code: NB036
                          active: true
                          name: Janata Sahakari Bank
                        - code: NB037
                          active: true
                          name: Karnataka Bank
                        - code: NB038
                          active: true
                          name: Karur Vysya Bank
                        - code: NB039
                          active: true
                          name: Kotak Mahindra Bank
                        - code: NB042
                          active: true
                          name: Jana Small Finance Bank
                        - code: NB043
                          active: true
                          name: Punjab National Bank
                        - code: NB045
                          active: true
                          name: RBL Bank
                        - code: NB046
                          active: true
                          name: Saraswat Bank
                        - code: NB047
                          active: true
                          name: State Bank Of India
                        - code: NB048
                          active: true
                          name: Shamrao Vithal Bank
                        - code: NB049
                          active: true
                          name: South Indian Bank
                        - code: NB050
                          active: true
                          name: Standard Chartered Bank
                        - code: NB057
                          active: true
                          name: Suryoday Small Finance Bank Ltd
                        - code: NB059
                          active: true
                          name: Tamilnad Mercantile Bank
                        - code: NB060
                          active: true
                          name: UCO Bank
                        - code: NB061
                          active: true
                          name: Ujjivan Small Finance Bank
                        - code: NB062
                          active: true
                          name: Union Bank of India
                        - code: NB063
                          active: true
                          name: United Bank of India
                        - code: NB065
                          active: true
                          name: YES Bank
                        - code: NB066
                          active: true
                          name: AU Small Finance Bank
                        - code: NB069
                          active: true
                          name: Punjab and Sind Bank
                        - code: NB071
                          active: true
                          name: HSBC
                        - code: NB073
                          active: true
                          name: Andhra Pragathi Grameena Bank
                        - code: NB074
                          active: true
                          name: Bassien Catholic Coop Bank
                        - code: NB078
                          active: true
                          name: Equitas Small Finance Bank
                        - code: NB079
                          active: true
                          name: ESAF Small Finance Bank
                        - code: NB080
                          active: true
                          name: Fincare Bank
                        - code: NB081
                          active: true
                          name: Karnataka Gramin Bank
                        - code: NB082
                          active: true
                          name: Kalyan Janata Sahakari Bank
                        - code: NB083
                          active: true
                          name: Karnataka Vikas Grameena Bank
                        - code: NB084
                          active: true
                          name: Mehsana urban Co-op Bank
                        - code: NB085
                          active: true
                          name: NKGSB Co-op Bank
                        - code: NB086
                          active: true
                          name: Nutan Nagarik Sahakari Bank Limited
                        - code: NB087
                          active: true
                          name: Shivalik Mercantile Cooperative Bank Ltd
                        - code: NB088
                          active: true
                          name: Thane Bharat Sahakari Bank Ltd
                        - code: NB089
                          active: true
                          name: TJSB Bank
                        - code: NB090
                          active: true
                          name: The Kalupur Commercial Co-Operative Bank
                        - code: NB091
                          active: true
                          name: Tamil Nadu State Co-operative Bank
                        - code: NB092
                          active: true
                          name: Zoroastrian Co-Operative Bank Ltd
                    corporate:
                      active: true
                      bankCodes:
                        - code: NB008
                          active: true
                          name: Axis Bank - CIB
                        - code: NB012
                          active: true
                          name: Bank of Baroda - CIB
                        - code: NB029
                          active: true
                          name: ICICI Bank - CIB
                        - code: NB044
                          active: true
                          name: Punjab National Bank - CIB
                        - code: NB075
                          active: true
                          name: BNP Paribas
                        - code: NB076
                          active: true
                          name: DCB - CIB
                        - code: NB093
                          active: true
                          name: Bank of India - CIB
                        - code: NB094
                          active: true
                          name: City Union Bank - CIB
                        - code: NB095
                          active: true
                          name: Deutsche Bank - CIB
                        - code: NB096
                          active: true
                          name: Indian Overseas Bank - CIB
                        - code: NB097
                          active: true
                          name: State Bank Of India - CIB
                        - code: NB098
                          active: true
                          name: Union Bank of India - CIB
                  wallet:
                    active: true
                    bankCodes:
                      - code: WA001
                        active: true
                        name: airtel
                      - code: WA002
                        active: true
                        name: amazon pay
                      - code: WA003
                        active: true
                        name: bajaj pay
                      - code: WA004
                        active: true
                        name: google pay
                      - code: WA005
                        active: true
                        name: jio
                      - code: WA006
                        active: true
                        name: mobikwik
                      - code: WA007
                        active: true
                        name: paytm
                      - code: WA008
                        active: true
                        name: phonepe
                  upi: true
          headers: {}
          x-apidog-name: Success
        '504':
          description: ''
          content:
            application/json:
              schema:
                type: object
                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: Gateway Time-out
      security: []
      x-apidog-folder: Payment Gateway/APIs - Payment Gateway /Authorization
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-21510069-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
