File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/amzn/amazon-pay-module/etc/webapi.xml
<?xml version="1.0"?>
<!--
/**
* Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route url="/V1/amazon-shipping-address/:amazonOrderReferenceId" method="PUT">
<service class="Amazon\Payment\Api\AddressManagementInterface" method="getShippingAddress"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
<route url="/V1/amazon-billing-address/:amazonOrderReferenceId" method="PUT">
<service class="Amazon\Payment\Api\AddressManagementInterface" method="getBillingAddress"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
<route url="/V1/amazon/order-ref" method="DELETE">
<service class="Amazon\Payment\Api\OrderInformationManagementInterface" method="removeOrderReference"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
</routes>