SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Subscriptions

Cancel subscription

POST/api/v1/subscriptions/me/cancel

Cancels the seller's subscription. Access typically continues until the end of the current billing period.

Requires Authorization
SELLER only
Session
Request
curl --request POST \
  --url https://api.swiftgoma.com/api/v1/subscriptions/me/cancel \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": {
    "id": "sub_9c8d7e",
    "sellerProfileId": "sp_2b3c4d",
    "planId": "plan_starter",
    "billingCycle": "MONTHLY",
    "currency": "USD",
    "status": "CANCELED",
    "currentPeriodStart": "2026-02-01T00:00:00.000Z",
    "currentPeriodEnd": "2026-03-01T00:00:00.000Z"
  }
}