---
title: "Cancel an authorization"
method: POST
path: "/payments/{authorization_id}/cancel"
---

# Cancel an authorization

`POST /payments/{authorization_id}/cancel`

This service allows you to cancel an authorized transaction before it's captured.

## Path parameters

- `authorization_id` string, required

## Response `200`

200

- object
  - `id` string
  - `amount` integer
  - `currency` string
  - `payment_method_id` string
  - `payment_method_type` string
  - `payment_method_flow` string
  - `country` string
  - `created_date` string
  - `approved_date` string
  - `status` string
  - `status_detail` string
  - `status_code` string
  - `order_id` string
  - `notification_url` string

---

[API](https://skmtc.net/dlocal/apis/payins.md) · [All operations](https://skmtc.net/dlocal/apis/payins/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dlocal/payins/versions/d87e090020f9/schema)
