---
title: "Generates a transaction that cancels external call in the given order"
method: GET
path: "/v1.0/dln/order/{id}/extcall-cancel-tx"
tags: ["DLN"]
---

# Generates a transaction that cancels external call in the given order

`GET /v1.0/dln/order/{id}/extcall-cancel-tx`

## Request

- Base URL: `https://dln.debridge.finance`
- URL: `https://dln.debridge.finance/v1.0/dln/order/{id}/extcall-cancel-tx`
- Auth: none required
- TypeScript: <https://skmtc.dev/debridge/apis/debridge-liquidity-network-dln-api/docs/v1.0/dln/order/:id/extcall-cancel-tx/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint generates a transaction that cancels external call in the given order.

## Path parameters

- `id` string, required

## Response `200`

The request has succeeded

- DlnOrderCancelTxResponse
  - `to` string, required
  - `data` string, required
  - `value` string, required
  - `chainId` number, required
  - `from` string, required
  - `cancelBeneficiary` string, required

## Other responses

- `400`: The request is malformed, has missing parameters, or has incorrect or contradicting parameter values. Possible error ids: - INVALID_QUERY_PARAMETERS - UNKNOWN_ORDER - EXTERNALCALL_CANNOT_BE_DETACHED - EXTERNALCALL_ALREADY_EXECUTED - NO_EXTERNALCALL_ATTACHED
- `500`: The server has encountered a situation it does not know how to handle. Possible error ids: - INTERNAL_SERVER_ERROR - INTERNAL_SDK_ERROR

---

[API](https://skmtc.dev/debridge/apis/debridge-liquidity-network-dln-api.md) - [All operations](https://skmtc.dev/debridge/apis/debridge-liquidity-network-dln-api/llms.txt) - [OpenAPI document](https://skmtc.dev/debridge/apis/debridge-liquidity-network-dln-api/revisions/ec461847e46f?raw)
