LogoLogo
Dashboard
  • Welcome
  • Product
    • Overview
      • Chargeback Management
      • Network Alerts
      • How is this different form Early Fraud Warnings?
      • Billing Descriptors
    • Ethoca Alerts
    • Verifi Rapid Dispute Resolution (RDR)
    • Multi Merchant support
    • Alert Resolution Rules
    • Automatic Invalid Alert Detection
    • Billing Descriptor Monitoring
    • API
    • Partner SSO
  • Integration
    • Overview
    • Stripe
    • Adyen
    • Authorize.net
  • Reporting & Analytics
    • Overview
      • Alerts
      • Disputes
      • Health
      • Analytics overview
  • Tools
    • BIN Lookup
    • Refund Policy Generator
    • Dispute Assistant
    • Merchant Category Code Lookup
  • Support
    • Book a demo
    • Live chat
    • Email
Powered by GitBook

Policies

  • Terms & Conditions
  • Data Processing
  • Privacy Policy

ChargebackStop is a trading style of Jade Technologies Limited (company number: 15043871). Registered at 7 Bell Yard, London, England, WC2A 2JR.

On this page

Was this helpful?

Export as PDF
  1. Product

API

Reference for ChargebackStop REST API.

PreviousBilling Descriptor MonitoringNextPartner SSO

Last updated 5 months ago

Was this helpful?

Capabilities

ChargebackStop REST API allows:

  • Listing all alerts in the organisation

  • Getting individual alert by its unique ID

  • Actioning an alert

The API uses JSON both as an input and output data format.

Availability

ChargebackStop API is currently in private beta. If you are interested in exploring it, please contact us at .

Actioning alerts

Every alert with ACTION_REQUIRED status is expected to be actioned by the user. The deadline for actioning an alert is represented by the action_required_deadline field in the alert object, however we recommend sending your desired action as soon as possible. After actioning, the alert status is moved into RESOLVED, and cannot be changed anymore.

Behind the scenes, actioning the alert updates the alert provider (e.g. Ethoca) with the outcome. This allows them to stop the dispute if the user's action was to pro-actively refund the transaction, or send the dispute through if you chose to fight it.

For actions that refund the transaction, if your ChargebackStop merchant account is integrated with a payments provider (e.g. Stripe), we will automatically refund the payment. You can also choose to cancel the subscription associated with the payment

The update alert endpoint takes action parameter. It can be one of four values:

  • REFUND

  • CANCEL

  • REFUND_AND_CANCEL

  • ACCEPT_DISPUTE

Let's explore how each of these values works.

REFUND

All of the below actions are performed:

  1. We let the alert provider know that you refunded the alert.

  2. If your Merchant account is integrated with a payment provider, we will automatically refund the payment.

CANCEL

All of the below actions are performed:

  1. We let the alert provider know that you did not refund the alert.

  2. If your Merchant account is integrated with a payment provider and there's a subscription associated with the alert, we will automatically cancel it.

REFUND AND CANCEL

All of the below actions are performed:

  1. We let the alert provider know that you refunded the alert.

  2. If your Merchant account is integrated with a payment provider, we will automatically refund the payment.

  3. If your Merchant account is integrated with a payment provider and there's a subscription associated with the alert, we will automatically cancel it.

ACCEPT_DISPUTE

All of the below actions are performed:

  1. We let the alert provider know that you did not refund the alert.

API keys

In order to create an API key:

  1. Open your ChargebackStop dashboard

  2. Select "Settings" from the left-hand menu

  3. Click the "Create API key" button

    1. In the newly opened form enter your key's name. It's only used for your reference.

    2. Add expiration date if you want the key to stop working at some point in the future. If you want to use the key indefinitely, please leave this field empty.

  4. Click "Create key"

API documentation

Select "API Keys" from the tabs at the top

You will see your API key in the green success box right under the tabs. You will only be able to see it once, so make sure to copy it (including the cbs_prefix) and save it securely. If you loose your key, you will need to revoke it and create a new one.

support@chargebackstop.com

Get Alerts

get
Authorizations
Query parameters
statusany ofOptional
string · enumOptionalPossible values:
or
nullOptional
sortany ofOptional

Field to sort by

