CommsHarbor · Schema

OfertaDeAssinatura

EmailTransactional EmailEmail MarketingCommunicationsMessagingDeliverabilityCRMMulti-tenant SaaSAgent-NativeMCPWeb3 paymentsx402

Properties

Name Type Description
id string Offer ID: 2 to 64 characters. Start with a lowercase letter. Use lowercase letters, digits, hyphens or underscores.
produto string Product ID, with the same format as the offer ID.
versao integer Offer version: 1 to 1,000,000.
preco_centavos integer Price per cycle in cents: 500 to 1,000,000.
moeda string Fixed currency: BRL.
ciclo string MONTHLY for a monthly offer; WEEKLY for a weekly offer.
renovacao_automatica boolean true: billing repeats each cycle until cancellation.
compromisso_meses integer Present only for MONTHLY: one calendar month.
compromisso_semanas integer Present only for WEEKLY: one seven-day period.
cancelamento string stop_future_charges: stop new charges.
acesso_pago string until_paid_period_end: keep access until the paid period ends.
teste_dias integer Configured trial length: 0 to 30 days. Reading the catalog grants no trial or benefit.
primeira_cobranca string First charge date in Brasilia (YYYY-MM-DD), selected by the server to preserve the current period. Included in the offer hash and acceptance.
desconto_primeira_cobranca_centavos integer Deduction in cents for the first invoice only, at most the cycle price. Requires primeira_cobranca and is included in the accepted offer hash. Following cycles keep preco_centavos.
conversao_teste string opt_in: a trial does not create or renew a subscription.
beneficios array 1 to 8 distinct capabilities for each paid period.
hash string SHA-256 of the complete offer: 64 lowercase hexadecimal characters.
View JSON Schema on GitHub

JSON Schema

commsharbor-oferta-de-assinatura-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commsharbor/json-schema/commsharbor-oferta-de-assinatura-schema.json",
  "title": "OfertaDeAssinatura",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commsharbor-credito-api-openapi.yml#/components/schemas/OfertaDeAssinatura",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Offer ID: 2 to 64 characters. Start with a lowercase letter. Use lowercase letters, digits, hyphens or underscores."
    },
    "produto": {
      "type": "string",
      "description": "Product ID, with the same format as the offer ID."
    },
    "versao": {
      "type": "integer",
      "description": "Offer version: 1 to 1,000,000."
    },
    "preco_centavos": {
      "type": "integer",
      "description": "Price per cycle in cents: 500 to 1,000,000."
    },
    "moeda": {
      "type": "string",
      "description": "Fixed currency: BRL."
    },
    "ciclo": {
      "type": "string",
      "description": "MONTHLY for a monthly offer; WEEKLY for a weekly offer."
    },
    "renovacao_automatica": {
      "type": "boolean",
      "description": "true: billing repeats each cycle until cancellation."
    },
    "compromisso_meses": {
      "type": "integer",
      "description": "Present only for MONTHLY: one calendar month."
    },
    "compromisso_semanas": {
      "type": "integer",
      "description": "Present only for WEEKLY: one seven-day period."
    },
    "cancelamento": {
      "type": "string",
      "description": "stop_future_charges: stop new charges."
    },
    "acesso_pago": {
      "type": "string",
      "description": "until_paid_period_end: keep access until the paid period ends."
    },
    "teste_dias": {
      "type": "integer",
      "description": "Configured trial length: 0 to 30 days. Reading the catalog grants no trial or benefit."
    },
    "primeira_cobranca": {
      "type": "string",
      "description": "First charge date in Brasilia (YYYY-MM-DD), selected by the server to preserve the current period. Included in the offer hash and acceptance."
    },
    "desconto_primeira_cobranca_centavos": {
      "type": "integer",
      "description": "Deduction in cents for the first invoice only, at most the cycle price. Requires primeira_cobranca and is included in the accepted offer hash. Following cycles keep preco_centavos."
    },
    "conversao_teste": {
      "type": "string",
      "description": "opt_in: a trial does not create or renew a subscription."
    },
    "beneficios": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BeneficioDeAssinatura"
      },
      "description": "1 to 8 distinct capabilities for each paid period."
    },
    "hash": {
      "type": "string",
      "description": "SHA-256 of the complete offer: 64 lowercase hexadecimal characters."
    }
  },
  "required": [
    "id",
    "produto",
    "versao",
    "preco_centavos",
    "moeda",
    "ciclo",
    "renovacao_automatica",
    "compromisso_meses",
    "compromisso_semanas",
    "cancelamento",
    "acesso_pago",
    "teste_dias",
    "conversao_teste",
    "beneficios",
    "hash"
  ],
  "$defs": {
    "BeneficioDeAssinatura": {
      "type": "object",
      "properties": {
        "sku": {
          "type": "string",
          "description": "Product capability: a lowercase letter followed by letters, digits or underscores; at most 64 characters."
        },
        "quantidade": {
          "type": "integer",
          "description": "1 to 1,000,000 units for each paid period."
        }
      },
      "required": [
        "sku",
        "quantidade"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/commsharbor-oferta-de-assinatura"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.