Alerts
Enroll descriptors in alert programs and track each provider leg
bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
How many objects to return. 1 to 100.
1 <= value <= 10020Opaque. Pass next_cursor from the previous response, with the same filters, to get the next page; omit it for the first page. limit can change between pages. Do not build or parse it.
1 <= length <= 512Which of your merchants to list enrollments for. A merchant outside your portfolio is 403 MERCHANT_NOT_IN_PORTFOLIO.
^[0-9a-f]{24}$The unit of enrollment, so the first filter a caller reaches for. One value, 1 to 255 characters. Matched ignoring case and extra spaces: payra*mo finds PAYRA*MO.
1 <= length <= 255One value. Matched ignoring case, with _ and a space counting as the same: Shopify_Payments finds shopify_payments.
1 <= length <= 64One value. Matches the per-provider leg: a descriptor live on Ethoca and still waiting on RDR answers to both.
Value in
Ethoca alerts (Mastercard). Needs psp and descriptor.
Verifi CDRN alerts. Needs psp and descriptor.
Verifi Rapid Dispute Resolution. Needs psp, descriptor, card_acceptor_id, bin and at least one of arns. Refunds automatically in the network, by design, not controllable.
Visa TC40 fraud reports. Needs psp, descriptor, card_acceptor_id, bin and at least one of arns.
Matches a provider leg's status: in_progress, enrolled, active, in_process_of_disenrollment, disenrolled or dropped. Repeat it for several: ?status=in_progress&status=enrolled.
Value in
Submitted, not yet confirmed. Also a refused leg: read status_reason and retryable.
The network confirmed. No alert yet.
Alerts are flowing. The only value that means this.
Removal in progress. Still billable.
Removed.
Never went live, closed after 45 days.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v3/alert_enrollments?chargeflow_id=68ce8d25b5438c0a1b2c3d4e"{ "object": "list", "data": [ { "id": "aen_68ce8d25b5438c0a1b2c3d4e-2b6f28f2-3ac7-46f4-85aa-501203dba38a", "object": "alert_enrollment", "chargeflow_id": "68ce8d25b5438c0a1b2c3d4e", "descriptor": "PAYRA*MO", "psp": "stripe", "card_acceptor_id": "000445566778899", "bin": "411111", "arns": [ "74537604221431003881223" ], "providers": [ { "provider": "ethoca", "status": "in_progress", "status_reason": "sent_to_enrollment", "retryable": null, "enrolled_at": null, "alerts_stopped_at": null, "updated_at": "2026-08-12T09:30:00Z" } ], "created_at": "2026-08-12T09:30:00Z", "updated_at": "2026-08-12T09:30:00Z", "livemode": false } ], "has_more": false, "next_cursor": null}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
application/json
Which of your merchants to enroll. The merchant must be onboarded with Alerts, or this is 404 ALERT_ACCOUNT_NOT_FOUND. A merchant outside your portfolio is 403 MERCHANT_NOT_IN_PORTFOLIO.
^[0-9a-f]{24}$The billing descriptor to enroll, up to 255 characters and not blank. One enrollment per psp and descriptor pair, with descriptors compared ignoring case and extra spaces: payra*mo and PAYRA*MO are the same descriptor.
\Slength <= 255The processors an alert enrollment can be created for. Any other value is 422 UNKNOWN_PSP.
Value in
Which alert programs to enroll in. Defaults to ["ethoca"]. All programs are checked when you send the request: if any is unavailable or lacks its identifiers, the request is 422 and nothing is created. Once accepted, each program enrolls on its own, so one failing later does not affect the others.
| Program | Needs |
|---|---|
ethoca, cdrn | psp and descriptor |
rdr, tc40 | psp and descriptor, plus card_acceptor_id, bin and at least one of arns |
RDR refunds automatically. It resolves a matching dispute inside the card network by refunding the cardholder before it becomes a chargeback. Neither you nor Chargeflow can decline that refund per alert, so leave rdr out if the merchant does not accept automatic refunds.
["ethoca"]Value in
Ethoca alerts (Mastercard). Needs psp and descriptor.
Verifi CDRN alerts. Needs psp and descriptor.
Verifi Rapid Dispute Resolution. Needs psp, descriptor, card_acceptor_id, bin and at least one of arns. Refunds automatically in the network, by design, not controllable.
Visa TC40 fraud reports. Needs psp, descriptor, card_acceptor_id, bin and at least one of arns.
The card acceptor id (CAID). Required for RDR and TC40, with bin and arns.
^[A-Za-z0-9]{1,32}$The acquiring BIN. Required for RDR and TC40, with card_acceptor_id and arns.
^\d{6,8}$One to three acquirer reference numbers, each 23 digits with 4 as the second digit. At least one is required for RDR and TC40, with card_acceptor_id and bin.
The alerts vendor the merchant uses today, if any. Lets us catch a descriptor that would be enrolled twice.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v3/alert_enrollments" \ -H "Content-Type: application/json" \ -d '{ "chargeflow_id": "68ce8d25b5438c0a1b2c3d4e", "psp": "stripe", "descriptor": "PAYRA*MO", "providers": [ "ethoca" ], "card_acceptor_id": "000445566778899", "bin": "411111", "arns": [ "74537604221431003881223" ], "current_alerts_provider": null }'{ "id": "aen_68ce8d25b5438c0a1b2c3d4e-2b6f28f2-3ac7-46f4-85aa-501203dba38a", "object": "alert_enrollment", "chargeflow_id": "68ce8d25b5438c0a1b2c3d4e", "descriptor": "PAYRA*MO", "psp": "stripe", "card_acceptor_id": "000445566778899", "bin": "411111", "arns": [ "74537604221431003881223" ], "providers": [ { "provider": "ethoca", "status": "in_progress", "status_reason": "sent_to_enrollment", "retryable": null, "enrolled_at": null, "alerts_stopped_at": null, "updated_at": "2026-08-12T09:30:00Z" } ], "created_at": "2026-08-12T09:30:00Z", "updated_at": "2026-08-12T09:30:00Z", "livemode": true}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
application/json
Which of your merchants every item belongs to. If every item has an unsupported psp, each item answers 422 UNKNOWN_PSP, whether or not the merchant has an Alerts account.
^[0-9a-f]{24}$The enrollments to create, 1 to 25. Each item takes the same fields as Create an alert enrollment except chargeflow_id. An item whose enrollment already exists turns on its providers that are off, as create does, and returns that enrollment.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v3/alert_enrollments/bulk" \ -H "Content-Type: application/json" \ -d '{ "chargeflow_id": "68ce8d25b5438c0a1b2c3d4e", "enrollments": [ { "psp": "stripe", "descriptor": "PAYRA*MO", "providers": [ "ethoca" ], "card_acceptor_id": "000445566778899", "bin": "411111", "arns": [ "74537604221431003881223" ], "current_alerts_provider": null } ] }'{ "results": [ { "index": 0, "status": 202, "alert_enrollment": { "id": "aen_68ce8d25b5438c0a1b2c3d4e-2b6f28f2-3ac7-46f4-85aa-501203dba38a", "object": "alert_enrollment", "chargeflow_id": "68ce8d25b5438c0a1b2c3d4e", "descriptor": "PAYRA*MO", "psp": "stripe", "card_acceptor_id": "000445566778899", "bin": "411111", "arns": [ "74537604221431003881223" ], "providers": [ { "provider": "ethoca", "status": "in_progress", "status_reason": "sent_to_enrollment", "retryable": null, "enrolled_at": null, "alerts_stopped_at": null, "updated_at": "2026-08-12T09:30:00Z" } ], "created_at": "2026-08-12T09:30:00Z", "updated_at": "2026-08-12T09:30:00Z", "livemode": false } } ]}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
The alert enrollment this call acts on. An id that names no enrollment is 404 ALERT_ENROLLMENT_NOT_FOUND. An enrollment of a merchant not in your portfolio is 403 MERCHANT_NOT_IN_PORTFOLIO.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v3/alert_enrollments/aen_68ce8d25b5438c0a1b2c3d4e-2b6f28f2-3ac7-46f4-85aa-501203dba38a"{ "id": "aen_68ce8d25b5438c0a1b2c3d4e-2b6f28f2-3ac7-46f4-85aa-501203dba38a", "object": "alert_enrollment", "chargeflow_id": "68ce8d25b5438c0a1b2c3d4e", "descriptor": "PAYRA*MO", "psp": "stripe", "card_acceptor_id": "000445566778899", "bin": "411111", "arns": [ "74537604221431003881223" ], "providers": [ { "provider": "ethoca", "status": "in_progress", "status_reason": "sent_to_enrollment", "retryable": null, "enrolled_at": null, "alerts_stopped_at": null, "updated_at": "2026-08-12T09:30:00Z" } ], "created_at": "2026-08-12T09:30:00Z", "updated_at": "2026-08-12T09:30:00Z", "livemode": false}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
The alert enrollment this call acts on. An id that names no enrollment is 404 ALERT_ENROLLMENT_NOT_FOUND. An enrollment of a merchant not in your portfolio is 403 MERCHANT_NOT_IN_PORTFOLIO.
application/json
Set at least one field. A field left out stays as it is; null is not accepted.
The card acceptor id (CAID). Required for RDR and TC40, with bin and arns.
^[A-Za-z0-9]{1,32}$The acquiring BIN. Required for RDR and TC40, with card_acceptor_id and arns.
^\d{6,8}$One to three acquirer reference numbers, each 23 digits with 4 as the second digit. At least one is required for RDR and TC40, with card_acceptor_id and bin.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v3/alert_enrollments/aen_68ce8d25b5438c0a1b2c3d4e-2b6f28f2-3ac7-46f4-85aa-501203dba38a" \ -H "Content-Type: application/json" \ -d '{ "bin": "411111" }'{ "id": "aen_68ce8d25b5438c0a1b2c3d4e-2b6f28f2-3ac7-46f4-85aa-501203dba38a", "object": "alert_enrollment", "chargeflow_id": "68ce8d25b5438c0a1b2c3d4e", "descriptor": "PAYRA*MO", "psp": "stripe", "card_acceptor_id": "000445566778899", "bin": "411111", "arns": [ "74537604221431003881223" ], "providers": [ { "provider": "ethoca", "status": "in_progress", "status_reason": "sent_to_enrollment", "retryable": null, "enrolled_at": null, "alerts_stopped_at": null, "updated_at": "2026-08-12T09:30:00Z" } ], "created_at": "2026-08-12T09:30:00Z", "updated_at": "2026-08-12T09:30:00Z", "livemode": false}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
The alert enrollment this call acts on. An id that names no enrollment is 404 ALERT_ENROLLMENT_NOT_FOUND. An enrollment of a merchant not in your portfolio is 403 MERCHANT_NOT_IN_PORTFOLIO.
application/json
Disenroll only these providers and leave the others as they are. Omit it to disenroll every provider on the enrollment. At least one, each named once. A provider this enrollment never had is 422 PROVIDER_NOT_ENROLLED, and nothing is stopped. Naming one that already stopped is not an error.
Value in
Ethoca alerts (Mastercard). Needs psp and descriptor.
Verifi CDRN alerts. Needs psp and descriptor.
Verifi Rapid Dispute Resolution. Needs psp, descriptor, card_acceptor_id, bin and at least one of arns. Refunds automatically in the network, by design, not controllable.
Visa TC40 fraud reports. Needs psp, descriptor, card_acceptor_id, bin and at least one of arns.
Free text recorded with the disenrollment. Optional.
length <= 1024application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v3/alert_enrollments/aen_68ce8d25b5438c0a1b2c3d4e-2b6f28f2-3ac7-46f4-85aa-501203dba38a/disenrollments" \ -H "Content-Type: application/json" \ -d '{ "providers": [ "ethoca" ], "reason": "fraudulent" }'{ "id": "aen_68ce8d25b5438c0a1b2c3d4e-2b6f28f2-3ac7-46f4-85aa-501203dba38a", "object": "alert_enrollment", "chargeflow_id": "68ce8d25b5438c0a1b2c3d4e", "descriptor": "PAYRA*MO", "psp": "stripe", "card_acceptor_id": "000445566778899", "bin": "411111", "arns": [ "74537604221431003881223" ], "providers": [ { "provider": "ethoca", "status": "in_process_of_disenrollment", "status_reason": null, "retryable": null, "enrolled_at": "2026-08-13T08:00:00Z", "alerts_stopped_at": null, "updated_at": "2026-09-01T12:00:00Z" } ], "created_at": "2026-08-12T09:30:00Z", "updated_at": "2026-09-01T12:00:00Z", "livemode": false}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
The merchant this call acts on.
^[0-9a-f]{24}$application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v3/merchants/68ce8d25b5438c0a1b2c3d4e/alert_account"{ "object": "alert_account", "chargeflow_id": "68ce8d25b5438c0a1b2c3d4e", "created_at": "2026-08-12T09:30:00Z", "settings": { "alerts_only": false, "manual_billing": false, "transaction_linking_disabled": false, "payment_method_authorized": false }, "payment_method_authorized_at": null, "last_disenrollment_requested_at": null, "enrollment_count": 1, "provider_status_counts": { "in_progress": 1, "enrolled": 0, "active": 3, "in_process_of_disenrollment": 0, "disenrolled": 0, "dropped": 0 }, "livemode": false}