XRPay · Schema

PayrollRun

A single-currency payroll run. Each payment is indivisible and uses exactly one internal custody pool.

CompanyPaymentsMerchant PaymentsRefundsWebhooksFintech

Properties

Name Type Description
id string
object object
livemode boolean
currency string
funding_source object
status object
total_recipients integer
salary_total object
provider_fee_amount object
xrpay_fee_amount object
total_debit_amount object
quote_expires_at stringnull
payments array
View JSON Schema on GitHub

JSON Schema

xrpay-payroll-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xrpay/main/json-schema/xrpay-payroll-run-schema.json",
  "title": "PayrollRun",
  "description": "A single-currency payroll run. Each payment is indivisible and uses exactly one internal custody pool.",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xrpay-openapi.yml#/components/schemas/PayrollRun",
  "type": "object",
  "required": [
    "id",
    "object",
    "livemode",
    "currency",
    "funding_source",
    "status",
    "total_recipients",
    "salary_total",
    "total_debit_amount",
    "payments"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "object": {
      "const": "payroll_run"
    },
    "livemode": {
      "type": "boolean"
    },
    "currency": {
      "type": "string"
    },
    "funding_source": {
      "const": "provider_balance"
    },
    "status": {
      "enum": [
        "pending",
        "quoted",
        "approved",
        "processing",
        "partially_completed",
        "completed",
        "failed",
        "action_required",
        "cancelled"
      ]
    },
    "total_recipients": {
      "type": "integer"
    },
    "salary_total": {
      "$ref": "#/$defs/MoneyString"
    },
    "provider_fee_amount": {
      "$ref": "#/$defs/MoneyString"
    },
    "xrpay_fee_amount": {
      "$ref": "#/$defs/MoneyString"
    },
    "total_debit_amount": {
      "$ref": "#/$defs/MoneyString"
    },
    "quote_expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "payments": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "$defs": {
    "MoneyString": {
      "type": "string",
      "pattern": "^[0-9]+(\\.[0-9]{1,18})?$",
      "description": "An exact non-negative decimal amount. Never parse this as a binary floating-point number."
    }
  }
}

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/xrpay-payroll-run"
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.