Whitelist

Create Whitelist Entry

Creates a new whitelist entry.

post/v1/shops/{shopId}/whitelist

Request body

valuestring required
type'email' | 'email_domain' | 'discord_id' | 'country_code' | 'city' | 'ip' | 'ip_range' | 'isp' | 'asn' | 'user_agent' required
reasonstring
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": "isp",
  "reason": "culpa",
  "active_from": "2020-08-22",
  "active_to": "2020-08-22"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.