---
title: "Enroll Descriptors for Dispute Alerts"
method: POST
path: "/dispute/disputes/alert-enrollments"
tags: ["Disputes"]
---

# Enroll Descriptors for Dispute Alerts

`POST /dispute/disputes/alert-enrollments`

## Request

- Base URL: `https://api.staging.payrails.io`
- URL: `https://api.staging.payrails.io/dispute/disputes/alert-enrollments`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/payrails/apis/payrails-api-reference/docs/dispute/disputes/alert-enrollments/post.ts> (a function with typed inputs; its response is checked against the schema)

Enroll one or more merchant descriptors with a pre-chargeback alert program. Runs synchronously and returns once the provider has accepted the enrollment.

## Headers

- `x-idempotency-key` string, uuid, required

## Request body

- object
  - `workspaceId` string, uuid, required: The workspace the enrollment belongs to.
  - `providerId` string, uuid, required
  - `providerConfigId` string, uuid, required
  - `descriptors` string[], required: The merchant descriptors to enroll for alerts.
  - `program` 'Ethoca' | 'CDRN' | 'RDR' | 'SAFE', required: The network program to enroll the descriptors in.
  - `ruleset` string: Optional provider ruleset to apply.

## Response `201`

Enrollment created.

## Other responses

- `400`: Bad Request.
- `401`: Unauthorized.
- `403`: Insufficient Scope.
- `404`: Not Found.
- `409`: Conflict.
- `429`: Too Many Requests.
- `500`: Internal Server Error.

---

[API](https://skmtc.dev/payrails/apis/payrails-api-reference.md) - [All operations](https://skmtc.dev/payrails/apis/payrails-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/payrails/apis/payrails-api-reference/revisions/9dd2f0158582?raw)
