Subscription Details with .NET
The subscription ID. If you did not specify an ID when the subscription was created, the gateway will generate a 6- or 7-character alphanumeric ID.
Attributes that need a bit more explaining:
subscription.BillingDayOfMonth- This is the day of the month that we will charge the subscription on every billing cycle. The value of this field will be 1-28 or 31. A value of 31 means bill on the last day of the month, regardless of how many days are in the month.
subscription.BillingPeriodEndDate- This is the end date for the current billing period and gets adjusted each time we try to charge the subscription. When doing automatic retries we do not adjust this date.
subscription.BillingPeriodStartDate- This is the start date for the current billing period and gets adjusted each time we try to charge the subscription. When doing automatic retries we do not adjust this date.
subscription.FailureCount- This is the number of times we have retried a charge on a past due subscription. You can continue to manually retry the charge even after the count has reached 2.
subscription.FirstBillingDate- This is the day the subscription starts billing.
subscription.NeverExpires- If this is set to true the subscription does not have an end date and the number_of_billing_cycles will be returned as null.
subscription.NextBillingDate- This is the date that we will try to bill the subscription again. We adjust this date each time we try to charge the subscription. If the subscription is past due and you have set your processing options to automatically retry failed transactions, we will continue to adjust this date, advancing it based on the settings that you configured.
subscription.NumberOfBillingCycles- This is the total number of billing cycles the subscription will be billed.
subscription.NextBillingPeriodAmount- This is the total subscription amount for the next billing period. This amount includes add-ons and discounts but does not include the current balance.
subscription.PaidThroughDate- This is the date through which the subscription has been paid. It is the
BillingPeriodEndDateat the time of the last successful transaction. If the subscription is pending (has a future start date), this field will be null.
More familiar attributes:
A collection of add-ons that were added to this subscription.
A collection of discounts that were added to this subscription.
A collection of transactions that were created from this subscription.