---
updatedAt: 2025-09-17T23:33:07.000Z
agentTools:
  projectIndex: https://docs.nexiopay.com/llms.txt
---

# Cancel pending payouts

Allows merchants to cancel pending payout transactions. 

<!-- theme: warning -->
> ⚠️ Try It
> 
> To use the Try It feature for this endpoint, you must use the credentials for your [Sandbox API user](doc:sandbox-environments).


<div style="display:none;">

## Request parameters
- ids

## Response parameters
- message

</div>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Payouts API Reference",
    "version": "3.0.0",
    "description": "<img src=\"https://files.readme.io/2d0a9c3-payout_icon.png\" alt=\"Payout\" align=\"left\"> Use the Payouts API to push payments to recipients. These endpoints allow you to create and view recipients, send and view payouts, and send multiple payouts through a batch file. For additonal information, see [Payouts](doc:payouts-overview) in Guides.",
    "contact": {
      "name": "Integrations Support",
      "email": "integrations@nexiopay.com",
      "url": "https://nexiointegrations.slack.com/"
    },
    "license": {
      "name": "ISC",
      "url": "https://docs.nexiopay.com/page/license"
    }
  },
  "security": [
    {
      "Basic_Authentication": []
    },
    {
      "One-time-use_Token": []
    }
  ],
  "servers": [
    {
      "description": "Sandbox",
      "url": "https://api.nexiopaysandbox.com",
      "variables": {}
    }
  ],
  "components": {
    "securitySchemes": {
      "Basic_Authentication": {
        "type": "http",
        "scheme": "basic",
        "description": "Basic authentication is a simple authentication scheme built into the HTTP protocol. \n\nFor the \"Try It\" feature, type your API username and password in the appropriate fields. The system then automatically creates the Authorization header that contains the word `Basic` followed by a space and a base64-encoded string `username:password`. \n\nFor example: `Authorization: Basic ZGVtbzpwQDU1dzByZA==` \n\nFor your own requests, learn how to do the conversion in the [Authentication](doc:authentication#basic-authentication) guide. \n\nFor more information about this security protocol, see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#basic-authentication-sample"
      },
      "One-time-use_Token": {
        "type": "apiKey",
        "name": "token",
        "in": "query",
        "description": "The one-time-use token authentication scheme requires a token supplied in the named query parameter that can only be used to submit a single API request and that expires after one hour. \n\nFor the \"Try It\" feature, first generate the one-time-use token through either the [Create one-time-use token](ref:createonetimeusetoken) or the [Create APM one-time-use token](ref:createapmonetimeusetoken) endpoint. Copy the resulting token and then paste it in the appropriate field for the current endpoint. \n\nFor your own requests, learn how to generate the one-time-use token in the [Authentication](doc:authentication#one-time-use-tokens) guide. Then, use it as normal for this endpoint. \n\nFor more information about the \"apiKeys\" security protocol, see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#security-scheme-object"
      }
    },
    "responses": {
      "401": {
        "description": "Unauthorized.\n\nFor help with this error and other error codes, see [Common errors](doc:common-errors) in the Guides area.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "description": "A message from Nexio about the state of the request.",
                  "example": "Unauthorized"
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Payouts",
      "description": "APIs for payouts"
    }
  ],
  "paths": {
    "/payout/v3/pending": {
      "parameters": [],
      "delete": {
        "summary": "Cancel pending payouts",
        "operationId": "CancelPendingPayouts",
        "responses": {
          "101": {
            "description": "Pending payouts with ids nnnn do not exist",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "A message from Nexio about the state of the request.",
                      "example": "Pending payouts with ids nnnn do not exist"
                    }
                  }
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "A message from Nexio about the state of the request.",
                      "example": "Successfully deleted pending payouts with ids: nnnn"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "security": [
          {
            "Basic_Authentication": []
          }
        ],
        "description": "Allows merchants to cancel pending payout transactions. \n\n<!-- theme: warning -->\n> ⚠️ Try It\n> \n> To use the Try It feature for this endpoint, you must use the credentials for your [Sandbox API user](doc:sandbox-environments).\n\n\n<div style=\"display:none;\">\n\n## Request parameters\n- ids\n\n## Response parameters\n- message\n\n</div>",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "type": "array",
                    "title": "ids",
                    "description": "The ID values auto-generated by Nexio when the payout requests were submitted. These values are the same as the `payoutId` parameter values. ",
                    "example": "2944, 19958, 776, 25145",
                    "x-tags": [
                      "component"
                    ],
                    "items": {
                      "type": "integer"
                    }
                  }
                }
              },
              "examples": {
                "Example response": {
                  "value": {
                    "ids": "2944, 19958, 776, 25145"
                  }
                }
              }
            }
          },
          "description": ""
        },
        "tags": [
          "Payouts"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```