Logo
maya API Documentation

paymentmethods

Number of APIs: 2


1. Get payment methods

GET {{baseUrl}}/paymentmethods

This method must called after POST guest or POST paymentaddress because it depends on the customers billing details.
Service urls:
http://yourdomain.com/api/rest/paymentmethods
OR
http://yourdomain.com/index.php?route=rest/payment_method/payments



2. Set payment method

POST {{baseUrl}}/paymentmethods

GET paymentmethods service must be called before this service call.
Service urls:
http://yourdomain.com/api/rest/paymentmethods
OR
http://yourdomain.com/index.php?route=rest/payment_method/payments



ENDPOINTS