Properties
| Name | Type | Description |
|---|---|---|
| action_type | string | One of create, or update. |
| resource_type | string | One of payment_order, expected_payment, or ledger_transaction. |
| metadata | object | Additional data represented as key-value pairs. Both the key and value must be strings. |
| resources | array | An array of objects where each object contains the input params for a single `action_type` request on a `resource_type` resource |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/bulk_request_create_request",
"title": "bulk_request_create_request",
"type": "object",
"properties": {
"action_type": {
"type": "string",
"enum": [
"create",
"update",
"delete"
],
"description": "One of create, or update."
},
"resource_type": {
"type": "string",
"enum": [
"payment_order",
"ledger_account",
"ledger_transaction",
"expected_payment",
"transaction",
"transaction_line_item",
"entity_link"
],
"description": "One of payment_order, expected_payment, or ledger_transaction."
},
"metadata": {
"type": "object",
"description": "Additional data represented as key-value pairs. Both the key and value must be strings.",
"additionalProperties": {
"type": "string"
},
"example": {
"key": "value",
"foo": "bar",
"modern": "treasury"
}
},
"resources": {
"type": "array",
"description": "An array of objects where each object contains the input params for a single `action_type` request on a `resource_type` resource",
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_order_async_create_request"
},
{
"$ref": "#/components/schemas/expected_payment_create_request"
},
{
"$ref": "#/components/schemas/ledger_transaction_create_request"
},
{
"$ref": "#/components/schemas/ledger_account_create_request"
},
{
"$ref": "#/components/schemas/transaction_create_request"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
}
},
{
"allOf": [
{
"$ref": "#/components/schemas/payment_order_update_request"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
}
}
],
"x-stainless-variantName": "payment_order_update_request_with_id"
},
{
"allOf": [
{
"$ref": "#/components/schemas/expected_payment_update_request"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
}
}
],
"x-stainless-variantName": "expected_payment_update_request_with_id"
},
{
"allOf": [
{
"$ref": "#/components/schemas/transaction_update_request"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
}
}
],
"x-stainless-variantName": "transaction_update_request_with_id"
},
{
"allOf": [
{
"$ref": "#/components/schemas/ledger_transaction_update_request"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
}
}
],
"x-stainless-variantName": "ledger_transaction_update_request_with_id"
}
]
}
}
},
"required": [
"action_type",
"resource_type",
"resources"
]
}
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/modern-treasury-bulk-request-create-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.