---
title: "Cancel transfers"
method: POST
path: "/transfers/account/{AccountIdentifier}/program/{ProgramCode}/action/cancel"
tags: ["Transfers"]
---

# Cancel transfers

`POST /transfers/account/{AccountIdentifier}/program/{ProgramCode}/action/cancel`

## Request

- Base URL: `https://sandbox.preprod.connect.xpansiv.com/app/api/v1`
- URL: `https://sandbox.preprod.connect.xpansiv.com/app/api/v1/transfers/account/{AccountIdentifier}/program/{ProgramCode}/action/cancel`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/xpansiv/apis/xpansiv-connect-api/docs/transfers/account/:AccountIdentifier/program/:ProgramCode/action/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

Allows cancellation transfers in bulk

## Path parameters

- `AccountIdentifier` string, required
- `ProgramCode` string, required: Ref.Data.PROGRAM

## Request body

- object
  - `dryRun` boolean
  - `notes` string
  - `batchIdentifier` string
  - `transfers` string[]: Transfer identifiers

## Response `200`

Transfers cancelled successfully

## Other responses

- `400`: Bad request
- `401`: Not authorized error
- `500`: Internal server error

---

[API](https://skmtc.dev/xpansiv/apis/xpansiv-connect-api.md) - [All operations](https://skmtc.dev/xpansiv/apis/xpansiv-connect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/xpansiv/apis/xpansiv-connect-api/revisions/01c1f2c4ec1e?raw)
