Recurly · Schema
SubscriptionDiscountCodesResultDto
SubscriptionBillingPaymentsRecurring RevenueInvoicingDunningRevenue RecognitionChurnMCPShopifyWebhook
Properties
| Name | Type | Description |
|---|---|---|
| page | number | Current page number |
| limit | number | Number of items per page |
| totalItems | number | Total number of items |
| totalPages | number | Total number of pages |
| subscriptionDiscountCodes | array | Array of subscription discount codes for the current page |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/recurly/json-schema/recurly-subscription-discount-codes-result-dto-schema.json",
"title": "SubscriptionDiscountCodesResultDto",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/recurly-subscriptiondiscountcodes-api-api-openapi.yml#/components/schemas/SubscriptionDiscountCodesResultDto",
"type": "object",
"properties": {
"page": {
"type": "number",
"description": "Current page number"
},
"limit": {
"type": "number",
"description": "Number of items per page"
},
"totalItems": {
"type": "number",
"description": "Total number of items"
},
"totalPages": {
"type": "number",
"description": "Total number of pages"
},
"subscriptionDiscountCodes": {
"description": "Array of subscription discount codes for the current page",
"type": "array",
"items": {
"$ref": "#/$defs/SubscriptionDiscountCodeDto"
}
}
},
"required": [
"page",
"limit",
"totalItems",
"totalPages",
"subscriptionDiscountCodes"
],
"$defs": {
"SubscriptionDiscountCodeDto": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"format": "date-time",
"type": "string"
},
"updatedAt": {
"format": "date-time",
"type": "string"
},
"deletedAt": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"subscriptionId": {
"type": "string",
"description": "The id of the subscription"
},
"code": {
"type": "string",
"description": "The discount code"
},
"discountCodeExternalId": {
"type": "string",
"description": "The shopify id of the discount code"
},
"type": {
"type": "string",
"enum": [
"MANUAL",
"CODE_DISCOUNT",
"AUTOMATIC_DISCOUNT"
]
},
"targetType": {
"type": "string",
"enum": [
"SHIPPING_LINE",
"LINE_ITEM"
]
},
"discountModifier": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED_AMOUNT"
]
},
"discount": {
"type": "number"
},
"recurringCycleLimit": {
"type": "number"
},
"usageCount": {
"type": "number"
}
},
"required": [
"id",
"createdAt",
"updatedAt",
"deletedAt",
"subscriptionId",
"code",
"discountCodeExternalId",
"type",
"targetType",
"discountModifier",
"discount",
"usageCount"
]
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/recurly-subscription-discount-codes-result-dto"
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.