> For the complete documentation index, see [llms.txt](https://docs.payengine.co/payengine-api-v2.5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payengine.co/payengine-api-v2.5/onboarding/get-valid-criteria.md).

# Application section criteria

## Get valid criteria for a given SectionName

<mark style="color:green;">`POST`</mark> `https://<Platform-host>/onboarding/criteria`

This method should be considered extremely valuable in that it always provides the current validation criteria for the given section. Allowing the corresponding User Interface screen to be built/rendered with an accurate set of valid requirements (which are subject to change without notice, due to the dynamic integration with live business data).

#### Request Body

| Name                                       | Type   | Description                                                                                                                                             |
| ------------------------------------------ | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| section<mark style="color:red;">\*</mark>  | string | The section name is one of the following: business\_information, business\_information\_address, owner\_officer, processing\_information, fee\_schedule |
| property<mark style="color:red;">\*</mark> | string | Optional property in case you want to get valid criteria for an individual field.                                                                       |

{% tabs %}
{% tab title="200 " %}

```json
{
    "error": false,
    "data": {
        "RT": "Retail",
        "RTIP": "Retail with Tips",
        "DN": "Restaurant",
        "MP": "MOTO",
        "IN": "Internet",
        "LD": "Lodging",
        "SMK": "Supermarket",
        "UTIL": "Utility",
        "PHA": "Pharmacy",
        "FI": "Financial Institution",
        "BB": "Business to Business"
    }
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Raw Body" %}

```javascript
{
  "section": "business_information",
  "property": "business_type"
}
```

{% endtab %}

{% tab title="Node.js" %}

```javascript
var axios = require('axios');
var data = JSON.stringify({"section":"business_information","property":""});

var config = {
  method: 'post',
  url: 'https://{{hostname}}/api/onboarding/criteria',
  headers: { 
    'accept': 'application/json', 
    'Authorization': 'Basic {{YOUR_API_SECRET}}', 
    'Content-Type': 'application/json'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

```

{% endtab %}
{% endtabs %}

### Possible Field Definition Table

| Section                 | Property                                                                                         | Description          |
| ----------------------- | ------------------------------------------------------------------------------------------------ | -------------------- |
| business\_information   | <ul><li>business\_type</li><li>business\_category</li><li>mccsic</li><li>type\_of\_tax</li></ul> | Business information |
| bank\_information       | type\_of\_account                                                                                |                      |
| processing\_information | qualified\_processing                                                                            |                      |
| owner\_officer          | <ul><li>country\_of\_issuance</li><li>title</li></ul>                                            | Owner information    |
