getPaymentTypes
get
                    /ccadmin/v1/merchant/paymentTypes
Get Payment Types. Get all payment types.
                
                Request
Supported Media Types
                - application/json
 
Query Parameters
                - 
                        limit: integer
                        
                        The number of items per block
 - 
                        offset: integer
                        
                        startingIndex the index of the first item to return
 - 
                        sort: string
                        
                        Sort Option id: Sort order
 - 
                        totalResults: boolean
                        
                        flag to include total count of items
 
Response
Supported Media Types
                - application/json
 
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getPaymentTypes_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            items: 
            array  items
            
            List of payment types.
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            code: 
            string
            The payment gateway specific code for the payment type.
 - 
            cvvLength: 
            integer
            Valid cvv length.
 - 
            iin: 
            string
            Issuer identification number for the payment type.
 - 
            img: 
            object  img
            
            Payment type image URL.
 - 
            length: 
            string
            Valid card number length.
 - 
            name: 
            string
            The internal name for the payment type.
 - 
            repositoryId: 
            string
            The repository ID of the payment type item.
 - 
            startDateRequired: 
            boolean
            Whether the the start date of the credit card is required for this payment type.
 - 
            type: 
            string
            Kind of payment type.For e.g.: card,check,etc.
 - 
            value: 
            string
            The value for the payment type.
 
Nested Schema : img
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectPayment type image URL.
    
    
    
    
    Show Source
        - 
            name: 
            string
            Name of the image.
 - 
            path: 
            string
            Relative path of the image.
 - 
            repositoryId: 
            string
            The id of the media external image file.
 - 
            url: 
            string
            The derived URL for the image.
 
Example Response (application/json)
                    {
    "items":[
        {
            "img":{
                "path":"/ccimg/visa_straight.png",
                "name":"Visa",
                "repositoryId":"imgVisa",
                "url":"http://localhost:9080/file/ccimg/visa_straight.png"
            },
            "code":"001",
            "name":"Visa",
            "startDateRequired":false,
            "length":"13|16",
            "repositoryId":"visa",
            "type":"card",
            "value":"visa",
            "cvvLength":3,
            "iin":"4"
        }
    ]
}
                    
                    Default Response
The error response
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            devMessage: 
            string
            An optional non-localized message containing technical information for developers
 - 
            errorCode: 
            string
            The numerical code identifying the error
 - 
            errors: 
            array  errors
            
            An optional list of errors if multiple errors were encountered
 - 
            message: 
            string
            The localized message describing the error
 - 
            moreInfo: 
            string
            An optional non-localized message with more information
 - 
            o:errorPath: 
            string
            An optional machine readable description of where the error occurred
 - 
            status: 
            string
            The HTTP status code
 - 
            type: 
            string
            The URI to the HTTP state code definition
 
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            devMessage: 
            string
            An optional non-localized message containing technical information for developers
 - 
            errorCode: 
            string
            The numerical code identifying the error
 - 
            message: 
            string
            The localized message describing the error
 - 
            moreInfo: 
            string
            An optional non-localized message with more information
 - 
            o:errorPath: 
            string
            An optional machine readable description of where the error occurred
 - 
            status: 
            string
            The HTTP status code