O objeto assinatura representa o relacionamento de billing ativo de uma organizacao com a plataforma. Ele vincula a organizacao a um plano e intervalo especificos, rastreia o status de pagamento e gerencia cupons vinculados.
O identificador unico da assinatura (UUIDv7).
O ID do intervalo do plano (UUIDv7).
A referencia externa do plano.
The external reference for the fee.
O codigo da moeda (ex: BRL, USD).
O status da assinatura. One of: ACTIVE, PAST_DUE, PAUSED, CANCELLATION_PENDING, CANCELLED.
The reason the subscription is past due.
Timestamp when the subscription became past due (ISO 8601).
The actor who paused the subscription.
Timestamp when the subscription was paused (ISO 8601).
The actor who cancelled the subscription.
Timestamp when the subscription was cancelled (ISO 8601).
The coupons applied to this subscription. Show coupon item properties
The subscription coupon unique identifier.
The subscription coupon status.
Timestamp de criacao (ISO 8601).
Timestamp da ultima atualizacao (ISO 8601).
The actor who created the subscription.
Timestamp de criacao (ISO 8601).
The actor who last updated the subscription.
Timestamp da ultima atualizacao (ISO 8601).
{
"subscriptionId" : "019525fd-b17c-7f8d-e5a1-7b9c1d3f5a7d" ,
"organizationId" : "019525fd-4c38-7e30-a5c1-b6e3f4d8a9c2" ,
"planId" : "019525fd-6b2c-7a1e-9d4f-3c5e7a9b1d3f" ,
"planIntervalId" : "019525fd-7e40-7c5a-b2d8-4e6f8a0c2e4a" ,
"externalPlanRef" : "sub_1Oy2pL2eZvKYlo2C0vIqMZ8y" ,
"externalFeeRef" : null ,
"currency" : "BRL" ,
"status" : "ACTIVE" ,
"pastDueReason" : null ,
"pastDueAt" : null ,
"pausedBy" : null ,
"pausedAt" : null ,
"cancelledBy" : null ,
"cancelledAt" : null ,
"coupons" : [
{
"id" : "019525fe-6d58-7ed8-d0fc-8a0b2c4e6f8c" ,
"subscriptionId" : "019525fd-b17c-7f8d-e5a1-7b9c1d3f5a7d" ,
"couponId" : "019525fd-d3a4-7baf-a7c3-9d1e3f5b7c9f" ,
"status" : "ACTIVE" ,
"externalRef" : "di_1Oy2pL2eZvKYlo2C0vIqMZ8y" ,
"createdAt" : "2026-02-01T12:00:00.000Z" ,
"updatedAt" : "2026-02-01T12:00:00.000Z"
}
],
"createdBy" : "019525fd-56a8-7db4-8c3e-2a1b4d6f8e0c" ,
"createdAt" : "2026-02-01T12:00:00.000Z" ,
"updatedBy" : "019525fd-56a8-7db4-8c3e-2a1b4d6f8e0c" ,
"updatedAt" : "2026-02-01T12:00:00.000Z"
}