Build a NACHA ACH file
bank-payments_nacha-file-buildGenerate a 94-character NACHA ACH file (PPD/CCD/WEB/TEL) with batch hashes, totals and blocking-factor padding from JSON entries. Price $0.04 USDC. POST /api/v1/bank-payments/nacha-file-build. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"immediateDestination": "<immediateDestination>",
"immediateOrigin": "<immediateOrigin>",
"destinationName": "<destinationName>",
"originName": "<originName>",
"fileCreationDate": "<fileCreationDate>",
"fileCreationTime": "<fileCreationTime>",
"batches": "<batches>"
},
"name": "bank-payments_nacha-file-build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batches | Yes | batches, array. Required. | |
| originName | Yes | originName, string, length 1 to 23. Required. | |
| fileIdModifier | No | fileIdModifier, string. Required. | A |
| destinationName | Yes | destinationName, string, length 1 to 23. Required. | |
| immediateOrigin | Yes | immediateOrigin, string, length 9 to 10. Required. | |
| fileCreationDate | Yes | fileCreationDate, string. Required. | |
| fileCreationTime | Yes | fileCreationTime, string. Required. | |
| immediateDestination | Yes | immediateDestination, string, length 9 to 10. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | file. String. | |
| sources | No | sources. Array. | |
| warnings | No | warnings. Array. | |
| entryHash | No | entryHash. String. | |
| lineCount | No | lineCount. Number. | |
| batchCount | No | batchCount. Number. | |
| totalDebit | No | totalDebit. Number. | |
| limitations | No | limitations. Array. | |
| totalCredit | No | totalCredit. Number. | |
| entryAddendaCount | No | entryAddendaCount. Number. | |
| serviceClassCodes | No | serviceClassCodes. Array. |