|
Table of Contents
SubscriptionRequestOverviewSubscriptionRequest will generate a new Subscription in the SubscriptionBridge system, which will then create a recurring payment profile with the payment gateway associated with the SubscriptionBridge store. As part of this process, SubscriptionBridge securely passes payment information (i.e. the credit card details) to the payment gateway.
Learn More: SubscriptionRequestXML
<?xml version="1.0" encoding="utf-8"?>
<SubscriptionRequest>
<Username>string</Username>
<Token>string</Token>
<Customer>
<Email>string</Email>
<FirstName>string</FirstName>
<LastName>string</LastName>
<BillingAddress>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Company>string</Company>
<Address>string</Address>
<Address2>string</Address2>
<City>string</City>
<Region>string</Region>
<PostalCode>string</PostalCode>
<Country>string</Country>
<Phone>string</Phone>
</BillingAddress>
<ShippingAddress>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Company>string</Company>
<Address>string</Address>
<Address2>string</Address2>
<City>string</City>
<Region>string</Region>
<PostalCode>string</PostalCode>
<Country>string</Country>
<Phone>string</Phone>
</ShippingAddress>
<Password>string</Password>
<Account>string</Account>
</Customer>
<CreditCard>
<CardNumber>string</CardNumber>
<CardType>string</CardType>
<ExpMonth>string</ExpMonth>
<ExpYear>string</ExpYear>
<SecureCode>string</SecureCode>
</CreditCard>
<Cart>
<RegularAmt>currency</RegularAmt>
<TrialAmt>currency</TrialAmt>
<RegularTax>currency</RegularTax>
<TrialTax>currency</TrialTax>
<RegularShipping>currency</RegularShipping>
<TrialShipping>currency</TrialShipping>
<IsShippable>boolean</IsShippable>
<ShipName>string</ShipName>
<TaxName>string</TaxName>
<AgreedToTerms>boolean</AgreedToTerms>
<LanguageCode>string</LanguageCode>
</Cart>
<Package>
<LinkID>string</LinkID>
<Plan>
<Profile>
<IsTrial>boolean</IsTrial>
</Profile>
</Plan>
</Package>
</SubscriptionRequest>
Elements (Linked Method)
SubscriptionResponseXML
<?xml version="1.0" encoding="utf-8"?>
<SubscriptionResponse>
<Ack>string</Ack>
<Timestamp>timestamp</Timestamp>
<Guid>string</Guid>
<Terms>string</Terms>
</SubscriptionResponse>
Elements
|