Skip to main content
POST
Create Credit Request

Which alerts can get a credit request

This endpoint opens a credit request for an alert or a deflection. Send exactly one of alert_id or deflection_id.
  • The request opens with status Pending, and Chargeblast reviews it.
  • Billed Chargeblast Discover alerts skip the review and get an approved credit immediately.
  • You can request credit for any actioned alert, except alerts with status Resolved or WIP.
  • A Resolved alert had a refund issued, which is a billable outcome.
  • A WIP alert is not actioned yet.
  • Each alert or deflection can have one credit request only.
To request credit at the time you action an alert, send automatically_request_credit: true on Update Alert. That flag grants the credit immediately when the alert qualifies.

Headers

X-API-Key
string
required

Your API key. Sent in the X-API-Key header.

Body

application/json

Send exactly one of alert_id or deflection_id.

comments
string | null

Optional notes for the Chargeblast review.

alert_id
string

Id of the alert to request credit for. Do not send it together with deflection_id.

deflection_id
string

Id of the deflection to request credit for. Do not send it together with alert_id.

Response

200 - application/json

OK

The response is of type integer<int64>.