---
title: "Create Marriage Allowance status test data"
method: POST
path: "/marriage-allowance-test-support/sa/{utr}/status/{taxYear}"
tags: ["marriage-allowance-test-support"]
---

# Create Marriage Allowance status test data

`POST /marriage-allowance-test-support/sa/{utr}/status/{taxYear}`

Lets you create Marriage Allowance status test data.

Supports the [Get Marriage Allowance status resource method](https://test-developer.service.hmrc.gov.uk/api-documentation/docs/api/service/marriage-allowance#_get-marriage-allowance-status_get_accordion) on the Marriage Allowance API.

## Path parameters

- `utr` string, required
- `taxYear` string, required

## Request body

- object — Create Marriage Allowance status test data payload
  - `deceased` boolean, required — Whether the taxpayer is deceased or not

## Response `201`

- object — Create Marriage Allowance status test data payload
  - `deceased` boolean, required — Whether the taxpayer is deceased or not

---

[API](https://skmtc.net/hmrc/apis/marriage-allowance-des-stub.md) · [All operations](https://skmtc.net/hmrc/apis/marriage-allowance-des-stub/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hmrc/marriage-allowance-des-stub/revisions/5d453f907b57/schema)