Default: -alert_received_at
string · enumOptionalPossible values:
or
nullOptional
limitinteger · min: 1OptionalDefault: 100
offsetintegerOptionalDefault: 0
Responses
200
OK
application/json
get
GET /v1/alerts/ HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "items": [
    {
      "id": "text",
      "organisation_id": "text",
      "merchant_id": "text",
      "enrolment_type": "ETHOCA_ALERT",
      "status": "ACTION_REQUIRED",
      "chargeback_reason_code": "text",
      "transaction_amount_in_cents": 1,
      "transaction_currency_code": "text",
      "transaction_authorised_at": "2025-06-13T10:13:21.196Z",
      "action_required_deadline": "2025-06-13T10:13:21.196Z",
      "transaction_authorisation_code": "text",
      "transaction_acquirer_reference_number": "text",
      "transaction_statement_descriptor": "text",
      "transaction_card_bin": "text",
      "transaction_card_last4": "text",
      "transaction_card_scheme": "VISA",
      "transaction_card_issuer": "text",
      "transaction_refund_outcome": "REFUNDED",
      "transaction_network_id": "text",
      "subscription_cancel_outcome": "CANCELLED",
      "note": "text",
      "created_at": "2025-06-13T10:13:21.196Z",
      "updated_at": "2025-06-13T10:13:21.196Z",
      "links": [
        {
          "rel": "text",
          "uri": "text"
        }
      ]
    }
  ],
  "count": 1
}

Get Alert

get
Authorizations
Path parameters
alert_idstringRequired
Responses
200
OK
application/json
get
GET /v1/alerts/{alert_id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "id": "text",
  "organisation_id": "text",
  "merchant_id": "text",
  "enrolment_type": "ETHOCA_ALERT",
  "status": "ACTION_REQUIRED",
  "chargeback_reason_code": "text",
  "transaction_amount_in_cents": 1,
  "transaction_currency_code": "text",
  "transaction_authorised_at": "2025-06-13T10:13:21.196Z",
  "action_required_deadline": "2025-06-13T10:13:21.196Z",
  "transaction_authorisation_code": "text",
  "transaction_acquirer_reference_number": "text",
  "transaction_statement_descriptor": "text",
  "transaction_card_bin": "text",
  "transaction_card_last4": "text",
  "transaction_card_scheme": "VISA",
  "transaction_card_issuer": "text",
  "transaction_refund_outcome": "REFUNDED",
  "transaction_network_id": "text",
  "subscription_cancel_outcome": "CANCELLED",
  "note": "text",
  "created_at": "2025-06-13T10:13:21.196Z",
  "updated_at": "2025-06-13T10:13:21.196Z",
  "links": [
    {
      "rel": "text",
      "uri": "text"
    }
  ]
}
  • Capabilities
  • Availability
  • Actioning alerts
  • API keys
  • API documentation
  • GETGet Alerts
  • GETGet Alert
  • PATCHUpdate Alert

Update Alert

patch
Authorizations
Path parameters
alert_idstringRequired
Body
actionany ofOptional
string · enumOptionalPossible values:
or
nullOptional
noteany ofOptional
stringOptional
or
nullOptional
Responses
200
OK
application/json
patch
PATCH /v1/alerts/{alert_id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 33

{
  "action": "REFUND",
  "note": "text"
}
200

OK

{
  "id": "text",
  "organisation_id": "text",
  "merchant_id": "text",
  "enrolment_type": "ETHOCA_ALERT",
  "status": "ACTION_REQUIRED",
  "chargeback_reason_code": "text",
  "transaction_amount_in_cents": 1,
  "transaction_currency_code": "text",
  "transaction_authorised_at": "2025-06-13T10:13:21.196Z",
  "action_required_deadline": "2025-06-13T10:13:21.196Z",
  "transaction_authorisation_code": "text",
  "transaction_acquirer_reference_number": "text",
  "transaction_statement_descriptor": "text",
  "transaction_card_bin": "text",
  "transaction_card_last4": "text",
  "transaction_card_scheme": "VISA",
  "transaction_card_issuer": "text",
  "transaction_refund_outcome": "REFUNDED",
  "transaction_network_id": "text",
  "subscription_cancel_outcome": "CANCELLED",
  "note": "text",
  "created_at": "2025-06-13T10:13:21.196Z",
  "updated_at": "2025-06-13T10:13:21.196Z",
  "links": [
    {
      "rel": "text",
      "uri": "text"
    }
  ]
}