Properties
| Name | Type | Description |
|---|---|---|
| amount | integer | Required. Value in specified currency's smallest unit. e.g. $10 would be represented as 1000. Can be any integer up to 36 digits. |
| currency | string | Required. The currency of the payment. |
| direction | string | Required. Describes the direction money is flowing in the transaction. Can only be `debit`. A `debit` pulls money from someone else's account to your own. |
| counterparty_id | string | Required. The ID of a counterparty associated with the payment. As part of the payment workflow an external account will be associated with this model. |
| originating_account_id | string | Required. The ID of one of your organization's internal accounts. |
| due_date | string | Optional. Can only be passed in when `effective_date_selection_enabled` is `true`. When set, the due date is shown to your end-user in the pre-built UI as they are selecting a payment `effective_date` |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/payment_flow_create_request",
"title": "payment_flow_create_request",
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "Required. Value in specified currency's smallest unit. e.g. $10 would be represented as 1000. Can be any integer up to 36 digits."
},
"currency": {
"type": "string",
"description": "Required. The currency of the payment."
},
"direction": {
"type": "string",
"enum": [
"credit",
"debit"
],
"description": "Required. Describes the direction money is flowing in the transaction. Can only be `debit`. A `debit` pulls money from someone else's account to your own."
},
"counterparty_id": {
"type": "string",
"format": "uuid",
"description": "Required. The ID of a counterparty associated with the payment. As part of the payment workflow an external account will be associated with this model."
},
"originating_account_id": {
"type": "string",
"format": "uuid",
"description": "Required. The ID of one of your organization's internal accounts."
},
"due_date": {
"type": "string",
"format": "date",
"description": "Optional. Can only be passed in when `effective_date_selection_enabled` is `true`. When set, the due date is shown to your end-user in the pre-built UI as they are selecting a payment `effective_date`."
}
},
"required": [
"amount",
"currency",
"direction",
"counterparty_id",
"originating_account_id"
]
}
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-payment-flow-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.