---
title: "Cancel recurrent compound QR Code [Beta]"
method: POST
path: "/v1/pix/qrcode/recurrence/cancel"
tags: ["Recurring payment"]
---

# Cancel recurrent compound QR Code \[Beta\]

`POST /v1/pix/qrcode/recurrence/cancel`

## Request

- Base URL: `https://sandbox-cdn.pismolabs.io/qrcode`
- URL: `https://sandbox-cdn.pismolabs.io/qrcode/v1/pix/qrcode/recurrence/cancel`
- Auth: none declared. Required headers: `Authorization`

Cancel a recurring payment authorization (compound) QR Code and return the updated QR Code image, EMV (Europay Mastercard Visa) string, and recurrence payload. 

**Notes:** 
  * This endpoint takes an account token - an access token encoded with a Pismo account ID.
  * This endpoint is **beta**, use in the dev-ext environment only.

## Headers

- `Authorization` string, required

## Request body

- QrcodeCancelRecurrenceQrCodeRequest
  - `id` string, required: Pismo QR Code identifier of the recurrence to cancel.
  - `status` 'REMOVED_BY_PSP' | 'REMOVED_BY_PAYEE', required: Cancellation status to apply to the recurrence QR Code.

## Response `200`

Cancel recurrence QR Code response

- QrcodeCancelRecurrenceQrCodeResponse
  - `id` string, required: Pismo QR Code identifier
  - `external_id` string, required: Client-generated record identifier for client tracking and monitoring.
  - `emv` string: Base 64 encoded discount QR Code payload. EMV = Europay, Mastercard and Visa, a global standard for credit and debit payment. The EMV might include details required for secure transactions such as cardholder informatipn, transaction amount, merchant information, and other relevant data.
  - `qrcode_image_b64` string: Base64 encoded QR Code
  - `jws_rec` string: Signed JWS payload, referring to the data of the recurrence.
  - `access_token` string, required: QR Code access token generated and returned at creation.
  - `recurrence_id` string, required: Recurrence ID. Either this or the `recurrence` object is **REQUIRED**.

## Other responses

- `400`: Bad request
- `401`: Invalid authorization
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `429`: Too many reqquests
- `500`: Internal Server Error
- `502`: Bad Gateway
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/pismo/apis/instant-payments-qr-code.md) - [All operations](https://skmtc.dev/pismo/apis/instant-payments-qr-code/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/instant-payments-qr-code/revisions/108762911846?raw)
