← Back to schema index

BillingSubscriptionResponse

Active subscription and quota summary returned by `GET /v1/billing/subscription`.

Properties

FieldTypeDescription
dataobject

Main response payload. Shape varies by endpoint (object, array, or JSON:API envelope with type, id, attributes).

type*string

JSON:API resource type. Always billing_subscription.

id*string

Local subscription identifier, represented as a string.

attributes*object

The user's active subscription, including its source, state, cycle, and limits. Each user has exactly one. The trial_*, cancel_*, and stripe_subscription_id fields are null when not applicable.

plan_slugstring

Unique, human-readable plan identifier. It corresponds to the user's active plan.

plan_namestring

Plan name shown in the interfaces.

billing_modelstring

Plan billing model. free: No charge; tiered: Flat fee; metered: Charged by usage; hybrid: Flat fee plus usage.

sourcestring

Subscription source — stripe: Payment through Stripe; admin_granted: Admin grant; system_default: Plan assigned by the system.

statusstring

Subscription lifecycle state — active: Active; trialing: In a trial period; past_due: Payment overdue with access still enabled; canceled: Ended; unpaid: Failed payments with no access; incomplete: First payment pending; incomplete_expired: First payment expired; paused: Paused.

current_period_startstring (date-time)

ISO 8601 timestamp in UTC with an explicit Z suffix; for example, "2026-05-01T05:14:38Z". The *_at, *_end, *_start, and *_date fields follow this format. meta.datetime describes the same contract in the response.

current_period_endstring (date-time)

ISO 8601 timestamp in UTC with an explicit Z suffix; for example, "2026-05-01T05:14:38Z". The *_at, *_end, *_start, and *_date fields follow this format. meta.datetime describes the same contract in the response.

currencystring

Currency of the active cycle. MXN is Mexican pesos and USD, US dollars.

billing_intervalstring

Billing cadence — once: One cycle with no automatic renewal; month: Monthly; year: Yearly.

overage_enabledboolean

true when the user has opted into overage billing on a hybrid plan. When so, effective_limit jumps from included_validations to monthly_validation_limit.

included_validationsinteger | null

Validations included in the base quota before overage charges. null when the plan has no base quota.

monthly_validation_limitinteger

Validation cap per subscription cycle. 0 allows no validations. On hybrid plans, it is the hard cap when overage_enabled is true; when it is false, effective_limit uses included_validations. On other models, it is the effective limit unless an admin override applies.

beneficiaries_maxinteger

Cap on registered beneficiaries per account. -1 means uncapped; from 0, the value is enforced as the limit.

bulk_validations_maxinteger

Maximum number of validations per import job. 0 allows no validation imports.

effective_limitinteger

Effective validation limit for the current cycle. It includes admin overrides and, on hybrid plans, the overage_enabled rule. This is the value used to decide whether a validation is served or rejected.

is_stripeboolean

true when source is stripe.

stripe_subscription_idstring | null

Stripe subscription identifier (sub_...). null when source is not stripe.

grant_reasonstring | null

Reason recorded when the subscription was granted by an admin. null when source is not admin_granted.

cancel_at_period_endboolean

true when the subscription is scheduled to cancel at the end of the current cycle.

cancel_atstring | null

Date and time the cancellation is scheduled for, in ISO 8601 UTC. null when no cancellation is scheduled through cancel_at.

canceled_atstring | null

Date and time the cancellation took effect, in ISO 8601 UTC. null while the subscription is active.

trial_startstring | null

Date and time the trial period starts, in ISO 8601 UTC. null when there is no trial period.

trial_endstring | null

Date and time the trial period ends, in ISO 8601 UTC. null when there is no trial period.

metaobject

Response metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC.

versionstring

API version that processed the request.

api_versionstring

API route prefix version (e.g. v1).

request_idstring

Unique request identifier, 24 hexadecimal characters. Keep it and quote it when you contact support: it locates the request.

datetimeobject

Companion descriptor present in the meta block of every response (and in the meta of outgoing webhook bodies). Lets clients assert the timezone contract without re-reading the spec.

timezone*string

Always UTC: The canonical timezone for every datetime field in the body.

format*string

Always ISO 8601: Explicit Z suffix on every datetime.

field_names_noticeobject

Field-name change notice. It only appears on POST /v1/validate, POST /v1/validate-ocr, GET /v1/validations, GET /v1/validations/{id}, POST /v1/validations/{id}/recheck, GET /v1/summary and GET /v1/finance/summary, the same operations that send the Deprecation and Sunset headers. With legacy_request_fields, the request used Spanish field names; it is also sent on error responses. With legacy_response_fields, the request used English names only and the notice refers to the Spanish fields the response duplicates; it is sent on successful responses only.

code*string

Notice type. legacy_request_fields: the request used Spanish field names. legacy_response_fields: the response includes duplicated Spanish fields that will stop being sent.

message*string

Notice text, in the response language (Accept-Language).

sunset*string (date)

Cut-off date, the same one the Sunset header announces.

documentation_url*string (uri)

Migration guide to the English names, in the response language.

legacy_fieldsarray

Spanish names the request sent. Only with legacy_request_fields.

linksobject

Pagination or related links, present only when the endpoint returns a paginated collection.

Used in operations

  • GET /v1/billing/subscription