Get Payment Methods
List the payment methods available for the current cart.
Endpoint
GET /api/shop/payment-methodsThe path is /payment-methods. /api/shop/checkout-payment-methods accepts POST only — that is Set Payment Method, not the read.
Request Headers
| Header | Required | Description |
|---|---|---|
Accept | Yes | application/json |
X-STOREFRONT-KEY | Yes | Your storefront API key |
Authorization | Yes | Bearer <cartToken> for a guest, or the customer's Bearer token when signed in |
Response Fields
The response is a bare array of methods.
| Field | Type | Description |
|---|---|---|
id | string | Method identifier, the same value as method. |
method | string | Method code — send this to Set Payment Method. |
title | string | Display name configured by the merchant. |
description | string | Description shown alongside the option. |
icon | string | Absolute URL of the method's icon. |
additionalData | object | Extra configuration a gateway supplies, or null. |
isAllowed | boolean | Whether the method may be selected for this cart. |
Order of the checkout steps
Payment methods depend on the steps before them. Calling this before they are complete returns an empty array rather than an error:
- Save the checkout address with Set Checkout Address.
- Select a rate with Set Shipping Method.
- Read this list and let the shopper choose.
Use Cases
- Render the payment step — one call gives the title, icon, and code for every option.
- Filter what is selectable — hide or disable any method whose
isAllowedisfalserather than letting the shopper pick it and fail at order placement.
Best Practices
- Send
method, nottitle, when selecting — the code is the identifier the set endpoint expects - Treat an empty array as "steps outstanding" — it means no address or no shipping method yet, not that the store accepts no payments
- Re-read after changing the address — availability can differ by country, so a shipping-address change can add or remove methods
- Check
isAllowedbefore rendering — a method can be listed but blocked for this particular cart
Related Resources
- Set Payment Method — save the chosen payment method on the cart
- Get Shipping Methods — the rates available for the saved address
- Place Order — turn the prepared cart into an order

