> ## Documentation Index
> Fetch the complete documentation index at: https://help.narmi.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Create a bulk ACH reversal
> Initiate reversals for processed payments belonging to a bulk payment.
If `unverified_ach_transactions` is omitted or empty, every processed payment in the bulk payment that is still within its reversal window, has no active reversal, and whose type the user has permission to reverse is targeted. Payments scheduled for a future date have not been processed and cannot be targeted; they may be reversed with a subsequent bulk reversal once they process.
All monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.
How can we improve these docs? Share your feedback.
## OpenAPI
````json POST /v1/bulk_reversals/
{
"openapi": "3.0.3",
"info": {
"title": "Narmi Public API",
"version": "v1 (main)",
"description": "To read about Public API access and authentication, go to [API Overview](https://docs.narmi.com/docs/narmi-developer-docs/xl9dvbz84o11l-introduction).\n\n### Content types\n\nRequests and responses default to JSON. To use [TOON](https://toonformat.dev/) (Token-Oriented Object Notation), a compact, lossless encoding of JSON that uses fewer tokens in LLM contexts, send `Content-Type: application/toon` for request bodies and `Accept: application/toon` for responses.",
"termsOfService": "https://www.narmi.com/policies/developer-terms-conditions",
"contact": {
"name": "Narmi Support",
"email": "support@narmi.com"
}
},
"servers": [
{
"url": "https://api.sandbox.narmi.dev/",
"description": ""
}
],
"tags": [
{
"name": "accessibility"
},
{
"name": "account balances"
},
{
"name": "account opening"
},
{
"name": "accounts"
},
{
"name": "ach companies"
},
{
"name": "ach destinations"
},
{
"name": "ach import"
},
{
"name": "ach nacha passthrough"
},
{
"name": "ach payments"
},
{
"name": "ach transfers"
},
{
"name": "alerts"
},
{
"name": "automatic savings enrollment"
},
{
"name": "bill pay"
},
{
"name": "bulk payment templates"
},
{
"name": "bulk payments"
},
{
"name": "card linked offers"
},
{
"name": "cards"
},
{
"name": "data access management"
},
{
"name": "deposits"
},
{
"name": "documents"
},
{
"name": "enrollments"
},
{
"name": "express-checkout"
},
{
"name": "external transactions"
},
{
"name": "fedwire destinations"
},
{
"name": "fedwire templates"
},
{
"name": "file imports"
},
{
"name": "income source"
},
{
"name": "instant transfers"
},
{
"name": "institution"
},
{
"name": "international wires"
},
{
"name": "invoices"
},
{
"name": "loan autopay"
},
{
"name": "me"
},
{
"name": "merchants"
},
{
"name": "mfa"
},
{
"name": "payees"
},
{
"name": "payments"
},
{
"name": "ping"
},
{
"name": "receipts"
},
{
"name": "recipients"
},
{
"name": "reports"
},
{
"name": "same-day transfers"
},
{
"name": "scheduled transfers"
},
{
"name": "search"
},
{
"name": "subscriptions"
},
{
"name": "support"
},
{
"name": "surveys"
},
{
"name": "swift transactions"
},
{
"name": "swift wire templates"
},
{
"name": "teams"
},
{
"name": "threads"
},
{
"name": "transactions"
},
{
"name": "unverified ach reversals"
},
{
"name": "unverified ach transactions"
},
{
"name": "users"
},
{
"name": "whatismyip"
},
{
"name": "wire import"
},
{
"name": "wire recipients"
},
{
"name": "wires"
}
],
"x-stoplight": {
"id": "68n444msv6n7x"
},
"paths": {
"/v1/bulk_reversals/": {
"post": {
"operationId": "bulk_reversals_create",
"description": "Initiate reversals for processed payments belonging to a bulk payment.\n\nIf `unverified_ach_transactions` is omitted or empty, every processed payment in the bulk payment that is still within its reversal window, has no active reversal, and whose type the user has permission to reverse is targeted. Payments scheduled for a future date have not been processed and cannot be targeted; they may be reversed with a subsequent bulk reversal once they process.\n\n\n\nAll monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.\n\n\n\nHow can we improve these docs? Share your feedback.",
"summary": "Create a bulk ACH reversal",
"parameters": [
{
"in": "query",
"name": "format",
"schema": {
"type": "string",
"enum": [
"json",
"toon"
]
}
}
],
"tags": [
"bulk payments"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkReversalRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/BulkReversalRequest"
}
},
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/BulkReversalRequest"
}
},
"application/toon": {
"schema": {
"$ref": "#/components/schemas/BulkReversalRequest"
}
}
},
"required": true
},
"security": [
{
"oauth2": [
"write"
]
}
],
"responses": {
"201": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkReversal"
}
},
"application/toon": {
"schema": {
"$ref": "#/components/schemas/BulkReversal"
}
}
},
"description": ""
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GeneralError"
}
},
"application/toon": {
"schema": {
"$ref": "#/components/schemas/GeneralError"
}
}
},
"description": ""
},
"403": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PermissionDeniedError"
}
},
"application/toon": {
"schema": {
"$ref": "#/components/schemas/PermissionDeniedError"
}
}
},
"description": ""
}
},
"x-permissions": {
"allOf": [
{
"feature": {
"name": "bulk_payments"
}
},
{
"feature": {
"name": "user_initiated_ach_reversals"
}
},
{
"anyOf": [
{
"role-permission": {
"model": "indigo.ACHPaymentReverse",
"operation": "write"
}
},
{
"role-permission": {
"model": "indigo.ACHPaymentCollectReverse",
"operation": "write"
}
}
]
}
]
},
"x-stoplight": {
"id": "ccajvtcyyn3h1"
}
}
}
},
"components": {
"schemas": {
"BulkReversalRequest": {
"type": "object",
"properties": {
"bulk_payment": {
"example": "ccae3440-0c1f-45ce-9b91-57cbbb252818",
"description": "The UUID of the original bulk payment to reverse children of.",
"type": "string",
"format": "uuid"
},
"unverified_ach_transactions": {
"type": "array",
"items": {
"example": "ccae3440-0c1f-45ce-9b91-57cbbb252818",
"description": "A field that represents the stringified UUID of a related object.",
"type": "string",
"format": "uuid"
},
"writeOnly": true,
"description": "UUIDs of the bulk payment's children to reverse. All must belong to the associated bulk_payment. If omitted or empty, every processed child without an active reversal is reversed."
},
"reversal_reason": {
"allOf": [
{
"$ref": "#/components/schemas/ReversalReasonEnum"
}
],
"description": "The NACHA-supported reason for the reversal.\n\n* `INCORRECT_AMOUNT` - Incorrect amount\n* `INCORRECT_ACCOUNT` - Incorrect account\n* `DUPLICATE` - Duplicate"
},
"memo": {
"type": "string",
"default": "",
"description": "Optional free-form memo for internal record-keeping. Not transmitted in NACHA.",
"maxLength": 128
},
"device_id": {
"type": "string",
"writeOnly": true,
"nullable": true
},
"device_request_id": {
"type": "string",
"writeOnly": true,
"nullable": true
}
},
"required": [
"bulk_payment",
"reversal_reason"
],
"x-stoplight": {
"id": "qtugha1t4tk2g"
}
},
"BulkReversal": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"title": {
"type": "string",
"readOnly": true
},
"is_partial": {
"type": "boolean",
"readOnly": true
},
"state": {
"allOf": [
{
"$ref": "#/components/schemas/StateEf9Enum"
}
],
"readOnly": true
},
"user_full_name": {
"type": "string",
"readOnly": true
},
"created_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"reversal_credit_count": {
"type": "integer",
"readOnly": true
},
"reversal_total_credit_amount": {
"type": "number",
"format": "double",
"maximum": 1000000000000000000,
"minimum": -1000000000000000000,
"exclusiveMaximum": true,
"exclusiveMinimum": true,
"readOnly": true
},
"reversal_debit_count": {
"type": "integer",
"readOnly": true
},
"reversal_total_debit_amount": {
"type": "number",
"format": "double",
"maximum": 1000000000000000000,
"minimum": -1000000000000000000,
"exclusiveMaximum": true,
"exclusiveMinimum": true,
"readOnly": true
},
"reversal_total_amount": {
"type": "number",
"format": "double",
"maximum": 1000000000000000000,
"minimum": -1000000000000000000,
"exclusiveMaximum": true,
"exclusiveMinimum": true,
"readOnly": true
},
"reversal_count": {
"type": "integer",
"readOnly": true
},
"recipient_count": {
"type": "integer",
"readOnly": true
},
"dual_approval_id": {
"type": "string",
"nullable": true,
"readOnly": true
},
"scheduled_dates": {
"type": "array",
"items": {
"type": "string",
"format": "date-time",
"nullable": true
},
"readOnly": true
},
"bulk_payment": {
"example": "ccae3440-0c1f-45ce-9b91-57cbbb252818",
"description": "The UUID of the original bulk payment to reverse children of.",
"type": "string",
"format": "uuid"
},
"reversal_reason": {
"allOf": [
{
"$ref": "#/components/schemas/ReversalReasonEnum"
}
],
"description": "The NACHA-supported reason for the reversal.\n\n* `INCORRECT_AMOUNT` - Incorrect amount\n* `INCORRECT_ACCOUNT` - Incorrect account\n* `DUPLICATE` - Duplicate"
},
"memo": {
"type": "string",
"default": "",
"description": "Optional free-form memo for internal record-keeping. Not transmitted in NACHA.",
"maxLength": 128
}
},
"required": [
"bulk_payment",
"reversal_reason"
],
"x-stoplight": {
"id": "p57ijm5dh1jk2"
}
},
"GeneralError": {
"type": "object",
"properties": {
"id": {
"type": "string",
"default": "invalid"
},
"message": {
"type": "string",
"description": "An error response detailing the field and the nature of the error."
}
},
"required": [
"message"
],
"x-stoplight": {
"id": "v76fz3qxj5djb"
}
},
"PermissionDeniedError": {
"type": "object",
"properties": {
"id": {
"type": "string",
"default": "permission_denied"
},
"message": {
"type": "string",
"default": "You do not have permission to perform this action.",
"description": "An error response detailing the field and the nature of the error."
}
},
"x-stoplight": {
"id": "ywbohhxwqjqj3"
}
},
"ReversalReasonEnum": {
"enum": [
"INCORRECT_AMOUNT",
"INCORRECT_ACCOUNT",
"DUPLICATE"
],
"type": "string",
"description": "* `INCORRECT_AMOUNT` - Incorrect amount\n* `INCORRECT_ACCOUNT` - Incorrect account\n* `DUPLICATE` - Duplicate",
"x-stoplight": {
"id": "hk8dv8xjdagql"
}
},
"StateEf9Enum": {
"enum": [
"in_progress",
"partially_completed",
"completed",
"failed",
"bulk_reversal_canceled",
"expired",
"approved",
"awaiting_approval",
"rejected_approval",
"canceled",
"approval_expired"
],
"type": "string",
"description": "* `in_progress` - In progress\n* `partially_completed` - Partially completed\n* `completed` - Completed\n* `failed` - Failed\n* `bulk_reversal_canceled` - Bulk Reversal Canceled\n* `expired` - Expired\n* `approved` - Dual approval approved\n* `awaiting_approval` - Awaiting dual approval\n* `rejected_approval` - Dual approval rejected\n* `canceled` - Canceled\n* `approval_expired` - Dual approval expired",
"x-stoplight": {
"id": "q94i5wyiuqdal"
}
}
},
"securitySchemes": {
"oauth2": {
"type": "oauth2",
"flows": {
"authorizationCode": {
"authorizationUrl": "/v2/oauth/authorize/",
"tokenUrl": "/v2/oauth/token/",
"refreshUrl": "/v2/oauth/token/",
"scopes": {
"introspection": "Permit introspection on a valid active bearer token.",
"openid": "OpenID Connect scope",
"offline_access": "Includes long-lived refresh token along with access token",
"claudeai": "Authorizes access to Claude AI services.",
"read": "View your banking data.",
"write": "Update your data",
"banking:accounts:read": "Can read account information.",
"banking:transactions:read": "Can read transaction information.",
"banking:scheduled_transfers:read": "Can read scheduled transfer information.",
"banking:scheduled_transfers:write": "Can create and update scheduled transfers.",
"banking:accounts:write": "Can update account information.",
"banking:transactions:write": "Can update transaction information.",
"banking:users:read": "Can read user profile information.",
"banking:users:write": "Can update user profile information.",
"banking:products:read": "Can read product information.",
"banking:documents:read": "Can read user statements and documents.",
"banking:documents:write": "Can create and download document archives.",
"banking:support_schedules:read": "Can read institution schedule and Federal Reserve holiday information.",
"banking:payees:read": "Can read bill pay payee information.",
"banking:payees:write": "Can create, update, and delete bill pay payees.",
"banking:payments:read": "Can read bill pay payment information.",
"banking:payments:write": "Can create and delete bill pay payments.",
"banking:deposits:read": "Can read deposit information.",
"banking:deposits:write": "Can create and update deposits.",
"banking:recipients:read": "Can read recipient information.",
"banking:recipients:write": "Can create and update recipients.",
"banking:subscriptions:read": "Can read webhook subscription information.",
"banking:subscriptions:write": "Can create and update webhook subscriptions.",
"banking:transfers:read": "Can read transfer information.",
"banking:transfers:write": "Can create transfers.",
"banking:wires:read": "Can read wire information.",
"banking:wires:write": "Can create wires.",
"profile": "Standard claim for extended user information",
"email": "User registered email address",
"write:preferences": "Read and write user preferences",
"read:profile": "Access extended information about the user including address"
}
}
}
}
}
}
}
````