magento:get list of all available payment method

magento:get list of all available payment method

July 6, 2026 · Illustrated author avatarBy Stefan Bogdanescu
magento:get list of all available payment method

Getting a List of All Available Payment Methods in Magento

In Magento, managing payment methods is crucial for running an e-commerce business effectively. Whether you’re working with the backend or integrating via API, understanding how to retrieve all available payment methods can save time and streamline your development process.

Retrieving Payment Methods from the Magento Backend

The Magento admin panel provides a straightforward interface to manage payment methods. To view the list of all available payment methods:

  1. Log in to your Magento admin account.
  2. Navigate to Stores > Configuration in the left-hand menu.
  3. Expand the Sales section and click on Payment Methods.

You will see a grid displaying all installed payment methods along with their titles, statuses, and other details. This list includes both built-in methods like PayPal or Cash On Delivery, as well as any custom payment modules you may have installed.

Retrieving Payment Methods via API

For more advanced integration scenarios or to automate tasks programmatically, Magento offers an API for interacting with the system. To retrieve a list of all available payment methods using the REST API:

  1. First, make sure your API credentials are configured correctly in System > Integrations > [Your Integration Name] > API Credentials.
  2. Send a GET request to the following endpoint:
    https://your-magento-store.com/rest/V1/payment_methods
    

Replace https://your-magento-store.com with your actual Magento store URL.

The response will be in JSON format, containing an array of payment methods. Each object in the array includes properties like code, title, and other relevant details specific to each payment method.

Here’s a sample response:

[
  {
    "entity_id": 1,
    "method_code": "checkmo",
    "title": "Check / Money Order",
    // Other properties...
  },
  {
    "entity_id": 2,
    "method_code": "paypal_standard",
    "title": "PayPal Standard",
    // Other properties...
  }
]

Best Practices and Considerations

When working with payment methods, keep these best practices in mind:

  • Always check if a payment method is enabled before attempting to process transactions.
  • Ensure that your payment methods are configured properly for your specific business needs.
  • Regularly review and update your payment method settings as needed.

At LaravelCompany, we specialize in helping businesses like yours optimize their e-commerce platforms. Contact us today to learn more about how our expert Magento development services can help you streamline your payment process and enhance the customer experience.

Conclusion

Retrieving a list of all available payment methods is an essential part of maintaining a well-running Magento store. Whether you’re working directly in the admin panel or integrating with the API, understanding this process allows you to manage payments more efficiently and build stronger e-commerce solutions.

Remember, regular updates and careful configuration are key to keeping your payment methods secure and reliable. If you have any questions or need further assistance, don’t hesitate to reach out to our team at LaravelCompany.com – we’re always here to help!

API Extensions Admin Configuration

Our network