Skip to main content

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_idintegerPayment method unique id
service_namestringMethod service name (gateway or API name)
classstringProcess class name
moduleNamestringSpecific module family name
orderbyintegerPosition
adminOrderbyintegerPosition in popup
enabledbooleanEnabled status
addedbooleanAdded status
typestringType
settingsArraySettings
fromMarketplacebooleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation
iconURLstringPayment method icon URL (used for methods from marketplace)
countriesArrayCountries of merchant (merchants from these countries can sign up and use this method)
exCountriesArrayExcluded countries (merchants from these countries cannot sign up for payment account)
countryPositionsArraySettings

Responses

200Success
Response schema:
Success
method_idintegerPayment method unique id
service_namestringMethod service name (gateway or API name)
classstringProcess class name
moduleNamestringSpecific module family name
orderbyintegerPosition
adminOrderbyintegerPosition in popup
enabledbooleanEnabled status
addedbooleanAdded status
typestringType
settingsArraySettings
fromMarketplacebooleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation
iconURLstringPayment method icon URL (used for methods from marketplace)
countriesArrayCountries of merchant (merchants from these countries can sign up and use this method)
exCountriesArrayExcluded countries (merchants from these countries cannot sign up for payment account)
countryPositionsArraySettings