---
updatedAt: 2026-05-01T13:14:07.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Post multi-leg payment

Allow you to submit a payment with multiple legs to the platform. The payments are processed asynchronously and must contain at least two legs, but no more than 20.
The payload contains `debits` and `credits` lists. These lists include legs that follow the requirements of `credit` and `debit` objects in the [Post payment](ref:corporate-v2-post-payments) endpoint.
For information about multi-leg payments, refer to the [Multi-leg payments](doc:multi-leg-payments) guide.
**NOTES**:
  - To find the correct reason IDs, refer to the [List account status reasons](ref:get-accounts-v1-accounts-status-reasons) endpoint.
  - This endpoint does not support forced transfers from an earmark balance.
  - For error handling, see [Error handling mechanism](doc:payment-overview#error-handling-mechanism) in _Payment overview_.
  - **Processing sequence**: Debit legs are always processed before credit legs. Within each group, the sequence is not guaranteed, and the order of execution among debits or among credits is non-deterministic.

Each leg generates the following events:
- [Platform authorization created](https://developers.pismo.io/events/docs/platform-authorization-platform-authorization-1)
- If flex controls are configured, a [Flex control evaluated](https://developers.pismo.io/events/docs/rules-evaluation-requested-1) event is triggered.
Additionally, the following events are generated for multi-leg payments:
- [Multi-leg payment lifecycle created](https://developers.pismo.io/events/docs/corporate-multi-leg-creation-2)
- [Multi-leg payment lifecycle status changed](https://developers.pismo.io/events/docs/corporate-multi-leg-status-change-2)
See [Data and reporting](doc:data-reporting-overview) for more information about events and setting up event notifications.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Banking - Transaction banking",
    "version": "0.9.0",
    "description": "Transaction banking API",
    "contact": {
      "name": "API Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    }
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io",
      "description": "Sandbox API server for testing"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Payments",
      "description": "Payment endpoints supporting external accounts"
    }
  ],
  "components": {
    "schemas": {
      "BusinessDate": {
        "type": "string",
        "format": "date",
        "description": "Specifying a `business_date` value impacts the account balance history.<br>\n<b>Notes</b>:\n  - The business date is in ISO 8601 format.\n  - The business date allows users to designate the balance history cycle in which a payment is posted.\n  - You can specify a `business_date` within the current working day or up to one working day before or after.\n",
        "example": "2023-03-09"
      },
      "ChannelCode": {
        "description": "Alphanumeric channel code identifier",
        "type": "string",
        "minLength": 1,
        "maxLength": 20,
        "pattern": "^[a-zA-Z0-9]+$",
        "example": "GDP"
      },
      "ChannelCodeResponse": {
        "description": "Alphanumeric channel code",
        "type": "string",
        "example": "GDP"
      },
      "CreditLegV3ErrorResponse": {
        "title": "CreditLegV3ErrorResponse",
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CreditLegV3Response"
          },
          {
            "type": "object",
            "properties": {
              "errors": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": []
              }
            }
          }
        ]
      },
      "CreditLegV3Request": {
        "title": "CreditLegV3Request",
        "type": "object",
        "required": [
          "tracking_id",
          "amount",
          "currency",
          "external_account_id"
        ],
        "properties": {
          "tracking_id": {
            "$ref": "#/components/schemas/TrackingIdMultiLegV3"
          },
          "amount": {
            "$ref": "#/components/schemas/TransactionAmount"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "external_account_id": {
            "$ref": "#/components/schemas/ExternalAccountId2"
          },
          "processing_code": {
            "$ref": "#/components/schemas/ProcessingCode2"
          },
          "soft_descriptor": {
            "$ref": "#/components/schemas/SoftDescriptor"
          },
          "force_post": {
            "$ref": "#/components/schemas/ForcePostCredit"
          },
          "validation_rules": {
            "$ref": "#/components/schemas/ValidationRules"
          },
          "payment_datetime": {
            "$ref": "#/components/schemas/PaymentDatetime"
          },
          "business_date": {
            "$ref": "#/components/schemas/BusinessDate"
          },
          "channel": {
            "$ref": "#/components/schemas/ChannelCode"
          },
          "skip_account_date_validation": {
            "$ref": "#/components/schemas/SkipAccountDateValidation"
          },
          "instant_clearing": {
            "$ref": "#/components/schemas/InstantClearing"
          },
          "metadata": {
            "$ref": "#/components/schemas/MultilegMetadata"
          }
        }
      },
      "CreditLegV3Response": {
        "title": "CreditLegV3Response",
        "type": "object",
        "properties": {
          "tracking_id": {
            "$ref": "#/components/schemas/TrackingIdMultiLegV3"
          },
          "external_account_id": {
            "$ref": "#/components/schemas/ExternalAccountId2"
          },
          "amount": {
            "$ref": "#/components/schemas/TransactionAmount"
          },
          "processing_code": {
            "$ref": "#/components/schemas/ProcessingCode2"
          },
          "soft_descriptor": {
            "$ref": "#/components/schemas/SoftDescriptor"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "force_post": {
            "$ref": "#/components/schemas/ForcePostCredit"
          },
          "validation_rules": {
            "$ref": "#/components/schemas/ValidationRules"
          },
          "payment_datetime": {
            "$ref": "#/components/schemas/PaymentDatetime"
          },
          "business_date": {
            "$ref": "#/components/schemas/BusinessDate"
          },
          "channel": {
            "$ref": "#/components/schemas/ChannelCodeResponse"
          },
          "skip_account_date_validation": {
            "$ref": "#/components/schemas/SkipAccountDateValidation"
          },
          "instant_clearing": {
            "$ref": "#/components/schemas/InstantClearing"
          },
          "metadata": {
            "$ref": "#/components/schemas/MultilegMetadata"
          }
        }
      },
      "Currency": {
        "type": "string",
        "description": "3-letter code in ISO 4217-compliant format for the currency used in the transaction.",
        "maxLength": 3,
        "minLength": 3,
        "example": "USD"
      },
      "DebitLegV3ErrorResponse": {
        "title": "DebitLegV3ErrorResponse",
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/DebitLegV3Response"
          },
          {
            "type": "object",
            "properties": {
              "errors": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": []
              }
            }
          }
        ]
      },
      "DebitLegV3Request": {
        "title": "DebitLegV3Request",
        "type": "object",
        "required": [
          "tracking_id",
          "amount",
          "currency",
          "external_account_id"
        ],
        "properties": {
          "tracking_id": {
            "$ref": "#/components/schemas/TrackingIdMultiLegV3"
          },
          "amount": {
            "$ref": "#/components/schemas/TransactionAmount"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "external_account_id": {
            "$ref": "#/components/schemas/ExternalAccountId2"
          },
          "processing_code": {
            "$ref": "#/components/schemas/ProcessingCode2"
          },
          "soft_descriptor": {
            "$ref": "#/components/schemas/SoftDescriptor"
          },
          "force_post": {
            "$ref": "#/components/schemas/ForcePostDebit"
          },
          "validation_rules": {
            "$ref": "#/components/schemas/ValidationRules"
          },
          "payment_datetime": {
            "$ref": "#/components/schemas/PaymentDatetime"
          },
          "business_date": {
            "$ref": "#/components/schemas/BusinessDate"
          },
          "channel": {
            "$ref": "#/components/schemas/ChannelCode"
          },
          "skip_account_date_validation": {
            "$ref": "#/components/schemas/SkipAccountDateValidation"
          },
          "earmark_id": {
            "$ref": "#/components/schemas/EarmarkIdWithdrawal"
          },
          "instant_clearing": {
            "$ref": "#/components/schemas/InstantClearing"
          },
          "metadata": {
            "$ref": "#/components/schemas/MultilegMetadata"
          }
        }
      },
      "DebitLegV3Response": {
        "title": "DebitLegV3Response",
        "type": "object",
        "properties": {
          "tracking_id": {
            "$ref": "#/components/schemas/TrackingIdMultiLegV3"
          },
          "external_account_id": {
            "$ref": "#/components/schemas/ExternalAccountId2"
          },
          "amount": {
            "$ref": "#/components/schemas/TransactionAmount"
          },
          "processing_code": {
            "$ref": "#/components/schemas/ProcessingCode2"
          },
          "soft_descriptor": {
            "$ref": "#/components/schemas/SoftDescriptor"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "force_post": {
            "$ref": "#/components/schemas/ForcePostDebit"
          },
          "validation_rules": {
            "$ref": "#/components/schemas/ValidationRules"
          },
          "payment_datetime": {
            "$ref": "#/components/schemas/PaymentDatetime"
          },
          "business_date": {
            "$ref": "#/components/schemas/BusinessDate"
          },
          "channel": {
            "$ref": "#/components/schemas/ChannelCodeResponse"
          },
          "skip_account_date_validation": {
            "$ref": "#/components/schemas/SkipAccountDateValidation"
          },
          "earmark_id": {
            "$ref": "#/components/schemas/EarmarkIdWithdrawal"
          },
          "instant_clearing": {
            "$ref": "#/components/schemas/InstantClearing"
          },
          "metadata": {
            "$ref": "#/components/schemas/MultilegMetadata"
          }
        }
      },
      "EarmarkIdWithdrawal": {
        "type": "string",
        "description": "ID of the earmark from which the amount is withdrawn. The earmark ID is generated by the [Create Earmark](https://developers.pismo.io/pismo-docs/reference/post-corporate-v2-earmarks) endpoint.",
        "maxLength": 60,
        "minLength": 1,
        "example": "dadaab22-6e28-4746-8440-0caa030f0f3f"
      },
      "ErrorCode": {
        "description": "Error code\n`minLength: 1`\n`maxLength: 12`\n",
        "type": "string",
        "minLength": 1,
        "maxLength": 12,
        "example": "WPMT0017"
      },
      "ErrorMessage": {
        "description": "Error message\n`minLength: 1`\n`maxLength: 1000`\n",
        "type": "string",
        "minLength": 1,
        "maxLength": 1000,
        "example": "Invalid JSON payload received: Error unmarshalling request"
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/ErrorCode"
          },
          "message": {
            "$ref": "#/components/schemas/ErrorMessage"
          }
        }
      },
      "ExternalAccountId2": {
        "type": "string",
        "description": "External ID of the account to which the transaction is posted.",
        "maxLength": 60,
        "minLength": 1,
        "example": "289",
        "pattern": "^[a-zA-Z0-9-]+$"
      },
      "Force": {
        "type": "boolean",
        "description": "Whether a payment validation rule should be executed in a forced state (`true`) or not (`false`).<br>\nAllowed for `LEDGER` validation rule.\n",
        "example": false
      },
      "ForcePostCredit": {
        "type": "boolean",
        "description": "If `true`, the operation is performed regardless of the account status, balance, or state, unless the account is closed.<br>\nIf the account has any reason-based force payment restrictions, and the operation violates any of those restrictions, the force operation fails. The reasons that restrict force credit or debit operations are:\n- `ALL_NO_FORCE_ALLOWED`: Debits and credits are permitted, but force operations are not allowed.\n- `ALL_NO_FORCE_ALLOWED`: Debits and credits are permitted, but force operations are not allowed.\n- `DEBIT_ONLY_NO_FORCE_CREDIT_ALLOWED`: Only debits and force debits are allowed.\n- `FORCE_DEBIT_ONLY`: Debits, credits, and force credits are not allowed.\n- `NONE_NO_FORCE_ALLOWED`: Debits, credits, force debits, and force credits are not allowed.\n",
        "example": false
      },
      "ForcePostDebit": {
        "type": "boolean",
        "description": "If `true`, the operation is performed regardless of the account status, balance, or state, unless the account is closed.<br>\nThe force operation fails if the account has any reason-based force payment restrictions, and the operation violates any of those restrictions. The reasons that restrict force credit or debit operations are:\n  - `ALL_NO_FORCE_ALLOWED`: Debits and credits are permitted, but force operations are not allowed.\n  - `CREDIT_ONLY_NO_FORCE_DEBIT_ALLOWED`: Only credit and force credit are allowed.\n  - `FORCE_CREDIT_ONLY`: Debits, credits and force debit are not allowed.\n  - `NONE_NO_FORCE_ALLOWED`: Debits, credits, force debits, and force credits are not allowed.\n",
        "example": false
      },
      "InstantClearing": {
        "type": "boolean",
        "description": "Whether the funds are available when the payment is posted (`true`) or not (`false`).",
        "example": false
      },
      "MultilegMetadata": {
        "type": "object",
        "description": "Key-value pairs containing data intended for storage in the Pismo system.<br>\n\n**Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](https://developers.pismo.io/pismo-docs/reference/get-started-with-pismo-apis).\n"
      },
      "MultiLegPaymentV3ErrorResponse": {
        "title": "MultiLegPaymentV3ErrorResponse",
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/ErrorResponse"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "multileg_id": {
                    "$ref": "#/components/schemas/MultilegID"
                  },
                  "debits": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/DebitLegV3ErrorResponse"
                    }
                  },
                  "credits": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CreditLegV3ErrorResponse"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "MultiLegPaymentV3Request": {
        "title": "MultiLegPaymentV3Request",
        "type": "object",
        "required": [
          "multileg_id"
        ],
        "properties": {
          "multileg_id": {
            "$ref": "#/components/schemas/MultilegID"
          },
          "metadata": {
            "$ref": "#/components/schemas/MultilegMetadata"
          },
          "debits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DebitLegV3Request"
            }
          },
          "credits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreditLegV3Request"
            }
          }
        }
      },
      "MultiLegPaymentV3Response": {
        "title": "MultiLegPaymentV3Response",
        "type": "object",
        "properties": {
          "multileg_id": {
            "$ref": "#/components/schemas/MultilegID"
          },
          "metadata": {
            "$ref": "#/components/schemas/MultilegMetadata"
          },
          "debits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DebitLegV3Response"
            }
          },
          "credits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreditLegV3Response"
            }
          }
        }
      },
      "Override": {
        "type": "boolean",
        "description": "Whether to override the validation rule in the payment process (`true`) or not (`false`).<br>\nAllowed for `ACCOUNT_STATUS`, `FLEX_CONTROLS`, and `RATES` validation rules.\n",
        "example": false
      },
      "PaymentDatetime": {
        "type": "string",
        "format": "date-time",
        "description": "Date and time of the payment. Specifying a `payment_datetime` value impacts the account balance history.<br>\n<b>Notes</b>:\n  - The payment datetime is in ISO 8601 format.\n  - You can backdate payments a maximum of 390 calendar days. You can postdate payments a maximum of 10 calendar days.\n",
        "example": "2023-03-10T19:05:56.743Z"
      },
      "ProcessingCode2": {
        "type": "string",
        "description": "Processing code used for posting the transaction. The code must have a balance impact compatible with the operation type `debit` or `credit`. To list the organization processing codes, use the [List processing codes](https://developers.pismo.io/pismo-docs/reference/get-processing-code-by-tenant) endpoint.",
        "maxLength": 6,
        "minLength": 1,
        "example": "220035"
      },
      "SkipAccountDateValidation": {
        "type": "boolean",
        "description": "If `FALSE`, the `payment_datetime` is validated against the account creation date and time. If `TRUE`, the validation is skipped.",
        "default": false,
        "example": false
      },
      "SoftDescriptor": {
        "type": "string",
        "description": "Brief description that helps to identify a particular transaction on the bank statement.",
        "example": "ACME Inc. - Invoice 2938",
        "maxLength": 100,
        "minLength": 0
      },
      "TrackingIdMultiLegV3": {
        "type": "string",
        "description": "A unique payment tracking number provided by the client. If an existing `tracking_id` already exists in the system, the API returns a `400` error.<br>\nFor information about tracking IDs, see [Tracking ID requirement](https://developers.pismo.io/pismo-docs/docs/payment-overview#tracking-id-requirement).\n\nThis field is:\n  - Unique within the Organization.\n  - Immutable: This field cannot be updated.\n  - Not recyclable: `tracking_id` cannot be reused.\n",
        "maxLength": 43,
        "minLength": 1,
        "pattern": "^[a-zA-Z0-9-]+$",
        "example": "0a50c88a-ade8-4bcc-a639-9a0b0f11e244"
      },
      "MultilegID": {
        "type": "string",
        "description": "A unique multileg payment identifier provided by the client. If an existing `multileg_id` already exists in the system, the API returns a `409` error.\n\nThis field is:\n  - Unique within the Organization.\n  - Immutable — It can't be updated.\n  - Not recyclable — You can't reuse a `multileg_id`.\n",
        "minLength": 1,
        "maxLength": 43,
        "pattern": "^[a-zA-Z0-9-]+$",
        "example": "0a50c88a-ade8-4bcc-a639-9a0b0f11e245"
      },
      "TransactionAmount": {
        "type": "number",
        "format": "float",
        "description": "Transaction amount",
        "maximum": 100000000000000000,
        "example": 1000.52,
        "minimum": 0.01
      },
      "ValidationRule": {
        "title": "ValidationRule",
        "type": "object",
        "properties": {
          "override": {
            "$ref": "#/components/schemas/Override"
          },
          "force": {
            "$ref": "#/components/schemas/Force"
          }
        }
      },
      "ValidationRules": {
        "title": "ValidationRules",
        "type": "object",
        "description": "Rules that determine which validations are executed during the payment process.<br>\nAvailable validation rules:\n  - `LEDGER`\n  - `ACCOUNT_STATUS`\n  - `FLEX_CONTROLS`\n  - `RATES`<br>\n\n`force` is only supported for `LEDGER`. `override` is supported for `ACCOUNT_STATUS`, `FLEX_CONTROLS`, and `RATES`.\n",
        "additionalProperties": {
          "$ref": "#/components/schemas/ValidationRule"
        },
        "example": {
          "ACCOUNT_STATUS": {
            "override": false
          },
          "LEDGER": {
            "force": false
          },
          "FLEX_CONTROLS": {
            "override": true
          },
          "RATES": {
            "override": true
          }
        }
      }
    },
    "responses": {
      "403Forbidden": {
        "description": "The request has been lost"
      },
      "500InternalServer": {
        "description": "Internal Server Error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Generic internal error": {
                "value": {
                  "code": "ECMN9999",
                  "message": "Internal error"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "paths": {
    "/corporate/v3/payments/multileg": {
      "post": {
        "summary": "Post multi-leg payment",
        "operationId": "corporate-v3-post-multileg-payments",
        "description": "Allow you to submit a payment with multiple legs to the platform. The payments are processed asynchronously and must contain at least two legs, but no more than 20.\nThe payload contains `debits` and `credits` lists. These lists include legs that follow the requirements of `credit` and `debit` objects in the [Post payment](https://developers.pismo.io/pismo-docs/reference/corporate-v2-post-payments) endpoint.\nFor information about multi-leg payments, refer to the [Multi-leg payments](https://developers.pismo.io/pismo-docs/docs/multi-leg-payments) guide.\n**NOTES**:\n  - To find the correct reason IDs, refer to the [List account status reasons](https://developers.pismo.io/pismo-docs/reference/get-accounts-v1-accounts-status-reasons) endpoint.\n  - This endpoint does not support forced transfers from an earmark balance.\n  - For error handling, see [Error handling mechanism](https://developers.pismo.io/pismo-docs/docs/payment-overview#error-handling-mechanism) in _Payment overview_.\n  - **Processing sequence**: Debit legs are always processed before credit legs. Within each group, the sequence is not guaranteed, and the order of execution among debits or among credits is non-deterministic.\n\nEach leg generates the following events:\n- [Platform authorization created](https://developers.pismo.io/events/docs/platform-authorization-platform-authorization-1)\n- If flex controls are configured, a [Flex control evaluated](https://developers.pismo.io/events/docs/rules-evaluation-requested-1) event is triggered.\nAdditionally, the following events are generated for multi-leg payments:\n- [Multi-leg payment lifecycle created](https://developers.pismo.io/events/docs/corporate-multi-leg-creation-2)\n- [Multi-leg payment lifecycle status changed](https://developers.pismo.io/events/docs/corporate-multi-leg-status-change-2)\nSee [Data and reporting](https://developers.pismo.io/pismo-docs/docs/data-reporting-overview) for more information about events and setting up event notifications.\n",
        "parameters": [],
        "tags": [
          "Payments"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MultiLegPaymentV3Request"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiLegPaymentV3Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiLegPaymentV3ErrorResponse"
                },
                "examples": {
                  "Invalid JSON payload": {
                    "value": {
                      "code": "WMLP0001",
                      "message": "Invalid JSON payload received: Error unmarshalling request"
                    }
                  },
                  "Multileg ID exceed size": {
                    "value": {
                      "code": "WMLP0002",
                      "message": "multileg_id must be a maximum of 43 characters in length"
                    }
                  },
                  "Multileg ID required": {
                    "value": {
                      "code": "WMLP0002",
                      "message": "`multileg_id` is a required field"
                    }
                  },
                  "Metadata exceeded the maximum size": {
                    "value": {
                      "code": "WMLP0002",
                      "message": "metadata exceeded the maximum allowed size of 1024 bytes"
                    }
                  },
                  "Payment with more than 20 legs": {
                    "value": {
                      "code": "WMLP0003",
                      "message": "Multi-leg payments must have up to 20 legs"
                    }
                  },
                  "Payment with less than 2 legs": {
                    "value": {
                      "code": "WMLP0004",
                      "message": "Multi-leg payments must have at least 2 legs"
                    }
                  },
                  "Metadata primary and payment legs fields conflict": {
                    "value": {
                      "code": "WMLP0008",
                      "message": "Cannot use primary and payment legs metadata fields together"
                    }
                  },
                  "Program not found": {
                    "value": {
                      "code": "WMLP1044",
                      "message": "Program not found"
                    }
                  },
                  "Processing code exceed size": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "12345",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "processing_code must be a maximum of 6 characters in length"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "External Account ID exceed size": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "abcdefghijklmnopqrstuvwxyz012345689abcdefghijklmno",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "external_account_id must be a maximum of 60 characters in length"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "External Account ID required": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "external_account_id is a required field"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Amount value exceed": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 100000000000000000,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "amount must be 100,000,000,000,000,000 or less"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "External account ID contains characters not permitted": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "288",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "external_account_id contains characters not permitted: [characters]"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Currency required": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "currency is a required field"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Validation rules errors": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "force_post": true,
                            "validation_rules": {
                              "ACCOUNT_STATUS": {
                                "override": true
                              },
                              "LEDGER": {
                                "force": true
                              }
                            },
                            "errors": [
                              {
                                "code": "WMLP1026",
                                "message": "Payment request with conflicting force parameters"
                              }
                            ]
                          },
                          {
                            "tracking_id": "ee00de0f-a0ae-4136-95ca-e9d7f4d3f321",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "force_post": false,
                            "validation_rules": {
                              "ACCOUNT_STATUS": {
                                "force": true
                              }
                            },
                            "errors": [
                              {
                                "code": "WMLP1028",
                                "message": "Invalid params for validation rule ACCOUNT_STATUS"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "force_post": false,
                            "validation_rules": {
                              "UNKNOWN": {
                                "override": true
                              }
                            },
                            "errors": [
                              {
                                "code": "WMLP1027",
                                "message": "Invalid validation rule UNKNOWN"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Rates enforcement fee deduction model not supported": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "validation_rules": {
                              "RATES": {
                                "override": false
                              }
                            },
                            "errors": [
                              {
                                "code": "WMLP1049",
                                "message": "Rates enforcement is not supported for operations with a fee deduction model (deductFromTransactionValue)"
                              }
                            ]
                          }
                        ],
                        "credits": []
                      }
                    }
                  },
                  "Insufficient balance": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1002",
                                "message": "Insufficient balance"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Invalid processing code": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1003",
                                "message": "Invalid processing code"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Currency mismatch": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1004",
                                "message": "Cannot perform conversion between account currency and provided currency"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Amount has invalid decimal places for currency": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.523,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "The number of decimal places is not compatible with the specified currency"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Invalid account status": {
                    "description": "This error occurs when the account is in an invalid state, examples include a closed account.",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1005",
                                "message": "Invalid account status"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Account has not finished onboarding": {
                    "description": "This error occurs when the account has not completed its onboarding process.",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1039",
                                "message": "Account has not finished onboarding"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Earmark not active": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1006",
                                "message": "Earmark is not active"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Earmark insufficient funds": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1022",
                                "message": "There is insufficient balance in the earmark to complete this operation"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Weekend error": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1007",
                                "message": "Cannot post transaction on weekends"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Holiday error": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1008",
                                "message": "Cannot post transaction on holidays"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Account not found": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1009",
                                "message": "Account not found"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Earmark not found": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1010",
                                "message": "Earmark not found"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Processing code not found": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1011",
                                "message": "Processing code not found"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Tracking ID already exists": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1013",
                                "message": "Tracking ID already exists"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Closed debit account": {
                    "description": "This error occurs when a force debit operation is attempted on a closed account.",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1014",
                                "message": "Debit not permitted on a closed account"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Closed credit account": {
                    "description": "This error occurs when a force credit operation is attempted on a closed account.",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1015",
                                "message": "Credit not permitted on a closed account"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Force debit restrictions": {
                    "description": "This error occurs when a force debit operation is attempted on an account with force debit restrictions.",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1016",
                                "message": "Force debit not allowed by reason - Credit Only - No Force Debit Allowed"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Force credit restrictions": {
                    "description": "This error occurs when a force credit operation is attempted on an account with force credit restrictions.",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1017",
                                "message": "Force credit not allowed by reason - {Reason}"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Payment date cannot be earlier than account creation date": {
                    "description": "This error occurs when the user specifies a payment date earlier than the account creation date.",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "payment_datetime": "2033-10-24T12:00:00Z",
                            "errors": [
                              {
                                "code": "WMLP1019",
                                "message": "The payment date cannot be earlier than the account creation date"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Payment date cannot be earlier than account migration date": {
                    "description": "This error occurs when the user specifies a payment date earlier than the account migration date.",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "payment_datetime": "2033-10-24T12:00:00Z",
                            "errors": [
                              {
                                "code": "WMLP1048",
                                "message": "The payment date cannot be earlier than the account migration date"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Backdating earmark not allowed": {
                    "description": "This error occurs when the user specifies a payment date in an earmark debit operation.",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "payment_datetime": "2033-10-24T12:00:00Z",
                            "errors": [
                              {
                                "code": "WMLP1020",
                                "message": "Earmark not permitted on a backdating operation"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Retroactive payment datetime not allowed": {
                    "description": "This error occurs when the given `payment_datetime` is earlier than the maximum number of retroactive days specified in the account or program payment settings",
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "payment_datetime": "2033-10-24T12:00:00Z",
                            "errors": [
                              {
                                "code": "WMLP1023",
                                "message": "The maximum retroactive payment datetime allowed is [n] days"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Payment business date before earmark creation": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "business_date": "2024-12-15",
                            "errors": [
                              {
                                "code": "WMLP1036",
                                "message": "Payment business date cannot be earlier than the earmark creation date"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Back business dating disabled": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "business_date": "2024-12-15",
                            "errors": [
                              {
                                "code": "WMLP1034",
                                "message": "Back business dating is disabled"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Operations blocked for account": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "business_date": "2024-12-15",
                            "errors": [
                              {
                                "code": "WMLP1035",
                                "message": "Operations blocked for account"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Invalid business date for the current business day cycle": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "business_date": "2030-06-30",
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1024",
                                "message": "Invalid business date for the current business day cycle"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Invalid business date format": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "business_date": "2025-05-30",
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "business_date 2025-05-32 should be formatted as yyyy-mm-dd and be a valid date"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Channel exceed size": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: One or more legs did not pass validation.",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "12345",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "channel": "Channel name is too long",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "channel must be a maximum of 20 characters in length"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Channel contains character not permitted": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: One or more legs did not pass validation.",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "12345",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "channel": "Channel name with invalid character: |",
                            "errors": [
                              {
                                "code": "WMLP0002",
                                "message": "channel contains character not permitted"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Debit not allowed by status reason": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220037",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1037",
                                "message": "Debit not allowed by reason - <reason>"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": []
                          }
                        ]
                      }
                    }
                  },
                  "Credit not allowed by status reason": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1038",
                                "message": "Credit not allowed by reason - <reason>"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Future payment datetime above limit": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "payment_datetime": "2030-06-30T12:23:45.000Z",
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1030",
                                "message": "Future dated payment datetime must be before date limit"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Tracking ID conflict within request payload": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "duplicated-tracking-id-123",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": [
                              {
                                "code": "WMLP1040",
                                "message": "Tracking ID already in use by another payment leg in the request"
                              }
                            ]
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "duplicated-tracking-id-123",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "payment_datetime": "2030-06-30T12:23:45.000Z",
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1040",
                                "message": "Tracking ID already in use by another payment leg in the request"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Cannot post back value-dated for division": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "payment_datetime": "2030-06-30T12:23:45.000Z",
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1041",
                                "message": "Cannot post back value-dated transaction for this division"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Cannot post future value-dated for division": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "payment_datetime": "2030-06-30T12:23:45.000Z",
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1042",
                                "message": "Cannot post future value-dated transaction for this division"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Invalid account currency code": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: one or more legs did not pass validation",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "payment_datetime": "2030-06-30T12:23:45.000Z",
                            "currency": "USD",
                            "errors": [
                              {
                                "code": "WMLP1043",
                                "message": "Invalid account currency code"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "Channel not found": {
                    "value": {
                      "code": "WMLP0005",
                      "message": "Validation error: One or more legs did not pass validation.",
                      "data": {
                        "multileg_id": "b37a045b-8f84-4085-ac97-1d8684a4227b",
                        "debits": [
                          {
                            "tracking_id": "7ebb12b9-98e1-469c-b57f-07aebbe12658",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "currency": "USD",
                            "earmark_id": "dadaab22-6e28-4746-8440-0caa030f0f3f",
                            "errors": []
                          }
                        ],
                        "credits": [
                          {
                            "tracking_id": "eb93fac3-548e-4a09-a577-1b678b4a9986",
                            "external_account_id": "289",
                            "processing_code": "220035",
                            "soft_descriptor": "ACME Inc. - Invoice 2938",
                            "amount": 1000.52,
                            "payment_datetime": "2030-06-30T12:23:45.000Z",
                            "currency": "USD",
                            "business_date": "2025-05-30",
                            "channel": "GCE",
                            "errors": [
                              {
                                "code": "WMLP1046",
                                "message": "Channel not found"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403Forbidden"
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "Multileg ID is already in use": {
                    "value": {
                      "code": "WMLP0009",
                      "message": "multileg_id is already in use"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/500InternalServer"
          }
        }
      }
    }
  }
}
```