Blacklist

Create Blacklist Entry

Creates a new blacklist entry.

post/v1/shops/{shopId}/blacklist

Request body

valuestring required
type'email' | 'email_domain' | 'disposable_email' | 'discord_id' | 'country_code' | 'city' | 'ip' | 'ip_range' | 'isp' | 'asn' | 'vpn' | 'tor' | 'user_agent' required
match_type'exact' | 'regex' required
reasonstring
messagestring
payment_method_idsstring[]
enabledboolean
active_fromstring

Must be a valid date. Must be a date before <code>2038-01-19</code>.

active_tostring

Must be a valid date. Must be a date after <code>active_from</code>. Must be a date before <code>2038-01-19</code>.

Example request

{
  "value": "culpa",
  "type": "email",
  "match_type": "exact",
  "reason": "culpa",
  "message": "culpa",
  "active_from": "2020-08-22",
  "active_to": "2020-08-22"
}

Changes