Payment methods

quote Payment Method Management V1Get List Get

get

Lists available payment methods for a specified shopping cart. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://devdocs.magento.com/codelinks/attributes.html#PaymentMethodManagementInterface to determine which call to use to get detailed information about all attributes for an object.

Path parameters
cartIdstringRequired

(Required) The cart ID.

Example: <integer>
Responses
200
OK
application/json
Responseobject
get
GET /V1/carts/{cartId}/payment-methods HTTP/1.1
Host: {{baseurl}}
Accept: */*
[
  {
    "code": "id sed sit qui",
    "title": "esse minim non culpa in"
  },
  {
    "code": "ut fugiat veniam consectetur",
    "title": "ullamco"
  }
]