OnlyFans API
Chargebacks

Calculate Chargeback Ratio

The Chargeback Ratio reflects the number of chargebacks compared to the total number of payments as a percentage. Ideally, your Chargeback Ratio should be under 1%.

GET
/api/{account}/chargebacks/ratio
AuthorizationBearer <token>

Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys

In: header

Path Parameters

accountstring

The Account ID

Query Parameters

start_datestring

The start date for the chargebacks.

end_datestring

The end date for the chargebacks.

Response Body

curl -X GET "https://app.onlyfansapi.com/api/string/chargebacks/ratio?start_date=2025-01-01+00%3A00%3A00&end_date=2025-03-31+23%3A59%3A59"
{
  "data": {
    "chargebacksRatio": 0.08
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999964320,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 1000,
      "limit_day": 50000,
      "remaining_minute": 999,
      "remaining_day": 49992
    }
  }
}