Update payment method by id
Update payment method by id
Authorizations:Token
Query Parameters
| id required | integerId value of the Method object | 
Request Body Schema: 
Method object that needs to be added | method_id | integerPayment method unique id | 
| service_name | stringMethod service name (gateway or API name) | 
| class | stringProcess class name | 
| moduleName | stringSpecific module family name | 
| orderby | integerPosition | 
| adminOrderby | integerPosition in popup | 
| enabled | booleanEnabled status | 
| moduleEnabled | booleanModule enabled status | 
| added | booleanAdded status | 
| type | stringType | 
| settings | ArraySettings | 
| fromMarketplace | booleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation | 
| iconURL | stringPayment method icon URL (used for methods from marketplace) | 
| countries | ArrayCountries of merchant (merchants from these countries can sign up and use this method) | 
| exCountries | ArrayExcluded countries (merchants from these countries cannot sign up for payment account) | 
Responses
200Success
Response schema: 
Success | method_id | integerPayment method unique id | 
| service_name | stringMethod service name (gateway or API name) | 
| class | stringProcess class name | 
| moduleName | stringSpecific module family name | 
| orderby | integerPosition | 
| adminOrderby | integerPosition in popup | 
| enabled | booleanEnabled status | 
| moduleEnabled | booleanModule enabled status | 
| added | booleanAdded status | 
| type | stringType | 
| settings | ArraySettings | 
| fromMarketplace | booleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation | 
| iconURL | stringPayment method icon URL (used for methods from marketplace) | 
| countries | ArrayCountries of merchant (merchants from these countries can sign up and use this method) | 
| exCountries | ArrayExcluded countries (merchants from these countries cannot sign up for payment account) |