developer_guide:call_reference:gettermsrequest

GetTermsRequest

Overview

GetTermsRequest will return the pricing terms of a package. This method is used by the Terms Widget, which displays the pricing in a format that can be styled easily with CSS.

Learn More:

GetTermsRequest

XML

<?xml version="1.0" encoding="utf-8"?>
    <GetTermsRequest>	
	<LinkID>string</LinkID>	
    </GetTermsRequest>

Elements

Name Type Occurrence Meaning
GetTermsRequest container required Parent Element
LinkID string required The Subscription Package ID. Learn More

GetTermsResponse

XML

<?xml version="1.0" encoding="utf-8"?>
    <GetTermsResponse>
        <Ack>string</Ack>
	<Timestamp>timestamp</Timestamp>
	<TermsBilling>string</TermsBilling>
	<TermsTrialBilling>string</TermsTrialBilling>
	<TermsCustom>string</TermsCustom>
    </GetTermsResponse>

Elements

Name Type Occurrence Meaning
GetTermsResponse container required Parent Element
Ack string always Success, Error, or Warning
Timestamp string always All responses return the official SB time stamp in UTC/GMT
TermsBilling string always Billing terms (e.g. $45.00 per month)
TermsTrialBilling string conditional Billing trial terms, if available (e.g. Free for 7 days)
TermsCustom string always Custom text that you can add via the Merchant Center. Useful to explain additional charges (e.g. Plus Tax and Shipping)
developer_guide/call_reference/gettermsrequest.txt · Last modified: 2012/02/25 22:22 by matt