POST api/SubscriptionPlanPay/GetPaddleSubscriptionPlans

Request Information

URI Parameters

None.

Body Parameters

PaddleSubscriptionPlanRq
NameDescriptionTypeAdditional information
vendor_id

integer

None.

vendor_auth_code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "vendor_id": 1,
  "vendor_auth_code": "sample string 2"
}

text/html

Sample:
{"vendor_id":1,"vendor_auth_code":"sample string 2"}

application/xml, text/xml

Sample:
<PaddleSubscriptionPlanRq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BillGeneration.DataContract">
  <vendor_auth_code>sample string 2</vendor_auth_code>
  <vendor_id>1</vendor_id>
</PaddleSubscriptionPlanRq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PaddleSubscriptionPlansPricesRs
NameDescriptionTypeAdditional information
success

boolean

None.

response

Response

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "response": {
    "customer_country": "sample string 1",
    "products": [
      {
        "product_id": 1,
        "product_title": "sample string 2",
        "currency": "sample string 3",
        "vendor_set_prices_included_tax": true,
        "price": {
          "gross": 1.1,
          "net": 2.1,
          "tax": 3.1
        },
        "list_price": {
          "gross": 1.1,
          "net": 2.1,
          "tax": 3.1
        },
        "subscription": {
          "trial_days": 1,
          "interval": "sample string 2",
          "frequency": 3,
          "price": {
            "gross": 1.1,
            "net": 2.1,
            "tax": 3.1
          },
          "list_price": {
            "gross": 1.1,
            "net": 2.1,
            "tax": 3.1
          }
        }
      },
      {
        "product_id": 1,
        "product_title": "sample string 2",
        "currency": "sample string 3",
        "vendor_set_prices_included_tax": true,
        "price": {
          "gross": 1.1,
          "net": 2.1,
          "tax": 3.1
        },
        "list_price": {
          "gross": 1.1,
          "net": 2.1,
          "tax": 3.1
        },
        "subscription": {
          "trial_days": 1,
          "interval": "sample string 2",
          "frequency": 3,
          "price": {
            "gross": 1.1,
            "net": 2.1,
            "tax": 3.1
          },
          "list_price": {
            "gross": 1.1,
            "net": 2.1,
            "tax": 3.1
          }
        }
      }
    ]
  }
}

text/html

Sample:
{"success":true,"response":{"customer_country":"sample string 1","products":[{"product_id":1,"product_title":"sample string 2","currency":"sample string 3","vendor_set_prices_included_tax":true,"price":{"gross":1.1,"net":2.1,"tax":3.1},"list_price":{"gross":1.1,"net":2.1,"tax":3.1},"subscription":{"trial_days":1,"interval":"sample string 2","frequency":3,"price":{"gross":1.1,"net":2.1,"tax":3.1},"list_price":{"gross":1.1,"net":2.1,"tax":3.1}}},{"product_id":1,"product_title":"sample string 2","currency":"sample string 3","vendor_set_prices_included_tax":true,"price":{"gross":1.1,"net":2.1,"tax":3.1},"list_price":{"gross":1.1,"net":2.1,"tax":3.1},"subscription":{"trial_days":1,"interval":"sample string 2","frequency":3,"price":{"gross":1.1,"net":2.1,"tax":3.1},"list_price":{"gross":1.1,"net":2.1,"tax":3.1}}}]}}

application/xml, text/xml

Sample:
<PaddleSubscriptionPlansPricesRs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BillGeneration.DataContract">
  <response>
    <customer_country>sample string 1</customer_country>
    <products>
      <Products>
        <currency>sample string 3</currency>
        <list_price>
          <gross>1.1</gross>
          <net>2.1</net>
          <tax>3.1</tax>
        </list_price>
        <price>
          <gross>1.1</gross>
          <net>2.1</net>
          <tax>3.1</tax>
        </price>
        <product_id>1</product_id>
        <product_title>sample string 2</product_title>
        <subscription>
          <frequency>3</frequency>
          <interval>sample string 2</interval>
          <list_price>
            <gross>1.1</gross>
            <net>2.1</net>
            <tax>3.1</tax>
          </list_price>
          <price>
            <gross>1.1</gross>
            <net>2.1</net>
            <tax>3.1</tax>
          </price>
          <trial_days>1</trial_days>
        </subscription>
        <vendor_set_prices_included_tax>true</vendor_set_prices_included_tax>
      </Products>
      <Products>
        <currency>sample string 3</currency>
        <list_price>
          <gross>1.1</gross>
          <net>2.1</net>
          <tax>3.1</tax>
        </list_price>
        <price>
          <gross>1.1</gross>
          <net>2.1</net>
          <tax>3.1</tax>
        </price>
        <product_id>1</product_id>
        <product_title>sample string 2</product_title>
        <subscription>
          <frequency>3</frequency>
          <interval>sample string 2</interval>
          <list_price>
            <gross>1.1</gross>
            <net>2.1</net>
            <tax>3.1</tax>
          </list_price>
          <price>
            <gross>1.1</gross>
            <net>2.1</net>
            <tax>3.1</tax>
          </price>
          <trial_days>1</trial_days>
        </subscription>
        <vendor_set_prices_included_tax>true</vendor_set_prices_included_tax>
      </Products>
    </products>
  </response>
  <success>true</success>
</PaddleSubscriptionPlansPricesRs>