v1

latestOpenAPI 3.0.32026-07-1322961.6 KB

Get feedback on requests made to an API

Use this resource to get feedback on fraud prevention headers submitted by your application in sandbox. You'll get detailed feedback on the most recent request to each endpoint of a supported API.

get/test/fraud-prevention-headers/{api}/validation-feedback

Path parameters

api'business-details-mtd' | 'business-income-source-summary-mtd' | 'business-source-adjustable-summary-mtd' | 'cis-deductions-mtd' | 'individual-calculations-mtd' | 'individual-losses-mtd' | 'individuals-business-end-of-period-statement-mtd' | 'individuals-charges-mtd' | 'individuals-disclosures-mtd' | 'individuals-expenses-mtd' | 'individuals-income-received-mtd' | 'individuals-reliefs-mtd' | 'individuals-state-benefits-mtd' | 'obligations-mtd' | 'other-deductions-mtd' | 'property-business-mtd' | 'self-assessment-mtd' | 'self-assessment-accounts-mtd' | 'self-assessment-assist-mtd' | 'self-employment-business-mtd' | 'vat-mtd' | 'individuals-capital-gains-income-mtd' | 'individuals-dividends-income-mtd' | 'individuals-employments-income-mtd' | 'individuals-foreign-income-mtd' | 'individuals-insurance-policies-income-mtd' | 'individuals-other-income-mtd' | 'individuals-pensions-income-mtd' | 'individuals-savings-income-mtd' | 'self-assessment-individual-details-mtd' required

Identifies the API to get feedback on.

Identifies the API to get feedback on.

Query parameters

connectionMethod'BATCH_PROCESS_DIRECT' | 'DESKTOP_APP_DIRECT' | 'DESKTOP_APP_VIA_SERVER' | 'MOBILE_APP_DIRECT' | 'MOBILE_APP_VIA_SERVER' | 'OTHER_DIRECT' | 'OTHER_VIA_SERVER' | 'WEB_APP_VIA_SERVER'

If your application uses more than 1 connection method, you can use this query parameter to filter by connection method.

If your application uses more than 1 connection method, you can use this query parameter to filter by connection method.

Headers

Acceptstring required
Example:application/vnd.hmrc.1.0+json

Specifies the response format and the version of the API to be used.

Authorizationstring required
Example:Bearer 59fc92c1cdf0b8ef1f138a702effdbd2

Response