API

Reference for ChargebackStop REST API.

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 support@chargebackstop.com.

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

Last updated

Was this helpful?