Cancel at cycle end (entitlement survives until period end)

post/v1/subscriptions/{id}/cancel

Request

  • Base URL
    https://api.hify.club
  • Auth
    API key in header X-User-Token

Path parameters

idinteger required

Response

Updated subscription

idinteger
status'created' | 'authenticated' | 'active' | 'past_due' | 'halted' | 'cancelled' | 'completed'
pgstring
current_period_startstring date-time nullable
current_period_endstring date-time nullable
cancel_at_period_endboolean
payment_method_summaryobject

Example response

{
  "pg": "razorpay"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.