Update subscription

Updates an existing subscription for a customer. A subscription can be of Pending, Future or Active status. Please refer to documentation for values and updatable subscription status typePlease refer Integration document for more information : https://developer.ezypay.com/docs/subscription-payment-scenarios

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Id of existing subscription that needs to be updated

Body Params
string

Specify an accounting code to categorise revenue collected from the subscription's payment. Max of 50 characters.

string

The name of the plan to subscribe the customer to. Max of 50 characters

amount
object

The gross amount charged to the customer, inclusive of tax. Supports decimal values for cents. For example, $24.50 would be 24.50.

string

Specifies the rules to automate when a subscription ends. Supported value are: amount_collected and end_date - Subscriptions will end when a specified amount is collected or when the end date is reached as defined in billingEndValue. Applicable only for TAC(amount_collected) and END_DATE(end_date) subscription types.

string

Specifies the values for billingEnd rule. This value is only applicable for TAC(amount_collected) and END_DATE(end_date) billing interval type subscriptions.Acceptable values for amount_collected is values with decimal format and end date is in YYYY-mm-dd format date string

string
Defaults to yyyy-MM-dd

Specifies the start date value of subscription. The date format that needs to be passed is yyyy-MM-dd. The start date can be edited only for FUTURE subscriptions.

string

specifies the billing interval of the subscription. The acceptable values are for Weekly Subscriptions, the value is DAY_OF_WEEK and for monthly subscriptions, the value is DAY_OF_MONTH. Intervals can be edited only for ACTIVE subscriptions

string

Specifies the billing interval value of a subscription interval. Two sets of acceptable values, If BillingInterval is DAY_OF_WEEK, then acceptable values are MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY and DAY_OF_MONTH, acceptable values are Numbers between 1 and 31.Intervals can be edited only for ACTIVE subscriptions

boolean

Specify if auto payment processing occurs for invoices generated from the subscription. Supported value are: true - Invoices generated will automatically proceed to payment processing. false - Invoices are generated but will not automatically proceed to payment processing.

Headers
string
required

Merchant ID

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json