Cancel subscriptionAsk AIpost https://www.pelcro.com/api/v1/sdk/subscription/cancelCancel an existing subscription for a customer on-session.Query Paramssite_idint32requiredThe unique identifier of the site associated with your account.Body Paramssubscription_idint32requiredThe unique identifier of the subscription to cancel.modestringenumDefaults to last_period_endDefines the cancellation mode, one of now, current_period_end or last_period_end. Choosing now will cancel it immediately and refund the prorated amount, if applicable. Default is to cancel at last_period_end.nowcurrent_period_endlast_period_endAllowed:nowcurrent_period_endlast_period_endreasonstringThe cancellation reason.HeadersAuthorizationstringrequiredDefaults to Bearer eyJ***AcceptstringDefaults to application/jsonResponses 200200 400400Updated about 1 month ago