ClubReady Api

<back to all web services

CalculatePaymentPlanRequest

The following routes are available for this service:
GET/sales/packages/{PackageId}/installments/calculate/{InstallmentPlanId}Get customer's billing status
CalculatePaymentPlanRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyquerystringYesApi Key - grants access to resources
StoreIdqueryintegerYesID # of store to calculate plan for
InstallmentPlanIdpathintegerYesInstallment Plan to calculate a scheduel for
PackageIdpathintegerYesThe package to calculate for
StartDatequerydatetimeNoDate to calculate schedule from. If not provided, will use today.
PromoCodequerystringNoPromo code to apply a discount.
RestrictedIdqueryint?No
RestrictedResourceTypequeryRestrictedResourceTypeNo
CalculatePaymentPlanRequestDto Parameters:
NameParameterData TypeRequiredDescription
InstallmentPlanIdformintNo
PackageIdformintNo
StartDateformDateTime?No
PromoCodeformstringNo
ApiDtoBase Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
StoreIdformint?No
ChainIdformint?No
RestrictedResourceType Enum:
Store
Chain
User
Undefined
CalculatePaymentPlanResultDto Parameters:
NameParameterData TypeRequiredDescription
PlanTotalformstringNo
SubTotalformstringNo
TaxRateformfloat?No
EnhancementFeeformstringNo
EnhancementFeeTaxAmountformstringNo
TaxEnhFeeformboolNo
TaxformstringNo
TotalDueTodayformstringNo
PaymentsformList<PaymentPlanInstallment>No
FeesformList<PaymentPlanInstallment>No
IsEvergreenformboolNo
RequirePaymentProfileformboolNo
PaymentPlanInstallment Parameters:
NameParameterData TypeRequiredDescription
PayTodayformboolNo
AmountformdecimalNo
TaxedformboolNo
TaxRateformfloat?No
TaxAmountformdecimal?No
FeeNameformstringNo
DueDateformDateTimeNo
TotalformstringNo
SetupFeeIdformint?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /sales/packages/{PackageId}/installments/calculate/{InstallmentPlanId} HTTP/1.1 
Host: www.clubready.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'CalculatePaymentPlanResultDto' using the custom 'csv' filter}One or more errors occurred.