BlacklistItem
A blacklist (block list) rule. Payments whose attributes match value for the given type are rejected before authorization.
Rules are scoped to the account that created them; MONEI also maintains a global list applied on top.
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 matched against incoming payments. Format depends on type (email address, E.164 phone, IPv4, card fingerprint, session fingerprint, ISO 3166-1 alpha-2 country code).
BlacklistItem.type ● BlacklistItemType! non-null enum
Payment attribute this rule matches against.
BlacklistItem.note ● String scalar
Free-form note explaining why the rule was added.
BlacklistItem.accountId ● ID scalar
ID of the account that owns the rule.
BlacklistItem.matches ● Int scalar
Number of payment attempts this rule has blocked.
BlacklistItem.validUntil ● AWSTimestamp scalar
Manual expiration as a unix timestamp (seconds). The rule stops applying after this time. null means the rule never expires.
BlacklistItem.createdAt ● String! non-null scalar
Creation date in ISO 8601 format.
BlacklistItem.updatedAt ● String scalar
Last update date in ISO 8601 format.
Returned By
addBlacklistItem mutation ● blacklistItem query
Member Of
BlacklistItemsConnection object