---
title: "Update a Brcode Payment"
method: PATCH
path: "/v2/brcode-payment/{id}"
tags: ["Brcode Payment"]
---

# Update a Brcode Payment

`PATCH /v2/brcode-payment/{id}`

## Request

- Base URL: `https://api.starkbank.com`
- URL: `https://api.starkbank.com/v2/brcode-payment/{id}`
- Auth: API key in header `Digital-Signature`

Update a single brcode payment, if it hasn't been paid yet.

## Path parameters

- `id` string, required

## Request body

- object
  - `status` string: This can be used to cancel the payment by passing "canceled" as the status patch.

## Response `200`

Successful operation

- object

## Other responses

- `400`: Client error
- `500`: Server error

---

[API](https://skmtc.dev/starkbank/apis/stark-bank-api.md) - [All operations](https://skmtc.dev/starkbank/apis/stark-bank-api/llms.txt) - [OpenAPI document](https://skmtc.dev/starkbank/apis/stark-bank-api/revisions/aeff5068a5da?raw)
