---
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}`

## Request

- Base URL: `https://api.service.hmrc.gov.uk`
- URL: `https://api.service.hmrc.gov.uk/marriage-allowance-test-support/sa/{utr}/status/{taxYear}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://test-api.service.hmrc.gov.uk/oauth/token`

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.dev/hmrc/apis/marriage-allowance-des-stub.md) - [All operations](https://skmtc.dev/hmrc/apis/marriage-allowance-des-stub/llms.txt) - [OpenAPI document](https://skmtc.dev/hmrc/apis/marriage-allowance-des-stub/revisions/5d453f907b57?raw)
