AffiliateRail · Schema
Program
AffiliatesSoftware-as-a-ServiceMarketingPaymentsAffiliateSoftwareCompany
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Prefixed id (`prg_…`) |
| object | string | |
| name | string | |
| product_name | string | |
| website_url | string | |
| currency | string | ISO-4217 |
| status | string | |
| subdomain | string | |
| custom_domain | stringnull | |
| terms_url | stringnull | |
| terms_version | stringnull | |
| cookie_days | integer | |
| url_params | array | |
| commission_on_net_revenue | boolean | |
| holding_period_days | integer | |
| min_payout_minor | integer | Integer minor units (cents, pence). Never a float, never a string. |
| payout_term | string | |
| payout_methods | array | |
| block_self_referrals | boolean | |
| blocked_countries | array | |
| require_tax_forms | boolean | |
| auto_payouts_enabled | boolean | |
| processor | stringnull | |
| stats | object | |
| created_at | string | ISO-8601, UTC |
| updated_at | string | ISO-8601, UTC |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/affiliaterail-com/json-schema/affiliaterail-com-program-schema.json",
"title": "Program",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/affiliaterail-com-programs-api-openapi.yml#/components/schemas/Program",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^(sample_)?prg_",
"description": "Prefixed id (`prg_…`)"
},
"object": {
"type": "string",
"enum": [
"program"
]
},
"name": {
"type": "string"
},
"product_name": {
"type": "string"
},
"website_url": {
"type": "string"
},
"currency": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "ISO-4217"
},
"status": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"subdomain": {
"type": "string"
},
"custom_domain": {
"type": [
"string",
"null"
]
},
"terms_url": {
"type": [
"string",
"null"
]
},
"terms_version": {
"type": [
"string",
"null"
]
},
"cookie_days": {
"type": "integer"
},
"url_params": {
"type": "array",
"items": {
"type": "string"
}
},
"commission_on_net_revenue": {
"type": "boolean"
},
"holding_period_days": {
"type": "integer"
},
"min_payout_minor": {
"type": "integer",
"description": "Integer minor units (cents, pence). Never a float, never a string."
},
"payout_term": {
"type": "string",
"enum": [
"net_15",
"net_30",
"net_60"
]
},
"payout_methods": {
"type": "array",
"items": {
"type": "string",
"enum": [
"paypal",
"wise",
"bank_transfer",
"wire",
"crypto",
"payoneer"
]
}
},
"block_self_referrals": {
"type": "boolean"
},
"blocked_countries": {
"type": "array",
"items": {
"type": "string"
}
},
"require_tax_forms": {
"type": "boolean"
},
"auto_payouts_enabled": {
"type": "boolean"
},
"processor": {
"type": [
"string",
"null"
],
"enum": [
"stripe",
"paddle",
"chargebee",
"manual",
"api",
null
]
},
"stats": {
"$ref": "#/$defs/ProgramStats"
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "ISO-8601, UTC"
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "ISO-8601, UTC"
}
},
"required": [
"id",
"object",
"name",
"product_name",
"website_url",
"currency",
"status",
"subdomain",
"custom_domain",
"terms_url",
"terms_version",
"cookie_days",
"url_params",
"commission_on_net_revenue",
"holding_period_days",
"min_payout_minor",
"payout_term",
"payout_methods",
"block_self_referrals",
"blocked_countries",
"require_tax_forms",
"auto_payouts_enabled",
"processor",
"created_at",
"updated_at"
],
"$defs": {
"ProgramStats": {
"type": "object",
"properties": {
"partners": {
"type": "integer"
},
"active_partners": {
"type": "integer"
},
"clicks": {
"type": "integer"
},
"referrals": {
"type": "integer"
},
"customers": {
"type": "integer"
},
"sales_minor": {
"type": "integer",
"description": "Integer minor units (cents, pence). Never a float, never a string."
},
"commissions_minor": {
"type": "integer",
"description": "Integer minor units (cents, pence). Never a float, never a string."
}
},
"required": [
"partners",
"active_partners",
"clicks",
"referrals",
"customers",
"sales_minor",
"commissions_minor"
]
}
}
}
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/affiliaterail-com-program"
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.