> For the complete documentation index, see [llms.txt](https://docs.getpenfold.dev/llms.txt)

# Set an employer’s AML verification status

> POST /sandbox/employers/{employer_id}/aml_verification_status
> 
> **Sandbox only, not available in production.** In production this route returns `404 Not Found`.
> 
> **Partner organisations only.** A Payroll organisation calling this endpoint receives `405 Method Not Allowed`.
> 
> Set the AML verification status of the employer’s company, as if Penfold had completed its AML check. Contribution uploads are refused until the status is `Accepted`, so set it to `Accepted` to test uploads.



## Servers
- https://payroll-api.getpenfold.dev/v4: https://payroll-api.getpenfold.dev/v4


## Authentication methods
- O auth2 client credentials


## Parameters

### Path parameters

- **employer_id** (string)
  The employer's `id`, as returned by `GET /employers`. This is not the employer's `external_reference`.



### Body: application/json (object)

- **status** (string)
  The status of an employer company’s AML verification.



## Responses
### 200
The AML verification status was set.

#### Body: application/json (object)
- **employer_id** (string)
  The employer whose company AML status was set.

- **aml_verification_status** (string)
  The status of an employer company’s AML verification.


### 400
Bad request, the request is malformed or contains invalid data.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.

- **validation_errors** (array[object])


### 401
Unauthorized, the request requires authentication, and the provided credentials are either missing or incorrect.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 404
Employer not found, the specified employer_id does not match any employer your organisation can access. Also returned in production.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 405
Method not allowed.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.



[Powered by Bump.sh](https://bump.sh)
