====== GetSubscriptionDetailsRequest ====== ==== Overview ==== **GetSubscriptionDetailsRequest** will **return details about an existing Subscription** in the SubscriptionBridge system. **Learn More:** * [[:developer_guide:developer_guide#using-the-apis|Using the APIs]] * [[:developer_guide:developer_guide#http-status-code|HTTP Status Codes]] * [[:developer_guide:developer_guide#error-codes|Error Codes]] * [[:developer_guide:developer_guide#troubleshooting|Troubleshooting]] ===== GetSubscriptionDetailsRequest ===== ==== XML ==== string string string string ==== Elements ==== ^ Name ^ Type ^ Occurrence ^ Meaning ^ | **GetSubscriptionDetailsRequest** | container | required | Parent Element | | Username | string | required | Merchant API Username (Not your Merchant Center login) | | Token| string | required | Hash of API Username and Password. [[:developer_guide:developer_guide:LinkID|Creating a Token]] | | GUID | string | always | This is the identifier for the subscription and should be referenced in future management requests | | LanguageCode | string | required | ISO Language Code (e.g. en-US). [[:developer_guide:developer_guide:Language_Code|Learn More]] | ===== GetSubscriptionDetailsResponse ===== ==== XML ==== string timestamp string timestamp timestamp string integer integer string integer timestamp currency currency currency timestamp currency integer integer integer timestamp currency string currency currency currency string currency string boolean timestamp string string string string string string string string string
string
string string string string string string
==== Elements ==== ^ Name ^ Type ^ Occurrence ^ Meaning ^ | **GetSubscriptionDetailsResponse** | container | required | Parent Element | | **Subscription** | container | conditional | Parent Element | | **Identifiers** | container | conditional | Parent Element | | Identifiers/Guid | string | always | Unique Subscription ID or Order ID | | **BillingDetails** | container| conditional | Parent Element | | BillingDetails/StartDate | datetime | always | Date subscription started | | BillingDetails/EndDate | datetime | conditional | Date subscription ends | | BillingDetails/BillingPeriod | string | conditional | Day, Month, or Year | | BillingDetails/BillingFrequency | integer | conditional | rate at which subscription renews | | BillingDetails/TrialBillingFrequency | integer | conditional | rate at which trial subscription renews | | BillingDetails/TrialEndDate | datetime | conditional | Date trial ends | | BillingDetails/Amount | currency | conditional | recurring price | | BillingDetails/ShipAmount | currency | conditional | recurring shipping fees | | BillingDetails/TaxAmount | currency | conditional | recurring tax fees | | BillingDetails/NextBillingDate | datetime | conditional | next date subscription will charge | | BillingDetails/NumCyclesCompleted | integer | conditional | number of recurring charges completed | | BillingDetails/LastPaymentDate | datetime | conditional | date of the previous (not final) charge | | BillingDetails/LastPaymentAmount | currency | conditional | amount of the previous (not final) charge | | BillingDetails/CurrencyCode | string | conditional | valid ISO Currency Code | | **SubscriptionDetails** | container | conditional | Parent Element | | SubscriptionDetails/Description | string | required | Package Description | | BalanceTotal | currency | conditional | Total outstanding balance | | **BalanceDetails** | container | required | Parent Element | | **Balance** | container | required | Parent Element | | Balance/Balance | currency | required | Balance Amount | | Balance/IsPaid | boolean | required | True or False if balance is paid | | Balance/DtPaid | datetime | required | Date balance was paid | | **Customer** | container | required | Parent Element | | Customer/Email | string | required | customer email address | | Customer/FirstName | string | required | customer first name | | Customer/LastName | string | required | customer last name | | **Customer/BillingAddress** | container | required | Parent Element | | Customer/BillingAddress/FirstName | string | required | billing first name | | Customer/BillingAddress/LastName | string | required | billing last name | | Customer/BillingAddress/Company | string | optional | billing company | | Customer/BillingAddress/Address | string | required | billing address | | Customer/BillingAddress/Address2 | string | optional | billing address line 2 | | Customer/BillingAddress/City | string | required | billing city | | Customer/BillingAddress/Region | string | conditional | billing state code or province | | Customer/BillingAddress/PostalCode | string | conditional | billing postal code | | Customer/BillingAddress/Country | string | required | billing country | | Customer/BillingAddress/Phone | string | required | billing phone | | **Customer/ShippingAddress** | container | required | Parent Element - if shipping is not associated with the subscription, the ShippingAddress element will be empty | | Customer/ShippingAddress/FirstName | string | required | shipping first name | | Customer/ShippingAddress/LastName | string | required | shipping last name | | Customer/ShippingAddress/Company | optional | required | shipping company | | Customer/ShippingAddress/Address | string | required | shipping address | | Customer/ShippingAddress/Address2 | optional | required | shipping address line 2 | | Customer/ShippingAddress/City | string | required | shipping city | | Customer/ShippingAddress/Region | conditional | required | shipping state code or province | | Customer/ShippingAddress/PostalCode | conditional | required | shipping postal code | | Customer/ShippingAddress/Country | string | required | shipping country | | Customer/ShippingAddress/Phone | optional | required | shipping phone | | Customer/Password | string | optional | a password for the customer center, which will allow you to use the auto log in feature to avoid double login | | Customer/Account | string | optional | an account number of the customer in the 3rd party system |