Update Subscriptionput https://api.eukapay.com/subscriptions/{code}Update a subscriptionRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Query ParamscodestringrequiredDefaults to sub_75zbe4jUFXxyvYpU0suIt3QJqvThe subscription codeBody ParamspricedoubleDefaults to 7.82The price of the subscription. The minimum subscription price is 1 and the maximum subscription price is 100,000currencyIdint32Defaults to 1The currency id to create the subscription with. Supported currencies are here https://docs.eukapay.com/docs/supported-currenciescustomerCodestringDefaults to cus_cNk3QiusT0i53wBNxWI94Y9YmpThe code of the customer the subscription is to be created for. If total subscription price is greater than or equal to 1,000, fields address1, city, state, country are required in the customer object.intervalstringDefaults to MonthlyThe interval at which the recurring payment will be requested. The intervals are 'Daily', 'Weekly', 'Bi-weekly', 'Semi-monthly', 'Monthly', 'Quarterly', 'Semi-annually', 'Annually'startImmediatelybooleanDefaults to trueThe first invoice is created immediately and included in the invoices data. In this case, the startDate and the nextDate are not be able to set.truefalsestartDatedateDefaults to 2024-02-28The start date of the subscription. The format is YYYY-MM-DD.endDatedateDefaults to 2024-04-28The end date of the subscription. The format is YYYY-MM-DD.nextDatedateDefaults to 2024-03-28The next date of the subscription. The date that the first payment request will be sent. The format is YYYY-MM-DD.messagestringDefaults to Updated subscriptionAdditional message to describe subscription.redirectUristringDefaults to https://example.com/subscriptionPaidThe url to redirect to once payment is completed.shippingdoubleDefaults to 2.33The amount for shipping.taxdoubleDefaults to 12The amount for tax.discountdoubleDefaults to 2The discount amount.subscriptionItemsarray of objectsThe subscription items for this subscription.subscriptionItemsADD objectsubscriptionTaxesarray of objectsThe subscription taxes for this subscription.subscriptionTaxesADD objectsubscriptionDiscountsarrayThe subscription discounts for this subscription.subscriptionDiscountsHeadersx-idempotent-keystringResponses 200200 400400Updated 11 months ago