Skip to main content
POST
/
subscriptions
/
cancel
Cancel Subscription
curl --request POST \
  --url https://api.veryfront.com/subscriptions/cancel \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "subscription": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "<string>",
    "cycle": "<string>",
    "quantity": 123,
    "status": "<string>",
    "current_period_start": "<string>",
    "current_period_end": "<string>",
    "expires_at": "<string>",
    "canceled_at": "<string>",
    "created_at": "<string>"
  },
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.

Response

Subscription cancelled

success
boolean
required
subscription
object
error
string | null