generated from AdobeDocs/dev-site-documentation-template
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpayment.xml
48 lines (48 loc) · 1.96 KB
/
payment.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0"?>
<!--
/************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
* Copyright 2024 Adobe
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe and its suppliers, if any. The intellectual
* and technical concepts contained herein are proprietary to Adobe
* and its suppliers and are protected by all applicable intellectual
* property laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe.
* ************************************************************************
*/
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route url="/V1/oope_payment_method/:code" method="GET">
<service
class="Magento\OutOfProcessPaymentMethods\Api\OutOfProcessPaymentMethodRepositoryInterface"
method="getByCode"/>
<resources>
<resource ref="Magento_OutOfProcessPaymentMethods::oope_payment_method_get"/>
</resources>
</route>
<route url="/V1/oope_payment_method" method="GET">
<service
class="Magento\OutOfProcessPaymentMethods\Api\OutOfProcessPaymentMethodRepositoryInterface"
method="getList"/>
<resources>
<resource ref="Magento_OutOfProcessPaymentMethods::oope_payment_method_get_list"/>
</resources>
</route>
<route url="/V1/oope_payment_method" method="POST">
<service
class="Magento\OutOfProcessPaymentMethods\Api\OutOfProcessPaymentMethodRepositoryInterface"
method="createOrUpdate"/>
<resources>
<resource ref="Magento_OutOfProcessPaymentMethods::oope_payment_method_create"/>
</resources>
</route>
</routes>