Contains information about a specific subscription
Request
Property Name | Type | Required | Description |
---|---|---|---|
planId | integer | Required for Create Subscription | ID of the billing plan associated with this subscription. |
vaultedShopperId | integer | Optional Do not include if sending payerInfo | ID of an existing vaulted shopper. |
payerInfo | container | Optional Do not include if sending vaultedShopperId | Refer to payerInfo. |
paymentSource | container | Required for Create Subscription if sending payerInfo Optional if sending vaultedShopperId | Refer to paymentSource. |
quantity | integer | Optional Create Subscription requests only | Quantity to apply to the subscription. Default is 1. For example, to charge for 10 users in this subscription, set the quantity to 10. If the associated plan's price is $30 per month, then this subscription's recurring payment will be $300 per month (10 x $30). |
softDescriptor | string | Optional | Description of the transaction, which appears on the shopper's credit card statement. Maximum 20 characters. |
descriptorPhoneNumber | string | Optional | Merchant's support phone number that appears on the shopper's bank statement. Maximum 20 characters. |
overrideTrialPeriodDays | integer | Optional | Number of days in the trial period. This overrides the trial period defined for the associated billing plan. The override applies only to this subscription. Note: This value must be greater than 0 . If the value is set to 0 , the property is ignored and the trialPeriodDays is used. |
overrideRecurringChargeAmount | decimal | Optional | Recurring amount to be charged. This overrides the charge amount defined for the associated billing plan. The override applies only to this subscription. |
overrideInitialChargeAmount | decimal | Optional | Initial amount to be charged. This overrides the charge amount defined for the associated billing plan. The override applies only to this subscription. If you override the price by this property in the request, then any later changes to the plan's price are not applied to this subscription. |
transactionFraudInfo | container | Required for Create Subscription | Refer to transactionFraudInfo. |
autoRenew | boolean | Optional Optional Update Subscription requests only | Determines whether the subscription automatically continues, or expires at the end of the current period. |
authorizedByShopper | boolean | Required for SEPA Direct Debit Create Subscription requests only | Value must be true. Pass this parameter to indicate that you have obtained the shopper's authorization of the SEPA Direct Debit mandate. |
nextChargeDate | string | Optional Create/Update Subscription requests only | Next charge date. If you change this, the date of future recurring charges are adjusted accordingly. Format: yyyy-mm-dd |
status | string | Optional Create/Update Subscription requests only | Permitted values: ACTIVE CANCELED |
level3Data | container | Optional | Refer to level3Data. |
threeDSecure | container | Optional | Refer to threeDSecure. |
transactionOrderSource | string | Optional | Refer to cardTransaction |
initialTaxReference | string | Optional | ID of the tax quote for the initial subscription charge. For details, see Taxes guide. |
recurringTaxReference | string | Optional | ID of the tax quote for recurring subscription charges. For details, see Taxes guide. |
Response
Property Name | Type | Required |
---|---|---|
subscriptionId | integer | BlueSnap identifier for the subscription. |
planId | integer | ID of the billing plan associated with this subscription. |
vaultedShopperId | integer | ID of an existing vaulted shopper. |
status | string | Possible values:ACTIVE CANCELED ON_HOLD (the subscription is outside its grace-period)SUSPENDED FINISHED (the subscription reached the plan's max-number-of-charges limit) |
quantity | integer | Quantity to apply to the subscription. Default is 1 . |
softDescriptor | string | Description of the transaction, which appears on the shopper's credit card statement. |
descriptorPhoneNumber | string | Merchant's support phone number that appears on the shopper's bank statement. |
chargeFrequency | string | Possible values:ONCE DAILY WEEKLY EVERY 2 WEEKS MONTHLY EVERY 2 MONTHS QUARTERLY EVERY 6 MONTHS ANNUALLY EVERY 2 YEARS EVERY 3 YEARS |
trialPeriodDays | integer | Number of days in the trial period. For example: 14 |
overrideTrialPeriodDays | integer | Number of days in the trial period. This overrides the trial period defined for the associated billing plan. The override applies only to this subscription. |
recurringChargeAmount | decimal | Recurring amount to be charged. For example: 29.99 |
overrideRecurringChargeAmount | decimal | Recurring amount to be charged. This overrides the charge amount defined for the associated billing plan. The override applies only to this subscription. |
currency | string | Currency code (ISO 4217) of the amount to be charged. Refer to Currency codes. |
initialChargeAmount | decimal | Amount of the initial charge. For example: 99.00 |
overrideInitialChargeAmount | decimal | Initial amount to be charged. This overrides the charge amount defined for the associated billing plan. The override applies only to this subscription. If you override the price, any later changes to the plan's price are not applied to this subscription. |
autoRenew | boolean | Determines whether the subscription automatically continues, or expires at the end of the current period. |
nextChargeDate | string | Appears only if subscription is ACTIVE Next charge date. Format: yyyy-mm-dd |
payerInfo | container | Refer to payerInfo. |
paymentSource | container | Refer to paymentSource. |
charge | container | Create Subscription response only Refer to charge. |
fraudResultInfo | container | Create Subscription response only Refer to fraudResultInfo. |
level3Data | container | Refer to level3Data. |
threeDSecure | container | Refer to threeDSecure. |
scheduled | boolean | Identifies if the transaction is a regularly scheduled event. Possible values: TRUE FALSE (default)Refer to Card on File Guide. |
recurringTaxReference | string | ID of the tax quote for recurring subscription charges. For details, see Taxes guide. |