GET smartlot/v2/PaymentProviders/{APIKey}/{siteCode}

This method returns all the payment providers for the given site

Request Information

Parameters

NameDescriptionAdditional information
siteCode
The code of the site you have access to and whose data you want to retrieve. Available on settings page.

Define this parameter in the request URI.

APIKey
The API key provided during registration. Available on settings page.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "PaymentProviderCode": "sample string 1",
    "Name": "sample string 2",
    "Service": "sample string 3",
    "PhoneNumber": "sample string 4",
    "TextNumber": "sample string 5"
  },
  {
    "PaymentProviderCode": "sample string 1",
    "Name": "sample string 2",
    "Service": "sample string 3",
    "PhoneNumber": "sample string 4",
    "TextNumber": "sample string 5"
  },
  {
    "PaymentProviderCode": "sample string 1",
    "Name": "sample string 2",
    "Service": "sample string 3",
    "PhoneNumber": "sample string 4",
    "TextNumber": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentProvider xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartAPI.Entities">
  <PaymentProvider>
    <Name>sample string 2</Name>
    <PaymentProviderCode>sample string 1</PaymentProviderCode>
    <PhoneNumber>sample string 4</PhoneNumber>
    <Service>sample string 3</Service>
    <TextNumber>sample string 5</TextNumber>
  </PaymentProvider>
  <PaymentProvider>
    <Name>sample string 2</Name>
    <PaymentProviderCode>sample string 1</PaymentProviderCode>
    <PhoneNumber>sample string 4</PhoneNumber>
    <Service>sample string 3</Service>
    <TextNumber>sample string 5</TextNumber>
  </PaymentProvider>
  <PaymentProvider>
    <Name>sample string 2</Name>
    <PaymentProviderCode>sample string 1</PaymentProviderCode>
    <PhoneNumber>sample string 4</PhoneNumber>
    <Service>sample string 3</Service>
    <TextNumber>sample string 5</TextNumber>
  </PaymentProvider>
</ArrayOfPaymentProvider>