Payrix · Schema
billingsPostRequest
CompanyPaymentsEmbedded PaymentsPayment FacilitationMerchant OnboardingFintechPayoutsChargebacksSubscription
Properties
| Name | Type | Description |
|---|---|---|
| login | string | The Login that owns this resource. |
| entity | string | The alphanumeric identifier of the Entity associated with this Account. |
| forentity | string | The alphanumeric identifier of the Entity associated with this Account. |
| org | string | The identifier of the Org associated with this invoiceParameter. |
| division | string | ID of the division associated with this vendor |
| partition | string | The identifier of the Partition associated with this invoiceParameter. |
| description | string | The billing details. |
| schedule | object | |
| scheduleFactor | integer | A multiplier that you can use to adjust the schedule set in the 'schedule' field, if it is set to a duration-based trigger, such as daily, weekly, monthly, or annually. This field is specified as an i |
| start | integer | The date on which this Billing period should start. |
| finish | integer | The date on which this Billing period should end. |
| collection | object | |
| collectionFactor | object | |
| collectionOffset | integer | The number of days, weeks, months or years to go back when selecting data for collection calculation. |
| collectionIncludeCurrent | object | |
| currency | object | |
| inactive | object | |
| frozen | object | |
| billingEvents | array | |
| billingModifiers | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/payrix/main/json-schema/payrix-billings-post-request-schema.json",
"title": "billingsPostRequest",
"x-generated": "2026-09-21",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/payrix-billing-api-openapi.yml#/components/schemas/billingsPostRequest",
"required": [
"login",
"entity",
"schedule",
"start",
"collectionFactor",
"currency"
],
"type": "object",
"properties": {
"login": {
"type": "string",
"description": "The Login that owns this resource."
},
"entity": {
"type": "string",
"description": "The alphanumeric identifier of the Entity associated with this Account."
},
"forentity": {
"type": "string",
"description": "The alphanumeric identifier of the Entity associated with this Account."
},
"org": {
"type": "string",
"description": "The identifier of the Org associated with this invoiceParameter."
},
"division": {
"type": "string",
"description": "ID of the division associated with this vendor"
},
"partition": {
"type": "string",
"description": "The identifier of the Partition associated with this invoiceParameter."
},
"description": {
"type": "string",
"description": "The billing details."
},
"schedule": {
"allOf": [
{
"$ref": "#/$defs/billingSchedule"
},
{
"description": "The schedule that determines when this Billing is triggered to start collecting data.\n\n<details>\n<summary>Valid Values</summary>\n\n- `days` - **Daily schedule.**\n- `weeks` - **Weekly schedule.**\n- `months` - **Monthly schedule.**\n- `years` - **Annual schedule.**\n\n</details>"
}
]
},
"scheduleFactor": {
"type": "integer",
"description": "A multiplier that you can use to adjust the schedule set in the 'schedule' field, if it is set to a duration-based trigger, such as daily, weekly, monthly, or annually. \nThis field is specified as an integer and its value determines how the interval is multiplied.",
"contentEncoding": "int32",
"default": 1
},
"start": {
"type": "integer",
"description": "The date on which this Billing period should start.",
"contentEncoding": "int32"
},
"finish": {
"type": "integer",
"description": "The date on which this Billing period should end.",
"contentEncoding": "int32"
},
"collection": {
"allOf": [
{
"$ref": "#/$defs/billingCollection"
},
{
"description": "Determines who will be billed.\n\n<details>\n<summary>Valid Values</summary>\n\n- `entity` - **The entity will be billed.**\n\n</details>"
}
]
},
"collectionFactor": {
"allOf": [
{
"$ref": "#/$defs/billingsCollectionFactor"
},
{
"description": "A multiplier that you can use to adjust the set of data to be used in the collection calculation.\n\n<details>\n<summary>Valid Values</summary>\n\n- `days` - **Days.** Multiplier based on days.\n- `weeks` - **Weeks.** Multiplier based on weeks.\n- `months` - **Months.** Multiplier based on months.\n- `years` - **Years.** Multiplier based on years.\n\n</details>"
}
]
},
"collectionOffset": {
"type": "integer",
"description": "The number of days, weeks, months or years to go back when selecting data for collection calculation.",
"contentEncoding": "int32",
"default": 1
},
"collectionIncludeCurrent": {
"allOf": [
{
"$ref": "#/$defs/billingsCollectionIncludeCurrent"
},
{
"description": "Whether to include the current period in the collection calculation.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Exclude Current Period.** Do not include the current period in the calculation.\n- `1` - **Include Current Period.** Include the current period in the calculation.\n\n</details>"
}
]
},
"currency": {
"allOf": [
{
"oneOf": [
{},
{
"$ref": "#/$defs/currency"
}
]
},
{
"description": "The currency of the amount in this billing. See <a href=\"https://www.iban.com/currency-codes\" target=\"_blank\">Currency codes</a> for all valid values."
}
]
},
"inactive": {
"allOf": [
{
"$ref": "#/$defs/inactive"
},
{
"description": "Whether this resource is marked as inactive.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Active**\n- `1` - **Inactive**\n\n</details>"
}
]
},
"frozen": {
"allOf": [
{
"$ref": "#/$defs/frozen"
},
{
"description": "Whether this resource is marked as frozen.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Not Frozen**\n- `1` - **Frozen**\n\n</details>"
}
]
},
"billingEvents": {
"type": "array",
"items": {
"$ref": "#/$defs/billingEventsPostRequest"
},
"description": ""
},
"billingModifiers": {
"type": "array",
"items": {
"$ref": "#/$defs/billingModifiersPostRequest"
},
"description": ""
}
},
"$defs": {
"billingCollection": {
"title": "billingCollection",
"const": "entity",
"type": "string"
},
"billingEvent": {
"title": "billingEvent",
"enum": [
"fees",
"chargebacks",
"returns",
"profitShares",
"revShares"
],
"type": "string"
},
"billingEventsDeductFromBalance": {
"title": "billingEventsDeductFromBalance",
"enum": [
0,
1
],
"type": "integer"
},
"billingEventsPostRequest": {
"title": "billingEventsPostRequest",
"required": [
"billing",
"event"
],
"type": "object",
"properties": {
"billing": {
"type": "string",
"description": "The billing to which this billingEvent applies."
},
"event": {
"allOf": [
{
"$ref": "#/$defs/billingEvent"
},
{
"description": "The type of event that triggers billing.\n\n<details>\n<summary>Valid Values</summary>\n\n- `fees` - **Fee.** Fee events trigger the billing configuration.\n- `chargebacks` - **Chargebacks.** Chargeback events trigger the billing configuration.\n- `returns` - **Returns.** Return events trigger the billing configuration.\n- `profitShares` - **Profit Shares.** Profit Sharing events trigger the billing configuration.\n- `revShares` - **RevShares.** Rev Sharing events trigger the billing configuration.\n\n</details>"
}
]
},
"eventSchedule": {
"type": "string",
"description": "The record ID of a specific schedule for the event chosen for which the billing configuration applies, all other records of the same event are excluded."
},
"deductFromBalance": {
"allOf": [
{
"$ref": "#/$defs/billingEventsDeductFromBalance"
},
{
"description": "Whether to deduct the billing amount from the entity's account balance.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Do not deduct from balance.**\n- `1` - **Deduct from balance.**\n\n</details>"
}
]
},
"inactive": {
"allOf": [
{
"$ref": "#/$defs/inactive"
},
{
"description": "Whether this resource is marked as inactive.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Active**\n- `1` - **Inactive**\n\n</details>"
}
]
},
"frozen": {
"allOf": [
{
"$ref": "#/$defs/frozen"
},
{
"description": "Whether this resource is marked as frozen.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Not Frozen**\n- `1` - **Frozen**\n\n</details>"
}
]
}
}
},
"billingModifiersPostRequest": {
"title": "billingModifiersPostRequest",
"required": [
"billing",
"fromentity"
],
"type": "object",
"properties": {
"billing": {
"type": "string",
"description": "The identifier of the Billing that this Billing Modifier applies to."
},
"entity": {
"type": "string",
"description": "The identifier of the Entity that this Billing Modifier applies to."
},
"org": {
"type": "string",
"description": "The identifier of the Org that this Billing Modifier applies to."
},
"division": {
"type": "string",
"description": "The identifier of the Division that this Billing Modifier applies to."
},
"partition": {
"type": "string",
"description": "The identifier of the Partition that this Billing Modifier applies to."
},
"fromentity": {
"type": "string",
"description": "The identifier of the Entity that is responsible for paying this Bill on behalf of the Entity specified in the 'entity' field."
},
"inactive": {
"allOf": [
{
"$ref": "#/$defs/inactive"
},
{
"description": "Whether this resource is marked as inactive.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Active**\n- `1` - **Inactive**\n\n</details>"
}
]
},
"frozen": {
"allOf": [
{
"$ref": "#/$defs/frozen"
},
{
"description": "Whether this resource is marked as frozen.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Not Frozen**\n- `1` - **Frozen**\n\n</details>"
}
]
}
}
},
"billingSchedule": {
"title": "billingSchedule",
"enum": [
"days",
"weeks",
"months",
"years"
],
"type": "string"
},
"billingsCollectionFactor": {
"title": "billingsCollectionFactor",
"enum": [
"days",
"weeks",
"months",
"years"
],
"type": "string"
},
"billingsCollectionIncludeCurrent": {
"title": "billingsCollectionIncludeCurrent",
"enum": [
0,
1
],
"type": "integer"
},
"currency": {
"title": "currency",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BOV",
"BRL",
"BSD",
"BTN",
"BWP",
"BYN",
"BZD",
"CAD",
"CDF",
"CHE",
"CHF",
"CHW",
"CLF",
"CLP",
"CNY",
"COP",
"COU",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"INR",
"IQD",
"IRR",
"ISK",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MXV",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SVC",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"USN",
"UYI",
"UYU",
"UZS",
"VEF",
"VND",
"VUV",
"WST",
"XAF",
"XAG",
"XAU",
"XBA",
"XBB",
"XBC",
"XBD",
"XCD",
"XDR",
"XOF",
"XPD",
"XPF",
"XPT",
"XSU",
"XUA",
"YER",
"ZAR",
"ZMW",
"ZWL"
],
"type": "string"
},
"frozen": {
"title": "frozen",
"enum": [
0,
1
],
"type": "integer"
},
"inactive": {
"title": "inactive",
"enum": [
0,
1
],
"type": "integer"
}
}
}
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/payrix-billings-post-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.