getPaymentTypes

get

/ccagent/v1/merchant/paymentTypes

Get Payment Types. Get all payment types.

Request

Supported Media Types
Query Parameters
Header Parameters
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)
{
    "items":[
        {
            "img":{
                "path":"/ccimg/visa_straight.png",
                "metadata":{
                },
                "repositoryId":"imgVisa",
                "name":"Visa",
                "url":"http://localhost:9080/file/v6060804815930787560/ccimg/visa_straight.png",
                "tags":[
                ]
            },
            "code":"001",
            "name":"Visa",
            "startDateRequired":false,
            "length":"13|16",
            "repositoryId":"visa",
            "type":"card",
            "value":"visa",
            "cvvLength":3,
            "iin":"4"
        }
    ]
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |34052|Attempt to execute or build a query with a Query or QueryExpression object that is null or was not created by this repository.| |50001000|An internal error occurred while processing input request.|n
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