# WhitelistItem

A whitelist (allow list) rule. Payments whose attributes match `value` for the given `type` bypass fraud checks (including the blacklist) before authorization. Rules are scoped to the account that created them; MONEI also maintains a global list applied on top.

```
type WhitelistItem {

  value: String!

  type: WhitelistItemType!

  note: String

  accountId: ID

  createdAt: String!

  updatedAt: String

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`WhitelistItem.value`](#value) ● [`String!`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) non-null scalar[​](#value "Direct link to value")

Value matched against incoming payments. Format depends on `type` (email address or session fingerprint).

#### [`WhitelistItem.type`](#type) ● [`WhitelistItemType!`](https://docs.monei.com/apis/graphql/types/enums/whitelist-item-type/.md) non-null enum[​](#type "Direct link to type")

Payment attribute this rule matches against.

#### [`WhitelistItem.note`](#note) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#note "Direct link to note")

Free-form note explaining why the rule was added.

#### [`WhitelistItem.accountId`](#account-id) ● [`ID`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) scalar[​](#account-id "Direct link to account-id")

ID of the account that owns the rule.

#### [`WhitelistItem.createdAt`](#created-at) ● [`String!`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) non-null scalar[​](#created-at "Direct link to created-at")

Creation date in ISO 8601 format.

#### [`WhitelistItem.updatedAt`](#updated-at) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#updated-at "Direct link to updated-at")

Last update date in ISO 8601 format.

### Returned By[​](#returned-by "Direct link to Returned By")

[`addWhitelistItem`](https://docs.monei.com/apis/graphql/operations/mutations/add-whitelist-item/.md) mutation ● [`whitelistItem`](https://docs.monei.com/apis/graphql/operations/queries/whitelist-item/.md) query

### Member Of[​](#member-of "Direct link to Member Of")

[`WhitelistItemsConnection`](https://docs.monei.com/apis/graphql/types/objects/whitelist-items-connection/.md) object
