Home > Magento 2 – Mastercard Gateway > Headless API Integration > GraphQL					
					
						
							 
							 
						
						
						
					
						Magento 2 – Mastercard Gateway
						Created date: 24-01-24							  |     
						Updated date: 31-10-25							  |  
						Plugin version: 3.0.1  |  
						API version: 100
					
					 
							 
						
							Mastercard Gateway for 
Magento, OpenCart, PrestaShop and WooCommerce
					Magento, OpenCart, PrestaShop and WooCommerce
GraphQL
Overview
GraphQL is a query language and runtime for APIs that allows clients to request only the specific data they need. Unlike REST, which often returns fixed structures of data, GraphQL enables clients to define the structure of the response, making it more flexible and efficient. Operations (queries, mutations, and subscriptions) are handled via a single endpoint.
This plugin supports a Headless Magento architecture, enabling businesses to decouple the front-end and backend. This approach allows greater customization and flexibility:
- The front-end can be built using modern technologies like React or Angular.
- The backend Magento admin module handles core payment and transactional functionalities.
Using GraphQL, the plugin facilitates dynamic interactions between the decoupled front-end and backend, ensuring a responsive and tailored user interface.
Please find the Postman collection for REST API.
 
                             
                            