API Reference

Blacklist

E-mails and IPs turned away at your store's checkout.

List blocks

GET/api/v1/blacklistAbilityblacklist.read
Returns the store's blocks, newest first — Discord users blocked by the bot included.

Query parameters

typestring
email, ip or discord_user.
per_pageinteger
Items per page, from 1 to 100. Default 20. A value outside that range returns 422.
pageinteger
Page number, from 1 to 10000. Default 1. A value outside that range returns 422.
curl "https://sellitex.com/api/v1/blacklist?type=email" \
  -H "Authorization: Bearer sk_live_..." \
  -H "Accept: application/json"
Response200
{
  "data": [
    {
      "id": 7,
      "type": "email",
      "value": "[email protected]",
      "reason": "Chargeback",
      "created_at": "2026-08-19T16:00:00+00:00"
    }
  ],
  "links": {
    "first": "…?page=1",
    "last": "…?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "per_page": 20,
    "to": 1,
    "total": 1
  }
}

Retrieve a block

GET/api/v1/blacklist/{entry}Abilityblacklist.read
A record that belongs to another store answers 404, exactly like one that doesn't exist.

Path parameters

entryintegerrequired
The block id.
curl "https://sellitex.com/api/v1/blacklist/7" \
  -H "Authorization: Bearer sk_live_..." \
  -H "Accept: application/json"
Response200
{
  "data": {
    "id": 7,
    "type": "email",
    "value": "[email protected]",
    "reason": "Chargeback",
    "created_at": "2026-08-19T16:00:00+00:00"
  }
}

Block an e-mail or IP

POST/api/v1/blacklistAbilityblacklist.write
Turns the e-mail or IP away at checkout from now on. E-mails are stored in lowercase.

Request body (JSON)

typestringrequired
email or ip.
valuestringrequired
The e-mail or the IP (v4 or v6). Must be unique in the store.
reasonstring
Internal reason, up to 255 characters.
curl -X POST "https://sellitex.com/api/v1/blacklist" \
  -H "Authorization: Bearer sk_live_..." \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"type":"email","value":"[email protected]","reason":"Chargeback"}'
Response201
{
  "data": {
    "id": 7,
    "type": "email",
    "value": "[email protected]",
    "reason": "Chargeback",
    "created_at": "2026-08-19T16:00:00+00:00"
  }
}

Remove a block

DELETE/api/v1/blacklist/{entry}Abilityblacklist.write
Lets the e-mail or IP through again.

Path parameters

entryintegerrequired
The block id.
curl -X DELETE "https://sellitex.com/api/v1/blacklist/7" \
  -H "Authorization: Bearer sk_live_..." \
  -H "Accept: application/json"
Response204
(no body)

The object

The fields this resource's endpoints return. Money is an integer in cents and dates are ISO 8601, in UTC.

idinteger
The block identifier.
typestring
email, ip or discord_user.
valuestring
The blocked value.
reasonstring|null
Internal reason, when there is one.
created_atstring
When it was blocked.