Posts

Showing posts from April 2, 2019

Magento2: Module Vault rest api help

Image
3 I create a webapi.xml in module vault: <route url="/V1/vault/items" method="GET"> <service class="MagentoVaultApiPaymentTokenManagementInterface" method="getListByCustomerId"/> <resources> <resource ref="self" /> </resources> <data> <parameter name="customerId" force="true">%customer_id%</parameter> </data> </route> this is a result: "message": "Internal Error. Details are available in Magento log file. Report ID: webapi-5b7c371e39aa0" } Error: main.CRITICAL: Report ID: webapi-5b7c371e39aa0; Message: Class MagentoVaultApiDataPaymentTokenSearchResultsInterfa does not exist {"exception":"[objec