API documentation | API docs for agents | OpenAPI 3.1
GET /api/v1/billing/carrier-ach-files/{nachaFileId}/download
ark.download_carrier_nacha_batch
Download the latest corrected version of this batch. Set original=true to download the exact historical artifact identified by nachaFileId.
- Availability
- Expanded preview
- Scopes
billing:read- ARK permissions
canViewBilling- Team visibility
- Not entity-scoped
- Idempotency-Key
- Not required
- Approval
- No MCP approval on REST API-token calls
- Rate limit
- API credential and organization budgets
Parameters
nachaFileIdpathstringrequired- format: uuid
originalqueryboolean- Download the original artifact rather than the current corrected version. Historical files must not be submitted.
- default: false
Request body
None.
Example request
Shell
curl 'https://arktms.com/api/v1/billing/carrier-ach-files/<nachaFileId>/download' \
-H "Authorization: Bearer $ARK_API_TOKEN" \
--output 'ark-response.ach'Success response
Exact protected binary content.
No response body.
Errors
HTTP 400- Invalid request
HTTP 401- Authentication required
HTTP 403- Permission, scope, team, or entitlement denied
HTTP 404- Resource not found
HTTP 409- Idempotency conflict or in-progress retry