Skip to main content
POST
Enable policy

Authorizations

Authorization
string
header
required

API key as Bearer token

Headers

Reap-Version
enum<string>
required

API version (YYYY-MM-DD)

Available options:
2025-02-14
Example:

"2025-02-14"

Idempotency-Key
string

Unique key for safely retrying this request. Up to 255 characters; we recommend a UUIDv4. The first request executes and its response is cached; subsequent requests with the same key replay the cached response (24h retention).

Required string length: 1 - 255

Path Parameters

id
string<uuid>
required

Policy ID

Response

Policy resource

id
string
required

Policy ID. A UUID for your policies; a stable identifier for platform policies.

type
string
required
Allowed value: "MERCHANT_RESTRICTION"
scope
Project · object
required

Where the policy attaches.

status
enum<string>
required
Available options:
ACTIVE,
DISABLED
Example:

"ACTIVE"

name
string
required

Human-readable label.

Required string length: 1 - 128
config
object
required

Block transactions whose merchant matches the criteria.

createdAt
string
required

ISO 8601 creation timestamp.

updatedAt
string
required

ISO 8601 last-update timestamp.