{"_id":"5b19742cb3baf90003cab501","category":{"_id":"5b19742cb3baf90003cab4ec","version":"5b19742cb3baf90003cab5ae","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-05-12T15:22:00.041Z","from_sync":false,"order":4,"slug":"coupon","title":"Catalog"},"parentDoc":null,"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","version":{"_id":"5b19742cb3baf90003cab5ae","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5adf4e59ac13b80003d23152","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z","categories":["5b19742cb3baf90003cab4e8","5b19742cb3baf90003cab4e9","5b19742cb3baf90003cab4ea","5b19742cb3baf90003cab4eb","5b19742cb3baf90003cab4ec","5b19742cb3baf90003cab4ed","5b19742cb3baf90003cab4ee","5b19742cb3baf90003cab4ef","5b19742cb3baf90003cab4f0","5b19742cb3baf90003cab4f1","5b19742cb3baf90003cab4f2"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.26 Release","version_clean":"8976.0.0-Extended","version":"8976-Extended"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-12T15:17:49.728Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"post","results":{"codes":[{"language":"text","code":""}]},"settings":"","auth":"optional","params":[],"url":""},"isReference":true,"order":3,"body":"##Definition\nhttps<span>://sandbox.bluesnap.com/services/2/catalog/skus</span>\n\n<hr>\n\n##Documentation\nThis request enables you to create a new SKU (contract) for a specific product in your account.\n\n###Request Content\n`catalog-sku` &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>, contains the following properties (see [catalog-sku](doc:catalog-sku)):\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`contract-name` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`product-id` *long* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`sku-status` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`sku-type` *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`pricing-settings` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> (see [pricing-settings](doc:pricing-settings)) \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`sku-image` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`sku-quantity-policy` *container* &nbsp;&nbsp;&nbsp;optional (see [sku-quantity-policy](doc:sku-quantity-policy)) \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`collect-shipping-address` *boolean* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`sku-effective-dates` *container* &nbsp;&nbsp;&nbsp;optional (see [sku-effective-dates](doc:sku-effective-dates)) \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`sku-coupon-settings` *container* &nbsp;&nbsp;&nbsp;optional (see [sku-coupon-settings](doc:sku-coupon-settings)) \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`sku-custom-parameters` *container* &nbsp;&nbsp;&nbsp;optional (see [sku-custom-parameters](doc:sku-custom-parameters)) \n\n###Response Details\nIf successful, the response HTTP status code is 201 Created.\nThe contract/SKU ID is included in the Location header.\nFor details about possible errors, see: [General Errors](doc:general-errors) and [Catalog Errors](doc:catalog-errors).\n\n<hr>\n\n##Examples\n\n###Request Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<catalog-sku xmlns=\\\"http://ws.plimus.com\\\">\\n  <contract-name>One time charge - USD base</contract-name>\\n  <product-id>307634</product-id>\\n  <sku-type>DIGITAL</sku-type>\\n  <pricing-settings>\\n    <charge-policy-type>ONE TIME PAYMENT</charge-policy-type>\\n    <charge-policy>\\n      <one-time-charge>\\n        <catalog-prices>\\n          <catalog-price>\\n            <base-price>true</base-price>\\n            <currency>USD</currency>\\n            <amount>7.00</amount>\\n          </catalog-price>\\n        </catalog-prices>\\n      </one-time-charge>\\n    </charge-policy>\\n  </pricing-settings>\\n</catalog-sku>'\",\n      \"language\": \"curl\",\n      \"name\": \"Create SKU Request: one-time charge SKU\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<catalog-sku xmlns=\\\"http://ws.plimus.com\\\">\\n  <contract-name>One time charge with 20 DAYS TRIAL - USD base</contract-name>\\n  <product-id>307634</product-id>\\n  <sku-status>A</sku-status>\\n  <sku-type>DIGITAL</sku-type>\\n  <pricing-settings>\\n    <charge-policy-type>ONE TIME PAYMENT WITH TRIAL</charge-policy-type>\\n    <charge-policy>\\n      <free-trial>\\n        <period-length>20</period-length>\\n        <interval>DAYS</interval>\\n      </free-trial>\\n      <one-time-charge>\\n        <catalog-prices>\\n          <catalog-price>\\n            <base-price>true</base-price>\\n            <currency>USD</currency>\\n            <amount>7.00</amount>\\n          </catalog-price>\\n        </catalog-prices>\\n      </one-time-charge>\\n    </charge-policy>\\n    <include-tax-in-price>false</include-tax-in-price>\\n    <rounding-price-method>ROUNDING UP TO 0.95</rounding-price-method>\\n  </pricing-settings>\\n  <sku-quantity-policy>\\n    <allow-quantity-change>true</allow-quantity-change>\\n    <minimum-quantity>1</minimum-quantity>\\n  </sku-quantity-policy>\\n  <collect-shipping-address>false</collect-shipping-address>\\n  <sku-effective-dates>\\n    <effective-from>07-Apr-17</effective-from>\\n    <effective-till>05-Apr-20</effective-till>\\n  </sku-effective-dates>\\n  <sku-coupon-settings>\\n    <sku-coupon-setting>ENABLE</sku-coupon-setting>\\n  </sku-coupon-settings>\\n</catalog-sku>'\",\n      \"language\": \"curl\",\n      \"name\": \"one-time charge SKU with trial\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<catalog-sku xmlns=\\\"http://ws.plimus.com\\\">\\n  <contract-name>Standard monthly SUB - base currency USD</contract-name>\\n  <product-id>307634</product-id>\\n  <sku-type>DIGITAL</sku-type>\\n  <pricing-settings>\\n    <charge-policy-type>STANDARD SUBSCRIPTION</charge-policy-type>\\n    <charge-policy>\\n      <recurring-period>\\n        <catalog-prices>\\n          <catalog-price>\\n            <base-price>true</base-price>\\n            <currency>USD</currency>\\n            <amount>7.00</amount>\\n          </catalog-price>\\n        </catalog-prices>\\n        <period-frequency>MONTHLY</period-frequency>\\n      </recurring-period>\\n    </charge-policy>\\n    <recurring-plan-settings/>\\n  </pricing-settings>\\n</catalog-sku>'\",\n      \"language\": \"curl\",\n      \"name\": \"subscription SKU\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<catalog-sku xmlns=\\\"http://ws.plimus.com\\\">\\n  <contract-name>Standard SUB with 20 days TRIAL - USD only</contract-name>\\n  <product-id>307634</product-id>\\n  <sku-status>A</sku-status>\\n  <sku-type>DIGITAL</sku-type>\\n  <sku-image />\\n  <pricing-settings>\\n    <charge-policy-type>STANDARD SUBSCRIPTION WITH TRIAL</charge-policy-type>\\n    <charge-policy>\\n      <free-trial>\\n        <period-length>20</period-length>\\n        <interval>DAYS</interval>\\n      </free-trial>\\n      <recurring-period>\\n        <catalog-prices>\\n          <catalog-price>\\n            <base-price>true</base-price>\\n            <currency>USD</currency>\\n            <amount>24.00</amount>\\n          </catalog-price>\\n          <catalog-price>\\n            <currency>EUR</currency>\\n            <amount>12.00</amount>\\n          </catalog-price>\\n        </catalog-prices>\\n        <period-frequency>MONTHLY</period-frequency>\\n      </recurring-period>\\n    </charge-policy>\\n    <include-tax-in-price>false</include-tax-in-price>\\n    <rounding-price-method>ROUNDING UP TO 0.50</rounding-price-method>\\n    <recurring-plan-settings>\\n      <charge-upon-plan-change>false</charge-upon-plan-change>\\n      <grace-period-length>30</grace-period-length>\\n      <plan-charge-amount-limit>\\n        <currency>USD</currency>\\n        <amount>100000.00</amount>\\n      </plan-charge-amount-limit>\\n      <plan-duration-period>3650</plan-duration-period>\\n    </recurring-plan-settings>\\n  </pricing-settings>\\n  <sku-quantity-policy>\\n    <allow-quantity-change>true</allow-quantity-change>\\n    <minimum-quantity>1</minimum-quantity>\\n  </sku-quantity-policy>\\n  <collect-shipping-address>false</collect-shipping-address>\\n  <sku-effective-dates>\\n    <effective-from>07-Apr-17</effective-from>\\n    <effective-till>05-Apr-20</effective-till>\\n  </sku-effective-dates>\\n  <sku-coupon-settings>\\n    <sku-coupon-setting>ENABLE</sku-coupon-setting>\\n  </sku-coupon-settings>\\n</catalog-sku>'\",\n      \"language\": \"curl\",\n      \"name\": \"subscription SKU with trial\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<catalog-sku xmlns=\\\"http://ws.plimus.com\\\">\\n  <contract-name>API multi currencies - initial followed by sub after 14 days</contract-name>\\n  <product-id>307634</product-id>\\n  <sku-status>A</sku-status>\\n  <sku-type>DIGITAL</sku-type>\\n  <pricing-settings>\\n    <charge-policy-type>STANDARD SUBSCRIPTION WITH INITIAL CHARGE</charge-policy-type>\\n    <charge-policy>\\n      <initial-period>\\n        <catalog-prices>\\n          <catalog-price>\\n            <base-price>true</base-price>\\n            <currency>USD</currency>\\n            <amount>11.00</amount>\\n          </catalog-price>\\n        </catalog-prices>\\n        <period-length>14</period-length>\\n        <interval>DAYS</interval>\\n      </initial-period>\\n      <recurring-period>\\n        <catalog-prices>\\n          <catalog-price>\\n            <base-price>true</base-price>\\n            <currency>USD</currency>\\n            <amount>8.00</amount>\\n          </catalog-price>\\n        </catalog-prices>\\n        <period-frequency>MONTHLY</period-frequency>\\n      </recurring-period>\\n    </charge-policy>\\n    <include-tax-in-price>false</include-tax-in-price>\\n    <rounding-price-method>ROUNDING UP TO 0.50</rounding-price-method>\\n    <recurring-plan-settings>\\n      <charge-upon-plan-change>false</charge-upon-plan-change>\\n      <grace-period-length>30</grace-period-length>\\n      <plan-charge-amount-limit>\\n        <currency>USD</currency>\\n        <amount>100000.00</amount>\\n      </plan-charge-amount-limit>\\n      <plan-duration-period>3650</plan-duration-period>\\n    </recurring-plan-settings>\\n  </pricing-settings>\\n  <sku-quantity-policy>\\n    <allow-quantity-change>true</allow-quantity-change>\\n    <minimum-quantity>1</minimum-quantity>\\n  </sku-quantity-policy>\\n</catalog-sku>'\",\n      \"language\": \"curl\",\n      \"name\": \"subscription SKU with initial charge\"\n    }\n  ]\n}\n[/block]\n###Response Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"HTTP/ 1.1 201 Created\\nLocation: https://sandbox.bluesnap.com/services/2/catalog/skus/2181118\",\n      \"language\": \"http\",\n      \"name\": \"Create Contract Response: 201 Created\"\n    }\n  ]\n}\n[/block]\n<hr>\n\n##Example Descriptions\n\n###Create One-Time Charge SKU\nThe example above shows how to create a basic SKU for a one-time charge. The example contains the minimum required fields. Additional options are available, such as custom parameters, coupons, and more.\n\n###Create One-Time Charge SKU with Trial\nThe example above shows how to create a SKU for a one-time charge, with a trial period of 20 days. This means that the one-time charge will occur once the trial period ends.\n\n###Create Subscription SKU\nThe example above shows how to create a basic SKU for a recurring subscription charge, with no trial period or initial charge. The example contains the minimum required fields. Additional options are available, such as custom parameters, coupons and more.\n\n###Create Subscription SKU with Trial\nThe example above shows how to create a SKU for a recurring subscription charge, with a trial period of 20 days. This means that no charge would be made until the trial period ends.\n\n###Create Subscription SKU with Initial Charge\nThe example above shows how to create a SKU for a recurring subscription charge, with an initial charge of $11.00. This means that this initial charge would be processed at the beginning of the subscription and then the regular recurring price would be charged on an ongoing basis.\n\n<br>\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>","excerpt":"","slug":"create-sku","type":"endpoint","title":"Create SKU"}

Definition

https://sandbox.bluesnap.com/services/2/catalog/skus


Documentation

This request enables you to create a new SKU (contract) for a specific product in your account.

Request Content

catalog-sku    required, contains the following properties (see catalog-sku):
      contract-name string    optional
      product-id long    required
      sku-status string    optional
      sku-type string    required
      pricing-settings container    required (see pricing-settings)
      sku-image string    optional
      sku-quantity-policy container    optional (see sku-quantity-policy)
      collect-shipping-address boolean    optional
      sku-effective-dates container    optional (see sku-effective-dates)
      sku-coupon-settings container    optional (see sku-coupon-settings)
      sku-custom-parameters container    optional (see sku-custom-parameters)

Response Details

If successful, the response HTTP status code is 201 Created.
The contract/SKU ID is included in the Location header.
For details about possible errors, see: General Errors and Catalog Errors.


Examples

Request Examples

curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<catalog-sku xmlns="http://ws.plimus.com">
  <contract-name>One time charge - USD base</contract-name>
  <product-id>307634</product-id>
  <sku-type>DIGITAL</sku-type>
  <pricing-settings>
    <charge-policy-type>ONE TIME PAYMENT</charge-policy-type>
    <charge-policy>
      <one-time-charge>
        <catalog-prices>
          <catalog-price>
            <base-price>true</base-price>
            <currency>USD</currency>
            <amount>7.00</amount>
          </catalog-price>
        </catalog-prices>
      </one-time-charge>
    </charge-policy>
  </pricing-settings>
</catalog-sku>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<catalog-sku xmlns="http://ws.plimus.com">
  <contract-name>One time charge with 20 DAYS TRIAL - USD base</contract-name>
  <product-id>307634</product-id>
  <sku-status>A</sku-status>
  <sku-type>DIGITAL</sku-type>
  <pricing-settings>
    <charge-policy-type>ONE TIME PAYMENT WITH TRIAL</charge-policy-type>
    <charge-policy>
      <free-trial>
        <period-length>20</period-length>
        <interval>DAYS</interval>
      </free-trial>
      <one-time-charge>
        <catalog-prices>
          <catalog-price>
            <base-price>true</base-price>
            <currency>USD</currency>
            <amount>7.00</amount>
          </catalog-price>
        </catalog-prices>
      </one-time-charge>
    </charge-policy>
    <include-tax-in-price>false</include-tax-in-price>
    <rounding-price-method>ROUNDING UP TO 0.95</rounding-price-method>
  </pricing-settings>
  <sku-quantity-policy>
    <allow-quantity-change>true</allow-quantity-change>
    <minimum-quantity>1</minimum-quantity>
  </sku-quantity-policy>
  <collect-shipping-address>false</collect-shipping-address>
  <sku-effective-dates>
    <effective-from>07-Apr-17</effective-from>
    <effective-till>05-Apr-20</effective-till>
  </sku-effective-dates>
  <sku-coupon-settings>
    <sku-coupon-setting>ENABLE</sku-coupon-setting>
  </sku-coupon-settings>
</catalog-sku>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<catalog-sku xmlns="http://ws.plimus.com">
  <contract-name>Standard monthly SUB - base currency USD</contract-name>
  <product-id>307634</product-id>
  <sku-type>DIGITAL</sku-type>
  <pricing-settings>
    <charge-policy-type>STANDARD SUBSCRIPTION</charge-policy-type>
    <charge-policy>
      <recurring-period>
        <catalog-prices>
          <catalog-price>
            <base-price>true</base-price>
            <currency>USD</currency>
            <amount>7.00</amount>
          </catalog-price>
        </catalog-prices>
        <period-frequency>MONTHLY</period-frequency>
      </recurring-period>
    </charge-policy>
    <recurring-plan-settings/>
  </pricing-settings>
</catalog-sku>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<catalog-sku xmlns="http://ws.plimus.com">
  <contract-name>Standard SUB with 20 days TRIAL - USD only</contract-name>
  <product-id>307634</product-id>
  <sku-status>A</sku-status>
  <sku-type>DIGITAL</sku-type>
  <sku-image />
  <pricing-settings>
    <charge-policy-type>STANDARD SUBSCRIPTION WITH TRIAL</charge-policy-type>
    <charge-policy>
      <free-trial>
        <period-length>20</period-length>
        <interval>DAYS</interval>
      </free-trial>
      <recurring-period>
        <catalog-prices>
          <catalog-price>
            <base-price>true</base-price>
            <currency>USD</currency>
            <amount>24.00</amount>
          </catalog-price>
          <catalog-price>
            <currency>EUR</currency>
            <amount>12.00</amount>
          </catalog-price>
        </catalog-prices>
        <period-frequency>MONTHLY</period-frequency>
      </recurring-period>
    </charge-policy>
    <include-tax-in-price>false</include-tax-in-price>
    <rounding-price-method>ROUNDING UP TO 0.50</rounding-price-method>
    <recurring-plan-settings>
      <charge-upon-plan-change>false</charge-upon-plan-change>
      <grace-period-length>30</grace-period-length>
      <plan-charge-amount-limit>
        <currency>USD</currency>
        <amount>100000.00</amount>
      </plan-charge-amount-limit>
      <plan-duration-period>3650</plan-duration-period>
    </recurring-plan-settings>
  </pricing-settings>
  <sku-quantity-policy>
    <allow-quantity-change>true</allow-quantity-change>
    <minimum-quantity>1</minimum-quantity>
  </sku-quantity-policy>
  <collect-shipping-address>false</collect-shipping-address>
  <sku-effective-dates>
    <effective-from>07-Apr-17</effective-from>
    <effective-till>05-Apr-20</effective-till>
  </sku-effective-dates>
  <sku-coupon-settings>
    <sku-coupon-setting>ENABLE</sku-coupon-setting>
  </sku-coupon-settings>
</catalog-sku>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/catalog/skus \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<catalog-sku xmlns="http://ws.plimus.com">
  <contract-name>API multi currencies - initial followed by sub after 14 days</contract-name>
  <product-id>307634</product-id>
  <sku-status>A</sku-status>
  <sku-type>DIGITAL</sku-type>
  <pricing-settings>
    <charge-policy-type>STANDARD SUBSCRIPTION WITH INITIAL CHARGE</charge-policy-type>
    <charge-policy>
      <initial-period>
        <catalog-prices>
          <catalog-price>
            <base-price>true</base-price>
            <currency>USD</currency>
            <amount>11.00</amount>
          </catalog-price>
        </catalog-prices>
        <period-length>14</period-length>
        <interval>DAYS</interval>
      </initial-period>
      <recurring-period>
        <catalog-prices>
          <catalog-price>
            <base-price>true</base-price>
            <currency>USD</currency>
            <amount>8.00</amount>
          </catalog-price>
        </catalog-prices>
        <period-frequency>MONTHLY</period-frequency>
      </recurring-period>
    </charge-policy>
    <include-tax-in-price>false</include-tax-in-price>
    <rounding-price-method>ROUNDING UP TO 0.50</rounding-price-method>
    <recurring-plan-settings>
      <charge-upon-plan-change>false</charge-upon-plan-change>
      <grace-period-length>30</grace-period-length>
      <plan-charge-amount-limit>
        <currency>USD</currency>
        <amount>100000.00</amount>
      </plan-charge-amount-limit>
      <plan-duration-period>3650</plan-duration-period>
    </recurring-plan-settings>
  </pricing-settings>
  <sku-quantity-policy>
    <allow-quantity-change>true</allow-quantity-change>
    <minimum-quantity>1</minimum-quantity>
  </sku-quantity-policy>
</catalog-sku>'

Response Examples

HTTP/ 1.1 201 Created
Location: https://sandbox.bluesnap.com/services/2/catalog/skus/2181118


Example Descriptions

Create One-Time Charge SKU

The example above shows how to create a basic SKU for a one-time charge. The example contains the minimum required fields. Additional options are available, such as custom parameters, coupons, and more.

Create One-Time Charge SKU with Trial

The example above shows how to create a SKU for a one-time charge, with a trial period of 20 days. This means that the one-time charge will occur once the trial period ends.

Create Subscription SKU

The example above shows how to create a basic SKU for a recurring subscription charge, with no trial period or initial charge. The example contains the minimum required fields. Additional options are available, such as custom parameters, coupons and more.

Create Subscription SKU with Trial

The example above shows how to create a SKU for a recurring subscription charge, with a trial period of 20 days. This means that no charge would be made until the trial period ends.

Create Subscription SKU with Initial Charge

The example above shows how to create a SKU for a recurring subscription charge, with an initial charge of $11.00. This means that this initial charge would be processed at the beginning of the subscription and then the regular recurring price would be charged on an ongoing basis.



Back to Top