Recurly · Schema

AccountAcquisition

SubscriptionBillingPaymentsRecurring RevenueInvoicingDunningRevenue RecognitionChurnMCPShopifyWebhook

Properties

Name Type Description
cost object
channel object The channel through which the account was acquired.
subchannel string An arbitrary subchannel string representing a distinction/subcategory within a broader channel.
campaign string An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
acquired_at string Date the account was first created if different than the account.created_at. ie Importing accounts.
id string
object string
account object
created_at string When the account acquisition data was created.
updated_at string When the account acquisition data was last changed.
View JSON Schema on GitHub

JSON Schema

recurly-account-acquisition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recurly/json-schema/recurly-account-acquisition-schema.json",
  "title": "AccountAcquisition",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recurly-account-acquisition-info-api-openapi.yml#/components/schemas/AccountAcquisition",
  "allOf": [
    {
      "$ref": "#/$defs/AccountAcquisitionUpdate"
    },
    {
      "$ref": "#/$defs/AccountAcquisitionReadOnly"
    }
  ],
  "$defs": {
    "AccountAcquisitionReadOnly": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 13,
          "readOnly": true
        },
        "object": {
          "type": "string",
          "title": "Object type",
          "readOnly": true
        },
        "account": {
          "$ref": "#/$defs/AccountMini"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "When the account acquisition data was created.",
          "readOnly": true
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "When the account acquisition data was last changed.",
          "readOnly": true
        }
      }
    },
    "AccountAcquisitionUpdate": {
      "type": "object",
      "properties": {
        "cost": {
          "type": "object",
          "x-class-name": "AccountAcquisitionCost",
          "title": "Account balance",
          "items": {
            "type": "object"
          },
          "properties": {
            "currency": {
              "type": "string",
              "title": "Currency",
              "description": "3-letter ISO 4217 currency code.",
              "maxLength": 3
            },
            "amount": {
              "type": "number",
              "format": "float",
              "title": "Amount",
              "description": "The amount of the corresponding currency used to acquire the account."
            }
          }
        },
        "channel": {
          "description": "The channel through which the account was acquired.",
          "$ref": "#/$defs/ChannelEnum"
        },
        "subchannel": {
          "type": "string",
          "description": "An arbitrary subchannel string representing a distinction/subcategory within a broader channel."
        },
        "campaign": {
          "type": "string",
          "description": "An arbitrary identifier for the marketing campaign that led to the acquisition of this account."
        },
        "acquired_at": {
          "type": "string",
          "format": "date-time",
          "description": "Date the account was first created if different than the account.created_at. ie Importing accounts."
        }
      }
    },
    "AccountMini": {
      "type": "object",
      "title": "Account mini details",
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 13,
          "readOnly": true
        },
        "object": {
          "type": "string",
          "title": "Object type",
          "readOnly": true
        },
        "code": {
          "type": "string",
          "description": "The unique identifier of the account.",
          "maxLength": 50
        },
        "email": {
          "type": "string",
          "format": "email",
          "description": "The email address used for communicating with this customer.",
          "maxLength": 255
        },
        "first_name": {
          "type": "string",
          "maxLength": 255
        },
        "last_name": {
          "type": "string",
          "maxLength": 255
        },
        "company": {
          "type": "string",
          "maxLength": 255
        },
        "parent_account_id": {
          "type": "string",
          "maxLength": 13
        },
        "bill_to": {
          "type": "string",
          "maxLength": 6
        },
        "dunning_campaign_id": {
          "type": "string",
          "title": "Dunning Campaign ID",
          "description": "Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used."
        }
      }
    },
    "ChannelEnum": {
      "type": "string",
      "enum": [
        "advertising",
        "blog",
        "direct_traffic",
        "email",
        "events",
        "marketing_content",
        "organic_search",
        "other",
        "outbound_sales",
        "paid_search",
        "public_relations",
        "referral",
        "social_media"
      ]
    }
  }
}

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/recurly-account-acquisition"
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. See our Privacy Policy and Terms.

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