---
title: "Update Sepa"
method: PATCH
path: "/v2/sepa/{id}"
tags: ["sepa"]
---

# Update Sepa

`PATCH /v2/sepa/{id}`

## Path parameters

- `id` string, required

## Request body

- SepaPatch
  - `mandate` string — Mandate id
  - `name` string — Simple name identifying a mandate
  - `date_mandate` string, date — Mandate date in YYYY-MM-DD format

## Response `200`

Successful Response

- SepaOut
  - `bic` string — Bic
  - `created` string, date-time, required
  - `date_mandate` string, date — Mandate date in YYYY-MM-DD format
  - `id` string, required
  - `last4` string, required — Last 4 digit of the sepa
  - `mandate` string — Mandate id
  - `name` string, required — Simple name identifying a sepa
  - `customer` string — Id of the customer if sepa linked to one
  - `deleted` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stancer/apis/stancer-api.md) · [All operations](https://skmtc.dev/stancer/apis/stancer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stancer/stancer-api/revisions/c637e4c7ff04/schema)
