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

# Create Marriage Allowance eligibility test data

`POST /marriage-allowance-test-support/nino/{nino}/eligibility/{taxYear}`

Lets you create Marriage Allowance eligibility test data.

Supports the [Check Marriage Allowance eligibility resource method](https://test-developer.service.hmrc.gov.uk/api-documentation/docs/api/service/marriage-allowance#_check-marriage-allowance-eligibility_get_accordion) on the Marriage Allowance API.

## Path parameters

- `nino` string, required
- `taxYear` string, required

## Request body

- object — Create Marriage Allowance eligibility test data payload
  - `eligible` boolean, required — Whether the taxpayer's partner is eligible to become a recipient of Marriage Allowance

## Response `201`

- object — Create Marriage Allowance eligibility test data payload
  - `eligible` boolean, required — Whether the taxpayer's partner is eligible to become a recipient of Marriage Allowance

## Other responses

- `400`

---

[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)
