Payment methods
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
cartIdstringRequiredExample:
(Required) The cart ID.
<integer>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
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"
}
]