---
title: "Cancelar link de pagamento"
method: DELETE
path: "/{companyId}/banking/payment-link/{paymentLinkId}"
tags: ["Link de pagamento"]
---

# Cancelar link de pagamento

`DELETE /{companyId}/banking/payment-link/{paymentLinkId}`

## Request

- Base URL: `https://api.sandbox.empresas.btgpactual.com`
- URL: `https://api.sandbox.empresas.btgpactual.com/{companyId}/banking/payment-link/{paymentLinkId}`
- Auth: OAuth 2
  - Authorization code: `https://id.btgpactual.com/oauth2/authorize`
  - Token URL: `https://id.btgpactual.com/oauth2/token` scopes: `brn:btg:empresas:banking:payment-link`

API responsável por cancelar um link de pagamento

## Path parameters

- `paymentLinkId` string, required: Identificador do Link de Pagamento
- `companyId` string, required

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/btgpactual/apis/folha-de-pagamentos.md) - [All operations](https://skmtc.dev/btgpactual/apis/folha-de-pagamentos/llms.txt) - [OpenAPI document](https://skmtc.dev/btgpactual/apis/folha-de-pagamentos/revisions/2a24d3da114c?raw)
