Saltar al contenido principal

BlacklistItem

Blacklist rule of the current account. A payment that carries value for the given type is declined before authorization. MONEI also applies its own global list. A payment whose email or session fingerprint is on the whitelist (WhitelistItem) is not declined. MONEI also adds rules itself, for 24 hours, when it detects repeated payment attempts (note: Multiple attempts detected).

type BlacklistItem {
value: String!
type: BlacklistItemType!
note: String
accountId: ID
matches: Int
validUntil: AWSTimestamp
createdAt: String!
updatedAt: String
}

Fields​

BlacklistItem.value ● String! non-null scalar​

Value compared with the payment. Its format depends on type: an email address in lowercase, an E.164 phone number, an IP address, a card fingerprint, a session fingerprint, or an ISO 3166-1 alpha-2 country code in uppercase.

BlacklistItem.type ● BlacklistItemType! non-null enum​

Detail of the payment this rule matches.

BlacklistItem.note ● String scalar​

Free text that explains why the rule was added.

BlacklistItem.accountId ● ID scalar​

ID of the account that owns the rule.

BlacklistItem.matches ● Int scalar​

Number of payments this rule has declined.

BlacklistItem.validUntil ● AWSTimestamp scalar​

Expiry time as a Unix timestamp in seconds. After it, the rule no longer applies. Rules that MONEI adds are later deleted; rules added with addBlacklistItem stay in the list. null means the rule never expires. The dashboard shows it as "Expires".

BlacklistItem.createdAt ● String! non-null scalar​

Creation date in ISO 8601 format.

BlacklistItem.updatedAt ● String scalar​

Date of the last change in ISO 8601 format. Each payment the rule declines also changes it.

Returned By​

addBlacklistItem mutation ● blacklistItem query

Member Of​

BlacklistItemsConnection object