Subscriptions

Получение подписки по идентификатору контракта

get/api/v1/subscriptions/{id}

Request

  • Base URL: https://gate.lava.top (the document declares no server; this is the origin it was published from)
  • URL: https://gate.lava.top/api/v1/subscriptions/{id}
  • Auth: API key in header X-Api-Key

Path parameters

idstring uuid required

Идентификатор родительского контракта подписки

Response

Подписка

idstring uuid

Идентификатор подписки

datetimestring date-time

Время создания подписки

status'NEW' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'

Статус контракта

periodicity'ONE_TIME' | 'MONTHLY' | 'PERIOD_90_DAYS' | 'PERIOD_180_DAYS' | 'PERIOD_YEAR'

Периодичность оплаты

subscriptionStatus'ACTIVE' | 'CANCELLED' | 'FAILED'

Статус подписки

expiredAtstring date-time nullable

Дата истечения подписки

cancelledAtstring date-time nullable

Дата отмены подписки

terminatedAtstring date-time nullable

Дата прекращения подписки

Example response

{
  "clientUtm": {
    "utm_source": "google",
    "utm_medium": "cpc",
    "utm_campaign": "summer_sale",
    "utm_term": "running_shoes",
    "utm_content": "homepage_banner"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.