Subscriptions

Obter assinatura

Changed on

Retorna detalhes sobre a assinatura em vigor.

get/subscriptions/current

Request

  • Base URL
    https://api.contas.rdstationmentoria.com.br/rest
  • Auth
    HTTP bearer

Query parameters

appId, string required

Response

Successful response

object nullable required
id, string required

Identificador único da assinatura

status, 'trial' | 'active' | 'canceled' | 'ended' required

Status da assinatura

appId, string required

Identificador da aplicação vinculada

priceId, string required

Identificador do preço contratado

coupon, string nullable

Cupom aplicado na assinatura

source, 'self_service' | 'third_party'

Origem da assinatura

workspaceId, string required

ID do workspace

createdAt, string date-time

Data de criação

updatedAt, string date-time

Data da última atualização

Changes

    • info

      the createdAt response's property default value changed from 2026-12-06T00:20:42.462Z to 2026-12-06T01:20:39.045Z for the status

    • info

      the updatedAt response's property default value changed from 2026-12-06T00:20:42.462Z to 2026-12-06T01:20:39.045Z for the status

    • info

      the createdAt response's property default value changed from 2026-12-05T23:21:03.251Z to 2026-12-06T00:20:42.462Z for the status

    1 more change in this revision