Skip to main content
POST
Create block rule

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
name
string
required
Minimum string length: 1
operator
enum<string>
required
Available options:
OR,
AND
ipAddress
customerId
string | null
email
string<email> | null
emailRegex
string | null

PostgreSQL regular expression, searched anywhere in the payment email. A pattern that matches the empty string, such as .* or ^, is refused with a 400: it would match every payment.

pan
string | null
panRegex
string | null

PostgreSQL regular expression, searched anywhere in the card number. A pattern that matches the empty string, such as .* or ^, is refused with a 400: it would match every payment.

bin
string | null
binRegex
string | null

PostgreSQL regular expression, searched anywhere in the card BIN. A pattern that matches the empty string, such as .* or ^, is refused with a 400: it would match every payment.

paymentId
string | null
autoCreated
boolean
default:false
isPermanent
boolean
default:false
ttlHours
number
Required range: 1 <= x <= 8760
metadata
object | null

Response

Successful response