MageSmith
GETQuote · Magento 2.4.9 Anonymous

GET /V1/guest-carts/:cartId/payment-methods

GET /V1/guest-carts/:cartId/payment-methods is a Magento 2 REST endpoint in the Quote module. List available payment methods for a specified shopping cart. Callable anonymously — no Authorization header required.

This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#GuestPaymentMethodManagementInterface to determine which call to use to get detailed information about all attributes for an object.

Last verified: against Magento 2.4.9.

Returns

Magento\Quote\Api\Data\PaymentMethodInterface[]

Array of payment methods.

Service contract

Magento\Quote\Api\GuestPaymentMethodManagementInterface::getList

Authorization

Anonymous — no Authorization header required.

Path parameters

cartId string Required

The cart ID.

Example request

Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.

Headers

Accept
application/json

Path

/V1/guest-carts/{cartId}/payment-methods

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.