GetPaymentMethods

Endpoint URL https://www.yournetosite.com.au/do/WS/NetoAPI
Method POST
XML Headers
NETOAPI_ACTION GetPaymentMethods
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
JSON Headers
NETOAPI_ACTION GetPaymentMethods
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
Accept application/json
Description
XSD Schema GetPaymentMethods XSD   |   GetPaymentMethods Response XSD

GetPaymentMethods Post

You must specify at least one filter and one OutputSelector in your GetPaymentMethods request. These will determine the results returned.

XML POST

<?xml version="1.0" encoding="utf-8"?>
<GetPaymentMethods>

</GetPaymentMethods>

JSON POST

{

}

GetPaymentMethods Responses

XML Response

<?xml version="1.0" encoding="utf-8"?>
<GetPaymentMethods>
   <PaymentMethods> 
     <PaymentMethod> 
      <id>(Integer)</id>      
      <name>(String)</name>      
      <active>(Boolean)</active>      
      <visible>(Boolean)</visible>      
      <acc_code>(String)</acc_code>      
     </PaymentMethod>    
   </PaymentMethods>  
   <Messages> 
     <Error> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
      <Description>(String)</Description>      
     </Error>    
     <Warning> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
     </Warning>    
   </Messages>
</GetPaymentMethods>

JSON Response

{
  "PaymentMethods": [ {
    "PaymentMethod": [ {
      "id":"Integer",
      "name":"String",
      "active":"Boolean",
      "visible":"Boolean",
      "acc_code":"String" 
} ]  
} ] ,  "Messages": {
    "Error": [ {
      "Message":"String",
      "SeverityCode":"String",
      "Description":"String" 
} ] ,    "Warning": [ {
      "Message":"String",
      "SeverityCode":"String" 
} ]  
} 
}

<PaymentMethods>

Element Name Field Type
PaymentMethod PaymentMethodType

<PaymentMethod>

Element Name Field Type
id Integer
name String
active Boolean
visible Boolean
acc_code String

<Messages>

Element Name Field Type
Error ErrorType
Warning WarningType

<Error>

Element Name Field Type
Message String
SeverityCode String
Description String

<Warning>

Element Name Field Type
Message String
SeverityCode String

If you are a vendor creating an integration with Neto by Maropost, we would like to hear from you!

Contact Us

Was this article useful?

Be notified when this page is updated. Optional.