---
title: "Cancel a prompt job"
method: PUT
path: "/prompt_jobs/{id}/cancel"
tags: ["Prompt Job"]
---

# Cancel a prompt job

`PUT /prompt_jobs/{id}/cancel`

## Request

- Base URL: `https://tb.paymentfusion.com`
- URL: `https://tb.paymentfusion.com/prompt_jobs/{id}/cancel`
- Auth: none declared. Required headers: `Authorization`, `Accept`

Called by the Independent Software Vendor. Request for a prompt job to be cancelled. The request will be saved but the prompt job may or may not be cancelled based on its current state.

## Path parameters

- `id` integer, required

## Headers

- `Authorization` string, api_id:api_token, required
- `Accept` string, required

## Response `200`

Success

- object
  - `v` string: The API version that was used to handle the request.

## Other responses

- `4XX`: Possible errors - 1, 17, 189, 286

---

[API](https://skmtc.dev/bankofamerica/apis/transaction-broker-api.md) - [All operations](https://skmtc.dev/bankofamerica/apis/transaction-broker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bankofamerica/apis/transaction-broker-api/revisions/6097bc689e41?raw)
