Skip to main content
POST
/
v2
/
allowlist-items
Error
A valid request URL is required to generate request examples
{
  "id": 123,
  "value": "<string>",
  "created_at": "<string>",
  "allowed_actions": {
    "actions": [
      "EXCHANGE",
      "REFUND_ORIGINAL_PAYMENT_METHOD",
      "REFUND_STORE_CREDIT"
    ]
  },
  "description": ""
}

Headers

x-frate-api-token
string | null

Body

application/json

AllowlistItemCreate Serializer

TODO: Add item_type when we support multiple item types

value
string
required
Minimum string length: 1
description
string
default:""

Response

Successful Response

AllowlistItem Serializer

id
integer
required
value
string
required
created_at
string
required
allowed_actions
AllowedActionsSerializer · object
required
description
string
default:""