getPaymentTypes

get

/ccstore/v1/payment/types

Get Payment Types. Get payment types

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getPaymentTypes_response
Type: object
Show Source
Nested Schema : items
Type: array
List of enabled payment types
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : img
Type: object
Payment type image URL.
Show Source
Example Response (application/json)
[
    {
        "img":{
            "path":"/ccimg/visa_straight.png",
            "name":"Visa",
            "repositoryId":"imgVisa",
            "url":"http://localhost:8080/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
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top